texinfo-commits
[Top][All Lists]
Advanced

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

texinfo ChangeLog util/texi2dvi


From: Karl Berry
Subject: texinfo ChangeLog util/texi2dvi
Date: Mon, 06 Sep 2010 22:11:06 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Karl Berry <karl>       10/09/06 22:11:06

Modified files:
        .              : ChangeLog 
        util           : texi2dvi 

Log message:
        --shell escape from Roland Kaufmann, 06 Sep 2010 22:17:16

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1122&r2=1.1123
http://cvs.savannah.gnu.org/viewcvs/texinfo/util/texi2dvi?cvsroot=texinfo&r1=1.159&r2=1.160

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1122
retrieving revision 1.1123
diff -u -b -r1.1122 -r1.1123
--- ChangeLog   1 Sep 2010 18:36:01 -0000       1.1122
+++ ChangeLog   6 Sep 2010 22:11:05 -0000       1.1123
@@ -1,3 +1,7 @@
+2010-09-06  Roland Kaufmann  <address@hidden>  (tiny change)
+
+       * util/texi2dvi: new option --shell-escape.
+
 2010-09-01  Karl Berry  <address@hidden>
 
        * doc/texinfo.txi (Init File Expansion Contexts): edit.

Index: util/texi2dvi
===================================================================
RCS file: /sources/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -b -r1.159 -r1.160
--- util/texi2dvi       23 Jun 2010 23:07:22 -0000      1.159
+++ util/texi2dvi       6 Sep 2010 22:11:06 -0000       1.160
@@ -1,6 +1,6 @@
 #! /bin/sh
 # texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
-# $Id: texi2dvi,v 1.159 2010/06/23 23:07:22 karl Exp $
+# $Id: texi2dvi,v 1.160 2010/09/06 22:11:06 karl Exp $
 #
 # Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
 # 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
@@ -33,7 +33,7 @@
 set -e
 
 # This string is expanded automatically when this file is checked out.
-rcs_revision='$Revision: 1.159 $'
+rcs_revision='$Revision: 1.160 $'
 rcs_version=`set - $rcs_revision; echo $2`
 program=`echo $0 | sed -e 's!.*/!!'`
 
@@ -58,6 +58,7 @@
 recode=false
 set_language=
 src_specials=
+shell_escape=
 latex2html=hevea  # or set to tex4ht
 textra=         # Extra TeX commands to insert in the input file.
 txiprereq=19990129 # minimum texinfo.tex version with macro expansion
@@ -331,6 +332,7 @@
       --no-line-error        do not pass --file-line-error to TeX
   -r, --recode               call recode before TeX to translate input
       --recode-from=ENC      recode from ENC to the @documentencoding
+      --shell-escape         pass --shell-escape to TeX
       --src-specials         pass --src-specials to TeX
   -t, --command=CMD          insert CMD in copy of input file
    or --texinfo=CMD          multiple values accumulate
@@ -987,6 +989,9 @@
   # source, given a sufficiently smart editor), if specified.
   test -n "$src_specials" && cmd="$cmd $src_specials"
 
+  # Tell TeX to allow running external executables
+  test -n "$shell_escape" && cmd="$cmd $shell_escape"
+
   # Tell TeX to be batch if requested.
   if $batch; then
     # \batchmode does not show terminal output at all, so we don't
@@ -1699,6 +1704,7 @@
     -r | --recode) recode=true;;
     --recode-from) shift; recode=true; recode_from="$1";;
     --src-specials) src_specials=--src-specials;;
+    --shell-escape) shell_escape=--shell-escape;;  
     --tex4ht) latex2html=tex4ht;;
     -t | --texinfo | --command ) shift; textra="$textra\\
 "`echo "$1" | sed 's/\\\\/\\\\\\\\/g'`;;



reply via email to

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