summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stringstrings
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-10-03 15:12:47 +0000
committerKarl Berry <karl@freefriends.org>2009-10-03 15:12:47 +0000
commita515a2a457da97ce2499484ca570c60cb25fd091 (patch)
tree32d0fd8ea2e2e3a42f50bb3fcf8c7c99b873deac /Master/texmf-dist/tex/latex/stringstrings
parent2a8ca7fa0023e5f7eef054101f1a5ce6dfbd7ea2 (diff)
stringstrings update (2oct09)
git-svn-id: svn://tug.org/texlive/trunk@15609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stringstrings')
-rw-r--r--Master/texmf-dist/tex/latex/stringstrings/stringstrings.sty20
1 files changed, 9 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/stringstrings/stringstrings.sty b/Master/texmf-dist/tex/latex/stringstrings/stringstrings.sty
index 7461c68591f..c4c4980880e 100644
--- a/Master/texmf-dist/tex/latex/stringstrings/stringstrings.sty
+++ b/Master/texmf-dist/tex/latex/stringstrings/stringstrings.sty
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesPackage{stringstrings}
-[2009/02/13 v1.03
+[2009/10/01 v1.04
Extensive array of string manipulation routines for
cosmetic and programming application]
\NeedsTeXFormat{LaTeX2e}
@@ -426,17 +426,17 @@
\ifthenelse{\value{@letterindex} < \value{@fromindex}}%
{%
\if T\theresult%
- \edef\rotatingword{\rotate{\rotatingword}}%
+ \edef\rotatingword{\@rotate{\rotatingword}}%
\addtocounter{@letterindex}{-1}%
\else
- \edef\rotatingword{\rotate{\rotatingword}}%
+ \edef\rotatingword{\@rotate{\rotatingword}}%
\fi
}%
{%
\if T\theresult%
\edef\rotatingword{\ESCrotate{\expandafter\@gobble\rotatingword}}%
\else
- \edef\rotatingword{\rotate{\rotatingword}}%
+ \edef\rotatingword{\@rotate{\rotatingword}}%
\fi
}%
\if 0\arabic{@capstrigger}%
@@ -557,7 +557,6 @@
\fi
}
-
\newcommand\rotateword[2][v]{%
\+\edef\thestring{#2}\?%
\@treatleadingspaces[e]{\thestring}{}%
@@ -875,9 +874,9 @@
\edef\@stringB{\ESCrotate{\expandafter\@gobble\rotatingword}}%
\else
\def\AlphaCapsTreatment{2}%
- \edef\@stringA{\rotate{#1}}%
+ \edef\@stringA{\@rotate{#1}}%
\def\AlphaCapsTreatment{1}%
- \edef\@stringB{\rotate{#1}}%
+ \edef\@stringB{\@rotate{#1}}%
\fi
\ifthenelse{\equal{\@stringA}{\@stringB}}%
{\capitalizedfalse}{\capitalizedtrue}\?%
@@ -898,9 +897,9 @@
\edef\@stringB{\ESCrotate{\expandafter\@gobble\rotatingword}}%
\else
\def\AlphaTreatment{2}%
- \edef\@stringA{\rotate{#1}}%
+ \edef\@stringA{\@rotate{#1}}%
\def\AlphaTreatment{1}%
- \edef\@stringB{\rotate{#1}}%
+ \edef\@stringB{\@rotate{#1}}%
\fi
\ifthenelse{\equal{\@stringA}{\@stringB}}%
{\uncapitalizedfalse}{\uncapitalizedtrue}\?%
@@ -1010,7 +1009,6 @@
}
%%%%% SUPPORT ROUTINES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand\rotate[1]{\@rotate{#1}}
\newcommand\ESCrotate[1]{%
\if\@fromcode#1\@tostring\else
@@ -1483,7 +1481,7 @@
\if T\theresult%
\isnextbyte[q]{#3}{x}%
\if F\theresult%
- \edef\thestring{\rotate{\thestring}}%
+ \edef\thestring{\@rotate{\thestring}}%
\else
\@gobblearg{\thestring}{1}%
\edef\thestring{\gobbledword}%