OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dnode -> node.direct (WIP)
[luatex-ja/luatexja.git]
/
src
/
patches
/
lltjp-xunicode.sty
diff --git
a/src/patches/lltjp-xunicode.sty
b/src/patches/lltjp-xunicode.sty
index
bef3b2d
..
bff08c3
100644
(file)
--- a/
src/patches/lltjp-xunicode.sty
+++ b/
src/patches/lltjp-xunicode.sty
@@
-3,9
+3,9
@@
%
\NeedsTeXFormat{LaTeX2e}
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjp-xunicode}[201
2/4/18 Patch to xunicode for LuaL
aTeX-ja]
+\ProvidesPackage{lltjp-xunicode}[201
3/05/14 Patch to xunicode for Lu
aTeX-ja]
-\def\
UTFencname{EU2}\def\
XeTeXpicfile{}
+\def\XeTeXpicfile{}
\RequirePackage{xunicode,luatexja}
{\catcode`\"=12
\gdef\check@hexcom@digits@#1#2#3#4#5@!@#6#7#8{%
\RequirePackage{xunicode,luatexja}
{\catcode`\"=12
\gdef\check@hexcom@digits@#1#2#3#4#5@!@#6#7#8{%
@@
-79,11
+79,21
@@
% Therefore temporarily set \hbar=\relax.
\let\ltj@tmpa\hbar
\let\hbar\relax
% Therefore temporarily set \hbar=\relax.
\let\ltj@tmpa\hbar
\let\hbar\relax
+
\let\ltj@tmpb\iftipaonetoken
\let\iftipaonetoken\relax
\let\ltj@tmpb\iftipaonetoken
\let\iftipaonetoken\relax
-\ReloadXunicode{EU2}
+\typeout{UTFencname: \UTFencname}
+\let\ltj@temp=\@temp
+\edef\@temp{\noexpand\ReloadXunicode{\UTFencname}}\@temp
\makeatletter
\makeatletter
+\let\@temp=\ltj@temp\let\ltj@temp\relax
\let\hbar\ltj@tmpa
\let\iftipaonetoken\ltj@tmpb
\let\ltj@tmpb\relax % no more an if-token
\let\hbar\ltj@tmpa
\let\iftipaonetoken\ltj@tmpb
\let\ltj@tmpb\relax % no more an if-token
+
+%% ticket 30501
+{\catcode`\!0\catcode`\\11!catcode`!2 11!catcode`!?11!catcode`!-11
+ !expandafter!gdef!csname!UTFencname \nobreakspace!endcsname{!?-\nobreakspace}%
+}
+
\endinput
\endinput