texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/texinfo.tex: Use definition of @documentenc


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo.tex: Use definition of @documentencoding to fully set UTF-8 as the default encoding, including for XeTeX and LuaTeX. Report from Werner.
Date: Sun, 25 Dec 2022 08:35:19 -0500

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 716b6e460a * doc/texinfo.tex: Use definition of @documentencoding to 
fully set UTF-8 as the default encoding, including for XeTeX and LuaTeX.  
Report from Werner.
716b6e460a is described below

commit 716b6e460a4d0e2f3ed86f8ae1d6727a8eff1222
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Dec 25 13:34:43 2022 +0000

    * doc/texinfo.tex: Use definition of @documentencoding to
    fully set UTF-8 as the default encoding, including for XeTeX
    and LuaTeX.  Report from Werner.
---
 ChangeLog       |  6 ++++++
 doc/texinfo.tex | 16 ++++++++--------
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8374ce2255..eb44e3bfae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-12-25  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex: Use definition of @documentencoding to
+       fully set UTF-8 as the default encoding, including for XeTeX
+       and LuaTeX.  Report from Werner.
+
 2022-12-24  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/ParserNonXS.pm (_in_paragraph),
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 73987116db..3662465d70 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{2022-12-23.23}
+\def\texinfoversion{2022-12-25.13}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -9902,12 +9902,10 @@ directory should work if nowhere else does.}
        % For native Unicode handling (XeTeX and LuaTeX)
        \nativeunicodechardefs
      \else
-       % For treating UTF-8 as byte sequences (TeX, eTeX and pdfTeX)
+       % For treating UTF-8 as byte sequences (TeX, eTeX and pdfTeX).
+       % Since we already invoke \utfeightchardefs at the top level,
+       % making non-ascii chars active is sufficient.
        \setnonasciicharscatcode\active
-       % since we already invoked \utfeightchardefs at the top level
-       % (below), do not re-invoke it, otherwise our check for duplicated
-       % definitions gets triggered.  Making non-ascii chars active is
-       % sufficient.
      \fi
   %
   \else
@@ -11233,13 +11231,15 @@ directory should work if nowhere else does.}
    \relax
 }
 
-% Define all Unicode characters we know about.  This makes UTF-8 the default
-% input encoding and allows @U to work.
+% Define all Unicode characters we know about
+% and make UTF-8 the default encoding.
 \iftxinativeunicodecapable
   \nativeunicodechardefsatu
 \else
   \utfeightchardefs
 \fi
+\documentencodingzzz{UTF-8}
+
 
 \message{formatting,}
 



reply via email to

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