texinfo-commits
[Top][All Lists]
Advanced

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

[7296] Add warning for XeTeX with non-UTF-8 encodings


From: trueroad
Subject: [7296] Add warning for XeTeX with non-UTF-8 encodings
Date: Wed, 3 Aug 2016 12:41:23 +0000 (UTC)

Revision: 7296
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7296
Author:   trueroad
Date:     2016-08-03 12:41:23 +0000 (Wed, 03 Aug 2016)
Log Message:
-----------
Add warning for XeTeX with non-UTF-8 encodings

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/texinfo.tex

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-08-03 12:14:56 UTC (rev 7295)
+++ trunk/ChangeLog     2016-08-03 12:41:23 UTC (rev 7296)
@@ -1,5 +1,10 @@
 2016-08-03  Masamichi Hosoda  <address@hidden>
 
+       * doc/texinfo.tex (\documentencoding):
+       Add warning for XeTeX with non-UTF-8 encodings.
+
+2016-08-03  Masamichi Hosoda  <address@hidden>
+
        * doc/texinfo.tex (\xref):
        Fix XeTeX PDF destination names when \txiuseunicodedestnamefalse.
        In order to replace Unicode characters with ASCII,

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2016-08-03 12:14:56 UTC (rev 7295)
+++ trunk/doc/texinfo.tex       2016-08-03 12:41:23 UTC (rev 7296)
@@ -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{2016-08-03.11}
+\def\texinfoversion{2016-08-03.12}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -9962,6 +9962,18 @@
   \fi % latone
   \fi % lattwo
   \fi % ascii
+  %
+  \ifx\XeTeXrevision\thisisundefined
+  \else
+    \ifx \declaredencoding \utfeight
+    \else
+      \ifx \declaredencoding \ascii
+      \else
+        \message{Warning: XeTeX with non-UTF-8 encodings cannot handle %
+        non-ASCII characters in auxiallity files.}%
+      \fi
+    \fi
+  \fi
 }
 
 % emacs-page




reply via email to

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