bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texi2dvi --shell-escape


From: Roland Kaufmann
Subject: texi2dvi --shell-escape
Date: Mon, 06 Sep 2010 22:17:16 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

I am working on a project where a version control identifier is extracted through the \write18 mechanism and added to the output.

This particular problem may of course be solved in other ways, for instance extracting the identifier and adding it to the input stream before the main document or setting the LATEX environment variable.

However, a really easy solution, is to allow texi2dvi to pass the
shell-escape option to the TeX processor, in the same way src-specials currently is. Thus, it is available more or less as a drop-in replacement for the "latex" command.

Attached is a patch for such functionality against CVS revision 1.159 of file texinfo/util/texi2dvi. Consider copyleft to be assigned to the FSF.

Yours sincerely,

   Roland Kaufmann

Attachment: sh_esc.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]