Saturday, November 24, 2012

texworks and shell escape

tried to get shell escape working with texworks, so i could do naughty and dangerous things with write18 from latex. there are checkboxes that sound like they are made for this sort of thing in the preferences, but i found them to have no such effect. finally edited the options for the typesetting commands for pdflatex, and added --shell-escape. now it works. unfortunately, i couldn't get it work for the texify combo (pdflatex, makeindex, bibtex) but whatever.

oddly, the same option works for texworks with either miktex or texlive, even though they are different on the command line: -shell-escape for texlive and -enable-write18 for miktex.

No comments: