texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Tue May 30 11:22:01 EDT 2006)


From: Karl Berry
Subject: texinfo update (Tue May 30 11:22:01 EDT 2006)
Date: Tue, 30 May 2006 11:22:04 -0400

Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.598
retrieving revision 1.599
diff -u -r1.598 -r1.599
--- ChangeLog   30 May 2006 14:44:03 -0000      1.598
+++ ChangeLog   30 May 2006 15:02:33 -0000      1.599
@@ -1,5 +1,14 @@
 2006-05-30  Akim Demaille  <address@hidden>
 
+       * util/texi2dvi (aux_file_p): Rename the second occurrence as...
+       (bibaux_file_p): this.
+       (run_bibtex): Use it.
+       (options processing, $usage): Support --dvi for symmetry and to
+       ease systematic tests.
+       * util/bibtex.test: New.
+
+2006-05-30  Akim Demaille  <address@hidden>
+
        * util/texi2dvi: Add support for latex to text and info using
        hevea.
        Don't document it yet, as it's preliminary and on some regards
Index: util/Makefile.am
===================================================================
RCS file: /sources/texinfo/texinfo/util/Makefile.am,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- util/Makefile.am    30 May 2006 14:44:04 -0000      1.20
+++ util/Makefile.am    30 May 2006 15:02:33 -0000      1.21
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.20 2006/05/30 14:44:04 akim Exp $
+# $Id: Makefile.am,v 1.21 2006/05/30 15:02:33 akim Exp $
 # Makefile.am for texinfo/util.
 # Run automake in .. to produce Makefile.in from this.
 #
@@ -56,7 +56,10 @@
 XFAIL_TESTS =
 
 TESTS =        \
-latex2html.test local.test texi2dvi.test
+bibtex.test \
+latex2html.test \
+local.test \
+texi2dvi.test
 
 EXTRA_DIST += $(TESTS)
 
Index: util/defs.in
===================================================================
RCS file: /sources/texinfo/texinfo/util/defs.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- util/defs.in        30 May 2006 14:44:04 -0000      1.3
+++ util/defs.in        30 May 2006 15:02:33 -0000      1.4
@@ -122,7 +122,7 @@
 cd ./testSubDir
 
 
-
+# Unset the user's envvars that might change the behavior.
 unset TEXI2DVI_BUILD_MODE
 unset TEXI2DVI_BUILD_DIRECTORY
 
Index: util/texi2dvi
===================================================================
RCS file: /sources/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- util/texi2dvi       30 May 2006 14:44:04 -0000      1.80
+++ util/texi2dvi       30 May 2006 15:02:33 -0000      1.81
@@ -1,6 +1,6 @@
 #! /bin/sh
 # texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
-# $Id: texi2dvi,v 1.80 2006/05/30 14:44:04 akim Exp $
+# $Id: texi2dvi,v 1.81 2006/05/30 15:02:33 akim Exp $
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001,
 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -35,7 +35,7 @@
 set -e
 
 # This string is expanded by rcs automatically when this file is checked out.
-rcs_revision='$Revision: 1.80 $'
+rcs_revision='$Revision: 1.81 $'
 rcs_version=`set - $rcs_revision; echo $2`
 program=`echo $0 | sed -e 's!.*/!!'`
 version="texi2dvi (GNU Texinfo 4.8) $rcs_version
@@ -79,6 +79,7 @@
 
 TeX tuning:
   -@                         use @input instead of \input for preloaded Texinfo
+      --dvi                  output a DVI file [default]
   -e, -E, --expand           force macro expansion using makeinfo
   -I DIR                     search DIR for Texinfo files
   -l, --language=LANG        specify the LANG of FILE (LaTeX or Texinfo)
@@ -499,7 +500,7 @@
 # ------------------
 # Return with success with FILE is an aux file containing citation
 # requests.
-aux_file_p ()
+bibaux_file_p ()
 {
   test -s "$1" || return 1
   if (grep '^\\bibstyle[{]' "$1"   \
@@ -775,21 +776,11 @@
           || grep 'No file .*\.bbl\.' "$in_noext.log") \
         >&6 2>&1; \
   then
-    generated_files_get "$in_noext" |
-    while read f
+    for f in $(generated_files_get "$in_noext" bibaux_file_p)
     do
-      if test -s "$f" && \
-         (grep '^\\bibstyle[{]' "$f"   \
-          && grep '^\\bibdata[{]' "$f" \
-         ## The following line is suspicious: fails when there
-          ## are citations in sub aux files.  We need to be
-          ## smarter in this case.
-          ## && grep '^\\citation[{]' "$f"
-         ) >&6 2>&1; then
-        verbose "Running $bibtex $f ..."
-        $bibtex "$f" >&5 ||
-          fatal 1 "$bibtex exited with bad status, quitting."
-      fi
+      verbose "Running $bibtex $f ..."
+      $bibtex "$f" >&5 ||
+        fatal 1 "$bibtex exited with bad status, quitting."
     done
   fi
 }
@@ -1235,6 +1226,7 @@
          --build-dir)  shift; build_dir=$1; build_mode=tidy;;
     -c | --clean) build_mode=clean;;
     -D | --debug) debug=true;;
+         --dvi)   out_lang=dvi;;
     -e | -E | --expand) expand=t;;
     -h | --help) echo "$usage"; exit 0;;
          --html) out_lang=html;;
P ChangeLog
P util/Makefile.am
P util/defs.in
P util/texi2dvi


reply via email to

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