[texworks] Message from TeXworks user

Herbert Schulz herbs at wideopenwest.com
Tue Sep 20 15:10:47 CEST 2011

On Sep 20, 2011, at 7:59 AM, Arno Trautmann wrote:

> 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


No, I'm thinking of a TeX command, e.g., \enableshellescape (no, that doesn't work). But  that would defeat the purpose of restricting shell escape and I'm probably wrong.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the texworks mailing list