summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tools/xspace.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-09 22:39:48 +0000
committerKarl Berry <karl@freefriends.org>2014-05-09 22:39:48 +0000
commit610c45beb863b008027a871701c889fe40bed7fb (patch)
tree5b879b56850db183fd749a497edd1d91172edf69 /Master/texmf-dist/source/latex/tools/xspace.dtx
parent18fa80c232cf479ae713b01b17d48bdc1d653aac (diff)
latex2e 2014/05/01 (via latex-tds)
git-svn-id: svn://tug.org/texlive/trunk@33946 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/xspace.dtx')
-rw-r--r--Master/texmf-dist/source/latex/tools/xspace.dtx52
1 files changed, 26 insertions, 26 deletions
diff --git a/Master/texmf-dist/source/latex/tools/xspace.dtx b/Master/texmf-dist/source/latex/tools/xspace.dtx
index a8a11f8a097..b01314aea2b 100644
--- a/Master/texmf-dist/source/latex/tools/xspace.dtx
+++ b/Master/texmf-dist/source/latex/tools/xspace.dtx
@@ -3,22 +3,22 @@
% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005
% 2006 2008 2009
% The LaTeX3 Project and any individual authors listed elsewhere
-% in this file.
-%
+% in this file.
+%
% This file is part of the Standard LaTeX `Tools Bundle'.
% -------------------------------------------------------
-%
+%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
+% and version 1.3c or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
-%
+%
% The list of all files belonging to the LaTeX `Tools Bundle' is
% given in the file `manifest.txt'.
-%
+%
% \fi
% \iffalse
%% File: xspace.dtx Copyright (C) 1991-1997 David Carlisle
@@ -65,7 +65,7 @@
% \changes{v1.00}{1991/08/30}{Initial version}
% \changes{v1.01}{1992/06/26}{Re-issue for the new doc and docstrip}
% \changes{v1.02}{1994/01/31}{Re-issue for LaTeX2e (no change to
-% code)}
+% code)}
% \changes{v1.07}{2004/12/07}{Make extensible. tools/3712}
% \changes{v1.07}{2004/12/07}{Fix active characters. tools/3747}
% \changes{v1.07}{2004/12/07}{Update documentation}
@@ -73,7 +73,7 @@
% \changes{v1.09}{2005/07/26}{Improve test by exiting if
% \cs{@let@token} is a letter}
% \changes{v1.10}{2005/10/04}{Use higher level functions for
-% conditional processing}
+% conditional processing}
% \changes{v1.10}{2005/10/04}{Improve expansion method}
%
% \begin{abstract}
@@ -179,22 +179,22 @@
% \cs{unskip} to remove the space inserted if \cs{@let@token} matches
% something special. Below is an example of how one can make sure an
% endash gets a space inserted before it but a single dash not.
-% \begin{verbatim}
-% \xspaceremoveexception{-}
+% \begin{verbatim}
+% \xspaceremoveexception{-}
% \makeatletter
% \renewcommand*\@xspace@hook{%
-% \ifx\@let@token-%
-% \expandafter\@xspace@dash@i
+% \ifx\@let@token-%
+% \expandafter\@xspace@dash@i
% \fi
% }
-% \def\@xspace@dash@i-{\futurelet\@let@token\@xspace@dash@ii}
-% \def\@xspace@dash@ii{%
-% \ifx\@let@token-%
-% \else
+% \def\@xspace@dash@i-{\futurelet\@let@token\@xspace@dash@ii}
+% \def\@xspace@dash@ii{%
+% \ifx\@let@token-%
+% \else
% \unskip
-% \fi
-% -%
-% }
+% \fi
+% -%
+% }
% \makeatother
% \end{verbatim}
%
@@ -267,7 +267,7 @@
% \end{macro}
% \begin{macro}{\xspaceremoveexception}
% \changes{v1.10}{2005/10/04}{Use higher level functions for
-% conditional processing}
+% conditional processing}
% This command removes an exception globally.
% \begin{macrocode}
\newcommand*\xspaceremoveexception[1]{%
@@ -286,7 +286,7 @@
}%
\expandafter\reserved@a\@xspace@exceptions@tlp#1\@xspace@q@nil\@@
}
-% \end{macrocode}
+% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@xspace@break@loop}
@@ -327,10 +327,10 @@
% \begin{macrocode}
\catcode`\,=\active \catcode`\'=\active \catcode`\-=\active
\xspaceaddexceptions{;:?!,'-}
- \endgroup
+ \endgroup
\let\@xspace@eTeX@setup\relax
% \end{macrocode}
-% \begin{macro}{\@xspace@eTeX@setup}
+% \begin{macro}{\@xspace@eTeX@setup}
% \changes{v1.10}{2005/10/04}{Added macro}
% \changes{v1.12}{2006/05/08}{Bug fix for verbatim in output routine}
% When we're running \eTeX, we have the advantage of \cs{scantokens}
@@ -375,7 +375,7 @@
% \changes{v1.08}{2005/05/07}{Use recursive loop instead of \cs{@tfor}}
% \changes{v1.09}{2005/07/26}{Only check non-letters and add hook}
% \changes{v1.10}{2005/10/04}{Use higher level functions for
-% conditional processing}
+% conditional processing}
% \changes{v1.10}{2005/10/04}{Improve expansion method}
% If the next token is one of a specified list of characters,
% do nothing, otherwise add a space. With version~1.07 the
@@ -433,9 +433,9 @@
% \changes{v1.07}{2004/12/07}{Added macro}
% \changes{v1.08}{2005/05/07}{Made function recursive}
% \changes{v1.10}{2005/10/04}{Use higher level functions for
-% conditional processing}
+% conditional processing}
% \changes{v1.11}{2006/02/12}{Modified so the \cs{@let@token} can be
-% \cs{outer}}
+% \cs{outer}}
% This macro just checks the current item in the exception list
% against the \cs{@let@token}. If they are equal we make sure that no
% space is inserted and break the loop.