[texworks] Typestting arguments configuration
Stefan Löffler
st.loeffler at gmail.com
Thu Aug 5 18:17:34 CEST 2010
Hi,
Am 2010-08-05 17:16, schrieb Lynda Metref:
> I am trying to configure new type setting (latexmk with xelatex).
>
> It works in the command line but when adding it to texworks I have the
> following error on run:
> Latexmk: -pdf bad option
>
> Latexmk: -r param.txt bad option
>
> Latexmk: Bad options specified
>
>
> The config I have made in Edit=>Preferences=>Typesetting
> Program: latexmk
> Arguments:
> -pdf
> -r param.txt
> $fullname
>
I think you should put "-r" and "param.txt" on two separate lines. The
reason for this is that Qt automatically quotes your argument because of
the space.
However, why don't you use a similar approach to the one outlined at
http://code.google.com/p/texworks/wiki/AdvancedTypesettingTools, i.e.
without configuration file (which latexmk might not always be able to find)?
HTH
Stefan
More information about the texworks
mailing list