27 Dec
2006
27 Dec
'06
8:22 a.m.
Mojca Miklavec wrote:
On 12/26/06, Hans Hagen wrote:
core-job.tex:\ifx\pdfshellescape\undefined \else core-job.tex: \chardef\systemcommandmode \ifcase\pdfshellescape \plusone \else \plustwo \fi
so \systemcommandmode is your friend
What exactly is the advantage of using \pdfshellescape over \ifeof18 as the basis of \systemcommandmode? The second one works in XeTeX as well while the first is only good for pdfTeX, but perhaps there are other reasons for using it.
write 18 is a hack and pdfshellescape a sane replacement in luatex it will probably be gone completely since there we have \directlua 0 { os.execute("...") } Hans