[texworks] LaTeXmk-config for Win
daleif at imf.au.dk
Tue Aug 30 09:55:30 CEST 2011
Andreas Hirsch wrote, On 2011-08-29 16:30:
> Hi Herbert,
> quoting Herbert Schulz, [29.08.2011 15:07 +0100]:
>> On Aug 29, 2011, at 7:50 AM, Andreas Hirsch wrote:
>>> I'm trying to get LaTeXmk running the latex-dvips-pspdf-process
>>> unde Windows.
>>> Under Linux, my adaption works well:
> Under Windows, I'll didn't find the right quotings (latexmk-manual page
>>> 4/5) - I tested a lot of variations, hier is one:
> Any hint?
>> I don't know Windows eccentricities but I'd try to eliminate the
>> single quotes from the offending line.
>> Another alternative is to place all the special configuration stuff
>> in a file and use the -r option to read in that file. That way I can
>> install lots of configuration stuff without extending the command.
> doesn't work for me:
> O:\schule\unterricht>latexmk -e $latex=q/latex -synctex=1 S/ -pdfps
> Latexmk: Stopping because executing following code from command line
> gave an error:
> Can't find string terminator "/" anywhere before EOF at (eval 17)
> line 1.
> U:\texlive\bin\win32\runscript.tlu:575: command failed with exit code 2:
> perl.exe u:/texlive/texmf-dist/scripts/latexmk/latexmk.pl -e
> $latex=q/latex -synctex=1 S/ -pdfps s_m10_2_8l.tex
on the command line you will need single quotes since -e option is
expecting a string (I think). But in the configuration of TW, the
parsing of options to the command may be slightly different (through a
different shell). Thus what you need to write on the commandline to make
the option work, may not be the same thing you need to specify in the TW
More information about the texworks