summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/translator
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-02 22:45:05 +0000
committerKarl Berry <karl@freefriends.org>2012-09-02 22:45:05 +0000
commitf5f31d5e8f559ba5a579cb6e80948a5d2515b7aa (patch)
tree89c47de07f130a84b39bbd9553125db068a1b357 /Master/texmf-dist/tex/latex/beamer/translator
parentb65f0d960936e701af2377d60458f03cc11558c1 (diff)
beamer (31aug12)
git-svn-id: svn://tug.org/texlive/trunk@27573 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/translator')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/translator/translator.sty13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/translator/translator.sty b/Master/texmf-dist/tex/latex/beamer/translator/translator.sty
index f0f241be4d5..7a74a1a8d2b 100644
--- a/Master/texmf-dist/tex/latex/beamer/translator/translator.sty
+++ b/Master/texmf-dist/tex/latex/beamer/translator/translator.sty
@@ -74,12 +74,17 @@
}%
}
-
+\begingroup
+\lccode`\A=`\- %
+\lowercase{%
+ \endgroup
+ \def\trans@marker{-A}%
+}
\newcommand\translatelet[3][]{%
\edef\trans@to{\trans@languagepath}%
\setkeys{translator}{#1}%
- \let\trans@trans\@empty%
+ \let\trans@trans\trans@marker%
\let\trans@list\@empty%
\@for\trans@lang:=\trans@to\do%
{%
@@ -93,14 +98,14 @@
{%
\expandafter\ifx\csname tr@@@\trans@lang @#3\endcsname\relax%
\else%
- \ifx\trans@trans\@empty%
+ \ifx\trans@trans\trans@marker%
\expandafter\expandafter\expandafter\def
\expandafter\expandafter\expandafter\trans@trans
\expandafter\expandafter\expandafter{\csname tr@@@\trans@lang @#3\endcsname}%
\fi%
\fi%
}%
- \ifx\trans@trans\@empty%
+ \ifx\trans@trans\trans@marker%
\def\trans@trans{#3}%
\fi%
\let#2=\trans@trans%