texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Tue Feb 28 12:22:01 EST 2006)


From: Karl Berry
Subject: texinfo update (Tue Feb 28 12:22:01 EST 2006)
Date: Tue, 28 Feb 2006 12:22:10 -0500

Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.573
retrieving revision 1.574
diff -u -r1.573 -r1.574
--- ChangeLog   25 Feb 2006 23:08:01 -0000      1.573
+++ ChangeLog   28 Feb 2006 16:53:18 -0000      1.574
@@ -1,3 +1,10 @@
+2006-02-28  Akim Demaille  <address@hidden>
+
+       Be robust to spaces in directory names.
+       * util/texi2dvi (absolute): Be robust to non directories.
+       (run_tex): Quote in_input properly.
+       (compile): Quote args of eval properly.
+
 2006-02-25  Karl Berry  <address@hidden>
 
        * info/nodes.c (info_get_node_of_file_buffer): try to avoid
Index: doc/makeinfo.1
===================================================================
RCS file: /sources/texinfo/texinfo/doc/makeinfo.1,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- doc/makeinfo.1      16 Nov 2005 17:46:33 -0000      1.47
+++ doc/makeinfo.1      28 Feb 2006 16:53:18 -0000      1.48
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
-.TH MAKEINFO "1" "November 2005" "makeinfo 4.8" "User Commands"
+.TH MAKEINFO "1" "February 2006" "makeinfo 4.8" "User Commands"
 .SH NAME
 makeinfo \- translate Texinfo documents
 .SH SYNOPSIS
Index: doc/texi2dvi.1
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texi2dvi.1,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- doc/texi2dvi.1      18 Jan 2006 11:56:04 -0000      1.48
+++ doc/texi2dvi.1      28 Feb 2006 16:53:18 -0000      1.49
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
-.TH TEXI2DVI "1" "January 2006" "texi2dvi 1.72" "User Commands"
+.TH TEXI2DVI "1" "February 2006" "texi2dvi 1.75" "User Commands"
 .SH NAME
 texi2dvi \- convert Texinfo documents to DVI
 .SH SYNOPSIS
@@ -33,8 +33,6 @@
 .TP
 \fB\-h\fR, \fB\-\-help\fR
 display this help and exit successfully
-.HP
-\fB\-\-no\-line\-error\fR do not pass \fB\-\-file\-line\-error\fR to TeX
 .TP
 \fB\-o\fR, \fB\-\-output\fR=\fIOFILE\fR
 leave output in OFILE (implies \fB\-\-clean\fR);
@@ -65,17 +63,26 @@
 \fB\-l\fR, \fB\-\-language\fR=\fILANG\fR
 specify the LANG of FILE (LaTeX or Texinfo)
 .TP
+\fB\-\-no\-line\-error\fR
+do not pass \fB\-\-file\-line\-error\fR to TeX
+.TP
 \fB\-p\fR, \fB\-\-pdf\fR
 use pdftex or pdflatex for processing
 .TP
 \fB\-r\fR, \fB\-\-recode\fR
 call recode before TeX to translate input characters
 .TP
+\fB\-\-recode\-from\fR=\fIENC\fR
+recode from ENC to the @documentencoding
+.TP
 \fB\-t\fR, \fB\-\-command\fR=\fICMD\fR
 insert CMD in copy of input file
 .TP
 or \fB\-\-texinfo\fR=\fICMD\fR
 multiple values accumulate
+.TP
+\fB\-\-translate\-file\fR=\fIFILE\fR
+use given charset translation file for TeX
 .SS "Build modes:"
 .TP
 \fB\-\-build\fR=\fIMODE\fR
Index: doc/version.texi
===================================================================
RCS file: /sources/texinfo/texinfo/doc/version.texi,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- doc/version.texi    9 Jan 2006 09:49:23 -0000       1.35
+++ doc/version.texi    28 Feb 2006 16:53:18 -0000      1.36
@@ -1,4 +1,4 @@
address@hidden UPDATED 2 January 2006
address@hidden UPDATED-MONTH January 2006
address@hidden UPDATED 28 February 2006
address@hidden UPDATED-MONTH February 2006
 @set EDITION 4.8
 @set VERSION 4.8
Index: util/texi2dvi
===================================================================
RCS file: /sources/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- util/texi2dvi       14 Feb 2006 19:51:55 -0000      1.75
+++ util/texi2dvi       28 Feb 2006 16:53:18 -0000      1.76
@@ -1,6 +1,6 @@
 #! /bin/sh
 # texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
-# $Id: texi2dvi,v 1.75 2006/02/14 19:51:55 karl Exp $
+# $Id: texi2dvi,v 1.76 2006/02/28 16:53:18 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.75 $'
+rcs_revision='$Revision: 1.76 $'
 rcs_version=`set - $rcs_revision; echo $2`
 program=`echo $0 | sed -e 's!.*/!!'`
 version="texi2dvi (GNU Texinfo 4.8) $rcs_version
@@ -234,9 +234,12 @@
       # Absolute paths don't need to be expanded.
       echo "$1"
       ;;
-   *)
-      (cd "$orig_pwd/`func_dirname $1`" 2>/dev/null &&
-       echo `pwd`/`basename "$1"`)
+   *) local rel="$orig_pwd/`func_dirname $1`"
+      if test -d "$rel"; then
+        (cd "$rel" 2>/dev/null && echo `pwd`/`basename "$1"`);
+      else
+        fatal 1 "not a directory: $rel"
+      fi
       ;;
   esac
 }
@@ -645,7 +648,7 @@
   # subdirectory to exist.
   case $language:$tidy in
     latex:true)
-       sed -n 's|^[ ]*\\include{\(.*\)/.*}.*|\1|p' $in_input |
+       sed -n 's|^[ ]*\\include{\(.*\)/.*}.*|\1|p' "$in_input" |
        sort -u |
        while read d
        do
@@ -1097,7 +1100,7 @@
     # directory (e.g., in clean build mode, or during the macro-support
     # detection).
     val=`absolute_filenames "$val"`
-    eval $var="$val"
+    eval $var="\"$val\""
     eval export $var
     eval verbose "$var=\'\$${var}\'"
   done
P ChangeLog
P doc/makeinfo.1
P doc/texi2dvi.1
P doc/version.texi
P util/texi2dvi


reply via email to

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