From 46b6afccfb82f1ff6df7c22ce307fb1902928cba Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 28 Feb 2020 22:29:38 +0000 Subject: translations (28feb20) git-svn-id: svn://tug.org/texlive/trunk@53962 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/translations/README | 4 +- .../doc/latex/translations/translations_en.pdf | Bin 504516 -> 496892 bytes .../doc/latex/translations/translations_en.tex | 45 +++++++++++++-------- 3 files changed, 31 insertions(+), 18 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/translations/README b/Master/texmf-dist/doc/latex/translations/README index ce94dac6bb1..a944202cc20 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.7a - 2017/08/31 +the TRANSLATIONS package v1.8 - 2020/02/28 internationalization of LaTeX2e packages -------------------------------------------------------------------------- @@ -7,7 +7,7 @@ Clemens Niederberger Web: https://github.com/cgnieder/translations E-Mail: contact@mychemistry.eu -------------------------------------------------------------------------- -Copyright 2012-2017 Clemens Niederberger +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 diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.pdf b/Master/texmf-dist/doc/latex/translations/translations_en.pdf index 425752712fc..7087da4bdc9 100644 Binary files a/Master/texmf-dist/doc/latex/translations/translations_en.pdf and b/Master/texmf-dist/doc/latex/translations/translations_en.pdf differ diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.tex b/Master/texmf-dist/doc/latex/translations/translations_en.tex index a39561bdc2e..2b04600d0d7 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 } +% arara: pdflatex: { shell: on, interaction: nonstopmode } % !arara: biber -% arara: pdflatex -% arara: pdflatex +% !arara: pdflatex +% !arara: pdflatex % -------------------------------------------------------------------------- % the TRANSLATIONS package % @@ -12,7 +12,7 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012-2017 Clemens Niederberger +% 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 @@ -31,8 +31,10 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -\documentclass[load-preamble+,french,spanish,ngerman,english]{cnltx-doc} +\documentclass[load-preamble]{cnltx-doc} +\usepackage[french,spanish,ngerman,english]{babel} % ---------------------------------------------------------------------------- +\usepackage{imakeidx} % document layout and typographic features \setcnltx{ package = {translations} , @@ -81,13 +83,19 @@ \microtypesetup{tracking=scshape} -\defbibheading{bibliography}[\bibname]{\addsec{#1}} - +\usepackage[ + backend=biber, + style=cnltx, + sortlocale=en_US, + indexing=cite]{biblatex} \usepackage{csquotes} +\addbibresource{cnltx.bib} + +\usepackage[biblatex]{embrac} +\ChangeEmph{[}[,.02em]{]}[.055em,-.08em] +\ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em] -\usepackage{embrac}[2012/06/29] - \ChangeEmph{[}[,.02em]{]}[.055em,-.08em] - \ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em] +\defbibheading{bibliography}{\section{References}} % ---------------------------------------------------------------------------- % other packages, bibliography, index @@ -420,7 +428,7 @@ Commands without the marker aren't expandable. \meta{false} if the current \pkg{babel} language is \code{american}. \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 notcount as a language of + 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}. \end{commands} @@ -488,7 +496,7 @@ provided. If the user \emph{has} loaded one of the language packages but has chosen a language for which no translation is defined the language `fallback' will be used, \ie, the translation provided with \cs{DeclareTranslationFallback}. If no fallback translation is provided -either the translation will expand to the literal string. +either, the translation will expand to the literal string. The following three examples should make this concept clear: @@ -618,10 +626,13 @@ Every dictionary file \emph{must} contain the declaration \item German, and \item Spanish. \end{itemize} -The corresponding dictionary is loaded automatically if the document language -is one of these languages. If you'd like to contribute and add the basic -dictionary in your language this is more than welcome and highly appreciated! -The easiest way to do this would be to copy one of the existing files +The corresponding dictionary\footnote{Or dictionaries if more than one of + these languages are loaded in a document. This works since v0.18.} is loaded +automatically if the document language is one of these languages. + +\emph{If you'd like to contribute and add the basic dictionary in your + language this is more than welcome and highly appreciated!} The easiest way +to do this would be to copy one of the existing files \code{translations-basic-dictionary-\meta{lang}.trsl} and modify the file accordingly. You can then send me the file via email and I'll add it to \translations. @@ -775,4 +786,6 @@ case. Should you miss a language please send me an email so I can add it to % \section{Implementation} % \lstinputlisting[style=cnltx]{translations.sty} +\printbibliography + \end{document} -- cgit v1.2.3