texinfo-commits
[Top][All Lists]
Advanced

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

[5342] support for biblatex+biber


From: karl
Subject: [5342] support for biblatex+biber
Date: Sat, 24 Aug 2013 22:45:39 +0000

Revision: 5342
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5342
Author:   karl
Date:     2013-08-24 22:45:38 +0000 (Sat, 24 Aug 2013)
Log Message:
-----------
support for biblatex+biber

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2013-08-24 07:14:46 UTC (rev 5341)
+++ trunk/ChangeLog     2013-08-24 22:45:38 UTC (rev 5342)
@@ -1,3 +1,9 @@
+2013-08-24  Karl Berry  <address@hidden>  (tiny change)
+
+       * util/texi2dvi (run_bibtex): run biber if .bcf file exists.
+       (xref_files_changed): check for biblatex rerun warning.
+       Report from Jozef Vesely, 24 Aug 2013 12:15:40.
+
 2013-08-24  Patrice Dumas  <address@hidden>
 
        * tp/Texinfo/Convert/Info.pm (output), 
@@ -9,6 +15,8 @@
 
 2013-08-22  Karl Berry  <address@hidden>
 
+       * info/*: update copyright notices.
+
        * info/infomap.c (default_{emacs,vi}_like_info_keys),
        * info/session.c (info_display_file_info): rename from
        info_display_file.

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS  2013-08-24 07:14:46 UTC (rev 5341)
+++ trunk/NEWS  2013-08-24 22:45:38 UTC (rev 5342)
@@ -38,7 +38,10 @@
     backward searches ({) start at the end of the previous page.
   . new command display-file-info (bound to = by default, C-g in vi mode)
     shows full file name of the node being displayed and position in it.
-  
+
+* texi2dvi:
+  . support for biblatex+biber.
+
 * Distribution: automake-1.14, gettext-0.18.3.1.
 
 

Modified: trunk/util/texi2dvi
===================================================================
--- trunk/util/texi2dvi 2013-08-24 07:14:46 UTC (rev 5341)
+++ trunk/util/texi2dvi 2013-08-24 22:45:38 UTC (rev 5342)
@@ -899,9 +899,13 @@
   if grep "Rerun to get" "$in_noext.log" >&6 2>&1; then
     return 0
   fi
+  # biblatex report of whether rerunning is needed.
+  if grep "biblatex.*(re)run" "$in_noext.log" >&6 2>&1; then
+    return 0
+  fi
 
-  # If old and new lists don't at least have the same file list,
-  # then one file or another has definitely changed.
+  # If old and new lists don't have the same file list,
+  # then something has definitely changed.
   xref_files_new=`generated_files_get "$in_noext" xref_file_p`
   verbose "Original xref files = $xref_files_orig"
   verbose "New xref files      = $xref_files_new"
@@ -1073,20 +1077,19 @@
 
 # run_bibtex ()
 # -------------
-# Run bibtex on current file.
+# Run bibtex on (or biber) current file.
 # - If its input (AUX) exists.
 # - If some citations are missing (LOG contains `Citation').
 #   or the LOG complains of a missing .bbl
 #
 # Don't try to be too smart:
-#
 # 1. Running bibtex only if the bbl file exists and is older than
 # the LaTeX file is wrong, since the document might include files
 # that have changed.
 #
 # 3. Because there can be several AUX (if there are \include's),
 # but a single LOG, looking for missing citations in LOG is
-# easier, though we take the risk to match false messages.
+# easier, though we take the risk of matching false messages.
 run_bibtex ()
 {
   case $in_lang in
@@ -1107,11 +1110,15 @@
               && grep '^\\bibdata' "$in_noext.aux")) \
         >&6 2>&1; \
   then
-    for f in `generated_files_get "$in_noext" bibaux_file_p`
-    do
+    for f in `generated_files_get "$in_noext" bibaux_file_p`; do
       run $bibtex "$f"
     done
   fi
+
+  # biber(+biblatex) check.
+  if test -r "$in_noext.bcf"; then
+    run biber "$in_noext"
+  fi
 }
 
 # run_index ()




reply via email to

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