[tex-live] Adding programs to shell_escape_commands

Norbert Preining norbert at preining.info
Wed May 11 03:42:30 CEST 2016


On Tue, 10 May 2016, Br. Samuel Springuel wrote:
> If /usr/local/texlive/texmf-local/web2c/texmf.cnf already exists
> then I don't want to just blindly over write it, but respect the

And this is a good idea, you could seriously upset some users,
me including.

> sufficient.  Can that file contain other information which I need to
> look for?

That is a full fledged texmf.cnf file and thus *can* possible contain
everything that is there in a normal texmf.cnf file.

> mkdir -p /usr/local/texlive/texmf-local/web2c
> temp=`kpsewhich --var-value=shell_escape_commands`"\\"
> echo "shell_escape_commands = \\" >
> /usr/local/texlive/texmf-local/web2c/texmf.cnf
> echo $temp >> /usr/local/texlive/texmf-local/web2c/texmf.cnf
> echo "gregorio,\\" >> /usr/local/texlive/texmf-local/web2c/texmf.cnf
> echo "" >> /usr/local/texlive/texmf-local/web2c/texmf.cnf
> mktexlsr

Umpf, well, slight modifications might be useful.
What happens with a setting of shell_escape_commands in there?
Also,
	echo "shell_escape_commands = `...`,gregorio" >> ...
is a bit more concise.

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


More information about the tex-live mailing list