summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tools/xspace.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/xspace.dtx')
-rw-r--r--Master/texmf-dist/source/latex/tools/xspace.dtx13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/tools/xspace.dtx b/Master/texmf-dist/source/latex/tools/xspace.dtx
index 2740032c7a2..a8a11f8a097 100644
--- a/Master/texmf-dist/source/latex/tools/xspace.dtx
+++ b/Master/texmf-dist/source/latex/tools/xspace.dtx
@@ -33,7 +33,7 @@
%<driver>\ProvidesFile{xspace.drv}
% \fi
% \ProvidesFile{xspace.dtx}
- [2006/05/08 v1.12 Space after command names (DPC,MH)]
+ [2009/10/20 v1.13 Space after command names (DPC,MH)]
%
% \iffalse
%<*driver>
@@ -60,7 +60,7 @@
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% \CheckSum{209}
+% \CheckSum{218}
%
% \changes{v1.00}{1991/08/30}{Initial version}
% \changes{v1.01}{1992/06/26}{Re-issue for the new doc and docstrip}
@@ -243,8 +243,17 @@
\def\@xspace@exceptions@tlp{%
,.'/?;:!~-)\ \/\bgroup\egroup\@sptoken\space\@xobeysp
\footnote\footnotemark
+ \xspace@check@icr
}
% \end{macrocode}
+% And here we get the non-empty definition of \cs{check@icr}.
+% \changes{v1.13}{2009/10/20}{fix for "tools/3895": `text font commands fool xspace'}
+% \begin{macrocode}
+\begingroup
+ \text@command\relax
+ \global\let\xspace@check@icr\check@icr
+\endgroup
+% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\xspaceaddexceptions}