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 /Master/texmf-dist/source/xelatex | |
parent | b6828693a12a6aae3124cbaa2e0e14d6a280aa71 (diff) |
polyglossia 1.2.1 (30apr12)
git-svn-id: svn://tug.org/texlive/trunk@26163 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r-- | Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx | 390 |
1 files changed, 239 insertions, 151 deletions
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: |