[tex-live] Debian freeze - last chance for changes
Werner LEMBERG
wl at gnu.org
Fri Jun 22 05:47:10 CEST 2012
> If there is anything else, please let me know.
I have a small fix to CJK.sty, not worth a new release but helpful
anyways since it increases robustness. Please decide yourself what to
do with it.
Werner
======================================================================
diff --git a/ChangeLog b/ChangeLog
index 7dcdf1c..eda3c56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-06-21 Werner LEMBERG <wl at gnu.org>
+
+ Make some commands robust.
+
+ * texinput/CJK.sty (\CJKtilde, \standardtilde, \CJKspace,
+ \CJKnospace): Use \DeclareRobustCommand.
+
2012-05-20 Peter Breitenlohner <peb at mppmu.mpg.de>
[hbf2gf] Build fix for 64-bit Mac OS X 10.7.3.
diff --git a/texinput/CJK.sty b/texinput/CJK.sty
index 12cfe84..3fa8362 100644
--- a/texinput/CJK.sty
+++ b/texinput/CJK.sty
@@ -847,9 +847,9 @@
\let\nbs \nobreakspace
-\newcommand{\CJKtilde}{
+\DeclareRobustCommand{\CJKtilde}{
\CJK at global\def~{\hspace{0.25em plus 0.125em minus 0.08em}\ignorespaces}}
-\newcommand{\standardtilde}{
+\DeclareRobustCommand{\standardtilde}{
\CJK at global\def~{\nobreakspace{}}}
@@ -861,9 +861,9 @@
%
% the definitions are in MULEenc.sty also.
-\providecommand{\CJKspace}{
+\DeclareRobustCommand{\CJKspace}{
\CJK at global\let\CJK at ignorespaces \@empty}
-\providecommand{\CJKnospace}{
+\DeclareRobustCommand{\CJKnospace}{
\CJK at global\let\CJK at ignorespaces \ignorespaces}
More information about the tex-live
mailing list