[texworks] Some questions/comment
herbs at wideopenwest.com
Thu Nov 27 14:00:13 CET 2008
On Nov 26, 2008, at 10:57 PM, Per Ting wrote:
> On Wed, Nov 26, 2008 at 8:02 PM, Bruno Voisin <bvoisin at me.com> wrote:
>> Le 26 nov. 08 à 10:26, Jonathan Kew a écrit :
>> On 27 Nov 2008, at 07:03, Per Ting wrote:
>>> 1-Can/will texworks support the latex-dsips-ps2opdf path? For
>>> those using
>>>> psfrag/pstricks this is essential.
>>> This is best done using a script such as simpdftex (is that
>>> available on
>>> Windows?) or latexmk, so that as far as TeXworks is concerned, it
>>> appears as
>>> a single command just like pdflatex. Then it's just a case of
>>> configuring a
>>> new tool in the Preferences/Typesetting dialog.
>> You can try going to Preferences > Typesetting > Processing tools,
>> then add
>> a new tool such as:
>> Whatever (for example LaTeX)
>> Each argument goes on a separate line (use the "+" button in the Tool
>> Configuration window). The
>> bit ensures that SyncTeX data are created.
>> Bruno Voisin
> Is there a Windows version of simpdftex out there?
Simpdftex is a perl program and may be part of the general TeX Live
2008 (MikTeX?) release. Can you run
in your Terminal (or whatever it's called on Windows)?
You might also try latexmk which is now part of TeX Live 2008. A
simple latexmkrc file that contains
$latex = 'latex --shell-escape --synctex=1 %O %S';
$dvips = 'dvips -R0 %O -o %D %S';
$dvips_pdf_switch = '-Poutline';
$ps2pdf = 'ps2pdf14 %O %S %D';
should do pretty much the same job. Again, I don't know where you
place things like the rc file under Windows so latexmk finds it so you
should look at the latexmk documentation. Latexmk will also take care
of multiple runs of latex to resolve cross-references, etc.
(herbs at wideopenwest dot com)
More information about the texworks