From a515a2a457da97ce2499484ca570c60cb25fd091 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 3 Oct 2009 15:12:47 +0000
Subject: stringstrings update (2oct09)

git-svn-id: svn://tug.org/texlive/trunk@15609 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/stringstrings/stringstrings.sty        | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/stringstrings/stringstrings.sty')

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}%
-- 
cgit v1.2.3

