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
luatexja-preset.sty: sync with jfontmaps.
[luatex-ja/luatexja.git]
/
src
/
patches
/
lltjp-xunicode.sty
diff --git
a/src/patches/lltjp-xunicode.sty
b/src/patches/lltjp-xunicode.sty
index
ee74848
..
da4d1a7
100644
(file)
--- a/
src/patches/lltjp-xunicode.sty
+++ b/
src/patches/lltjp-xunicode.sty
@@
-3,7
+3,7
@@
%
\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{}
\RequirePackage{xunicode,luatexja}
\def\UTFencname{EU2}\def\XeTeXpicfile{}
\RequirePackage{xunicode,luatexja}
@@
-76,20
+76,20
@@
% If unicode-math is already loaded, the following error occurs:
% ! Undefined control sequence.
% \hbar ->\hslash
% If unicode-math is already loaded, the following error occurs:
% ! Undefined control sequence.
% \hbar ->\hslash
-% ! Missing \endcsname inserted.
-% <to be read again>
-% \Zbar
-% Therefore temporarily set \hbar=\relax and \Zbar=\relax.
+% Therefore temporarily set \hbar=\relax.
\let\ltj@tmpa\hbar
\let\hbar\relax
\let\ltj@tmpb\iftipaonetoken
\let\iftipaonetoken\relax
\let\ltj@tmpa\hbar
\let\hbar\relax
\let\ltj@tmpb\iftipaonetoken
\let\iftipaonetoken\relax
-\let\ltj@tmpc\Zbar
-\let\Zbar\relax
\ReloadXunicode{EU2}
\makeatletter
\let\hbar\ltj@tmpa
\let\iftipaonetoken\ltj@tmpb
\let\ltj@tmpb\relax % no more an if-token
\ReloadXunicode{EU2}
\makeatletter
\let\hbar\ltj@tmpa
\let\iftipaonetoken\ltj@tmpb
\let\ltj@tmpb\relax % no more an if-token
-\let\Zbar\ltj@tmpc
+
+%% ticket 30501
+{\catcode`\!0\catcode`\\11!catcode`!2 11!catcode`!?11!catcode`!-11
+ !gdef!EU2\nobreakspace{!?-\nobreakspace}%
+}
+
\endinput
\endinput