[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7000] revert last revision
From: |
Gavin D. Smith |
Subject: |
[7000] revert last revision |
Date: |
Sun, 07 Feb 2016 15:37:54 +0000 |
Revision: 7000
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7000
Author: gavin
Date: 2016-02-07 15:37:53 +0000 (Sun, 07 Feb 2016)
Log Message:
-----------
revert last revision
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.tex
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2016-02-07 14:44:30 UTC (rev 6999)
+++ trunk/ChangeLog 2016-02-07 15:37:53 UTC (rev 7000)
@@ -1,19 +1,5 @@
2016-02-07 Masamichi Hosoda <address@hidden>
- * doc/texinfo.tex:
- Native Unicode replace switching instead of re-definition.
-
- (\ifnativeunicodereplace): New switch.
- (\DeclareUnicodeCharacterNative):
- Integrate \DeclareUnicodeCharacterNativeThru.
- Add capable to switch replace or pass-through characters.
- (\DeclareUnicodeCharacterNativeThru): Remove.
- (\nativeunicodechardefsthru): Remove.
- (\passthroughcharacters):
- Use switch instead of \nativeunicodechardefsthru
-
-2016-02-07 Masamichi Hosoda <address@hidden>
-
* doc/texinfo.tex:
Add PDF outline support for XeTeX.
(\pdfdest): set destination.
Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex 2016-02-07 14:44:30 UTC (rev 6999)
+++ trunk/doc/texinfo.tex 2016-02-07 15:37:53 UTC (rev 7000)
@@ -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-02-07.14}
+\def\texinfoversion{2016-02-07.12}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -10798,25 +10798,12 @@
% For native Unicode (XeTeX and LuaTeX)
% Definition macro to replace the Unicode character
%
-\newif\ifnativeunicodereplace
-\nativeunicodereplacetrue
-
\def\DeclareUnicodeCharacterNative#1#2{%
\catcode"#1=\active
- \ifnativeunicodereplace
- \begingroup
- \uccode`\~="#1\relax
- \uppercase{\gdef~}{#2}%
- \endgroup
- \else
- \begingroup
- \uccode`\.="#1\relax
- \uppercase{\endgroup \def\UTFNativeTmp{.}}%
- \begingroup
- \uccode`\~="#1\relax
- \uppercase{\endgroup \edef~}{\UTFNativeTmp}%
- \fi
-}
+ \begingroup
+ \uccode`\~="#1\relax
+ \uppercase{\gdef~}{#2}%
+ \endgroup}
% Native Unicode (XeTeX and LuaTeX) character replacing definitions
% It makes the setting that replace the Unicode characters.
@@ -10825,6 +10812,27 @@
\unicodechardefs
}
+% For native Unicode (XeTeX and LuaTeX)
+% Definition macro not to make the Unicode character expand to a non-active
+% token with the same character code. Used when writing to auxiliary files.
+%
+\def\DeclareUnicodeCharacterNativeThru#1#2{%
+ \catcode"#1=\active
+ \begingroup
+ \uccode`\.="#1\relax
+ \uppercase{\endgroup \def\UTFNativeTmp{.}}%
+ \begingroup
+ \uccode`\~="#1\relax
+ \uppercase{\endgroup \edef~}{\UTFNativeTmp}%
+}
+
+% Native Unicode (XeTeX and LuaTeX) character ``through'' definitions.
+% It makes the setting that does not replace the Unicode characters.
+\def\nativeunicodechardefsthru{%
+ \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNativeThru
+ \unicodechardefs
+}
+
% For native Unicode (XeTeX and LuaTeX). Make the character token expand
% to the sequences given in \unicodechardefs for printing.
\def\DeclareUnicodeCharacterNativeAtU#1#2{%
@@ -10912,7 +10920,7 @@
\iftxiusebytewiseio
\nonasciistringdefs
\else
- \nativeunicodereplacefalse
+ \nativeunicodechardefsthru
\fi
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7000] revert last revision,
Gavin D. Smith <=