summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-08 21:43:31 +0000
committerKarl Berry <karl@freefriends.org>2020-11-08 21:43:31 +0000
commit4b063d6d5bcf0f68a9a2f4158759f06a1817e8fd (patch)
treeeb5c0df7f5667605d3b33f55fc87a5d4a1d8f5b2 /Master/texmf-dist/doc/latex
parent3bf10794f6f92b2d3bf52691e002ef8150432010 (diff)
translations (8nov20)
git-svn-id: svn://tug.org/texlive/trunk@56889 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/translations/README9
-rw-r--r--Master/texmf-dist/doc/latex/translations/translations_en.pdfbin500132 -> 497802 bytes
-rw-r--r--Master/texmf-dist/doc/latex/translations/translations_en.tex24
3 files changed, 23 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/translations/README b/Master/texmf-dist/doc/latex/translations/README
index 4f93dfa1da8..e9a9f012f8b 100644
--- a/Master/texmf-dist/doc/latex/translations/README
+++ b/Master/texmf-dist/doc/latex/translations/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-the TRANSLATIONS package v1.8b - 2020/04/28
+the TRANSLATIONS package v1.9 - 2020/11/08
internationalization of LaTeX2e packages
--------------------------------------------------------------------------
@@ -10,12 +10,12 @@ E-Mail: contact@mychemistry.eu
Copyright 2012--2020 Clemens Niederberger
This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
+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.3 or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
+and version 1.3c or later is part of all distributions of LaTeX
+version 2008/05/04 or later.
This work has the LPPL maintenance status `maintained'.
@@ -23,6 +23,7 @@ The Current Maintainer of this work is Clemens Niederberger.
--------------------------------------------------------------------------
The translations package consists of the files
- translations.sty, translations_en.tex, translations_en.pdf,
+ translations-basic-dictionary-brazil.trsl,
translations-basic-dictionary-catalan.trsl,
translations-basic-dictionary-english.trsl,
translations-basic-dictionary-dutch.trsl,
diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.pdf b/Master/texmf-dist/doc/latex/translations/translations_en.pdf
index 427707ca89e..fea9e5ce3fc 100644
--- a/Master/texmf-dist/doc/latex/translations/translations_en.pdf
+++ b/Master/texmf-dist/doc/latex/translations/translations_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.tex b/Master/texmf-dist/doc/latex/translations/translations_en.tex
index 340eaafac8d..7118e67b3e6 100644
--- a/Master/texmf-dist/doc/latex/translations/translations_en.tex
+++ b/Master/texmf-dist/doc/latex/translations/translations_en.tex
@@ -1,7 +1,7 @@
-% arara: pdflatex: { shell: on, interaction: nonstopmode }
+% !arara: pdflatex: { shell: on, interaction: nonstopmode }
% !arara: biber
-% !arara: pdflatex
-% !arara: pdflatex
+% arara: pdflatex
+% arara: pdflatex
% --------------------------------------------------------------------------
% the TRANSLATIONS package
%
@@ -30,7 +30,7 @@
% feel free to contact me.
% --------------------------------------------------------------------------
\documentclass[load-preamble]{cnltx-doc}
-\usepackage[french,spanish,ngerman,english]{babel}
+\usepackage[french,brazil,spanish,ngerman,english]{babel}
% ----------------------------------------------------------------------------
\usepackage{imakeidx}
% document layout and typographic features
@@ -52,6 +52,8 @@
declaretranslationfallback,
GetTranslation,
GetTranslationFor,
+ ifcurrentbaselang,
+ ifcurrentlang,
IfTranslation,
LoadDictionary,
LoadDictionaryFor,
@@ -98,7 +100,8 @@
% ----------------------------------------------------------------------------
% other packages, bibliography, index
\usepackage{array,longtable,booktabs}
-\AfterPackage!{hyperref}{\usepackage[sort]{cleveref}}
+\usepackage{hyperref}
+\usepackage[sort]{cleveref}
% ----------------------------------------------------------------------------
% example definitions that have to be done in the preamble:
@@ -115,6 +118,8 @@
\newrobustcmd\fnote[1]{\textsuperscript{#1}}
+\tracingmacros=1
+
\begin{document}
\section{Motivation}
@@ -423,12 +428,18 @@ Commands without the marker aren't expandable.
\sinceversion{1.2}Places \meta{true} in the input stream if the current
language is \meta{lang}. Note: a dialect counts as a language of it's own
here. \cs{ifcurrentlanguage}\Marg{English} will for example be
- \meta{false} if the current \pkg{babel} language is \code{american}.
+ \meta{false} if the current \pkg{babel} language is \code{american}.
+ \expandable\command{ifcurrentlang}[\marg{lang}]
+ \sinceversion{1.9}The same as \cs{ifcurrentlanguage} but uses the
+ \dots\cs{else}\dots\cs*{fi} syntax.
\expandable\command{ifcurrentbaselanguage}[\marg{lang}\marg{true}\marg{false}]
\sinceversion{1.2}Places \meta{true} in the input stream if the current
language is \meta{lang}. Note: a dialect does not count as a language of
it's own here. If the current \pkg{babel} language is \code{american}
then \cs{ifcurrentbaselanguage}\Marg{English} will be \meta{true}.
+ \expandable\command{ifcurrentbaselang}[\marg{lang}]
+ \sinceversion{1.9}The same as \cs{ifcurrentbaselanguage} but uses the
+ \dots\cs{else}\dots\cs*{fi} syntax.
\end{commands}
\subsection{A Small Example}
@@ -617,6 +628,7 @@ Every dictionary file \emph{must} contain the declaration
\subsubsection{\translations' Basic Dictionaries}\label{sec:transl-basic-dict}
\translations\ already provides a basic dictionary for the languages
\begin{itemize}
+ \item Brazilian,
\item Catalan,
\item English,
\item Dutch,