problemy s PS

Jaromir Kuben kuben at scova.vabo.cz
Tue Nov 14 11:47:06 CET 2000



Rudo Blasko píše:
> 
> zdravim,
> 
> mam urobene obrazky v prostredi picture a potrebujem ich vlozit do textu
> (normalne ich vlozit nemozem, lebo su velke a LaTeX pri preklade hlasi
> pretecenie pamate). Vkladam ich ako .ps subory (pricom orezem okraje
> stranky). Potom to cele prelozim do .ps suboru.
> 
> Problem je v tom, ze ked si to pozriem pod DOS prehliadacom, tak ten
> vysledny .ps subor vidim zobrazeny normalne, ale ked pouzijem GSVIEW32
> ver 2.2 tak mi to hlasi chybu a nic sa neukaze. Ked pouzijem LINUX
> prehliadac tak vidim prazdnu stranu.
> Ked som celu tuto proceduru vykonal pod linuxom (vratane suboru .dvi)
> tak situacia je podobna, DOS prehliadac to vidi normalne, GSVIEW32 hlasi
> chybu a linux ukazuje prazdnu stranu.

Zkuste pri tvorbe vsech ps souboru volat dvips navic s prepinacem -j0.
Obrazky okoli picture pouzivaji specialni fonty. S hlaskami typu
rangecheck 
jsem se setkal, kdyz byly chybne nactene castecne fonty programem dvips.
Implicitne je tato volba zapnuta, -j0 ji vypne a vynuti nacitani celych
fontu.

Zdravi
        Jaromir Kuben

> 
> Moze mi niekto poradit?
> Ako prilohu posielam  subor.tex  subor, ktory vola dva krat k_01.ps
>                       k_01.tex   subor, v ktorom je dany obrazok
>                       chyba.txt  cast chyboveho suboru z GSVIEW32
> 
> dakujem         r.blasko
> 
> %%%%%%%%%%%%%%%%%%%%%%%  subor.tex  %%%%%%%%%%%%%%%%%%%%%%%
> \hbadness=5000\vbadness=8000
> 
> \documentclass{article}
> \usepackage{slovak,epsfig}
> 
> \setlength{\hoffset}{-1.5cm}\setlength{\voffset}{-1.5cm}
> \setlength{\oddsidemargin}{0.cm}\setlength{\topmargin}{0.cm}
> \setlength{\headheight}{0.cm}\setlength{\headsep}{0.cm}
> \setlength{\marginparsep}{0.cm}\setlength{\marginparwidth}{0.cm}
> \setlength{\marginparpush}{0.cm}\setlength{\footskip}{0.cm}
> \setlength{\textheight}{27.5cm}\setlength{\textwidth}{19.cm}
> 
> \begin{document}\pagestyle{empty}
> 
> \noindent \mbox{\epsfig{figure=k_01.ps}}
> \newline  \mbox{\epsfig{figure=k_01.ps}}
> 
> \end{document}
> %%%
> 
> %%%%%%%%%%%%%%%%%%%%%%%  k_01.tex  %%%%%%%%%%%%%%%%%%%%%%%
> \hbadness=5000\vbadness=8000
> 
> \documentclass{article}
> \usepackage{slovak,curves,rotating}
> 
> \setlength{\hoffset}{-1.5cm}\setlength{\voffset}{-1.5cm}
> \setlength{\oddsidemargin}{0.cm}\setlength{\topmargin}{0.cm}
> \setlength{\headheight}{0.cm}\setlength{\headsep}{0.cm}
> \setlength{\marginparsep}{0.cm}\setlength{\marginparwidth}{0.cm}
> \setlength{\marginparpush}{0.cm}\setlength{\footskip}{0.cm}
> 
> \newcommand\VYSKA{2.cm}\newcommand\SIRKA{15.cm}
> \setlength{\textheight}{\VYSKA}\setlength{\textwidth}{\SIRKA}
> \special{papersize=\SIRKA,\VYSKA+0.1cm}
> 
> \begin{document}\pagestyle{empty}
> 
> \setlength{\unitlength}{1mm}
> \noindent
> \begin{picture}(150,20)
> \curve(5,5,145,5)\curve(145,5,145,15)
> \curve(145,15,5,15)\curve(5,15,5,5)
> \put(75,10){\makebox(0,0)[c]{{\bf zlozity obrazok}}}
> \end{picture}
> 
> \end{document}
> 
> %%%
> 
> %%%%%%%%%%%%%%%%%%%%%%%  chyba.txt  %%%%%%%%%%%%%%%%%%%%%%%
> Displaying page 1
> Unrecoverable error: rangecheck in .installpagedevice
> Operand stack:
> --nostringval--  --nostringval--
> --- Begin offending input ---
> ndspecial eop
> --- End offending input ---
> file offset = 0
> gsdll_execute_cont returns -15
> 
> resp.
> 
> Displaying page 1
> Unrecoverable error: rangecheck in .installpagedevice
> Operand stack:
> --nostringval--  --nostringval--
> 
> --- Begin offending input ---
> 5 -26 y(.)-245 -23 y(.)-245
> -20 y(.)-245 -17 y(.)-245 -15 y(.)-245 -12 y(.)-245 -9
> y(.)-245 -6 y(.)-245 -3 y(.)-245 0 y(.)-245 3 y(.)1103
> -97 y Fa(zlozit)m(y)32 b(obrazok)p eop
> end
> userdict /end-hook known{end-hook}if
> %%EndDocument
>  @endspecial 483
> --- End offending input ---
> file offset = 27465
> gsdll_execute_cont returns -15
> 
> %%%%%%%%%%%%%%%%%%%%%%%
> 




More information about the csTeX mailing list