[OS X TeX] epic, dvi, and pdf

Franck Pastor franck.pastor at skynet.be
Sat Mar 20 19:43:54 CET 2010


Le 20 mars 10 à 19:21, Herbert Schulz a écrit :

>
> On Mar 20, 2010, at 12:21 PM, Wayne Richter wrote:
>
>> sorry if this has been discussed before.
>>
>> here is a close to minimal example.
>> When I typeset the following:
>>
>> \documentclass[12pt]{article}
>> \usepackage{amsmath}
>> \usepackage{amssymb,latexsym}
>> \usepackage{epic,eepic}
>> \begin{document}
>> \begin{picture}(100,100)
>> \put(0,10){\line(1,0){115}}
>> \put(0,10){\line(0,1){80}}
>> \put(0,90){\line(1,0){194}}
>> \put(114,10){\line(1,1){80}}
>> \end{picture}
>> \end{document}
>>
>> using the TeX+DVI option it comes out fine (a nice trapezoid).
>> But when I tex it using the Pdftex option, the pdf file does not show
>> the last line (of slope 1).
>>
>> Why? Or, more precisely, does this mean I should be using the TeX+DVI
>> option when I am doing this kind of graphics?
>>
>> Thanks,
>>
>> Wayne
>
> Howdy,
>
> Chances are that eepic uses eps commands to create the lines of  
> arbitrary slope which are not supported by pdflatex.
>
> This is similar to the problem of using pstricks under pdflatex: all  
> methods that allow you to include pstricks in pdflatex documents  
> (e.g., the pdftricks and pst-pdf packages), in fact, will create a  
> separate file (or files) and use latex, etc., to compile those files  
> into cropped pdf files which are then included into the original  
> document.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>


Maybe it would help to use the pict2e package (well adapted to almost  
every driver) instead of epic of eepic.

Franck Pastor





More information about the macostex-archives mailing list