texinfo-commits
[Top][All Lists]
Advanced

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

[6283] punctuation optional on \openout line, for luatex


From: karl
Subject: [6283] punctuation optional on \openout line, for luatex
Date: Wed, 20 May 2015 22:32:21 +0000

Revision: 6283
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6283
Author:   karl
Date:     2015-05-20 22:32:20 +0000 (Wed, 20 May 2015)
Log Message:
-----------
punctuation optional on \openout line, for luatex

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/util/texi2dvi

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-05-20 17:09:11 UTC (rev 6282)
+++ trunk/ChangeLog     2015-05-20 22:32:20 UTC (rev 6283)
@@ -1,3 +1,9 @@
+2015-05-20  Karl Berry  <address@hidden>
+
+       * util/texi2dvi (generated_files_get): make punctuation optional
+       on the \openout line, to cater to luatex 0.80.0.  Noted
+       by Wybo Dekker, report http://tracker.luatex.org/view.php?id=909.
+
 2015-05-18  Gavin Smith  <address@hidden>
 
        * info/info-utils.c (printed_representation): Declare char * as 

Modified: trunk/util/texi2dvi
===================================================================
--- trunk/util/texi2dvi 2015-05-20 17:09:11 UTC (rev 6282)
+++ trunk/util/texi2dvi 2015-05-20 22:32:20 UTC (rev 6283)
@@ -753,7 +753,10 @@
   # Gather the files created by TeX.
   (
     if test -f "$1.log"; then
-      $SED -n -e "s,^\\\\openout.* = \`\\(.*\\)'\\.,\\1,p" "$1.log"
+      # historically the output is like: \openout1 = `foobar.tex'.
+      # but luatex outputs: \openout1 = foobar.tex
+      # so we have to make the punctuation optional.
+      $SED -n -e "s,^\\\\openout.* = \`*\\(.*\\)'*\\.*,\\1,p" "$1.log"
     fi
     echo "$1.log"
   ) |




reply via email to

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