[texworks] PSTricks problem
Bruno Voisin
bvoisin at me.com
Mon Dec 14 07:12:30 CET 2009
Le 14 déc. 2009 à 06:45, GeorgeFLeCompte at comcast.net a écrit :
> thanks for the work around.
>
> From: "Charlie Sharpsteen" <chuck at sharpsteen.net>
>
>> I would imagine this is because you are using the pdfLaTeX command in TeXworks. pstricks only works when output is directed to a postscript (.ps) file, not a pdf file. This involves setting up a typesetting command that executes the following steps:
>>
>> - Runs latex on your .tex file (instead of pdflatex)
>>
>> - Runs dvips on the resulting .dvi file
>>
>> - Runs ps2pdf on the resulting .ps file
>>
>> This will involve setting up three new commands in the TeXworks menu:
>>
>> Preferences -> Typesetting
>>
>> You could probably reduce this to one command by writing a batch file/shell script that invokes each program in order.
In a recent thread <http://tug.org/pipermail/texworks/2009q4/001903.html> a script was posted for MikTeX on Windows. This can probably be adapted to your setup (I can't say more unfortunately, I'm using Mac OS X and know next to nothing about Windows).
Hope this helps,
Bruno Voisin
More information about the texworks
mailing list