diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-30 23:31:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-30 23:31:41 +0000 |
commit | f7ebe54a461c4bdf445f674e7bab20c684c57bdf (patch) | |
tree | 3d165105035ca5dc5381bd76020e6347ccae4107 | |
parent | b6828693a12a6aae3124cbaa2e0e14d6a280aa71 (diff) |
polyglossia 1.2.1 (30apr12)
git-svn-id: svn://tug.org/texlive/trunk@26163 c570f23f-e606-0410-a88d-b1316a301751
81 files changed, 434 insertions, 296 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README b/Master/texmf-dist/doc/xelatex/polyglossia/README index 25159508afa..2e9bc624861 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/README +++ b/Master/texmf-dist/doc/xelatex/polyglossia/README @@ -1,7 +1,7 @@ ¦----------------------------------------------¦ ¦ ¦ - ¦ THE POLYGLOSSIA PACKAGE v1.2.0cc ¦ + ¦ THE POLYGLOSSIA PACKAGE v1.2.1 ¦ ¦ ¦ ¦ Modern multilingual typesetting with XeLaTeX ¦ ¦ ¦ @@ -51,16 +51,34 @@ http://github.com/reutenauer/polyglossia/issues CHANGES +1.2.0e (28-04-2012) + * Fixed a number of outstanding and not very interesting bugs. + * Added gloss files for Romansh and Friulan, contributed by Claudio + Beccari. + +1.2.0d (12-01-2012) + * Removed \makeatletter and \makeother from gloss files entirely. + 1.2.0cc (12-10-2011) [First update by Arthur Reutenauer] * Update to gloss-italian.ldf by Claudio Beccari, incorporating changes by Enrico Gregorio. * Conclude every gloss file with \makeatother to match the initial - \makeatletter. + \makeatletter. (Not necessary from a technical point of vue, because of one of the changes by Enrico reported below, but I like it better that way :-) * Conclude polyglossia.sty with \ExplSyntaxOff to match the initial \ExplSyntaxOn. * Added gloss file for Kannada, contributed by Aravinda VK and others. * Corrections to the gloss-dutch.ldf thanks to Wouter Bolsterlee. * Several patches by Enrico Gregorio, fixing long-standing bugs. + From the git log: + - Deleted setup for right-to-left writing direction, see http://tug.org/pipermail/xetex/2011-April/020319.html + - Changed three appearances of \newcommand to \newrobustcmd, as the commands needs to be protected. Bug reported by "kamensky". + - Corrected \datepolish as suggested by Piotr Kempa + - Changed \lccode" into \lccode\string", because it might come into action at wrong times when " is active + - Changed definition of key xpg@setup, as \@tmpfirst and \@tmpsecond were not expanded, causing dependence of \lefthyphenmin and \righthyphenmin to the last loaded language. Raised by Vadim Rodionov on the XeTeX mailing list. + - Deleted \bgroup and \egroup tokens from the definition of otherlanguage*; they serve no purpose (we are already inside an environment) and conflict with csquotes. Noticed by P. Lehman. + - Changed the calls of \input to \xpg@input, which inputs the required file and resets the catcode of @ to the same value as it had before the input. Since each .ldf file starts with \makeatletter, the old behaviour would leave a category 11 @, which is wrong. + - Added "\csuse{date#2}" to the definition of "otherlanguage*" + 1.2.0b (03-10-2011) [Update by Philipp Stephani] * Load xkeyval package explicitly since newer versions @@ -188,7 +206,7 @@ CHANGES ------------------------------ - Arthur Reutenauer, October 2011 + Arthur Reutenauer, April 2012 <arthur 'dot' reutenauer 'at' normalesup 'dot' org> Original author: diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf Binary files differindex 218f6a71a56..1c4a5557049 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf Binary files differindex 307a87ecda8..0bea2e7afe3 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf Binary files differindex 5288044498e..3d733daed9f 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf Binary files differindex da9e682560e..d4db13e82b2 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex index 4850b778081..1ee2809bd28 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex @@ -23,7 +23,7 @@ ]{hyperref} \usepackage[babelshorthands]{polyglossia} %\usepackage{farsical} <<< needs to be disabled otherwise we have too many counters! -\setmainlanguage[variant=uk]{english} +\setmainlanguage[variant=british,ordinalmonthday=false]{english} \setotherlanguages{arabic,hebrew,syriac,greek,russian,catalan} \newcommand*\Cmd[1]{\cmd{#1}\DescribeMacro{#1}\xspace} \newcommand*\pkg[1]{\textsf{\color{myblue}#1}} @@ -263,7 +263,7 @@ amharic & czech & \TX{hindi} & nynorsk & \TX{syriac} \\ \TX{arabic} & danish & icelandic & occitan & tamil \\ armenian & divehi & interlingua & polish & telugu \\ asturian & \TX{dutch} & irish & portuges & \TX{thai} \\ -bahasai & \TX{english} & italian & romanian & turkish \\ +bahasai & \TX{english} & \TX{italian} & romanian & turkish \\ bahasam & \TX{esperanto} & \TX{lao} & \TX{russian} & turkmen \\ basque & estonian & latin & samin & ukrainian \\ \TX{bengali} & \TX{farsi} & latvian & \TX{sanskrit}& urdu \\ @@ -289,9 +289,11 @@ Lao, Malayalam, Marathi, Tamil, Telugu, and Turkmen.\footnote{ % -Polyglossia can also be loaded with the option ‘babelshorthands’\new{v1.1.1}, which -globally activates \Babel shorthands whenever available. Currently shorthands are -only implemented for German and Catalan: see below for details. +Polyglossia can also be loaded with the option +‘babelshorthands’\new{v1.1.1}, which globally activates \Babel +shorthands whenever available. Currently shorthands are implemented for +Catalan, Dutch, German, Italian, and Russian: see these respective +languages for details. Another option (turned off by default) is ‘localmarks’, which redefines the internal \LaTeX\ macros \cmd\markboth\ and \cmd\markright. @@ -336,6 +338,9 @@ as \cmd\arabic\ is defined internally by \LaTeX. In this case we need to use the environment ¦Arabic¦ instead\DescribeEnv{Arabic}. This is the beginning of Ibn Khaldūn’s \textit{Muqaddima}: +% TODO: convince XeTeX to typeset right-to-left, even in verbatim. +% The individual words are set correctly, but the whole paragraph is +% left-to-right! \begin{Verbatim}[formatcom={\color{myblue}\addfontfeature{Script=Arabic}}] \begin{Arabic} اعلم أنّ فنّ التاريخ فنّ عزيز المذهب، جمّ الفوائد، شريف الغاية؛ إذ هو @@ -582,6 +587,21 @@ The default value of each option is given in italic. \item \TB{numerals} = Western or \textit{Devanagari} \end{itemize} +\subsection{italian}\label{italian} +\textbf{Option:} +\begin{itemize} + \item \TB{babelshorthands} = \textit{false} or true. \new{v1.2.0cc}% TODO: check version + Activates the ¦"¦ character as a switch to perform etymological + hyphenation when followed by a letter, or other tasks when followed by + certain analphabetic characters; in particular ¦""¦ is used to enter + double raised open quotes (the Italian keyboard misses the backtick), + and ¦"<¦ and ¦">¦ to insert open and closed guillemets without any + spacing after the open or before the closed sign. ¦"/¦ is made + equivalent to \slash allowing a linebreak after the slash without any + hyphen sign; ¦"-¦ produces a short rule/hyphen and a discretional line + break alowing line breaks in the second compound word fragment. +\end{itemize} + \subsection{lao}\label{lao}\new{v1.2.0} \textbf{Options}: \begin{itemize} @@ -605,6 +625,7 @@ The default value of each option is given in italic. \subsection{russian}\label{russian} \textbf{Options}: \begin{itemize} + \item \TB{babelshorthands} = \textit{false} or true. % TODO check and document! \item \TB{spelling} = \textit{modern} or old (for captions and date only, not for hyphenation) \end{itemize} diff --git a/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx b/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx index 525802eb613..0a756444561 100644 --- a/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx +++ b/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx @@ -2,7 +2,7 @@ % polyglossia.dtx generated using mkpolyglossiadtx.pl % (derived from makedtx.pl version 0.94b (c) Nicola Talbot) % -% Created on 2011/10/13 22:17 +% Created on 2012/4/29 23:15 %<*internal> \iffalse %</internal> @@ -10,7 +10,7 @@ ¦----------------------------------------------¦ ¦ ¦ - ¦ THE POLYGLOSSIA PACKAGE v1.2.0cc ¦ + ¦ THE POLYGLOSSIA PACKAGE v1.2.1 ¦ ¦ ¦ ¦ Modern multilingual typesetting with XeLaTeX ¦ ¦ ¦ @@ -60,16 +60,34 @@ http://github.com/reutenauer/polyglossia/issues CHANGES +1.2.0e (28-04-2012) + * Fixed a number of outstanding and not very interesting bugs. + * Added gloss files for Romansh and Friulan, contributed by Claudio + Beccari. + +1.2.0d (12-01-2012) + * Removed \makeatletter and \makeother from gloss files entirely. + 1.2.0cc (12-10-2011) [First update by Arthur Reutenauer] * Update to gloss-italian.ldf by Claudio Beccari, incorporating changes by Enrico Gregorio. * Conclude every gloss file with \makeatother to match the initial - \makeatletter. + \makeatletter. (Not necessary from a technical point of vue, because of one of the changes by Enrico reported below, but I like it better that way :-) * Conclude polyglossia.sty with \ExplSyntaxOff to match the initial \ExplSyntaxOn. * Added gloss file for Kannada, contributed by Aravinda VK and others. * Corrections to the gloss-dutch.ldf thanks to Wouter Bolsterlee. * Several patches by Enrico Gregorio, fixing long-standing bugs. + From the git log: + - Deleted setup for right-to-left writing direction, see http://tug.org/pipermail/xetex/2011-April/020319.html + - Changed three appearances of \newcommand to \newrobustcmd, as the commands needs to be protected. Bug reported by "kamensky". + - Corrected \datepolish as suggested by Piotr Kempa + - Changed \lccode" into \lccode\string", because it might come into action at wrong times when " is active + - Changed definition of key xpg@setup, as \@tmpfirst and \@tmpsecond were not expanded, causing dependence of \lefthyphenmin and \righthyphenmin to the last loaded language. Raised by Vadim Rodionov on the XeTeX mailing list. + - Deleted \bgroup and \egroup tokens from the definition of otherlanguage*; they serve no purpose (we are already inside an environment) and conflict with csquotes. Noticed by P. Lehman. + - Changed the calls of \input to \xpg@input, which inputs the required file and resets the catcode of @ to the same value as it had before the input. Since each .ldf file starts with \makeatletter, the old behaviour would leave a category 11 @, which is wrong. + - Added "\csuse{date#2}" to the definition of "otherlanguage*" + 1.2.0b (03-10-2011) [Update by Philipp Stephani] * Load xkeyval package explicitly since newer versions @@ -197,7 +215,7 @@ CHANGES ------------------------------ - Arthur Reutenauer, October 2011 + Arthur Reutenauer, April 2012 <arthur 'dot' reutenauer 'at' normalesup 'dot' org> Original author: @@ -220,14 +238,14 @@ CHANGES The polyglossia package (C) 2008–2010 François Charette - (C) 2011 Arthur Reutenauer + (C) 2012 Arthur Reutenauer License information appended \endpreamble \postamble - Copyright (C) 2011 by Arthur Reutenauer <arthur 'dot' reutenauer 'at' normalesup 'dot' org> + Copyright (C) 2012 by Arthur Reutenauer <arthur 'dot' reutenauer 'at' normalesup 'dot' org> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -277,6 +295,7 @@ CHANGES \generate{\file{gloss-farsi.ldf}{\from{polyglossia.dtx}{gloss-farsi.ldf}}} \generate{\file{gloss-finnish.ldf}{\from{polyglossia.dtx}{gloss-finnish.ldf}}} \generate{\file{gloss-french.ldf}{\from{polyglossia.dtx}{gloss-french.ldf}}} +\generate{\file{gloss-friulan.ldf}{\from{polyglossia.dtx}{gloss-friulan.ldf}}} \generate{\file{gloss-galician.ldf}{\from{polyglossia.dtx}{gloss-galician.ldf}}} \generate{\file{gloss-german.ldf}{\from{polyglossia.dtx}{gloss-german.ldf}}} \generate{\file{gloss-greek.ldf}{\from{polyglossia.dtx}{gloss-greek.ldf}}} @@ -301,6 +320,7 @@ CHANGES \generate{\file{gloss-polish.ldf}{\from{polyglossia.dtx}{gloss-polish.ldf}}} \generate{\file{gloss-portuges.ldf}{\from{polyglossia.dtx}{gloss-portuges.ldf}}} \generate{\file{gloss-romanian.ldf}{\from{polyglossia.dtx}{gloss-romanian.ldf}}} +\generate{\file{gloss-romansh.ldf}{\from{polyglossia.dtx}{gloss-romansh.ldf}}} \generate{\file{gloss-russian.ldf}{\from{polyglossia.dtx}{gloss-russian.ldf}}} \generate{\file{gloss-samin.ldf}{\from{polyglossia.dtx}{gloss-samin.ldf}}} \generate{\file{gloss-sanskrit.ldf}{\from{polyglossia.dtx}{gloss-sanskrit.ldf}}} @@ -364,7 +384,7 @@ CHANGES ]{hyperref} \usepackage[babelshorthands]{polyglossia} %\usepackage{farsical} <<< needs to be disabled otherwise we have too many counters! -\setmainlanguage[variant=uk]{english} +\setmainlanguage[variant=british,ordinalmonthday=false]{english} \setotherlanguages{arabic,hebrew,syriac,greek,russian,catalan} \newcommand*\Cmd[1]{\cmd{#1}\DescribeMacro{#1}\xspace} \newcommand*\pkg[1]{\textsf{\color{myblue}#1}} @@ -615,7 +635,7 @@ CHANGES % \TX{arabic} & danish & icelandic & occitan & tamil \\ % armenian & divehi & interlingua & polish & telugu \\ % asturian & \TX{dutch} & irish & portuges & \TX{thai} \\ -% bahasai & \TX{english} & italian & romanian & turkish \\ +% bahasai & \TX{english} & \TX{italian} & romanian & turkish \\ % bahasam & \TX{esperanto} & \TX{lao} & \TX{russian} & turkmen \\ % basque & estonian & latin & samin & ukrainian \\ % \TX{bengali} & \TX{farsi} & latvian & \TX{sanskrit}& urdu \\ @@ -641,9 +661,11 @@ CHANGES % % % -% Polyglossia can also be loaded with the option ‘babelshorthands’\new{v1.1.1}, which -% globally activates \Babel shorthands whenever available. Currently shorthands are -% only implemented for German and Catalan: see below for details. +% Polyglossia can also be loaded with the option +% ‘babelshorthands’\new{v1.1.1}, which globally activates \Babel +% shorthands whenever available. Currently shorthands are implemented for +% Catalan, Dutch, German, Italian, and Russian: see these respective +% languages for details. % % Another option (turned off by default) is ‘localmarks’, which % redefines the internal \LaTeX\ macros \cmd\markboth\ and \cmd\markright. @@ -688,6 +710,9 @@ CHANGES % we need to use the environment ¦Arabic¦ instead\DescribeEnv{Arabic}. % This is the beginning of Ibn Khaldūn’s \textit{Muqaddima}: % +% ^^A TODO: convince XeTeX to typeset right-to-left, even in verbatim. +% ^^A The individual words are set correctly, but the whole paragraph is +% ^^A left-to-right! % \begin{Verbatim}[formatcom={\color{myblue}\addfontfeature{Script=Arabic}}] % \begin{Arabic} % اعلم أنّ فنّ التاريخ فنّ عزيز المذهب، جمّ الفوائد، شريف الغاية؛ إذ هو @@ -934,6 +959,21 @@ CHANGES % \item \TB{numerals} = Western or \textit{Devanagari} % \end{itemize} % +% \subsection{italian}\label{italian} +% \textbf{Option:} +% \begin{itemize} +% \item \TB{babelshorthands} = \textit{false} or true. \new{v1.2.0cc}% TODO: check version +% Activates the ¦"¦ character as a switch to perform etymological +% hyphenation when followed by a letter, or other tasks when followed by +% certain analphabetic characters; in particular ¦""¦ is used to enter +% double raised open quotes (the Italian keyboard misses the backtick), +% and ¦"<¦ and ¦">¦ to insert open and closed guillemets without any +% spacing after the open or before the closed sign. ¦"/¦ is made +% equivalent to \slash allowing a linebreak after the slash without any +% hyphen sign; ¦"-¦ produces a short rule/hyphen and a discretional line +% break alowing line breaks in the second compound word fragment. +% \end{itemize} +% % \subsection{lao}\label{lao}\new{v1.2.0} % \textbf{Options}: % \begin{itemize} @@ -957,6 +997,7 @@ CHANGES % \subsection{russian}\label{russian} % \textbf{Options}: % \begin{itemize} +% \item \TB{babelshorthands} = \textit{false} or true. % TODO check and document! % \item \TB{spelling} = \textit{modern} or old (for captions and date only, not for hyphenation) % \end{itemize} % @@ -1157,7 +1198,7 @@ CHANGES % \subsection{polyglossia.sty} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{polyglossia}[2011/10/12 v1.2.0cc +\ProvidesPackage{polyglossia}[2012/04/29 v1.2.1 Babel replacement for XeLaTeX] \RequirePackage{etoolbox} \RequirePackage{makecmds} @@ -1612,6 +1653,7 @@ CHANGES \newcommand{\xpg@input}[1]{% \chardef\xpg@atcatcode\catcode`\@ + \makeatletter \input{#1}\catcode`\@=\xpg@atcatcode} \newcommand{\setdefaultlanguage}[2][]{% @@ -2137,10 +2179,18 @@ CHANGES % \subsection{hebrewcal.sty} % \begin{macrocode} \ProvidesPackage{hebrewcal} - [2008/07/01 v2.4 % + [2012/04/29 v2.5 % Hebrew calendar for polyglossia (adapted from hebcal.sty in Babel)] +\RequirePackage{xkeyval} \RequirePackage{bidi} +\newif\if@xpg@hebrewcal@marcheshvan +\DeclareOption{marcheshvan}{\@xpg@hebrewcal@marcheshvantrue} +\ifx\if@xpg@hebrew@marcheshvan\undefined + \newif\if@xpg@hebrew@marcheshvan + \@xpg@hebrew@marcheshvanfalse +\fi + %% TODO rewrite this on the basis of Reingold & Dershowitz %% on the model of hijrical (using calc) @@ -2159,6 +2209,9 @@ CHANGES \@FormatForEnglish{\hebrewday}{\hebrewmonth}{\hebrewyear}% \fi} \def\hebrewtoday{\hebrewdate{\day}{\month}{\year}} +% The command name is capitalised in the doc, and this is consistent +% with other names such as \Hijritoday and \Jalalitoday. +\let\Hebrewtoday=\hebrewtoday \def\hebrewsetreg{% \HebrewFromGregorian{\day}{\month}{\year}% {\hebrewday}{\hebrewmonth}{\hebrewyear}} @@ -2193,7 +2246,7 @@ CHANGES \ifcase#1% % nothing for 0 \or תשרי% - \or השון% + \or\if@xpg@hebrewcal@marcheshvan מרחשון\else\if@xpg@hebrew@marcheshvan מרחשון\else חשון\fi\fi% \or כסלו% \or טבת% \or שבט% @@ -2218,7 +2271,8 @@ CHANGES \ifcase #1% % nothing for 0 \or Tishrei% - \or Heshvan% + % \or\if@xpg@hebrewcal@marcheshvan Marcheshvan\else\if@xpg@hebrew@marcheshvan Marcheshvan\else Heshvan\fi\fi% + \or\if@xpg@hebrewcal@marcheshvan Marcheshvan\else\if@xpg@hebrew@marcheshvan Marcheshvan\else Heshvan\fi\fi% \or Kislev% \or Tebeth% \or Shebat% @@ -2403,7 +2457,8 @@ CHANGES 304 \or% 334% \fi% - \if@GregorianLeap{#2}% + \@CheckIfGregorianLeap{#2}% + \if@GregorianLeap% \ifnum #1 > 2% % if month after February \advance #3 by 1% % add leap day \fi% @@ -2466,6 +2521,7 @@ CHANGES \repeat% \global\advance #5 by -1% \global\advance #4 by -\tmpy}} +\ProcessOptions* % \end{macrocode} % \iffalse %</hebrewcal.sty> @@ -2484,6 +2540,8 @@ CHANGES \@ifpackageloaded{l3calc}{\PackageError{hijrical}{\MessageBreak Package l3calc is loaded, which replaces the functionality of calc. Computation of Hijri dates will not work properly with +% FIXME by Arthur: François couldn’t possibly mean ‘l3calc’ on the +% following line :-) Find out if he meant ‘calc’. l3calc! The latest version of expl3 on CTAN no longer loads l3calc. Please update expl3! }{}}{} @@ -2557,7 +2615,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \@namedef{FormatHijriDate@#1}{#2}} % we provide this as a reasonable default. -% Further definitions are in polyglossia's language definition files. +% Further definitions are in polyglossia’s language definition files. \DefineFormatHijriDate{defaultRTL}{\@ensure@RTL{% \arabicdigits{\value{Hijriday}}\space\HijriMonthArabic{\value{Hijrimonth}}\space\arabicdigits{\value{Hijriyear}}}} @@ -3369,7 +3427,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-albanian.ldf} % \begin{macrocode} \ProvidesFile{gloss-albanian.ldf}[polyglossia: module for albanian] -\makeatletter \PolyglossiaSetup{albanian}{ hyphennames={albanian}, @@ -3408,7 +3465,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} Qershor\or Korrik\or Gusht\or Shtator\or Tetor\or Nëntor\or Dhjetor\fi \space \number\year}}} -\makeatother % \end{macrocode} % \iffalse %</gloss-albanian.ldf> @@ -3419,7 +3475,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-amharic.ldf} % \begin{macrocode} \ProvidesFile{gloss-amharic.ldf}[polyglossia: module for amharic] -\makeatletter \PolyglossiaSetup{amharic}{ script=Ethiopic, scripttag=ethi, @@ -3635,7 +3690,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \RequirePackage{bidi} \RequirePackage{arabicnumbers} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{arabic}{ script=Arabic, @@ -3840,7 +3894,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\MakeUppercase\orig@MakeUppercase% } -\makeatother % \end{macrocode} % \iffalse %</gloss-arabic.ldf> @@ -3851,7 +3904,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-armenian.ldf} % \begin{macrocode} \ProvidesFile{gloss-armenian.ldf}[polyglossia: module for armenian] -\makeatletter \PolyglossiaSetup{armenian}{ script=Armenian, @@ -3902,7 +3954,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} Նոյեմբեր\or Դեկտեմբեր\fi \number\day,\space\number\year}} -\makeatother % \end{macrocode} % \iffalse %</gloss-armenian.ldf> @@ -3916,7 +3967,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % Contributed by Kevin Godby <godbyk at gmail dot com> % \ProvidesFile{gloss-asturian.ldf}[polyglossia: module for asturian] -\makeatletter \PolyglossiaSetup{asturian}{ hyphennames={asturian,catalan}, hyphenmins={2,2}, @@ -3955,7 +4005,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} d'avientu\fi\space de~\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-asturian.ldf> @@ -3967,7 +4016,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-bahasai.ldf}[polyglossia: module for bahasa indonesia] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{bahasai}{% language=Bahasa Indonesia, @@ -4011,7 +4059,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \DefineFormatHijriDate{bahasai}{% \number\value{Hijriday}\space\hijrimonthbahasai{\value{Hijrimonth}}\space\number\value{Hijriyear}} -\makeatother % \end{macrocode} % \iffalse %</gloss-bahasai.ldf> @@ -4023,7 +4070,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for bahasa melayu] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{bahasam}{% language=Bahasa Melayu, hyphennames={malay,melayu,bahasam,bahasa,bahasai,indonesian,indon}, @@ -4075,7 +4121,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \DefineFormatHijriDate{bahasam}{% \number\value{Hijriday}\space\hijrimonthbahasam{\value{Hijrimonth}}\space\number\value{Hijriyear}} -\makeatother % \end{macrocode} % \iffalse %</gloss-bahasam.ldf> @@ -4086,7 +4131,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-basque.ldf} % \begin{macrocode} \ProvidesFile{gloss-basque.ldf}[polyglossia: module for basque] -\makeatletter \PolyglossiaSetup{basque}{ hyphennames={basque}, hyphenmins={2,2}, @@ -4125,7 +4169,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} irailaren\or urriaren\or azaroaren\or abenduaren\fi~\number\day}} -\makeatother % \end{macrocode} % \iffalse %</gloss-basque.ldf> @@ -4140,7 +4183,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ProvidesFile{gloss-bengali.ldf}[polyglossia: module for bengali] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{bengali}{ script=Bengali, @@ -4212,7 +4254,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \number#1% \fi} -\makeatother % \end{macrocode} % \iffalse %</gloss-bengali.ldf> @@ -4223,7 +4264,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-brazil.ldf} % \begin{macrocode} \ProvidesFile{gloss-brazil.ldf}[polyglossia: module for portuguese] -\makeatletter \PolyglossiaSetup{brazil}{ language=Brazilian Portuguese, hyphennames={brazil,portuguese,portuges}, @@ -4262,7 +4302,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \fi\space de\space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-brazil.ldf> @@ -4273,7 +4312,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-breton.ldf} % \begin{macrocode} \ProvidesFile{gloss-breton.ldf}[polyglossia: module for breton] -\makeatletter \PolyglossiaSetup{breton}{ hyphennames={breton}, hyphenmins={2,2}, @@ -4350,7 +4388,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \breton@punctuation% } -\makeatother % \end{macrocode} % \iffalse %</gloss-breton.ldf> @@ -4361,7 +4398,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-bulgarian.ldf} % \begin{macrocode} \ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for bulgarian] -\makeatletter \PolyglossiaSetup{bulgarian}{ script=Cyrillic, scripttag=cyrl, @@ -4446,7 +4482,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\todayRoman{\number\day.\,\month@Roman.\,\number\year~г.}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-bulgarian.ldf> @@ -4457,7 +4492,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-catalan.ldf} % \begin{macrocode} \ProvidesFile{gloss-catalan.ldf}[polyglossia: module for catalan] -\makeatletter \PolyglossiaSetup{catalan}{ hyphennames={catalan}, hyphenmins={2,2}, @@ -4584,7 +4618,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\inlineextras@catalan{% \ifcatalan@babelshorthands\catalan@shorthands\fi% } -\makeatother % \end{macrocode} % \iffalse %</gloss-catalan.ldf> @@ -4595,7 +4628,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-coptic.ldf} % \begin{macrocode} \ProvidesFile{gloss-coptic.ldf}[polyglossia: module for coptic] -\makeatletter \PolyglossiaSetup{coptic}{ script=Coptic, scripttag=copt, @@ -4633,7 +4665,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \def\today{<++>}% % } -\makeatother % \end{macrocode} % \iffalse %</gloss-coptic.ldf> @@ -4644,7 +4675,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-croatian.ldf} % \begin{macrocode} \ProvidesFile{gloss-croatian.ldf}[polyglossia: module for croatian] -\makeatletter \PolyglossiaSetup{croatian}{ hyphennames={croatian}, hyphenmins={2,2}, @@ -4681,7 +4711,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} lipnja\or srpnja\or kolovoza\or rujna\or listopada\or studenog\or prosinca\fi \space \number\year.}} -\makeatother % \end{macrocode} % \iffalse %</gloss-croatian.ldf> @@ -4692,7 +4721,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-czech.ldf} % \begin{macrocode} \ProvidesFile{gloss-czech.ldf}[polyglossia: module for czech] -\makeatletter \PolyglossiaSetup{czech}{ hyphennames={czech}, hyphenmins={2,2}, @@ -4731,7 +4759,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} října\or listopadu\or prosince\fi \space \number\year}} -\makeatother % \end{macrocode} % \iffalse %</gloss-czech.ldf> @@ -4742,7 +4769,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-danish.ldf} % \begin{macrocode} \ProvidesFile{gloss-danish.ldf}[polyglossia: module for danish] -\makeatletter \PolyglossiaSetup{danish}{ hyphennames={danish}, hyphenmins={2,3}, @@ -4777,7 +4803,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} juli\or august\or september\or oktober\or november\or december\fi \space\number\year} -\makeatother % \end{macrocode} % \iffalse %</gloss-danish.ldf> @@ -4789,7 +4814,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-divehi.ldf}[polyglossia: module for divehi] \RequirePackage{bidi} -\makeatletter \PolyglossiaSetup{divehi}{ script=Thaana, scripttag=thaa, @@ -4832,7 +4856,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\MakeUppercase\@@MakeUppercase% } -\makeatother % \end{macrocode} % \iffalse %</gloss-divehi.ldf> @@ -4843,7 +4866,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-dutch.ldf} % \begin{macrocode} \ProvidesFile{gloss-dutch.ldf}[polyglossia: module for dutch] -\makeatletter \PolyglossiaSetup{dutch}{ hyphennames={dutch}, hyphenmins={2,2}, @@ -4922,7 +4944,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ifdutch@babelshorthands\dutch@shorthands\fi% } -\makeatother % \end{macrocode} % \iffalse %</gloss-dutch.ldf> @@ -4933,7 +4954,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-english.ldf} % \begin{macrocode} \ProvidesFile{gloss-english.ldf}[polyglossia: module for english] -\makeatletter \PolyglossiaSetup{english}{ hyphennames={english,american,usenglish,USenglish}, hyphenmins={2,3}, @@ -5043,7 +5063,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \fi}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-english.ldf> @@ -5054,7 +5073,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-esperanto.ldf} % \begin{macrocode} \ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for esperanto] -\makeatletter \PolyglossiaSetup{esperanto}{ hyphennames={esperanto}, hyphenmins={2,2}, @@ -5118,7 +5136,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\@alph\latin@alph% } -\makeatother % \end{macrocode} % \iffalse %</gloss-esperanto.ldf> @@ -5129,7 +5146,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-estonian.ldf} % \begin{macrocode} \ProvidesFile{gloss-estonian.ldf}[polyglossia: module for estonian] -\makeatletter \PolyglossiaSetup{estonian}{ hyphennames={estonian}, hyphenmins={2,2}, @@ -5167,7 +5183,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} juuli\or august\or september\or oktoober\or november\or detsember\fi\space\number\year.\space a.}} -\makeatother % \end{macrocode} % \iffalse %</gloss-estonian.ldf> @@ -5182,7 +5197,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \RequirePackage{arabicnumbers} \RequirePackage{farsical} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{farsi}{ script=Arabic, direction=RL, @@ -5302,7 +5316,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\noextras@farsi{% \let\MakeUppercase\@@MakeUppercase% } -\makeatother % \end{macrocode} % \iffalse %</gloss-farsi.ldf> @@ -5313,7 +5326,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-finnish.ldf} % \begin{macrocode} \ProvidesFile{gloss-finnish.ldf}[polyglossia: module for finnish] -\makeatletter \PolyglossiaSetup{finnish}{ hyphennames={finnish}, hyphenmins={2,2}, @@ -5352,7 +5364,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} syyskuuta\or lokakuuta\or marraskuuta\or joulukuuta\fi \space\number\year}} -\makeatother % \end{macrocode} % \iffalse %</gloss-finnish.ldf> @@ -5363,7 +5374,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-french.ldf} % \begin{macrocode} \ProvidesFile{gloss-french.ldf}[polyglossia: module for french] -\makeatletter \PolyglossiaSetup{french}{% language=French, @@ -5480,10 +5490,85 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \french@punctuation% } -\makeatother % \end{macrocode} % \iffalse %</gloss-french.ldf> +%<*gloss-friulan.ldf> +% \fi +% \clearpage +% +% \subsection{gloss-friulan.ldf} +% \begin{macrocode} +\ProvidesFile{gloss-friulan.ldf}[polyglossia: module for friulan] +\makeatletter +\PolyglossiaSetup{friulan}{% + hyphennames={friulan,furlan}, + hyphenmins={2,2}, + indentfirst=false, + fontsetup=true, + frenchspacing=true, +} + + +\def\captionsfriulan{% + \def\prefacename{Prefazion}% + \def\refname{Riferiments}% + \def\abstractname{Somari}% + \def\bibname{Bibliografie}% + \def\chaptername{Cjapitul}% + \def\appendixname{Zonte}% + \def\contentsname{Tabele gjenerâl}% + \def\listfigurename{Liste des figuris}% + \def\listtablename{Liste des tabelis}% + \def\indexname{Tabele analitiche}% + \def\figurename{Figure}% + \def\tablename{Tabele}% + \def\partname{Part}% + \def\enclname{Zonte(is)}% + \def\ccname{Cun copie a}% + \def\headtoname{Par}% + \def\pagename{Pagjine}% + \def\seename{cjale}% + \def\alsoname{cjale ancje}% + \def\proofname{Dimostrazion}% + \def\glossaryname{Glossari}% + } + +\def\datefriulan{% + \def\today{\number\day\space di\space\ifcase\month\or + Genâr\or Fevrâr\or Març\or Avril\or Mai\or Jugn\or + Lui\or Avost\or Setembar\or Otobar\or Novembar\or Dicembar% + \fi\space dal\space\number\year}} + +\AtEndPreamble{% the user or the class might define different values + \edef\xpgfu@savedvalues{% + \clubpenalty=\the\clubpenalty\space + \@clubpenalty=\the\@clubpenalty\space + \widowpenalty=\the\widowpenalty\space + \finalhyphendemerits=\the\finalhyphendemerits} +} + + +\def\noextras@friulan{% + \lccode\string"2019=\z@ + % TODO Figure out what the two lines below were supposed to be good for. + % \noitalian@shorthands + % \xpgit@savedvalues +} + +\def\blockextras@friulan{% + \lccode\string"2019=\string"2019 + \clubpenalty=3000 \@clubpenalty=3000 \widowpenalty=3000 + \finalhyphendemerits=50000000 +} + +\def\inlineextras@friulan{% + \lccode\string"2019=\string"2019 +} + +% \end{macrocode} +% \iffalse +%</gloss-friulan.ldf> %<*gloss-galician.ldf> % \fi % \clearpage @@ -5491,7 +5576,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-galician.ldf} % \begin{macrocode} \ProvidesFile{gloss-galician.ldf}[polyglossia: module for galician] -\makeatletter \PolyglossiaSetup{galician}{ hyphennames={galician}, hyphenmins={2,2}, @@ -5529,7 +5613,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} xullo\or agosto\or setembro\or outubro\or novembro\or decembro\fi \space de~\number\year}} -\makeatother % \end{macrocode} % \iffalse %</gloss-galician.ldf> @@ -5540,7 +5623,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-german.ldf} % \begin{macrocode} \ProvidesFile{gloss-german.ldf}[polyglossia: module for german] -\makeatletter \PolyglossiaSetup{german}{ hyphenmins={2,2}, frenchspacing=true, @@ -5715,7 +5797,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ifgerman@babelshorthands\german@shorthands\fi } -\makeatother % \end{macrocode} % \iffalse %</gloss-german.ldf> @@ -5726,7 +5807,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-greek.ldf} % \begin{macrocode} \ProvidesFile{gloss-greek.ldf}[polyglossia: module for greek] -\makeatletter \PolyglossiaSetup{greek}{ script=Greek, scripttag=grek, @@ -6070,7 +6150,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\greek@Alph\@undefined% } -\makeatother % \end{macrocode} % \iffalse %</gloss-greek.ldf> @@ -6083,7 +6162,8 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for hebrew] \RequirePackage{bidi} \RequirePackage{hebrewcal} -\makeatletter + +\providebool{@hebrew@marcheshvan} \PolyglossiaSetup{hebrew}{ script=Hebrew, @@ -6098,6 +6178,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \newif\if@calendar@hebrew \def\tmp@hebrew{hebrew} \define@key{hebrew}{calendar}[gregorian]{% + \message{Setting \string\if@calendar@hebrew} \def\@tmpa{#1}% \ifx\@tmpa\tmp@hebrew% \@calendar@hebrewtrue% @@ -6105,6 +6186,17 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \@calendar@hebrewfalse% \fi} +\define@boolkey{hebrew}[@xpg@hebrew@]{marcheshvan}[false]{% + \def\@tmpa{#1}% + \def\@tmptrue{true}% + \ifx\@tmpa\@tmptrue + \@xpg@hebrew@marcheshvantrue + \else + \@xpg@hebrew@marcheshvanfalse + \fi} + +\setkeys{hebrew}{marcheshvan} + % hebrewcal.sty also defines the boolean key fullyear (default=false) \newif\if@hebrew@numerals @@ -6199,7 +6291,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\noextras@hebrew{% \let\MakeUppercase\@@MakeUppercase% } -\makeatother + % \end{macrocode} % \iffalse %</gloss-hebrew.ldf> @@ -6215,7 +6307,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ProvidesFile{gloss-hindi.ldf}[polyglossia: module for hindi] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{hindi}{ script=Devanagari, scripttag=deva, @@ -6307,7 +6398,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\MakeUppercase\@@MakeUppercase% } -\makeatother % \end{macrocode} % \iffalse %</gloss-hindi.ldf> @@ -6318,7 +6408,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-icelandic.ldf} % \begin{macrocode} \ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for icelandic] -\makeatletter \PolyglossiaSetup{icelandic}{ hyphennames={icelandic}, hyphenmins={2,2}, @@ -6358,7 +6447,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-icelandic.ldf> @@ -6369,7 +6457,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-interlingua.ldf} % \begin{macrocode} \ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for interlingua] -\makeatletter \PolyglossiaSetup{interlingua}{ hyphennames={interlingua}, hyphenmins={2,2}, @@ -6409,7 +6496,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} decembre\fi \space \number\year}} -\makeatother % \end{macrocode} % \iffalse %</gloss-interlingua.ldf> @@ -6420,7 +6506,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-irish.ldf} % \begin{macrocode} \ProvidesFile{gloss-irish.ldf}[polyglossia: module for irish] -\makeatletter \PolyglossiaSetup{irish}{ hyphennames={irish}, hyphenmins={2,2}, @@ -6461,7 +6546,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} Mí na Samhna\or Mí na Nollag\fi \space \number\year}} -\makeatother % \end{macrocode} % \iffalse %</gloss-irish.ldf> @@ -6472,8 +6556,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-italian.ldf} % \begin{macrocode} % !TEX encoding = UTF-8 Unicode -\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian - unofficial test version] -\makeatletter +\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian] \PolyglossiaSetup{italian}{ hyphennames={italian}, hyphenmins={2,2}, @@ -6629,7 +6712,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % % This work consists of the file gloss-kannada.ldf \ProvidesFile{gloss-kannada.ldf}[polyglossia: module for kannada] -\makeatletter \PolyglossiaSetup{kannada}{ script=Kannada, scripttag=knda, @@ -6713,7 +6795,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \fi } -\makeatother % \end{macrocode} % \iffalse %</gloss-kannada.ldf> @@ -6724,7 +6805,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-lao.ldf} % \begin{macrocode} \ProvidesFile{gloss-lao.ldf}[polyglossia: module for Lao] -\makeatletter \PolyglossiaSetup{lao}{ script=Lao, scripttag=lao, @@ -6813,7 +6893,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \renewcommand\thefootnote{\protect\number{\c@footnote}}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-lao.ldf> @@ -6824,7 +6903,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-latin.ldf} % \begin{macrocode} \ProvidesFile{gloss-latin.ldf}[polyglossia: module for latin] -\makeatletter \PolyglossiaSetup{latin}{ hyphennames={latin}, hyphenmins={2,2}, @@ -6863,7 +6941,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} Decembris\fi% \space \uppercase\expandafter{\romannumeral\year}}} -\makeatother % \end{macrocode} % \iffalse %</gloss-latin.ldf> @@ -6874,7 +6951,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-latvian.ldf} % \begin{macrocode} \ProvidesFile{gloss-latvian.ldf}[polyglossia: module for latvian] -\makeatletter \PolyglossiaSetup{latvian}{ hyphennames={latvian}, hyphenmins={2,2}, @@ -6913,7 +6989,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} jūlijā\or augustā\or septembrī\or% oktobrī\or novembrī\or decembrī\fi}} -\makeatother % \end{macrocode} % \iffalse %</gloss-latvian.ldf> @@ -6986,7 +7061,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\fnum@table\fnum@table@orig } -\makeatother % \end{macrocode} % \iffalse %</gloss-lithuanian.ldf> @@ -6997,7 +7071,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-lsorbian.ldf} % \begin{macrocode} \ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for lower sorbian] -\makeatletter \PolyglossiaSetup{lsorbian}{ hyphennames={lsorbian,lowersorbian,Lsorbian}, hyphenmins={2,2}, @@ -7041,7 +7114,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} godownika\fi\space \number\year}}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-lsorbian.ldf> @@ -7052,7 +7124,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-magyar.ldf} % \begin{macrocode} \ProvidesFile{gloss-magyar.ldf}[polyglossia: module for magyar] -\makeatletter \PolyglossiaSetup{magyar}{ hyphennames={magyar,hungarian}, hyphenmins={2,2}, @@ -7111,7 +7182,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\ontoday\@undefined } -\makeatother % \end{macrocode} % \iffalse %</gloss-magyar.ldf> @@ -7123,7 +7193,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for malayalam] % Translations provided by Kevin & Siji, 01-11-2009 -\makeatletter \PolyglossiaSetup{malayalam}{ script=Malayalam, @@ -7174,7 +7243,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space\number\day}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-malayalam.ldf> @@ -7189,7 +7257,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ProvidesFile{gloss-marathi.ldf}[polyglossia: module for marathi] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{marathi}{ script=Devaganari, @@ -7262,7 +7329,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\today{\marathinumber\day\space\marathimonth\space\marathinumber\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-marathi.ldf> @@ -7273,7 +7339,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-norsk.ldf} % \begin{macrocode} \ProvidesFile{gloss-norsk.ldf}[polyglossia: module for norwegian] -\makeatletter \PolyglossiaSetup{norsk}{ hyphennames={norsk}, hyphenmins={2,2}, @@ -7313,7 +7378,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \fi\space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-norsk.ldf> @@ -7324,7 +7388,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-nynorsk.ldf} % \begin{macrocode} \ProvidesFile{gloss-nynorsk.ldf}[polyglossia: module for norwegian (Nynorsk)] -\makeatletter \PolyglossiaSetup{nynorsk}{ hyphennames={nynorsk}, hyphenmins={2,2}, @@ -7364,7 +7427,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \fi\space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-nynorsk.ldf> @@ -7431,7 +7493,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\today{\occitanday \occitanmonth\space de~\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-occitan.ldf> @@ -7442,7 +7503,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-polish.ldf} % \begin{macrocode} \ProvidesFile{gloss-polish.ldf}[polyglossia: module for polish] -\makeatletter \PolyglossiaSetup{polish}{ hyphennames={polish}, hyphenmins={2,2}, @@ -7482,7 +7542,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-polish.ldf> @@ -7493,7 +7552,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-portuges.ldf} % \begin{macrocode} \ProvidesFile{gloss-portuges.ldf}[polyglossia: module for portuguese] -\makeatletter \PolyglossiaSetup{portuges}{ hyphennames={portuges,portuguese}, hyphenmins={2,3}, @@ -7532,7 +7590,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space de\space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-portuges.ldf> @@ -7543,7 +7600,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-romanian.ldf} % \begin{macrocode} \ProvidesFile{gloss-romanian.ldf}[polyglossia: module for romanian] -\makeatletter \PolyglossiaSetup{romanian}{ hyphennames={romanian}, @@ -7584,10 +7640,59 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-romanian.ldf> +%<*gloss-romansh.ldf> +% \fi +% \clearpage +% +% \subsection{gloss-romansh.ldf} +% \begin{macrocode} +\ProvidesFile{gloss-romansh.ldf}[polyglossia: module for romansh] +\makeatletter +\PolyglossiaSetup{romansh}{% + hyphennames={romansh}, + hyphenmins={2,2}, + indentfirst=true, + fontsetup=true, +} + + +\def\captionsromansh{% + \def\prefacename{Prefaziun}% + \def\refname{Bibliografia}% + \def\abstractname{Recapitulaziun}% + \def\bibname{Index bibliografic}% + \def\chaptername{Chapitel}% + \def\appendixname{Appendix}% + \def\contentsname{Tavla dal cuntegn}% + \def\listfigurename{Tavla da las figuras}% + \def\listtablename{Tavla da las tabellas}% + \def\indexname{Register da materias}% Index? + \def\figurename{Figura}% + \def\tablename{Tabella}% + \def\partname{Part}% + \def\enclname{Agiunta(s)}% + \def\ccname{Copia a}% + \def\headtoname{A}% + \def\pagename{pagina}% + \def\seename{vesair }% + \def\alsoname{vesair era}% + \def\proofname{Demonstraziun}% + \def\glossaryname{Glossari}% + } + +\def\dateromansh{% + \def\today{\ifcase\day\or1.\else ils~\number\day\fi~da~% + \ifcase\month\or + schaner\or favrer\or mars\or avrigl\or matg\or zercladur\or + fanadur\or avust\or settember\or october\or november\or + december\fi\space \number\year}} +\makeatother +% \end{macrocode} +% \iffalse +%</gloss-romansh.ldf> %<*gloss-russian.ldf> % \fi % \clearpage @@ -7595,7 +7700,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-russian.ldf} % \begin{macrocode} \ProvidesFile{gloss-russian.ldf}[polyglossia: module for russian] -\makeatletter \PolyglossiaSetup{russian}{ script=Cyrillic, scripttag=cyrl, @@ -7846,7 +7950,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\Proj {\mathop{\mathrm{Пр}}\nolimits} %\DeclareRobustCommand{\No}{№} -\makeatother % \end{macrocode} % \iffalse %</gloss-russian.ldf> @@ -7857,7 +7960,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-samin.ldf} % \begin{macrocode} \ProvidesFile{gloss-samin.ldf}[polyglossia: module for samin] -\makeatletter \PolyglossiaSetup{samin}{ hyphennames={samin}, @@ -7906,7 +8008,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space\number\day.~b.\space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-samin.ldf> @@ -7918,7 +8019,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for sanskrit] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{sanskrit}{ langtag=SAN, @@ -8002,7 +8102,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \sanskrit@punctuation% } -\makeatother % \end{macrocode} % \iffalse %</gloss-sanskrit.ldf> @@ -8013,7 +8112,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-scottish.ldf} % \begin{macrocode} \ProvidesFile{gloss-scottish.ldf}[polyglossia: module for scottish] -\makeatletter \PolyglossiaSetup{scottish}{ hyphennames={scottish}, @@ -8056,7 +8154,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-scottish.ldf> @@ -8067,7 +8164,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-serbian.ldf} % \begin{macrocode} \ProvidesFile{gloss-serbian.ldf}[polyglossia: module for serbian] -\makeatletter %TODO split into gloss-serbiancyr.ldf and gloss-serbianlat.ldf %% load these automatically from polyglossia.sty according to the script option ?? %% same thing for all languages that have a "script" key ! @@ -8182,7 +8278,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} децембар\fi \space \number\year.}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-serbian.ldf> @@ -8193,7 +8288,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-slovak.ldf} % \begin{macrocode} \ProvidesFile{gloss-slovak.ldf}[polyglossia: module for slovak] -\makeatletter \PolyglossiaSetup{slovak}{ hyphennames={slovak}, @@ -8234,7 +8328,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-slovak.ldf> @@ -8284,7 +8377,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-slovenian.ldf> @@ -8295,7 +8387,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-spanish.ldf} % \begin{macrocode} \ProvidesFile{gloss-spanish.ldf}[polyglossia: module for spanish] -\makeatletter \PolyglossiaSetup{spanish}{ hyphennames={spanish}, hyphenmins={2,2}, @@ -8335,7 +8426,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} diciembre\fi\space \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-spanish.ldf> @@ -8392,7 +8482,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\today{\number\day/\number\month\space\number\year}}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-swedish.ldf> @@ -8405,7 +8494,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ProvidesFile{gloss-syriac.ldf}[polyglossia: module for syriac] \RequirePackage{bidi} \RequirePackage{arabicnumbers} -\makeatletter \PolyglossiaSetup{syriac}{ script=Syriac, @@ -8560,7 +8648,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\MakeUppercase\@@MakeUppercase% } -\makeatother % \end{macrocode} % \iffalse %</gloss-syriac.ldf> @@ -8572,7 +8659,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-tamil.ldf}[polyglossia: module for tamil] % Translations provided by Kevin & Siji, 01-11-2009 -\makeatletter \PolyglossiaSetup{tamil}{ script=Tamil, @@ -8623,7 +8709,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space\number\day}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-tamil.ldf> @@ -8635,7 +8720,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-telugu.ldf}[polyglossia: module for telugu] % Translations provided by Anmol Sharma <unmole.in@gmail.com> -\makeatletter \PolyglossiaSetup{telugu}{ script=Telugu, @@ -8689,7 +8773,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \def\today{\telugu@month\space\number\day,\space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-telugu.ldf> @@ -8700,7 +8783,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \subsection{gloss-thai.ldf} % \begin{macrocode} \ProvidesFile{gloss-thai.ldf}[polyglossia: module for thai] -\makeatletter %% This is partly based on thai-latex for Babel: %%%% Copyright (C) 1999 - 2006 %%%% by Surapant Meknavin, @@ -8834,7 +8916,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\baselinestrech\orig@baselinestretch% } -\makeatother % \end{macrocode} % \iffalse %</gloss-thai.ldf> @@ -8846,7 +8927,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-turkish.ldf}[polyglossia: module for turkish] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{turkish}{ hyphennames={turkish}, hyphenmins={2,2}, @@ -8926,7 +9006,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \turkish@punctuation% } -\makeatother % \end{macrocode} % \iffalse %</gloss-turkish.ldf> @@ -8938,7 +9017,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % \begin{macrocode} \ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for turkmen] %% Translations provided by Nazar Annagurban <nazartm at gmail dot com> -\makeatletter \PolyglossiaSetup{turkmen}{ hyphennames={turkmen}, hyphenmins={2,2}, @@ -8978,7 +9056,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} Dekabr\fi \space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-turkmen.ldf> @@ -8991,7 +9068,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for ukrainian] % Strings taken from Babel % and revised by Roman Kyrylych -\makeatletter \PolyglossiaSetup{ukrainian}{ script=Cyrillic, @@ -9068,7 +9144,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\@alph\latin@alph% } -\makeatother % \end{macrocode} % \iffalse %</gloss-ukrainian.ldf> @@ -9083,7 +9158,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \RequirePackage{bidi} \RequirePackage{arabicnumbers} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{urdu}{ script=Arabic, @@ -9215,7 +9289,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \let\MakeUppercase\@@MakeUppercase% } -\makeatother % \end{macrocode} % \iffalse %</gloss-urdu.ldf> @@ -9272,7 +9345,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} hodownika\fi \space \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-usorbian.ldf> @@ -9286,7 +9358,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} %% Strings contributed by Daniel Owens < dhowens . pmbx . net > \PolyglossiaSetup{vietnamese}{ - hyphennames={vietnamese}, + hyphennames={nohyphenation}, hyphenmins={2,2}, langtag=VIT, frenchspacing=true, @@ -9324,7 +9396,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} năm \number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-vietnamese.ldf> @@ -9376,7 +9447,6 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \space\number\year}% } -\makeatother % \end{macrocode} % \iffalse %</gloss-welsh.ldf> @@ -9515,7 +9585,7 @@ U+0039 <> U+0E59 ; ¦----------------------------------------------¦ ¦ ¦ - ¦ THE POLYGLOSSIA PACKAGE v1.2.0cc ¦ + ¦ THE POLYGLOSSIA PACKAGE v1.2.1 ¦ ¦ ¦ ¦ Modern multilingual typesetting with XeLaTeX ¦ ¦ ¦ @@ -9565,16 +9635,34 @@ http://github.com/reutenauer/polyglossia/issues CHANGES +1.2.0e (28-04-2012) + * Fixed a number of outstanding and not very interesting bugs. + * Added gloss files for Romansh and Friulan, contributed by Claudio + Beccari. + +1.2.0d (12-01-2012) + * Removed \makeatletter and \makeother from gloss files entirely. + 1.2.0cc (12-10-2011) [First update by Arthur Reutenauer] * Update to gloss-italian.ldf by Claudio Beccari, incorporating changes by Enrico Gregorio. * Conclude every gloss file with \makeatother to match the initial - \makeatletter. + \makeatletter. (Not necessary from a technical point of vue, because of one of the changes by Enrico reported below, but I like it better that way :-) * Conclude polyglossia.sty with \ExplSyntaxOff to match the initial \ExplSyntaxOn. * Added gloss file for Kannada, contributed by Aravinda VK and others. * Corrections to the gloss-dutch.ldf thanks to Wouter Bolsterlee. * Several patches by Enrico Gregorio, fixing long-standing bugs. + From the git log: + - Deleted setup for right-to-left writing direction, see http://tug.org/pipermail/xetex/2011-April/020319.html + - Changed three appearances of \newcommand to \newrobustcmd, as the commands needs to be protected. Bug reported by "kamensky". + - Corrected \datepolish as suggested by Piotr Kempa + - Changed \lccode" into \lccode\string", because it might come into action at wrong times when " is active + - Changed definition of key xpg@setup, as \@tmpfirst and \@tmpsecond were not expanded, causing dependence of \lefthyphenmin and \righthyphenmin to the last loaded language. Raised by Vadim Rodionov on the XeTeX mailing list. + - Deleted \bgroup and \egroup tokens from the definition of otherlanguage*; they serve no purpose (we are already inside an environment) and conflict with csquotes. Noticed by P. Lehman. + - Changed the calls of \input to \xpg@input, which inputs the required file and resets the catcode of @ to the same value as it had before the input. Since each .ldf file starts with \makeatletter, the old behaviour would leave a category 11 @, which is wrong. + - Added "\csuse{date#2}" to the definition of "otherlanguage*" + 1.2.0b (03-10-2011) [Update by Philipp Stephani] * Load xkeyval package explicitly since newer versions @@ -9702,7 +9790,7 @@ CHANGES ------------------------------ - Arthur Reutenauer, October 2011 + Arthur Reutenauer, April 2012 <arthur 'dot' reutenauer 'at' normalesup 'dot' org> Original author: diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf index 915fbeb7461..dcafbad943b 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-albanian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-albanian.ldf}[polyglossia: module for albanian] -\makeatletter \PolyglossiaSetup{albanian}{ hyphennames={albanian}, @@ -38,7 +37,6 @@ Qershor\or Korrik\or Gusht\or Shtator\or Tetor\or Nëntor\or Dhjetor\fi \space \number\year}}} -\makeatother \endinput %\def\sh{\mathop{\operator@font sh}\nolimits} % same as \sinh diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf index 7dbc124d9bb..9a33de9fb90 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-amharic.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-amharic.ldf}[polyglossia: module for amharic] -\makeatletter \PolyglossiaSetup{amharic}{ script=Ethiopic, scripttag=ethi, diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf index 7e5a544de40..9ffc71b16ef 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-arabic.ldf @@ -2,7 +2,6 @@ \RequirePackage{bidi} \RequirePackage{arabicnumbers} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{arabic}{ script=Arabic, @@ -207,5 +206,4 @@ \let\MakeUppercase\orig@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf index 959e0fe7688..2f22748e713 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-armenian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-armenian.ldf}[polyglossia: module for armenian] -\makeatletter \PolyglossiaSetup{armenian}{ script=Armenian, @@ -50,5 +49,4 @@ Նոյեմբեր\or Դեկտեմբեր\fi \number\day,\space\number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf index 6fd643771c3..b1eb5089331 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf @@ -2,7 +2,6 @@ % Contributed by Kevin Godby <godbyk at gmail dot com> % \ProvidesFile{gloss-asturian.ldf}[polyglossia: module for asturian] -\makeatletter \PolyglossiaSetup{asturian}{ hyphennames={asturian,catalan}, hyphenmins={2,2}, @@ -41,5 +40,4 @@ d'avientu\fi\space de~\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf index 23347d5b380..28dc408a4ea 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasai.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-bahasai.ldf}[polyglossia: module for bahasa indonesia] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{bahasai}{% language=Bahasa Indonesia, @@ -44,5 +43,4 @@ \DefineFormatHijriDate{bahasai}{% \number\value{Hijriday}\space\hijrimonthbahasai{\value{Hijrimonth}}\space\number\value{Hijriyear}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf index e4b230dfd3e..eb5c3749c85 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for bahasa melayu] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{bahasam}{% language=Bahasa Melayu, hyphennames={malay,melayu,bahasam,bahasa,bahasai,indonesian,indon}, @@ -52,5 +51,4 @@ \DefineFormatHijriDate{bahasam}{% \number\value{Hijriday}\space\hijrimonthbahasam{\value{Hijrimonth}}\space\number\value{Hijriyear}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf index 8315e3e5a6c..c6c1d3d1b92 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-basque.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-basque.ldf}[polyglossia: module for basque] -\makeatletter \PolyglossiaSetup{basque}{ hyphennames={basque}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ irailaren\or urriaren\or azaroaren\or abenduaren\fi~\number\day}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf index 81fdcd25b56..c27a65ba8f4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bengali.ldf @@ -3,7 +3,6 @@ \ProvidesFile{gloss-bengali.ldf}[polyglossia: module for bengali] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{bengali}{ script=Bengali, @@ -75,5 +74,4 @@ \number#1% \fi} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf index 57dd8aa925c..3079e0778d3 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-brazil.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-brazil.ldf}[polyglossia: module for portuguese] -\makeatletter \PolyglossiaSetup{brazil}{ language=Brazilian Portuguese, hyphennames={brazil,portuguese,portuges}, @@ -38,5 +37,4 @@ \fi\space de\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf index a98f4b570b5..21ab4a12da8 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-breton.ldf}[polyglossia: module for breton] -\makeatletter \PolyglossiaSetup{breton}{ hyphennames={breton}, hyphenmins={2,2}, @@ -76,7 +75,6 @@ \breton@punctuation% } -\makeatother \endinput % These are defined in Babel diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf index bec5c5cc203..4739d9916bf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for bulgarian] -\makeatletter \PolyglossiaSetup{bulgarian}{ script=Cyrillic, scripttag=cyrl, @@ -84,7 +83,6 @@ \def\todayRoman{\number\day.\,\month@Roman.\,\number\year~г.}% } -\makeatother \endinput %% TODO? diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf index 66594c0c68c..8d349c9bcda 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-catalan.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-catalan.ldf}[polyglossia: module for catalan] -\makeatletter \PolyglossiaSetup{catalan}{ hyphennames={catalan}, hyphenmins={2,2}, @@ -126,5 +125,4 @@ \def\inlineextras@catalan{% \ifcatalan@babelshorthands\catalan@shorthands\fi% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf index 5f5f4f3433a..76a4fb151a5 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-coptic.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-coptic.ldf}[polyglossia: module for coptic] -\makeatletter \PolyglossiaSetup{coptic}{ script=Coptic, scripttag=copt, @@ -37,5 +36,4 @@ % \def\today{<++>}% % } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf index 671c5e0d388..c43775077a4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-croatian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-croatian.ldf}[polyglossia: module for croatian] -\makeatletter \PolyglossiaSetup{croatian}{ hyphennames={croatian}, hyphenmins={2,2}, @@ -36,5 +35,4 @@ lipnja\or srpnja\or kolovoza\or rujna\or listopada\or studenog\or prosinca\fi \space \number\year.}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf index 03c5dd855d6..8704aa043be 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-czech.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-czech.ldf}[polyglossia: module for czech] -\makeatletter \PolyglossiaSetup{czech}{ hyphennames={czech}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ října\or listopadu\or prosince\fi \space \number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf index 8b5830f2f2a..282ea8277f6 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-danish.ldf}[polyglossia: module for danish] -\makeatletter \PolyglossiaSetup{danish}{ hyphennames={danish}, hyphenmins={2,3}, @@ -34,5 +33,4 @@ juli\or august\or september\or oktober\or november\or december\fi \space\number\year} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf index bf86c34e374..bbf0bb50a2a 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-divehi.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-divehi.ldf}[polyglossia: module for divehi] \RequirePackage{bidi} -\makeatletter \PolyglossiaSetup{divehi}{ script=Thaana, scripttag=thaa, @@ -43,5 +42,4 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf index 086174a9404..2633956a9d8 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-dutch.ldf}[polyglossia: module for dutch] -\makeatletter \PolyglossiaSetup{dutch}{ hyphennames={dutch}, hyphenmins={2,2}, @@ -78,5 +77,4 @@ \ifdutch@babelshorthands\dutch@shorthands\fi% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf index a372e433e7f..f10c7197748 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-english.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-english.ldf}[polyglossia: module for english] -\makeatletter \PolyglossiaSetup{english}{ hyphennames={english,american,usenglish,USenglish}, hyphenmins={2,3}, @@ -109,5 +108,4 @@ \fi}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf index e6d7e3275a3..e3bc8d31ac4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-esperanto.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for esperanto] -\makeatletter \PolyglossiaSetup{esperanto}{ hyphennames={esperanto}, hyphenmins={2,2}, @@ -63,5 +62,4 @@ \let\@alph\latin@alph% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf index f4b3f49c760..e84aa304712 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-estonian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-estonian.ldf}[polyglossia: module for estonian] -\makeatletter \PolyglossiaSetup{estonian}{ hyphennames={estonian}, hyphenmins={2,2}, @@ -37,5 +36,4 @@ juuli\or august\or september\or oktoober\or november\or detsember\fi\space\number\year.\space a.}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf index 419495c1460..d3aeeb2922d 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-farsi.ldf @@ -3,7 +3,6 @@ \RequirePackage{arabicnumbers} \RequirePackage{farsical} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{farsi}{ script=Arabic, direction=RL, @@ -123,5 +122,4 @@ \def\noextras@farsi{% \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf index 3bfa1bee434..6b271e531d9 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-finnish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-finnish.ldf}[polyglossia: module for finnish] -\makeatletter \PolyglossiaSetup{finnish}{ hyphennames={finnish}, hyphenmins={2,2}, @@ -38,7 +37,6 @@ syyskuuta\or lokakuuta\or marraskuuta\or joulukuuta\fi \space\number\year}} -\makeatother \endinput % TODO ? this is set in babel: diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf index ad840925170..612094c57b6 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-french.ldf}[polyglossia: module for french] -\makeatletter \PolyglossiaSetup{french}{% language=French, @@ -116,5 +115,4 @@ \french@punctuation% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-friulan.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-friulan.ldf new file mode 100644 index 00000000000..d0ef8b77daa --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-friulan.ldf @@ -0,0 +1,67 @@ +\ProvidesFile{gloss-friulan.ldf}[polyglossia: module for friulan] +\makeatletter +\PolyglossiaSetup{friulan}{% + hyphennames={friulan,furlan}, + hyphenmins={2,2}, + indentfirst=false, + fontsetup=true, + frenchspacing=true, +} + + +\def\captionsfriulan{% + \def\prefacename{Prefazion}% + \def\refname{Riferiments}% + \def\abstractname{Somari}% + \def\bibname{Bibliografie}% + \def\chaptername{Cjapitul}% + \def\appendixname{Zonte}% + \def\contentsname{Tabele gjenerâl}% + \def\listfigurename{Liste des figuris}% + \def\listtablename{Liste des tabelis}% + \def\indexname{Tabele analitiche}% + \def\figurename{Figure}% + \def\tablename{Tabele}% + \def\partname{Part}% + \def\enclname{Zonte(is)}% + \def\ccname{Cun copie a}% + \def\headtoname{Par}% + \def\pagename{Pagjine}% + \def\seename{cjale}% + \def\alsoname{cjale ancje}% + \def\proofname{Dimostrazion}% + \def\glossaryname{Glossari}% + } + +\def\datefriulan{% + \def\today{\number\day\space di\space\ifcase\month\or + Genâr\or Fevrâr\or Març\or Avril\or Mai\or Jugn\or + Lui\or Avost\or Setembar\or Otobar\or Novembar\or Dicembar% + \fi\space dal\space\number\year}} + +\AtEndPreamble{% the user or the class might define different values + \edef\xpgfu@savedvalues{% + \clubpenalty=\the\clubpenalty\space + \@clubpenalty=\the\@clubpenalty\space + \widowpenalty=\the\widowpenalty\space + \finalhyphendemerits=\the\finalhyphendemerits} +} + + +\def\noextras@friulan{% + \lccode\string"2019=\z@ + % TODO Figure out what the two lines below were supposed to be good for. + % \noitalian@shorthands + % \xpgit@savedvalues +} + +\def\blockextras@friulan{% + \lccode\string"2019=\string"2019 + \clubpenalty=3000 \@clubpenalty=3000 \widowpenalty=3000 + \finalhyphendemerits=50000000 +} + +\def\inlineextras@friulan{% + \lccode\string"2019=\string"2019 +} + diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf index 63a65bf2826..76459f275cd 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-galician.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-galician.ldf}[polyglossia: module for galician] -\makeatletter \PolyglossiaSetup{galician}{ hyphennames={galician}, hyphenmins={2,2}, @@ -37,5 +36,4 @@ xullo\or agosto\or setembro\or outubro\or novembro\or decembro\fi \space de~\number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf index c78940ca5ac..b9a79ee33b2 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-german.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-german.ldf}[polyglossia: module for german] -\makeatletter \PolyglossiaSetup{german}{ hyphenmins={2,2}, frenchspacing=true, @@ -174,5 +173,4 @@ \ifgerman@babelshorthands\german@shorthands\fi } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf index 44dd210e1bd..229688ef5bc 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-greek.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-greek.ldf}[polyglossia: module for greek] -\makeatletter \PolyglossiaSetup{greek}{ script=Greek, scripttag=grek, @@ -343,6 +342,5 @@ \let\greek@Alph\@undefined% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf index b033867ad5a..5167833d833 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hebrew.ldf @@ -1,7 +1,8 @@ \ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for hebrew] \RequirePackage{bidi} \RequirePackage{hebrewcal} -\makeatletter + +\providebool{@hebrew@marcheshvan} \PolyglossiaSetup{hebrew}{ script=Hebrew, @@ -16,6 +17,7 @@ \newif\if@calendar@hebrew \def\tmp@hebrew{hebrew} \define@key{hebrew}{calendar}[gregorian]{% + \message{Setting \string\if@calendar@hebrew} \def\@tmpa{#1}% \ifx\@tmpa\tmp@hebrew% \@calendar@hebrewtrue% @@ -23,6 +25,17 @@ \@calendar@hebrewfalse% \fi} +\define@boolkey{hebrew}[@xpg@hebrew@]{marcheshvan}[false]{% + \def\@tmpa{#1}% + \def\@tmptrue{true}% + \ifx\@tmpa\@tmptrue + \@xpg@hebrew@marcheshvantrue + \else + \@xpg@hebrew@marcheshvanfalse + \fi} + +\setkeys{hebrew}{marcheshvan} + % hebrewcal.sty also defines the boolean key fullyear (default=false) \newif\if@hebrew@numerals @@ -117,5 +130,5 @@ \def\noextras@hebrew{% \let\MakeUppercase\@@MakeUppercase% } -\makeatother + \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf index b69aeae3239..6223a494987 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-hindi.ldf @@ -4,7 +4,6 @@ \ProvidesFile{gloss-hindi.ldf}[polyglossia: module for hindi] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{hindi}{ script=Devanagari, scripttag=deva, @@ -96,5 +95,4 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf index c2703d19684..2678b4f6129 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-icelandic.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for icelandic] -\makeatletter \PolyglossiaSetup{icelandic}{ hyphennames={icelandic}, hyphenmins={2,2}, @@ -39,7 +38,6 @@ \space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf index 61bbdf48b09..9e4ca395d6a 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-interlingua.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for interlingua] -\makeatletter \PolyglossiaSetup{interlingua}{ hyphennames={interlingua}, hyphenmins={2,2}, @@ -39,5 +38,4 @@ decembre\fi \space \number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf index 417001d8141..23b0b567c30 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-irish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-irish.ldf}[polyglossia: module for irish] -\makeatletter \PolyglossiaSetup{irish}{ hyphennames={irish}, hyphenmins={2,2}, @@ -40,5 +39,4 @@ Mí na Samhna\or Mí na Nollag\fi \space \number\year}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf index af0015c8e1b..538ed63e18e 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf @@ -1,6 +1,5 @@ % !TEX encoding = UTF-8 Unicode -\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian - unofficial test version] -\makeatletter +\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian] \PolyglossiaSetup{italian}{ hyphennames={italian}, hyphenmins={2,2}, diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf index 82e89390d3a..cca3488e646 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-kannada.ldf @@ -17,7 +17,6 @@ % % This work consists of the file gloss-kannada.ldf \ProvidesFile{gloss-kannada.ldf}[polyglossia: module for kannada] -\makeatletter \PolyglossiaSetup{kannada}{ script=Kannada, scripttag=knda, @@ -101,5 +100,4 @@ \fi } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf index cc587b62bb9..16e58fc5fa2 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lao.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-lao.ldf}[polyglossia: module for Lao] -\makeatletter \PolyglossiaSetup{lao}{ script=Lao, scripttag=lao, @@ -88,5 +87,4 @@ \renewcommand\thefootnote{\protect\number{\c@footnote}}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf index 3d1ad7c0f5b..66be7360066 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latin.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-latin.ldf}[polyglossia: module for latin] -\makeatletter \PolyglossiaSetup{latin}{ hyphennames={latin}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ Decembris\fi% \space \uppercase\expandafter{\romannumeral\year}}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf index 2334751b51a..9993cadf4a0 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-latvian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-latvian.ldf}[polyglossia: module for latvian] -\makeatletter \PolyglossiaSetup{latvian}{ hyphennames={latvian}, hyphenmins={2,2}, @@ -38,5 +37,4 @@ jūlijā\or augustā\or septembrī\or% oktobrī\or novembrī\or decembrī\fi}} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf index 3a6de608cc9..f1bc9344610 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lithuanian.ldf @@ -61,5 +61,4 @@ \let\fnum@table\fnum@table@orig } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf index aa8092497b9..55b58e3b9f0 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for lower sorbian] -\makeatletter \PolyglossiaSetup{lsorbian}{ hyphennames={lsorbian,lowersorbian,Lsorbian}, hyphenmins={2,2}, @@ -43,5 +42,4 @@ godownika\fi\space \number\year}}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf index c35c1120803..3f6839a932f 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-magyar.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-magyar.ldf}[polyglossia: module for magyar] -\makeatletter \PolyglossiaSetup{magyar}{ hyphennames={magyar,hungarian}, hyphenmins={2,2}, @@ -58,5 +57,4 @@ \let\ontoday\@undefined } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf index 4a2da0c04bc..1630b3c78bf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-malayalam.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for malayalam] % Translations provided by Kevin & Siji, 01-11-2009 -\makeatletter \PolyglossiaSetup{malayalam}{ script=Malayalam, @@ -51,5 +50,4 @@ \space\number\day}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf index 68f15d52b28..a7fd12c7df3 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-marathi.ldf @@ -3,7 +3,6 @@ \ProvidesFile{gloss-marathi.ldf}[polyglossia: module for marathi] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{marathi}{ script=Devaganari, @@ -76,5 +75,4 @@ \def\today{\marathinumber\day\space\marathimonth\space\marathinumber\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf index d9d5f7b2ad6..975cd109c7c 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-norsk.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-norsk.ldf}[polyglossia: module for norwegian] -\makeatletter \PolyglossiaSetup{norsk}{ hyphennames={norsk}, hyphenmins={2,2}, @@ -39,6 +38,5 @@ \fi\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf index 99685ae54ce..8051d902e16 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-nynorsk.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-nynorsk.ldf}[polyglossia: module for norwegian (Nynorsk)] -\makeatletter \PolyglossiaSetup{nynorsk}{ hyphennames={nynorsk}, hyphenmins={2,2}, @@ -39,6 +38,5 @@ \fi\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf index 7e50e524146..c647aa9000f 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-occitan.ldf @@ -55,5 +55,4 @@ \def\today{\occitanday \occitanmonth\space de~\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf index c4bcfebca87..30f350e4a93 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-polish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-polish.ldf}[polyglossia: module for polish] -\makeatletter \PolyglossiaSetup{polish}{ hyphennames={polish}, hyphenmins={2,2}, @@ -39,5 +38,4 @@ \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf index e141e1c59f5..310f958f160 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-portuges.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-portuges.ldf}[polyglossia: module for portuguese] -\makeatletter \PolyglossiaSetup{portuges}{ hyphennames={portuges,portuguese}, hyphenmins={2,3}, @@ -38,5 +37,4 @@ \space de\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf index 01e6431dd29..43a3d173f35 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romanian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-romanian.ldf}[polyglossia: module for romanian] -\makeatletter \PolyglossiaSetup{romanian}{ hyphennames={romanian}, @@ -40,5 +39,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romansh.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romansh.ldf new file mode 100644 index 00000000000..40d75f47e7b --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-romansh.ldf @@ -0,0 +1,41 @@ +\ProvidesFile{gloss-romansh.ldf}[polyglossia: module for romansh] +\makeatletter +\PolyglossiaSetup{romansh}{% + hyphennames={romansh}, + hyphenmins={2,2}, + indentfirst=true, + fontsetup=true, +} + + +\def\captionsromansh{% + \def\prefacename{Prefaziun}% + \def\refname{Bibliografia}% + \def\abstractname{Recapitulaziun}% + \def\bibname{Index bibliografic}% + \def\chaptername{Chapitel}% + \def\appendixname{Appendix}% + \def\contentsname{Tavla dal cuntegn}% + \def\listfigurename{Tavla da las figuras}% + \def\listtablename{Tavla da las tabellas}% + \def\indexname{Register da materias}% Index? + \def\figurename{Figura}% + \def\tablename{Tabella}% + \def\partname{Part}% + \def\enclname{Agiunta(s)}% + \def\ccname{Copia a}% + \def\headtoname{A}% + \def\pagename{pagina}% + \def\seename{vesair }% + \def\alsoname{vesair era}% + \def\proofname{Demonstraziun}% + \def\glossaryname{Glossari}% + } + +\def\dateromansh{% + \def\today{\ifcase\day\or1.\else ils~\number\day\fi~da~% + \ifcase\month\or + schaner\or favrer\or mars\or avrigl\or matg\or zercladur\or + fanadur\or avust\or settember\or october\or november\or + december\fi\space \number\year}} +\makeatother diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf index 14c57a38798..3d600d60151 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-russian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-russian.ldf}[polyglossia: module for russian] -\makeatletter \PolyglossiaSetup{russian}{ script=Cyrillic, scripttag=cyrl, @@ -250,6 +249,5 @@ \def\Proj {\mathop{\mathrm{Пр}}\nolimits} %\DeclareRobustCommand{\No}{№} -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf index ff25db60699..e9d834a6489 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-samin.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-samin.ldf}[polyglossia: module for samin] -\makeatletter \PolyglossiaSetup{samin}{ hyphennames={samin}, @@ -48,5 +47,4 @@ \space\number\day.~b.\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf index 9e94c5d9971..287620615c4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for sanskrit] \RequirePackage{devanagaridigits} -\makeatletter \PolyglossiaSetup{sanskrit}{ langtag=SAN, @@ -84,5 +83,4 @@ \sanskrit@punctuation% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf index 0ebf0cb560b..6c76b71076c 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-scottish.ldf}[polyglossia: module for scottish] -\makeatletter \PolyglossiaSetup{scottish}{ hyphennames={scottish}, @@ -42,5 +41,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf index 14289b11a0f..436ac751366 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-serbian.ldf}[polyglossia: module for serbian] -\makeatletter %TODO split into gloss-serbiancyr.ldf and gloss-serbianlat.ldf %% load these automatically from polyglossia.sty according to the script option ?? %% same thing for all languages that have a "script" key ! @@ -114,7 +113,6 @@ децембар\fi \space \number\year.}% } -\makeatother \endinput % TODO ? stuff from babel diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf index 797424a68c8..21a62d65bdf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovak.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-slovak.ldf}[polyglossia: module for slovak] -\makeatletter \PolyglossiaSetup{slovak}{ hyphennames={slovak}, @@ -40,5 +39,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf index 6901b7562a9..7ef4203ce0a 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-slovenian.ldf @@ -38,5 +38,4 @@ \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf index 1035f39ca2f..312c3b3b8f2 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-spanish.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-spanish.ldf}[polyglossia: module for spanish] -\makeatletter \PolyglossiaSetup{spanish}{ hyphennames={spanish}, hyphenmins={2,2}, @@ -39,5 +38,4 @@ diciembre\fi\space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf index eac3baa3edf..748353488bf 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-swedish.ldf @@ -45,5 +45,4 @@ \def\today{\number\day/\number\month\space\number\year}}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf index 974bd6f9f81..75e5ce0731d 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-syriac.ldf @@ -1,7 +1,6 @@ \ProvidesFile{gloss-syriac.ldf}[polyglossia: module for syriac] \RequirePackage{bidi} \RequirePackage{arabicnumbers} -\makeatletter \PolyglossiaSetup{syriac}{ script=Syriac, @@ -156,5 +155,4 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf index 8101769ac48..c3ef7110ba6 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-tamil.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-tamil.ldf}[polyglossia: module for tamil] % Translations provided by Kevin & Siji, 01-11-2009 -\makeatletter \PolyglossiaSetup{tamil}{ script=Tamil, @@ -51,5 +50,4 @@ \space\number\day}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf index be9bf04452d..f7f6a63dc5f 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-telugu.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-telugu.ldf}[polyglossia: module for telugu] % Translations provided by Anmol Sharma <unmole.in@gmail.com> -\makeatletter \PolyglossiaSetup{telugu}{ script=Telugu, @@ -54,5 +53,4 @@ \def\today{\telugu@month\space\number\day,\space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf index c820dcd7459..16e90ea7dc1 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-thai.ldf @@ -1,5 +1,4 @@ \ProvidesFile{gloss-thai.ldf}[polyglossia: module for thai] -\makeatletter %% This is partly based on thai-latex for Babel: %%%% Copyright (C) 1999 - 2006 %%%% by Surapant Meknavin, @@ -133,7 +132,6 @@ \let\baselinestrech\orig@baselinestretch% } -\makeatother \endinput %TODO ? diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf index 2d28dfa3850..6f40cf2cd3d 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-turkish.ldf}[polyglossia: module for turkish] \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{turkish}{ hyphennames={turkish}, hyphenmins={2,2}, @@ -80,5 +79,4 @@ \turkish@punctuation% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf index 0c66ec7fa98..19b257272aa 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkmen.ldf @@ -1,6 +1,5 @@ \ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for turkmen] %% Translations provided by Nazar Annagurban <nazartm at gmail dot com> -\makeatletter \PolyglossiaSetup{turkmen}{ hyphennames={turkmen}, hyphenmins={2,2}, @@ -40,5 +39,4 @@ Dekabr\fi \space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf index 57b9319ea7b..26d3906ff4e 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-ukrainian.ldf @@ -1,7 +1,6 @@ \ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for ukrainian] % Strings taken from Babel % and revised by Roman Kyrylych -\makeatletter \PolyglossiaSetup{ukrainian}{ script=Cyrillic, @@ -78,7 +77,6 @@ \let\@alph\latin@alph% } -\makeatother \endinput %TODO? stuff from Babel diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf index 00c6550490c..028f0cdd885 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-urdu.ldf @@ -3,7 +3,6 @@ \RequirePackage{bidi} \RequirePackage{arabicnumbers} \RequirePackage{hijrical} -\makeatletter \PolyglossiaSetup{urdu}{ script=Arabic, @@ -135,6 +134,5 @@ \let\MakeUppercase\@@MakeUppercase% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf index e74f93d71a7..810354ce1d4 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-usorbian.ldf @@ -45,5 +45,4 @@ hodownika\fi \space \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf index 4121099bd68..96969508254 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-vietnamese.ldf @@ -2,7 +2,7 @@ %% Strings contributed by Daniel Owens < dhowens . pmbx . net > \PolyglossiaSetup{vietnamese}{ - hyphennames={vietnamese}, + hyphennames={nohyphenation}, hyphenmins={2,2}, langtag=VIT, frenchspacing=true, @@ -40,5 +40,4 @@ năm \number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf index 9b76677b979..d861308b2c7 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-welsh.ldf @@ -40,5 +40,4 @@ \space\number\year}% } -\makeatother \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty b/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty index 5e433a3e308..c75b2f5faa9 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty +++ b/Master/texmf-dist/tex/xelatex/polyglossia/hebrewcal.sty @@ -1,8 +1,16 @@ \ProvidesPackage{hebrewcal} - [2008/07/01 v2.4 % + [2012/04/29 v2.5 % Hebrew calendar for polyglossia (adapted from hebcal.sty in Babel)] +\RequirePackage{xkeyval} \RequirePackage{bidi} +\newif\if@xpg@hebrewcal@marcheshvan +\DeclareOption{marcheshvan}{\@xpg@hebrewcal@marcheshvantrue} +\ifx\if@xpg@hebrew@marcheshvan\undefined + \newif\if@xpg@hebrew@marcheshvan + \@xpg@hebrew@marcheshvanfalse +\fi + %% TODO rewrite this on the basis of Reingold & Dershowitz %% on the model of hijrical (using calc) @@ -21,6 +29,9 @@ \@FormatForEnglish{\hebrewday}{\hebrewmonth}{\hebrewyear}% \fi} \def\hebrewtoday{\hebrewdate{\day}{\month}{\year}} +% The command name is capitalised in the doc, and this is consistent +% with other names such as \Hijritoday and \Jalalitoday. +\let\Hebrewtoday=\hebrewtoday \def\hebrewsetreg{% \HebrewFromGregorian{\day}{\month}{\year}% {\hebrewday}{\hebrewmonth}{\hebrewyear}} @@ -55,7 +66,7 @@ \ifcase#1% % nothing for 0 \or תשרי% - \or השון% + \or\if@xpg@hebrewcal@marcheshvan מרחשון\else\if@xpg@hebrew@marcheshvan מרחשון\else חשון\fi\fi% \or כסלו% \or טבת% \or שבט% @@ -80,7 +91,8 @@ \ifcase #1% % nothing for 0 \or Tishrei% - \or Heshvan% + % \or\if@xpg@hebrewcal@marcheshvan Marcheshvan\else\if@xpg@hebrew@marcheshvan Marcheshvan\else Heshvan\fi\fi% + \or\if@xpg@hebrewcal@marcheshvan Marcheshvan\else\if@xpg@hebrew@marcheshvan Marcheshvan\else Heshvan\fi\fi% \or Kislev% \or Tebeth% \or Shebat% @@ -265,7 +277,8 @@ 304 \or% 334% \fi% - \if@GregorianLeap{#2}% + \@CheckIfGregorianLeap{#2}% + \if@GregorianLeap% \ifnum #1 > 2% % if month after February \advance #3 by 1% % add leap day \fi% @@ -328,4 +341,5 @@ \repeat% \global\advance #5 by -1% \global\advance #4 by -\tmpy}} +\ProcessOptions* \endinput diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty b/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty index d4f3fe91d07..79da8d0020b 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty +++ b/Master/texmf-dist/tex/xelatex/polyglossia/hijrical.sty @@ -7,6 +7,8 @@ \@ifpackageloaded{l3calc}{\PackageError{hijrical}{\MessageBreak Package l3calc is loaded, which replaces the functionality of calc. Computation of Hijri dates will not work properly with +% FIXME by Arthur: François couldn’t possibly mean ‘l3calc’ on the +% following line :-) Find out if he meant ‘calc’. l3calc! The latest version of expl3 on CTAN no longer loads l3calc. Please update expl3! }{}}{} @@ -80,7 +82,7 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} \@namedef{FormatHijriDate@#1}{#2}} % we provide this as a reasonable default. -% Further definitions are in polyglossia's language definition files. +% Further definitions are in polyglossia’s language definition files. \DefineFormatHijriDate{defaultRTL}{\@ensure@RTL{% \arabicdigits{\value{Hijriday}}\space\HijriMonthArabic{\value{Hijrimonth}}\space\arabicdigits{\value{Hijriyear}}}} diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty b/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty index c3d636b8a7b..3c35d6b8884 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty +++ b/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{polyglossia}[2011/10/12 v1.2.0cc +\ProvidesPackage{polyglossia}[2012/04/29 v1.2.1 Babel replacement for XeLaTeX] \RequirePackage{etoolbox} \RequirePackage{makecmds} @@ -454,6 +454,7 @@ \newcommand{\xpg@input}[1]{% \chardef\xpg@atcatcode\catcode`\@ + \makeatletter \input{#1}\catcode`\@=\xpg@atcatcode} \newcommand{\setdefaultlanguage}[2][]{% |