[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Ease index files format conversion
From: |
Gavin D. Smith |
Subject: |
branch master updated: Ease index files format conversion |
Date: |
Thu, 31 Oct 2024 15:15:57 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new aa4d30e9a4 Ease index files format conversion
aa4d30e9a4 is described below
commit aa4d30e9a42e0e8d099159b75f9ad5ea828ed4ce
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Oct 31 19:15:50 2024 +0000
Ease index files format conversion
* doc/texinfo.tex (\doindwritex): Precede \write with \immediate.
This is to help with transitioning from index files using @ as
an escape character instead of \. If texinfo.tex exits with
an error about the old format being used before any entries were
written to the index file, then the index file will stay empty.
texi2dvi does not recognise an empty file as an index file, so
will not call texindex, and so the sorted index file will remain
in the old format, and texi2dvi will not complete successfully
until the sorted index file is manually deleted. (This was the
case for the "bar" index in texinfo-tex-test.texi.)
---
ChangeLog | 16 ++++++++++++++++
doc/texinfo.tex | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 821f76ac09..b8b8acd3ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2024-10-31 Gavin Smith <gavinsmith0123@gmail.com>
+
+ Ease index files format conversion
+
+ * doc/texinfo.tex (\doindwritex): Precede \write with \immediate.
+
+ This is to help with transitioning from index files using @ as
+ an escape character instead of \. If texinfo.tex exits with
+ an error about the old format being used before any entries were
+ written to the index file, then the index file will stay empty.
+ texi2dvi does not recognise an empty file as an index file, so
+ will not call texindex, and so the sorted index file will remain
+ in the old format, and texi2dvi will not complete successfully
+ until the sorted index file is manually deleted. (This was the
+ case for the "bar" index in texinfo-tex-test.texi.)
+
2024-10-31 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.tex (\unicodechardefs): Define U+2032 (prime)
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index a4bd5d1a96..9e8c7c7f31 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
-\def\texinfoversion{2024-10-31.16}
+\def\texinfoversion{2024-10-31.19}
%
% Copyright 1985, 1986, 1988, 1990-2024 Free Software Foundation, Inc.
%
@@ -5277,7 +5277,7 @@ $$%
% sorted result.
%
\edef\temp{%
- \write\writeto{%
+ \immediate\write\writeto{%
\string\entry{\fullindexsortkey}%
{\ifx\pagenumbertext\empty\noexpand\folio\else\pagenumbertext\fi}%
\bracedtext}%
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Ease index files format conversion,
Gavin D. Smith <=