summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-24 00:12:50 +0000
committerKarl Berry <karl@freefriends.org>2012-12-24 00:12:50 +0000
commitd09461c98baac5e3fe8d106d124b3e019b942120 (patch)
treee8f76567afc64dd09b927e024622591bd1ab8239
parent375e97afcbbf8e590636347387a3f5060b442f22 (diff)
exsheets (23dec12)
git-svn-id: svn://tug.org/texlive/trunk@28627 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/exsheets/README8
-rw-r--r--Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdfbin651906 -> 654042 bytes
-rw-r--r--Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex55
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/cntformats.sty6
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/exsheets.sty11
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def6
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/translations.sty184
7 files changed, 182 insertions, 88 deletions
diff --git a/Master/texmf-dist/doc/latex/exsheets/README b/Master/texmf-dist/doc/latex/exsheets/README
index 44746a43b46..6e757340b4d 100644
--- a/Master/texmf-dist/doc/latex/exsheets/README
+++ b/Master/texmf-dist/doc/latex/exsheets/README
@@ -1,12 +1,12 @@
--------------------------------------------------------------------------
-EXSHEETS v0.6 - 2012/12/18
+EXSHEETS v0.6a - 2012/12/23
bundled packages:
the EXSHEETS package
Yet another package for the creation of exercise sheets
-the TRANSLATIONS package
+the TRANSLATIONS package v0.6
a simple translator
-the CNTFORMATS package
+the CNTFORMATS package v0.4
A different way to read counters.
All mentioned packages are described in exsheets_en.pdf
@@ -32,7 +32,7 @@ The Current Maintainer of this work is Clemens Niederberger.
The exsheets package consists of the files
- exsheets.sty, exsheets_headings.def, exsheets_headings.cfg,
exsheets_tasks.def, exsheets_tasks.cfg, exsheets_configurations.cfg,
- - exsheets_en.tex, exsheets_en.pdf,
+ - exsheets_en.tex, exsheets_en.pdf, grading-table.tex,
- README
--------------------------------------------------------------------------
The translations package consists of the files
diff --git a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf
index ce878434f15..c45db3ede3d 100644
--- a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf
+++ b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
index 9e8d9faf667..25dd1be0929 100644
--- a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
+++ b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
@@ -62,6 +62,10 @@
} ,
gobble = 1
}
+\makeatletter
+\edef\trnsltversion{\@trnslt@version}
+\edef\cntfmtsversion{\@cntfmts@version}
+\makeatother
\cnpkgusecolorscheme{friendly}
\usepackage[biblatex]{embrac}[2012/06/29]
@@ -104,10 +108,16 @@
% translations:
\newcommand*\translations{{\scshape\textcolor{main}{translations}}\xspace}
\addcmds{
- cuisine, DeclareLanguage, DeclareLanguageAlias, DeclareTranslation,
- GetTranslation, GetTranslationFor, kitchen, LoadDictionary,
- LoadDictionaryFor, NewTranslation, ProvideDictionaryFor,
- RenewTranslation, SaveTranslation, SaveTranslationFor, selectlanguage
+ cuisine,
+ DeclareLanguage, DeclareLanguageAlias, DeclareLanguageDialect,
+ DeclareTranslation,
+ GetTranslation, GetTranslationFor,
+ kitchen,
+ LoadDictionary, LoadDictionaryFor,
+ NewTranslation,
+ ProvideDictionaryFor,
+ RenewTranslation,
+ SaveTranslation, SaveTranslationFor, selectlanguage
}
% cntformats:
@@ -227,6 +237,8 @@
\DeclareTranslation{German}{Kueche}{K\"uche}
\DeclareTranslation{Spanish}{Kueche}{cocina}
\DeclareTranslation{French}{Kueche}{cuisine}
+\DeclareTranslation{English}{foo}{foo}
+\DeclareTranslation{British}{foo}{bar}
\usepackage{alphalph}
\makeatletter
@@ -1008,11 +1020,11 @@ purpose \ExSheets provides the following commands:
is initially set to \code{2}.
\Befehl{variant}{<num>}\newline
Choose the active variant. The argument must be a number between \code{1}
- and the number set with \cmd*{variations}. Initially set to \code{1}.
+ and the number set with \cmd*{SetVariations}. Initially set to \code{1}.
\Befehl{vary}{<variant 1>}\ma{<variant 2>}\newline
This command is the one actually used in the document. It has a number of
- required arguments equal to the number set with \cmd*{variations}. All of its
- arguments are discarded except the one specified with \cmd*{variant}.
+ required arguments equal to the number set with \cmd*{SetVariations}. All of
+ its arguments are discarded except the one specified with \cmd*{variant}.
\end{beschreibung}
\begin{beispiel}
@@ -2167,7 +2179,8 @@ will be loaded \cmd*{AtBeginDocument}.
\secidx*{Custom Configurations}
\secidx*{\ExSheets}[ExSheets]
-\part{The \translations package}\label{part:translations}\secidx{\translations}[translations]
+\part{The \translations package (\trnsltversion)}
+\label{part:translations}\secidx{\translations}[translations]
\section{Motivation}\secidx[Motivation]{\translations}[translations]
I wrote this package when I was in need for an expandable version of
\paket*{translator}'s \cmd{translate}. If you don't need that then there is no
@@ -2185,6 +2198,11 @@ These are the commands provided by \translations:
Declares \code{<lang2>} to be an alias of \code{<lang1>}. If \code{<lang1>}
doesn't exist yet a warning will be raised and it will be defined. This command
can only be used in the preamble.
+ \Befehl{DeclareLanguageDialect}{<dialect>}\ma{<lang>}\newline
+ Declares \code{<dialect>} to be a dialect of language \code{<lang>}. If a
+ translation for \code{<dialect>} is provided it is used by the translation
+ macros. If there is none the corresponding translation for \code{<lang>} is
+ used instead.
\Befehl{NewTranslation}{<lang>}\ma{<key>}\ma{<translation>}\newline
Defines a translation of key \code{<key>} for the language \code{<lang>}.
An error will be raised if a translation of \code{<key>} already exists.
@@ -2197,6 +2215,11 @@ These are the commands provided by \translations:
Defines a translation of key \code{<key>} for the language \code{<lang>}.
No error will be raised if a translation of \code{<key>} already exists.
This command can only be used in the preamble.
+ \Befehl{DeclareTranslationFallback}{<key>}\ma{<fallback>}\newline
+ Defines a fallback translation for key \code{<key>} that is used in case no
+ translation of \code{<key>} for the currently active language has been provided.
+ No error will be raised if a fallback for \code{<key>} already exists.
+ This command can only be used in the preamble.
\expandable\Befehl{GetTranslationFor}{<lang>}\ma{<key>}\newline
Fetches and prints the translation of \code{<key>} for the language \code{<lang>}.
This command is expandable.
@@ -2207,7 +2230,7 @@ These are the commands provided by \translations:
Fetches and saves the translation of \code{<key>} for the language \code{<lang>}
in the macro \code{<cmd>}.
\Befehl{SaveTranslation}{<cmd>}\ma{<key>}\newline
- Fetches and saves the translation of \code{<key>} or the currently active
+ Fetches and saves the translation of \code{<key>} for the currently active
language (as for example set by \paket{babel}) in the macro \code{<cmd>}.
\Befehl{LoadDictionary}{<name>}\newline
Loads a file named \code{<name>-<lang>.trsl} where \code{<lang>} corresponds
@@ -2238,6 +2261,17 @@ Here is a small example of usage:
\cuisine
\end{beispiel}
+There is also preliminary support for dialects:
+\begin{beispiel}
+ % in the preamble:
+ % \DeclareTranslation{English}{foo}{foo}
+ % \DeclareTranslation{British}{foo}{bar}
+ \GetTranslationFor{English}{foo} \\
+ \GetTranslationFor{British}{foo} \\
+ \GetTranslationFor{American}{foo}
+\end{beispiel}
+
+
A typical dictionary file should look as follows:
\begin{beispiel}[code only]
% this is file housing-german.trsl
@@ -2251,7 +2285,8 @@ A typical dictionary file should look as follows:
\end{beispiel}
\secidx*{\translations}[translations]
-\part{The \cntformats package}\label{part:cntformats}\secidx{\cntformats}[cntformats]
+\part{The \cntformats package (\cntfmtsversion)}
+\label{part:cntformats}\secidx{\cntformats}[cntformats]
\section{Motivation}\secidx[Motivation]{\cntformats}[cntformats]
\cntformats provides a way to format counters with what I will call patterns.
This does not in any way effect the usual \LaTeXe\ way of treating counters and
diff --git a/Master/texmf-dist/tex/latex/exsheets/cntformats.sty b/Master/texmf-dist/tex/latex/exsheets/cntformats.sty
index 84f599f41dc..dcf99e3b027 100644
--- a/Master/texmf-dist/tex/latex/exsheets/cntformats.sty
+++ b/Master/texmf-dist/tex/latex/exsheets/cntformats.sty
@@ -29,10 +29,10 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-\def\cntfmts@date{2012/11/08}
-\def\cntfmts@version{v0.4}
+\def\@cntfmts@date{2012/11/08}
+\def\@cntfmts@version{v0.4}
-\ProvidesPackage{cntformats}[\cntfmts@date\space \cntfmts@version\space A different way to read counters.]
+\ProvidesPackage{cntformats}[\@cntfmts@date\space \@cntfmts@version\space A different way to read counters.]
\RequirePackage{etoolbox}
% --------------------------------------------------------------------------
% message handling
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty
index 0aac0c3bf6f..d6dc571d378 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty
@@ -31,8 +31,8 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% ----------------------------------------------------------------------------
-\def\exsheets@date{2012/12/18}
-\def\exsheets@version{0.6}
+\def\exsheets@date{2012/12/23}
+\def\exsheets@version{0.6a}
\RequirePackage { expl3 , xparse }
\ProvidesExplPackage
@@ -2210,6 +2210,7 @@
{
\RequirePackage { translations }
% translation for the exercises
+ \DeclareTranslationFallback { exsheets-exercise-name } { Exercise }
\DeclareTranslation { English } { exsheets-exercise-name } { Exercise }
\DeclareTranslation { British } { exsheets-exercise-name } { Exercise }
\DeclareTranslation { American } { exsheets-exercise-name } { Exercise }
@@ -2223,6 +2224,7 @@
\DeclareTranslation { Hungarian } { exsheets-exercise-name } { Gyakorol }
\DeclareTranslation { Danish } { exsheets-exercise-name } { \O{}velse }
% translation for the question
+ \DeclareTranslationFallback { exsheets-question-name } { Question }
\DeclareTranslation { English } { exsheets-question-name } { Question }
\DeclareTranslation { British } { exsheets-question-name } { Question }
\DeclareTranslation { American } { exsheets-question-name } { Question }
@@ -2236,6 +2238,7 @@
\DeclareTranslation { Hungarian } { exsheets-question-name } { Feladat }
\DeclareTranslation { Danish } { exsheets-question-name } { Opgave }
% translation for the solutions
+ \DeclareTranslationFallback { exsheets-solution-name } { Solution }
\DeclareTranslation { English } { exsheets-solution-name } { Solution }
\DeclareTranslation { British } { exsheets-solution-name } { Solution }
\DeclareTranslation { American } { exsheets-solution-name } { Solution }
@@ -2354,7 +2357,9 @@ HISTORY:
counter-format=se.qu and [print] option
2012/12/18 v0.6 - variations, Hungarian translations, corrected Catalanian
translations
-
+2012/12/23 v0.6a - bug fix: labels and items of {tasks} weren't joined at
+ their baselines
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO:
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def
index 3d36f2a435c..e5f9faf8311 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_tasks.def
@@ -117,13 +117,13 @@
{ \l__exsheets_tasks_item_width_dim }
{ \__exsheets_tasks_setup: #2 }
\coffin_typeset:Nnnnn \l__exsheets_tmpc_coffin
- { l } { b } { 0pt } { 0pt }
+ { l } { T } { 0pt } { 0pt }
}
% the label:
\hcoffin_set:Nn \l__exsheets_tmpb_coffin { \strut #1 }
\coffin_attach:NnnNnnnn
- \l__exsheets_tmpa_coffin { l } { t }
- \l__exsheets_tmpb_coffin { l } { t } { -\l__exsheets_tasks_label_width_dim } { 0pt }
+ \l__exsheets_tmpa_coffin { l } { T }
+ \l__exsheets_tmpb_coffin { l } { T } { -\l__exsheets_tasks_label_width_dim } { 0pt }
% typeset label & item:
% need this when a new row starts:
\int_compare:nT { \l__exsheets_tmpa_int = 1 }
diff --git a/Master/texmf-dist/tex/latex/exsheets/translations.sty b/Master/texmf-dist/tex/latex/exsheets/translations.sty
index 5164acaf08c..09338cc1452 100644
--- a/Master/texmf-dist/tex/latex/exsheets/translations.sty
+++ b/Master/texmf-dist/tex/latex/exsheets/translations.sty
@@ -29,8 +29,8 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-\def\@trnslt@date{2012/11/08}
-\def\@trnslt@version{v0.4}
+\def\@trnslt@date{2012/12/23}
+\def\@trnslt@version{v0.6}
\ProvidesPackage{translations}[\@trnslt@date\space \@trnslt@version\space a simple translator]
\RequirePackage{etoolbox}
@@ -103,11 +103,43 @@
\@trnslt@warn@unknown@lang{#2}%
\@trnslt@declare@language{#2}%
}%
+ \lowercase{\@trnslt@if@dialect{#2}}{#2}
+ {%
+ \csletcs
+ {@trnslt@language@\@trnslt@language{#2}@dialect@#1}
+ {@trnslt@language@\@trnslt@language{#2}@dialect@#2}%
+ }
+ {}%
+ \csletcs{@trnslt@language@#1}{@trnslt@language@#2}}
+
+% TODO: nur eine Notlösung bis es eine echte gibt:
+% #1: dialect
+% #2: language
+\newrobustcmd*\DeclareLanguageDialect[2]{%
+ \@trnslt@declare@languagedialect{#1}{#2}}
+\@onlypreamble\DeclareLanguageDialect
+
+\def\@trnslt@declare@languagedialect#1#2{%
+ \ifcsdef{@trnslt@language@#2}
+ {}{%
+ \@trnslt@warn@unknown@lang{#2}%
+ \@trnslt@declare@language{#2}%
+ }%
+ \csdef{@trnslt@language@\@trnslt@language{#2}@dialect@#1}{}%
\csletcs{@trnslt@language@#1}{@trnslt@language@#2}}
+\def\@trnslt@if@dialect#1#2{%
+ \ifcsdef{@trnslt@language@\@trnslt@language{#2}@dialect@#1}
+ {\expandafter\@firstoftwo}
+ {\expandafter\@secondoftwo}}
+
\def\@trnslt@language#1{%
\csuse{@trnslt@language@#1}}
+% dummy language: `fallback':
+\DeclareLanguage{fallback}
+\DeclareLanguageAlias{Fallback}{fallback}
+
% --------------------------------------------------------------------------
% \DeclareTranslation, \NewTranslation and \RenewTranslation
% #1: language
@@ -117,11 +149,20 @@
\@trnslt@declare@translation{#2}{#1}{#3}}
\@onlypreamble\DeclareTranslation
+\newrobustcmd*\DeclareTranslationFallback[2]{%
+ \@trnslt@declare@translation{#1}{fallback}{#2}}
+\@onlypreamble\DeclareTranslationFallback
+
\def\@trnslt@declare@translation#1#2#3{%
\ifcsdef{@trnslt@language@#2}
{%
- \csdef{@trnslt@word@#1@\@trnslt@language{#2}}{#3}%
\csdef{@trnslt@word@#1@literal}{#1}%
+ \lowercase{\@trnslt@if@dialect{#2}}{#2}
+ {\csdef{@trnslt@word@#1@#2}{#3}}
+ {}%
+ \ifcsdef{@trnslt@word@#1@\@trnslt@language{#2}}
+ {}
+ {\csdef{@trnslt@word@#1@\@trnslt@language{#2}}{#3}}%
}
{\@trnslt@err@unknown@lang{#2}}}
@@ -162,10 +203,23 @@
% #1: word #2: language
\def\@trnslt@get@translation@for#1#2{%
\@trnslt@if@translation{#1}{#2}
- {\csuse{@trnslt@word@#1@\@trnslt@language{#2}}}
+ {%
+ \@trnslt@if@dialect{#2}{#2}
+ {%
+ \ifcsdef{@trnslt@word@#1@#2}
+ {\csuse{@trnslt@word@#1@#2}}
+ {\csuse{@trnslt@word@#1@\@trnslt@language{#2}}}%
+ }
+ {\csuse{@trnslt@word@#1@\@trnslt@language{#2}}}%
+ }
{%
\@trnslt@warning{Translation for `#1' in #2 unknown.}%
- \csuse{@trnslt@word@#1@literal}%
+ \@trnslt@if@translation{#1}{fallback}
+ {%
+ \@trnslt@warningnoline{Using fallback translation for `#1'}%
+ \csuse{@trnslt@word@#1@fallback}
+ }%
+ {\csuse{@trnslt@word@#1@literal}}%
}}
% --------------------------------------------------------------------------
@@ -247,65 +301,65 @@
\DeclareLanguage{turkish}
\DeclareLanguage{ukrainian}
-\DeclareLanguageAlias{Albanian}{albanian}
-\DeclareLanguageAlias{Bulgarian}{bulgarian}
-\DeclareLanguageAlias{Catalan}{catalan}
-\DeclareLanguageAlias{Croatian}{croatian}
-\DeclareLanguageAlias{Czech}{czech}
-\DeclareLanguageAlias{Danish}{danish}
-\DeclareLanguageAlias{Dutch}{dutch}
-\DeclareLanguageAlias{Finnish}{finnish}
-\DeclareLanguageAlias{francais}{french}
-\DeclareLanguageAlias{Francais}{francais}
-\DeclareLanguageAlias{canadien}{french}
-\DeclareLanguageAlias{Canadien}{canadien}
-\DeclareLanguageAlias{French}{french}
-\DeclareLanguageAlias{american}{english}
-\DeclareLanguageAlias{American}{american}
-\DeclareLanguageAlias{australian}{english}
-\DeclareLanguageAlias{Australian}{australian}
-\DeclareLanguageAlias{british}{english}
-\DeclareLanguageAlias{British}{british}
-\DeclareLanguageAlias{canadian}{english}
-\DeclareLanguageAlias{Canadian}{canadian}
-\DeclareLanguageAlias{English}{english}
-\DeclareLanguageAlias{UKenglish}{english}
-\DeclareLanguageAlias{USenglish}{english}
-\DeclareLanguageAlias{austrian}{german}
-\DeclareLanguageAlias{Austrian}{austrian}
-\DeclareLanguageAlias{German}{german}
-\DeclareLanguageAlias{germanb}{german}
-\DeclareLanguageAlias{naustrian}{austrian}
-\DeclareLanguageAlias{ngerman}{german}
-\DeclareLanguageAlias{Greek}{greek}
-\DeclareLanguageAlias{polutonikogreek}{greek}
-\DeclareLanguageAlias{Hebrew}{hebrew}
-\DeclareLanguageAlias{Hungarian}{hungarian}
-\DeclareLanguageAlias{magyar}{hungarian}
-\DeclareLanguageAlias{Magyar}{magyar}
-\DeclareLanguageAlias{Icelandic}{icelandic}
-\DeclareLanguageAlias{Italian}{italian}
-\DeclareLanguageAlias{norsk}{norwegian}
-\DeclareLanguageAlias{Norsk}{norsk}
-\DeclareLanguageAlias{Norwegian}{norwegian}
-\DeclareLanguageAlias{nynorsk}{norwegian}
-\DeclareLanguageAlias{Nynorsk}{nynorsk}
-\DeclareLanguageAlias{Polish}{polish}
-\DeclareLanguageAlias{brazil}{portuges}
-\DeclareLanguageAlias{Brazil}{brazil}
-\DeclareLanguageAlias{brazilian}{portuges}
-\DeclareLanguageAlias{Brazilian}{brazilian}
-\DeclareLanguageAlias{Portuges}{portuges}
-\DeclareLanguageAlias{portuguese}{portuges}
-\DeclareLanguageAlias{Portuguese}{portuguese}
-\DeclareLanguageAlias{Romanian}{romanian}
-\DeclareLanguageAlias{Russian}{russian}
-\DeclareLanguageAlias{Serbocroatian}{serbocroatian}
-\DeclareLanguageAlias{Slovak}{slovak}
-\DeclareLanguageAlias{Slovenian}{slovenian}
-\DeclareLanguageAlias{Spanish}{spanish}
-\DeclareLanguageAlias{Swedish}{swedish}
-\DeclareLanguageAlias{Turkish}{turkish}
-\DeclareLanguageAlias{Ukrainian}{ukrainian}
+\DeclareLanguageAlias {Albanian}{albanian}
+\DeclareLanguageAlias {Bulgarian}{bulgarian}
+\DeclareLanguageAlias {Catalan}{catalan}
+\DeclareLanguageAlias {Croatian}{croatian}
+\DeclareLanguageAlias {Czech}{czech}
+\DeclareLanguageAlias {Danish}{danish}
+\DeclareLanguageAlias {Dutch}{dutch}
+\DeclareLanguageAlias {Finnish}{finnish}
+\DeclareLanguageAlias {francais}{french}
+\DeclareLanguageAlias {Francais}{francais}
+\DeclareLanguageDialect{canadien}{french}
+\DeclareLanguageAlias {Canadien}{canadien}
+\DeclareLanguageAlias {French}{french}
+\DeclareLanguageDialect{american}{english}
+\DeclareLanguageAlias {American}{american}
+\DeclareLanguageDialect{australian}{english}
+\DeclareLanguageAlias {Australian}{australian}
+\DeclareLanguageDialect{british}{english}
+\DeclareLanguageAlias {British}{british}
+\DeclareLanguageDialect{canadian}{english}
+\DeclareLanguageAlias {Canadian}{canadian}
+\DeclareLanguageAlias {English}{english}
+\DeclareLanguageDialect{UKenglish}{english}
+\DeclareLanguageDialect{USenglish}{english}
+\DeclareLanguageDialect{austrian}{german}
+\DeclareLanguageAlias {Austrian}{austrian}
+\DeclareLanguageAlias {German}{german}
+\DeclareLanguageAlias {germanb}{german}
+\DeclareLanguageDialect{naustrian}{austrian}
+\DeclareLanguageAlias {ngerman}{german}
+\DeclareLanguageAlias {Greek}{greek}
+\DeclareLanguageAlias {polutonikogreek}{greek}
+\DeclareLanguageAlias {Hebrew}{hebrew}
+\DeclareLanguageAlias {Hungarian}{hungarian}
+\DeclareLanguageDialect{magyar}{hungarian}
+\DeclareLanguageAlias {Magyar}{magyar}
+\DeclareLanguageAlias {Icelandic}{icelandic}
+\DeclareLanguageAlias {Italian}{italian}
+\DeclareLanguageAlias {norsk}{norwegian}
+\DeclareLanguageAlias {Norsk}{norsk}
+\DeclareLanguageAlias {Norwegian}{norwegian}
+\DeclareLanguageAlias {nynorsk}{norwegian}
+\DeclareLanguageAlias {Nynorsk}{nynorsk}
+\DeclareLanguageAlias {Polish}{polish}
+\DeclareLanguageDialect{brazil}{portuges}
+\DeclareLanguageAlias {Brazil}{brazil}
+\DeclareLanguageAlias {brazilian}{brazil}
+\DeclareLanguageAlias {Brazilian}{brazilian}
+\DeclareLanguageAlias {Portuges}{portuges}
+\DeclareLanguageAlias {portuguese}{portuges}
+\DeclareLanguageAlias {Portuguese}{portuguese}
+\DeclareLanguageAlias {Romanian}{romanian}
+\DeclareLanguageAlias {Russian}{russian}
+\DeclareLanguageAlias {Serbocroatian}{serbocroatian}
+\DeclareLanguageAlias {Slovak}{slovak}
+\DeclareLanguageAlias {Slovenian}{slovenian}
+\DeclareLanguageAlias {Spanish}{spanish}
+\DeclareLanguageAlias {Swedish}{swedish}
+\DeclareLanguageAlias {Turkish}{turkish}
+\DeclareLanguageAlias {Ukrainian}{ukrainian}
\endinput \ No newline at end of file