[texworks] Message from TeXworks user

Arno Trautmann Arno.Trautmann at gmx.de
Tue Sep 20 14:59:04 CEST 2011


Herbert Schulz wrote:
>
> On Sep 20, 2011, at 1:07 AM, Arno Trautmann wrote:
>
>>>
>>> I know there is a command that will allow you to activate shell escape on a file by file basis but I'm having trouble finding it at the moment.
>>
>> Oh? Never heard of that. Is it one of the switches below, obtained with
>>
>> luatex --help
>>
>> ?
 >
> I think this is a command that you place before your \documentclass command (or at the top of your file) that does that but I may be wrong.

You're kind-of right – it's just the command line call that normally 
starts processing. (i.e. one uses lualatex filename.tex)

With the call

luatex --help

on the command line, LuaTeX prints all the command line arguments it 
knows, e.g. the two shell-escape switches:

    --[no-]shell-escape           disable/enable \write18{SHELL COMMAND}
    --shell-restricted            restrict \write18 to a list of 
commands given in texmf.cnf

But in this list I cannot find a switch that activates shell escape on a 
file basis. Or do you mean the --shell-restricted?

cheers
Arno


More information about the texworks mailing list