Closed koppor closed 8 years ago
Oh dear, it seems I have not implemented this fully yet (see also #25). Sorry for the confusion! Will try to do this soon, it's probably simple.
FWIW, I think your first try is how it should work. :)
The following two commands now work as intended:
ltx2any.rb -ep "-shell-escape" document
ltx2any.rb -ep -shell-escape document
I don't have a good test case for two passing options.
ltx2any.rb -ep "-shell-escape --synctex=-1" document
should be the way to go, but I'm not sure if I've implemented parsing parameters in this way. I seem to rely on the shell bundling quoted strings (with spaces) into one entry of ARGV
, which is how I expect it to work.
Can you confirm that this works, please?
Yes, works here at Windows 10.
ruby c:\git-repositories\ltx2any\ltx2any.rb -ep "--synctex=1" paper.tex
does not trigger synctex, but -synctex
works. So this is no real issue. I just wanted to comment here.
I'm trying to pass
-shell-escape --sync-tex=-1
to pdflatex. I'm tryingBut the log says:
When I try
ltx2any states
The help says:
Is
spaces
wrong?