summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/tango/doc/tango-en.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-07-18 03:01:14 +0000
committerNorbert Preining <norbert@preining.info>2024-07-18 03:01:14 +0000
commit3ce3d19f5ec8a431281019a114993df9289cb032 (patch)
treef13f90e8aedf5f170a14565745bbda1fe18f8576 /macros/luatex/latex/tango/doc/tango-en.tex
parent7f670cc0d3cf52e69f647a46bb7330b774ac0a7d (diff)
CTAN sync 202407180301
Diffstat (limited to 'macros/luatex/latex/tango/doc/tango-en.tex')
-rw-r--r--macros/luatex/latex/tango/doc/tango-en.tex32
1 files changed, 21 insertions, 11 deletions
diff --git a/macros/luatex/latex/tango/doc/tango-en.tex b/macros/luatex/latex/tango/doc/tango-en.tex
index 99a6399dce..bf7995ef17 100644
--- a/macros/luatex/latex/tango/doc/tango-en.tex
+++ b/macros/luatex/latex/tango/doc/tango-en.tex
@@ -26,8 +26,9 @@
\renewcommand{\arraystretch}{1.1}
\title{\textcolor{ColorOne}{\floweroneleft}\,The tango document class\,\textcolor{ColorOne}{\floweroneright}}
-\author{\href{mailto:michel.bovani@icloud.com}{Michel \textsc{Bovani}}}
-\date{\today\\v. 0.7.2}
+\author{\href{mailto:michel.bovani@icloud.com}{Michel \textsc{Bovani}}\\
+Tango web page: \href{https://tango.mathriochka.net}{https://tango.mathriochka.net}}
+\date{\today\\v. 0.8.0}
{\sffamily
\maketitle
@@ -63,13 +64,11 @@ Default values are in bold red. Bold options marked with a \TO{\textbf{star*}} c
\hline\endhead
\hline\multicolumn{2}{r}{\emph{Continued next page}}\endfoot
\hline\endlastfoot
-\TO{french}&\TO{french=true/\DO{false}}. Adaptation to the French language and reserved names for the tango class (theorem gives \emph{e.g.} théorème). Mandatory use for French-speaking users. This option is also passed to the babel package.\\
+
\hline
-\TO{<language options>}& Tango will pass other language options to the \TO{babel} package. Note that
-\begin{itemize}
-\item Only English and French languages are fully implemented.
-\item Even English-speaking people must pass a language option (\TO{english, british, UKenglish, USenglish} or \TO{american}) for \TO{babel} to the tango class.
-\end{itemize}
+\TO{%
+french, english, british, american, canadian, australian, newzealand, german, ngerman, naustrian, nswissgerman, italian, spanish}.& Tango will transmit all language options to the \TO{babel} package. However, the translation of specific names used by tango (such as theorem, exercise, etc.) is only guaranteed for the languages listed opposite. Please note that even English speakers must \emph{imperatively} pass a language option to tango.
+
See section~\ref{lang} below.\\
\hline
\TO{no-statement}&\TO{no-statement=true/\DO{false}}. The \TO{thm}, \TO{defin}, \TO{lem}, \TO{coro}, \TO{propo} environments (for theorems, definitions, lemmas, corollaries, propositions) are defined by default. The no-statement option allows you to define them later, on request (see \verb=\newstatement= and \verb=\renewstatement= commands in section~\ref{st-section} page~\pageref{st-section}).\\
@@ -262,8 +261,7 @@ Provided commands are:
\section{Language settings}\label{lang}
A language option \emph{must} be passed to the \TO{babel} package via the tango class: this is true \emph{even} for English-speaking people. A class error message will be generated otherwise. If you ignore this message you will get no hyphenation patterns at all!
-For now, only the English and French languages are fully supported. With other languages, you benefit from the \TO{babel} facilities, but the \enquote{tango words} will remain defined by:
-\begin{verbatim}
+Tango also has some reserved words, which are (when an english language option is passed to tango):\begin{verbatim}
\newcommand\TgoTheoremName{Theorem}
\newcommand\TgoDefinitionName{Definition}
\newcommand\TgoPropositionName{Proposition}
@@ -276,7 +274,19 @@ For now, only the English and French languages are fully supported. With other l
\newcommand\TgoExercisesSubsectionName{Exercises}
\newcommand\TgoExercisesSectionName{Exercises}
\end{verbatim}
-If you want to use tango with a new language, here is what you can do:
+
+Although any language option recognized by babel will (in principle) be taken into account as soon as it is passed to tango, the translation of these reserved words only happens for the following languages:
+\begin{itemize}
+\item\TO{french};
+\item\TO{english, british, american, canadian, australian, newzealand};
+\item\TO{german, ngerman, naustrian, nswissgerman};
+\item\TO{italian};
+\item\TO{spanish}.
+\end{itemize}
+
+Other languages benefit from babel's facilities, but tango's reserved words are not translated.
+So here's what concerned users can do.
+
\begin{enumerate}
\item Translate these names in your language (for now it is done only for the french language), using \verb+\renewcommand+.
\item (Better) Mail me all the necessary information (at least babel language option used and your translation of the tango names) and I will adapt the tango class to your language.