summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tools/xspace.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-03 22:03:35 +0000
committerKarl Berry <karl@freefriends.org>2011-08-03 22:03:35 +0000
commitbb6fd84d0f762e045075c0e6570c68b283436888 (patch)
tree815f02eedb8c70d8f3aa0c16af9dfa3707864fe1 /Master/texmf-dist/tex/latex/tools/xspace.sty
parent366ed41f67c1c443ea09a9c442655ab1a40a270b (diff)
tools (latex-tds 2jul11)
git-svn-id: svn://tug.org/texlive/trunk@23393 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tools/xspace.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tools/xspace.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/tools/xspace.sty b/Master/texmf-dist/tex/latex/tools/xspace.sty
index 30628e2eb70..a3fffe44379 100644
--- a/Master/texmf-dist/tex/latex/tools/xspace.sty
+++ b/Master/texmf-dist/tex/latex/tools/xspace.sty
@@ -36,7 +36,7 @@
%% Morten H\o gholm
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xspace}
- [2006/05/08 v1.12 Space after command names (DPC,MH)]
+ [2009/10/20 v1.13 Space after command names (DPC,MH)]
\DeclareRobustCommand\xspace{\@xspace@firsttrue
\futurelet\@let@token\@xspace}
\newif\if@xspace@first
@@ -44,7 +44,12 @@
\def\@xspace@exceptions@tlp{%
,.'/?;:!~-)\ \/\bgroup\egroup\@sptoken\space\@xobeysp
\footnote\footnotemark
+ \xspace@check@icr
}
+\begingroup
+ \text@command\relax
+ \global\let\xspace@check@icr\check@icr
+\endgroup
\newcommand*\xspaceaddexceptions{%
\g@addto@macro\@xspace@exceptions@tlp
}