On 01/01/2012 07:43 PM, Bogdan wrote:
Actually, I just discovered that the expansion of $$i is put at the
end of the actual command LyX launches no matter what I use for the
converter command, e.g. if the converter command is:
pdflatexna $$i 20 20
then LyX is actually executing:
pdflatexna 20 20 sheet.tex
Nasty :)
I don't see this. I have defined a Dummy format and a LyX --> Dummy
converter that does this:
dummy $$p $$i $$o 30 30
The dummy program just prints its arguments, so I get eg:
/tmp/lyx_tmpdir.T12123/lyx_tmpbuf2/
Customization.lyx
Customization.dum
30
30
I get the same output if I instead define a LaTeX --> Dummy converter,
so that we have to go through LaTeX to get to Dummy.
Richard