diff options
Diffstat (limited to 'macros')
174 files changed, 2202 insertions, 433 deletions
diff --git a/macros/latex/contrib/docshots/DEPENDS.txt b/macros/latex/contrib/docshots/DEPENDS.txt index 93a73e061e..42b2d30ead 100644 --- a/macros/latex/contrib/docshots/DEPENDS.txt +++ b/macros/latex/contrib/docshots/DEPENDS.txt @@ -4,4 +4,7 @@ hard pdfcrop hard pgf hard pgfopts hard listings -hard minted
\ No newline at end of file +hard minted +hard pdftexcmds +hard ifluatex +hard ifxetex diff --git a/macros/latex/contrib/docshots/README.md b/macros/latex/contrib/docshots/README.md index ff64e5ba6e..17a6693a35 100644 --- a/macros/latex/contrib/docshots/README.md +++ b/macros/latex/contrib/docshots/README.md @@ -28,6 +28,8 @@ For more informaiton, read \TeX{} Book by Donald Knuth. \end{document} ``` +Otherwise, you can download [`docshots.sty`](https://raw.githubusercontent.com/objectionary/eolang.sty/gh-pages/docshots/docshots.sty) and add to your project. + If you want to contribute yourself, make a fork, then create a branch, then run `l3build ctan` in the root directory. It should compile everything without errors. If not, submit an issue and wait. diff --git a/macros/latex/contrib/docshots/docshots.dtx b/macros/latex/contrib/docshots/docshots.dtx index 2e6d03614c..0a559d7edf 100644 --- a/macros/latex/contrib/docshots/docshots.dtx +++ b/macros/latex/contrib/docshots/docshots.dtx @@ -50,7 +50,7 @@ %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{docshots} %<*package> -[2022-10-25 0.0.5 TeX Samples Next to Their PDF Snapshots in DTX] +[2022-10-26 0.2.0 TeX Samples Next to Their PDF Snapshots in DTX] %</package> %<*driver> \documentclass{ltxdoc} @@ -128,13 +128,9 @@ % \begin{docshot} % \documentclass{article} % \usepackage{tikz} -% \usetikzlibrary{backgrounds} % \pagestyle{empty} % \begin{document} -% \begin{tikzpicture}[ -% show background rectangle, -% background rectangle/.style= -% {draw=none,fill=gray!20}] +% \begin{tikzpicture} % \node [circle,draw] (v0) {$v_0$}; % \node [circle,draw=orange,thick, % below right of=v0] (v1) {$v_1$}; @@ -155,17 +151,18 @@ % When you render a text instead of a single picture, it's recommended to use % \href{https://ctan.org/pkg/geometry}{geometry} package to change the size -% of the page and then |empty| page style to remove page numbering: +% of the page: % \begin{docshot} % \documentclass{article} -% \usepackage[paperwidth=2in]{geometry} -% \pagestyle{empty} +% \usepackage[paperwidth=2in, +% paperheight=2.2in]{geometry} % \begin{document} % ``There is no sadder thing than % a young pessimist, except an old % pessimist'' --- \emph{Mark Twain} % \end{document} % \end{docshot} +% You can also use |\pagestyle{empty}| as was done in previous docshots. % \section{Package Options} @@ -230,6 +227,18 @@ Hello, world! %</verb> %\fi +% \DescribeMacro{nocrop} +% You may disable cropping with the help of |nocrop| option: +%\iffalse +%<*verb> +%\fi +\begin{verbatim} +\usepackage[nocrop]{docshot} +\end{verbatim} +%\iffalse +%</verb> +%\fi + % \DescribeMacro{hspace} % The horizontal distance between the image and its verbatim \TeX{} source % may be configured via |hspace| package option: @@ -271,7 +280,7 @@ Hello, world! %\fi % \DescribeMacro{tmpdir} -% The default location of temp files is |\docshots@tmpdir|. You can change this using |tmpdir| option: +% The default location of temp files is |_docshots|. You can change this using |tmpdir| option: %\iffalse %<*verb> %\fi @@ -448,17 +457,21 @@ Hello, world! % Then, we process package options: % \changes{0.0.4}{2022/10/18}{Package options "lstinputlisting" and "inputminted" introduced to enable printing of verbatim text either via listings or minted packages.} % \changes{0.0.5}{2022/10/24}{Package option "log" added, which enables detailed logging via exec. By default, there is no logging at all.} +% \changes{0.2.0}{2022/10/26}{New package option "nocrop" added to allow disabling of "pdfcrop" execution.} % \begin{macrocode} \RequirePackage{pgfopts} +\RequirePackage{ifluatex} +\RequirePackage{ifxetex} \def\docshots@log{} \pgfkeys{ /docshots/.cd, dtx/.store in=\docshots@dtx, log/.code=\def\docshots@log{log}, + nocrop/.code=\def\docshots@nocrop{}, lstinputlisting/.store in=\docshots@lstinputlisting, inputminted/.store in=\docshots@inputminted, tmpdir/.store in=\docshots@tmpdir, - tmpdir/.default=_docshots, + tmpdir/.default=_docshots\ifxetex-xe\else\ifluatex-lua\fi\fi, small/.store in=\docshots@small, tiny/.store in=\docshots@tiny, runs/.store in=\docshots@runs, @@ -484,28 +497,39 @@ Hello, world! % Then, we print the version of |pdflatex| to \TeX{} log: % \begin{macrocode} -\iexec[\docshots@log,quiet]{\docshots@pdflatex\space --version}% +\iexec[\docshots@log,quiet]{"\docshots@pdflatex" --version}% % \end{macrocode} % Then, we print the version of \href{https://ctan.org/pkg/pdfcrop}{pdfcrop} to \TeX{} log: % \begin{macrocode} -\iexec[\docshots@log,quiet]{\docshots@pdfcrop\space --version}% +\ifdefined\docshots@nocrop\else% + \iexec[\docshots@log,quiet]{"\docshots@pdfcrop" --version}% +\fi% % \end{macrocode} % Then, we print the version of |ghostscript| to \TeX{} log: % \begin{macrocode} -\iexec[\docshots@log,quiet]{\docshots@gs\space --version}% +\iexec[\docshots@log,quiet]{"\docshots@gs" --version}% % \end{macrocode} % Then, we make a directory where all temporary files will be kept: % \begin{macrocode} -\iexec[null]{mkdir -p \docshots@tmpdir/\jobname}% +\iexec[null]{mkdir -p "\docshots@tmpdir/\jobname"}% +% \end{macrocode} + +% \begin{macro}{\docshots@mdfive} +% \changes{0.1.1}{2022/10/26}{New supplementary command added to calculate MD5 sum of a file.} +% Then, we define a command for MD5 hash calculating of a file: +% \begin{macrocode} +\RequirePackage{pdftexcmds} +\makeatletter\newcommand\docshots@mdfive[1]{\pdf@filemdfivesum{#1}}\makeatother % \end{macrocode} +% \end{macro} % \begin{macro}{docshot} % Then, we define |docshot| environment: % \begin{macrocode} -\newenvironment{docshot} +\makeatletter\newenvironment{docshot} {\VerbatimEnvironment\begin{VerbatimOut} {\docshots@tmpdir/\jobname/verbatim.tex}} {\end{VerbatimOut}% @@ -519,52 +543,64 @@ Hello, world! % \end{macrocode} % We calculate MD5 hashsum of the file content: % \begin{macrocode} - \def\hash{\pdfmdfivesum file - {\docshots@tmpdir/\jobname/verbatim.tex}}% + \def\hash{\docshots@mdfive{\docshots@tmpdir/\jobname/verbatim.tex}}% % \end{macrocode} % If the PDF with the required name already exists, we ignore this step. % Otherwise, we copy |verbatim.tex| into new file and run |pdflatex|: +% \changes{0.1.0}{2022/10/26}{The output is saved to a hash-named file, for better uniqueness of temporary files.} % \begin{macrocode} \IfFileExists{\docshots@tmpdir/\jobname/\hash.pdf} - {\message{docshots: won't render, the PDF already exists - (\docshots@tmpdir/\jobname/\hash.pdf)^^J}} - {\iexec[\docshots@log,quiet]{cp \docshots@tmpdir/\jobname/verbatim.tex - \docshots@tmpdir/\jobname/\hash.tex}% - \foreach \n in {1,...,\docshots@runs}{ - \iexec[\docshots@log,quiet]{cd \docshots@tmpdir/\jobname; - \docshots@pdflatex\space + {\message{docshots: Won't render, + the PDF '\docshots@tmpdir/\jobname/\hash.pdf' already exists^^J}} + {\iexec[\docshots@log,quiet]{cp "\docshots@tmpdir/\jobname/verbatim.tex" + "\docshots@tmpdir/\jobname/\hash.tex"}% + \foreach \n in {1,...,\docshots@runs}{% + \iexec[\docshots@log, + stdout=\docshots@tmpdir/\jobname/\hash.stdout, + exit=\docshots@tmpdir/\jobname/\hash.ret, + quiet,trace]{cd "\docshots@tmpdir/\jobname" && + "\docshots@pdflatex" -interaction=errorstopmode -halt-on-error -shell-escape - \hash.tex} - \message{docshots: pdflatex run no.\n^^J} + \hash.tex}% + \ifnum\n=1\else% + \message{docshots: pdflatex run no.\n^^J}% + \fi% \IfFileExists{\docshots@tmpdir/\jobname/after.sh} {\iexec[\docshots@log,quiet]{chmod a+x - \docshots@tmpdir/\jobname/after.sh} - \iexec[\docshots@log,quiet]{cd \docshots@tmpdir/\jobname; + "\docshots@tmpdir/\jobname/after.sh"} + \iexec[\docshots@log,quiet]{cd "\docshots@tmpdir/\jobname" && ./after.sh \n\space \hash\space \hash.tex}} {}}}% % \end{macrocode} % Here we delete |after.sh| which may exist here after the last % compilation of |pdflatex|: % \begin{macrocode} - \iexec[\docshots@log,quiet]{rm -f \docshots@tmpdir/\jobname/after.sh} + \iexec[\docshots@log,quiet]{rm -f "\docshots@tmpdir/\jobname/after.sh"} % \end{macrocode} % If a cropped version of the PDF with the required name already exists, we ignore this step. % Otherwise, we ask |pdfcrop| to crop the PDF: % \begin{macrocode} \IfFileExists{\docshots@tmpdir/\jobname/\hash.crop.pdf} - {\message{docshots: won't pdfcrop, the PDF already exists - (\docshots@tmpdir/\jobname/\hash.crop.pdf)^^J}} - {\iexec[\docshots@log,quiet]{\docshots@pdfcrop\space - --margins \docshots@margin\space - \docshots@tmpdir/\jobname/\hash.pdf - \docshots@tmpdir/\jobname/\hash.crop.pdf}}% + {\message{docshots: Won't pdfcrop, + the PDF '\docshots@tmpdir/\jobname/\hash.crop.pdf' + already exists^^J}} + {\ifdefined\docshots@nocrop + \iexec[\docshots@log,quiet]{cp + "\docshots@tmpdir/\jobname/\hash.pdf" + "\docshots@tmpdir/\jobname/\hash.crop.pdf"}% + \else% + \iexec[\docshots@log,quiet]{"\docshots@pdfcrop" + --margins 0 + "\docshots@tmpdir/\jobname/\hash.pdf" + "\docshots@tmpdir/\jobname/\hash.crop.pdf"}% + \fi}% % \end{macrocode} % We configure |fancyvrb|: % \begin{macrocode} \fvset{numbers=left,numbersep=3pt}% - \fvset{frame=leftline,framerule=.4pt,rulecolor=\color{gray}}% + \fvset{frame=leftline,framerule=.2pt,rulecolor=\color{gray}}% \fvset{samepage=true}% \fvset{baselinestretch=1}% \ifdefined\docshots@small% @@ -574,12 +610,13 @@ Hello, world! \fvset{fontsize=\scriptsize}% \fi% % \end{macrocode} -% We render the two column content: +% Finally, we render the two-column content: % \begin{macrocode} \begingroup% \par% \tikz[baseline=(a.north)] - \node (a) [draw=gray,inner sep=0] + \node (a) [draw=gray,inner sep=\docshots@margin, + line width=.2pt] {\includegraphics[width=\docshots@left] {\docshots@tmpdir/\jobname/\hash.crop.pdf}};% \hspace{\docshots@hspace}% @@ -597,30 +634,30 @@ Hello, world! \end{minipage}% \par% \endgroup% -} +}\makeatother % \end{macrocode} % \end{macro} % \begin{macro}{\docshotPrerequisite} % Then, we define |\docshotPrerequisite| command: % \begin{macrocode} -\newcommand\docshotPrerequisite[1]{ - \iexec[\docshots@log,quiet]{cp #1 \docshots@tmpdir/\jobname}% - \message{docshots: file #1 copied to - \docshots@tmpdir/\jobname/#1^^J}% -} +\makeatletter\newcommand\docshotPrerequisite[1]{ + \iexec[\docshots@log,quiet]{cp #1 "\docshots@tmpdir/\jobname"}% + \message{docshots: File '#1' copied to + '\docshots@tmpdir/\jobname/#1'^^J}% +}\makeatother % \end{macrocode} % \end{macro} % \begin{macro}{\docshotAfter} % Finally, we define |\docshotAfter| command: % \begin{macrocode} -\newcommand\docshotAfter[1]{ +\makeatletter\newcommand\docshotAfter[1]{ \iexec[\docshots@log,quiet]{/bin/echo -n '\detokenize{#1}' - > \docshots@tmpdir/\jobname/after.sh}% - \message{docshots: file - \docshots@tmpdir/\jobname/after.sh created^^J}% -} + > "\docshots@tmpdir/\jobname/after.sh"}% + \message{docshots: File + '\docshots@tmpdir/\jobname/after.sh' created^^J}% +}\makeatother % \end{macrocode} % \end{macro} diff --git a/macros/latex/contrib/docshots/docshots.pdf b/macros/latex/contrib/docshots/docshots.pdf Binary files differindex 888639741d..9d94d44dee 100644 --- a/macros/latex/contrib/docshots/docshots.pdf +++ b/macros/latex/contrib/docshots/docshots.pdf diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index fa2ddd5abe..9721fc9842 100644 --- a/macros/latex/contrib/easybook/easybook.dtx +++ b/macros/latex/contrib/easybook/easybook.dtx @@ -15,7 +15,7 @@ %<*class> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2022/10/15}{1.71} +\ProvidesExplClass{easybook}{2022/10/26}{1.71A} {Easily typesetting Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -303,7 +303,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2022/10/15}{1.71} +\ProvidesExplPackage{easybase}{2022/10/26}{1.71A} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -2333,7 +2333,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2022/10/15}{1.71} +\ProvidesExplFile{eb-tcolorbox.cfg}{2022/10/26}{1.71A} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf Binary files differindex 127c268d2a..59f3eea5f2 100644 --- a/macros/latex/contrib/easybook/easybook.pdf +++ b/macros/latex/contrib/easybook/easybook.pdf diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex index e40bd1ed4c..c6b3f101cb 100644 --- a/macros/latex/contrib/easybook/easybook.tex +++ b/macros/latex/contrib/easybook/easybook.tex @@ -1,19 +1,18 @@ -\PassOptionsToPackage{dvipsnames}{xcolor} \documentclass[load-preamble+]{cnltx-doc} \usepackage[fontset = fandol]{ctex} \usepackage { - enumitem,newtxmath,indentfirst,tabularray, + enumitem,newtxmath,indentfirst,tabularray,ninecolors, fancyvrb,geometry,hologo,pifont,changelog } \definecolorscheme{blue} { - cs => Plum, - option => PineGreen, - cnltx => RoyalBlue, - link => OrangeRed, - module => YellowOrange, + cs => violet, + option => olive6, + cnltx => blue, + link => purple5, + module => orange, meta => black, versionnote => black } @@ -22,8 +21,8 @@ name = easybook, color-scheme = blue, title = EASYBOOK使用手册, - version = v1.71, - date = 2022/10/15, + version = v1.71A, + date = 2022/10/26, authors = 瞿毅, info = 简便地排版中文学位论文或书籍, email = toquyi@163.com, @@ -39,20 +38,20 @@ } \KOMAoptions{numbers = noenddot} \setfootnoterule[0.5pt]{0.4\columnwidth} -\addtokomafont{headsepline}{\color{RoyalBlue}} -\addtokomafont{footnoterule}{\color{RoyalBlue}} +\addtokomafont{headsepline}{\color{blue}} +\addtokomafont{footnoterule}{\color{blue}} \addtokomafont{section}{\normalfont\sffamily} \addtokomafont{subsection}{\normalfont\sffamily} \addtokomafont{subsubsection}{\normalfont\sffamily} \DeclareTOCStyleEntry[entryformat = \sffamily]{default}{section} \DeclareFieldFormat[book]{title}{\textsf{#1}} \geometry{margin = 1in,marginparwidth = 0.6in} -\SetEnumitemValue{label}{smallbullet}{\small\color{RoyalBlue}\textbullet} +\SetEnumitemValue{label}{smallbullet}{\small\color{blue}\textbullet} \setlist{nosep,topsep = \smallskipamount,labelsep = 0.5em} \setlist[1]{labelindent = \parindent} \setlist[itemize,1]{label = smallbullet,leftmargin = *} \setcounter{tocdepth}{2} -\SetTblrInner{hline{1,Z} = {0.8pt,RoyalBlue}} +\SetTblrInner{hline{1,Z} = {0.8pt,blue}} \ExplSyntaxOn\makeatletter % * Do not add entries to the index @@ -139,10 +138,10 @@ baselinestretch = 1.2, gobble = 2, fontsize = \small, - rulecolor = \color{RoyalBlue}, + rulecolor = \color{blue}, framerule = 0.5pt, frame = single, - framesep = 10pt + framesep = 6pt } \DefineVerbatimEnvironment{frameverb}{Verbatim} { @@ -228,15 +227,15 @@ { colspec = @{}*{5}{c}@{}, cells = {cmd = \pkg*}, - cell{1}{3,4} = brown8, - cell{2}{5} = brown8, - cell{3}{2,4} = brown8, - cell{5}{1} = brown8, - cell{1}{2} = cyan8, - cell{3}{1,4} = cyan8, - cell{5}{2} = cyan8 + cell{1}{3,4} = yellow8, + cell{2}{5} = yellow8, + cell{3}{2,4} = yellow8, + cell{5}{1} = yellow8, + cell{1}{2} = green8, + cell{3}{1,4} = green8, + cell{5}{2} = green8 }{ - amsthm & bicaption & ctex & caption & chemformula \\ + amsthm & bicaption & ctexbook & caption & chemformula \\ enumitem & etoolbox & fancyhdr & geometry & hyperref \\ imakeidx & listings & marginnote & mathtools & multicol \\ pifont & pdfpages & siunitx & spbmark & thmtools \\ @@ -287,7 +286,7 @@ \insertblr { colspec = @{}*{4}{c}@{}, - hline{2} = {0.5pt,RoyalBlue}, + hline{2} = {0.5pt,blue}, row{1} = {font = \sffamily}, column{1} = {cmd = \code} }{ @@ -324,7 +323,7 @@ \insertblr { colspec = @{}*{5}{c}@{}, - hline{3} = {0.5pt,RoyalBlue}, + hline{3} = {0.5pt,blue}, row{1,3} = {font = \sffamily,belowsep = 0pt}, row{2,4} = {cmd = \module*} }{ @@ -1170,9 +1169,7 @@ \begin{commands}\noitemsep \command{newcounter}[\marg{计数器}\oarg{父计数器}]\default{} \command{counteruse}[\sarg\oarg{编号}\darg{分隔符}\marg{计数器}\oarg{父计数器}] - 命令 \cs{newcounter} 是 \LaTeX 自带的创建计数器命令,计数器值输出命令 \cs{counteruse} 将会以 \cs*{the}\meta{父计数器}\meta{分隔符}\cs*{the}\meta{计数器} 形式输出这种计数器的值。命令 \cs{counteruse} 仅具有\textbf{输出功能},并不会改变计数器原有的绑定关系。默认每使用一次命令 \meta{计数器} 的值增加1,带有星号参数的命令使 \meta{计数器} 的值保持不变。计数器的 \meta{编号} 为 \code{arabic} 或 \code{alph} 等计数形式。 - - 在一定的场合下可能用到 \cs{counteruse} 命令,比如通过新建快捷命令在一些位置使用定理环境的计数器。使用 \cs{labelformat} 设置计数器的标签引用时需添加 \code{eb-} 前缀: + 命令 \cs{newcounter} 是 \LaTeX 自带的创建计数器命令。命令 \cs{counteruse} 可以在当前位置输出这种计数器的值,它仅具有\textbf{输出功能},并不会改变计数器原有的绑定关系。默认每使用一次输出命令 \meta{计数器} 的值增加1,带有星号参数的命令使 \meta{计数器} 的值保持不变。计数器的 \meta{编号} 为 \code{arabic} 或 \code{alph} 等计数形式。在一定的场合下可能用到 \cs{counteruse} 命令,比如通过新建快捷命令在一些位置使用定理环境的计数器。使用 \cs{labelformat} 设置计数器的标签引用时需添加 \code{eb-} 前缀: \begin{ctexexam} \labelformat{eb-theorem}{定理#1} \newcommand{\theoremhead}[1]{定理\counteruse{theorem}[chapter]\hspace{1em}#1} diff --git a/macros/latex/contrib/filehook/DEPENDS.txt b/macros/latex/contrib/filehook/DEPENDS.txt new file mode 100644 index 0000000000..fa0a16dcfb --- /dev/null +++ b/macros/latex/contrib/filehook/DEPENDS.txt @@ -0,0 +1,6 @@ +soft pgf # Only needed for optional pgf-filehook +soft fink # compatibility patches if loaded +soft listings # compatibility patches if loaded +soft memoir # compatibility patches if loaded +soft scrlfile # compatibility patches if loaded +soft ydoc # for compilation of package manual only
\ No newline at end of file diff --git a/macros/latex/contrib/filehook/README b/macros/latex/contrib/filehook/README deleted file mode 100644 index aeac2f848e..0000000000 --- a/macros/latex/contrib/filehook/README +++ /dev/null @@ -1,7 +0,0 @@ -LaTeX package 'filehook' -~~~~~~~~~~~~~~~~~~~~~~~~ -Copyright (c) 2010-2020 by Martin Scharrer <martin@scharrer-online.de> -Code repository: ssh://hth@helixteamhub.cloud/scharrer/projects/filehook/ - -Provides several file hooks for files read by \input, \include and \InputIfFileExists. - diff --git a/macros/latex/contrib/filehook/README.txt b/macros/latex/contrib/filehook/README.txt new file mode 100644 index 0000000000..4cafdf9469 --- /dev/null +++ b/macros/latex/contrib/filehook/README.txt @@ -0,0 +1,12 @@ +LaTeX package 'filehook' +~~~~~~~~~~~~~~~~~~~~~~~~ +Copyright (c) 2010-2022 by Martin Scharrer <martin.scharrer@web.de> +License: LPPL v1.3c or later <https://www.latex-project.org/lppl/lppl-1-3c/> +CTAN: https://www.ctan.org/pkg/filehook +Texdoc: https://texdoc.org/pkg/filehook +Homepage: https://github.com/MartinScharrer/filehook +Repository: https://github.com/MartinScharrer/filehook.git +Issue tracker: https://github.com/MartinScharrer/filehook/issues + +Provides several file hooks for files read by \input, \include and \InputIfFileExists. + diff --git a/macros/latex/contrib/filehook/filehook.dtx b/macros/latex/contrib/filehook/filehook.dtx index eee04bd9af..2008f1a489 100644 --- a/macros/latex/contrib/filehook/filehook.dtx +++ b/macros/latex/contrib/filehook/filehook.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment %<=*COPYRIGHT> -%% Copyright (C) 2011-2020 by Martin Scharrer <martin@scharrer-online.de> +%% Copyright (c) 2011-2022 by Martin Scharrer <martin.scharrer@web.de> %% ---------------------------------------------------------------------- %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -26,10 +26,10 @@ %<*driver> \ProvidesFile{filehook.dtx}[% %<=*DATE> - 2020/09/29 + 2022/10/25 %<=/DATE> %<=*VERSION> - v0.8a + v0.8b %<=/VERSION> Hooks for input files] \documentclass{ydoc} @@ -102,13 +102,15 @@ % \changes{v0.7}{2020/02/03}{Further fixes for InputIfFileExists for LaTeX format 2019/10/01.} % \changes{v0.8}{2020/09/27}{Support for LaTeX format 2020/10/01.} % \changes{v0.8a}{2020/09/29}{Further fixes for LaTeX format 2020/10/01.} +% \changes{v0.8b}{2022/10/25}{Updated package URLs. Added DEPENDS.txt file.} % % \GetFileInfo{filehook.dtx} % % \DoNotIndex{\newcommand,\newenvironment} % % \author{Martin Scharrer} -% \email{martin@scharrer-online.de} +% \email{martin.scharrer@web.de} +% \github{MartinScharrer/filehook} % \maketitle % % \begin{abstract} diff --git a/macros/latex/contrib/filehook/filehook.pdf b/macros/latex/contrib/filehook/filehook.pdf Binary files differindex bd94ed1a66..d1d4236431 100644 --- a/macros/latex/contrib/filehook/filehook.pdf +++ b/macros/latex/contrib/filehook/filehook.pdf diff --git a/macros/latex/contrib/jeuxcartes/README.md b/macros/latex/contrib/jeuxcartes/README.md new file mode 100644 index 0000000000..bcfb5270a1 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/README.md @@ -0,0 +1,9 @@ +JeuxCartes is a package with playing cards. +-------------------------------------------------- +JeuxCartes est un package avec des cartes à jouer. +-------------------------------------------------- +Author : Cédric Pierquet +email : cpierquet@outlook.fr +Licence : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt +Poker cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards +Tarot cards Image's Licence : Public Domain https://freesvg.org/
\ No newline at end of file diff --git a/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdf b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdf Binary files differnew file mode 100644 index 0000000000..7cf0434497 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.pdf diff --git a/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex new file mode 100644 index 0000000000..159fe3412f --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/doc/JeuxCartes-doc.tex @@ -0,0 +1,713 @@ +% !TeX TXS-program:compile = txs:///arara +% arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode} +% arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)') + +\documentclass{article} +\usepackage[french]{babel} +\usepackage{iftex,ifpdf,ifxetex,ifluatex} +\ifpdftex + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} + \usepackage[upright]{fourier} + \usepackage[scaled=0.875]{helvet} + \renewcommand\ttdefault{lmtt} + \usepackage[scaled=0.875]{cabin} + \usepackage{amsmath,amssymb} +\fi +\ifluatex + \RequirePackage[math-style=french,bold-style=ISO]{fourier-otf} +\fi +\ifxetex + \RequirePackage[math-style=french,bold-style=ISO]{fourier-otf} +\fi +\usepackage{fontawesome5} +\usepackage{enumitem} +\usepackage{JeuxCartes} +\usepackage{tabularray} +\usepackage{fancyvrb} +\usepackage{fancyhdr} +\fancyhf{} +\renewcommand{\headrulewidth}{0pt} +\lfoot{\sffamily \small [JeuxCartes]} +\cfoot{\sffamily \small - \thepage{} -} +\rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}} + +\usepackage{hvlogos} +\usepackage{menukeys} +\let\tab\relax +\usepackage{tabto} +\usepackage{codehigh} +\usepackage{scontents} +\usepackage{hyperref} +\urlstyle{same} +\hypersetup{pdfborder=0 0 0} +\usepackage[margin=1.5cm]{geometry} +\usepackage{newverbs} +\newverbcommand{\pverb}{\color{purple}}{} +\newverbcommand{\rverb}{\color{red}}{} +\newverbcommand{\vverb}{\color{ForestGreen}}{} +\newverbcommand{\averb}{\color{CadetBlue}}{} +\newverbcommand{\overb}{\color{orange}}{} +\newverbcommand{\bverb}{\color{blue}}{} +\setlength{\parindent}{0pt} +\definecolor{LightGray}{gray}{0.9} + +\def\TPversion{0.1.2} +\def\TPdate{26 Octobre 2022} + +\usepackage[most]{tcolorbox} +\usepackage[outputdir=build]{minted} +\tcbuselibrary{minted} + +\tcbset{vignettes/.style={% + nobeforeafter,box align=base,boxsep=0pt,enhanced,sharp corners=all,rounded corners=southeast,% + boxrule=0.75pt,left=7pt,right=1pt,top=0pt,bottom=0.25pt,% + } +} +\tcbset{vignettelatex/.style={% + fontupper={\vphantom{pf}\footnotesize\ttfamily}, + vignettes,% + colframe=CadetBlue,coltitle=white,colback=CadetBlue!5,% + overlay={\begin{tcbclipinterior}% + \fill[fill=lightgray!50]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{CadetBlue}{\scalebox{0.6}[0.75]{\textbf{\LaTeX}}}}} ($(interior.north west)+(5pt,0pt)$);% + \end{tcbclipinterior}} + } +} + +\newtcblisting{codetex}[1][]{% + colback=white,colframe=red!75!black,title={\small \faCode} Code \LaTeX,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1} + +\newtcolorbox{codeattention}[1][]{% + colback=Yellow!50,colframe=Yellow!50!Black,title={\small \faBomb} Attention,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1} + +\newtcolorbox{codesortie}[1][]{% + colback=white,colframe=red!75!black,title={\small \faArrowAltCircleRight[regular]} Sortie \LaTeX,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1} + +\newtcolorbox{codeidee}[1][]{% + colback=white,colframe=PeachPuff!75!black,title={\small \faLightbulb[regular]} Idée(s),fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1} + +\newtcolorbox{codeinfo}[1][]{% + colback=white,colframe=SteelBlue,title={\small \faPuzzlePiece} Information(s),fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1} + +\newtcolorbox{codecles}[1][]{% + colback=white,colframe=ForestGreen!75,title={\small \faPaperclip} Clés et options,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1} + +%petite vignette tex +\newcommand\ctex[1]{\tcbox[vignettelatex]{#1}} + +\title{% +\begin{minipage}{0.85\linewidth} + \begin{tcolorbox}[colframe=yellow,colback=yellow!15] + \begin{center} + \begin{tabular}{c} + \lstinline!JeuxCartes!\\ + \\ + Des cartes de poker ou de tarot, \\ + simples ou en \textit{mains}, \\ + avec possibilité de tirage aléatoire. + \end{tabular} + \end{center} + \end{tcolorbox} +\end{minipage} +} +\author{ + \begin{tabular}{c} + Cédric Pierquet\\ + {\ttfamily c pierquet -- at -- outlook . fr} + \end{tabular} +} +\date{Version \TPversion{} -- \TPdate} + +\newcommand\Cle[1]{{\bfseries\sffamily\textlangle #1\textrangle}} + +\begin{document} + +\pagestyle{fancy} + +\maketitle + +\thispagestyle{empty} + +{\Large {\bfseries Résumé} : Quelques commandes pour afficher des cartes à jouer, de type Poker ou Tarot} + +\medskip + +\noindent Une commande pour créer une carte individuelle (insertion autonome ou via \TikZ). + +Une commande pour créer une main de cartes, avec possibilité d'affichage en éventail. + +Une commande pour créer une main aléatoire de cartes, avec possibilité d'affichage en éventail. + +Une commande pour des cartes en version \og miniatures \fg{} (individuelle, main ou aléatoire). + +\vspace{0.5cm} + +\begin{center} + \CartesJeu[Eventail,EspH=0,EspV=0.1]{7K § 8P § DT § AP § 10C § AC § 8T § 2K § VC}\hspace{0.5cm}\CartesJeu[TypeJeu=Tarot,EspH=0.85,EspV=0.2]{Exc § 1AT § CC § 8T § 2K § 5AT § 2AT § DP § 7T § 10C § 19AT § VP} +\end{center} + +\hfill{}\textit{Merci aux membres du groupe \faFacebook{} du \og Coin \LaTeX{} \fg{} pour leur aide et leurs idées !} + +\vfill + +\hrule + +\medskip + +\begin{tblr}{width=\linewidth,colspec={X[c]X[c]X[c]X[c]X[c]X[c]},cells={font=\sffamily}} + {\huge \LaTeX} & & & & &\\ + & {\huge \pdfLaTeX} & & & & \\ + & & {\huge \LuaLaTeX} & & & \\ + & & & {\huge \TikZ} & & \\ + & & & & {\huge \TeXLive} & \\ + & & & & & {\huge \MiKTeX} \\ +\end{tblr} + +\medskip + +\hrule + +\vfill + +~ + +\newpage + +\phantomsection +\hypertarget{matoc}{} + +\tableofcontents + +\vfill~ + +\part{Historique} +{\small \bverb|v0.1.2|~:~~~~Modification du nom (et de la source) des images de Tarot (CC0) + +{\small \bverb|v0.1.1|~:~~~~Ajout de commandes pour des mini-cartes + +{\small \bverb|v0.1 |~:~~~~Version initiale + +\vfill~ + +\newpage + +\part*{Introduction} + +\section{Le package JeuxCartes} + +\subsection{\og Philosophie \fg{} du package} + +\begin{codeidee} +L'idée de ce package est de proposer, comme le fait \ctex{pst-poker}, des commandes pour intégrer des cartes de poker dans un document \LaTeX. + +Les cartes sont des images : +% +\begin{itemize} + \item les cartes type \textsf{Poker} sont sous licence LGPL, \copyright{}2005, de David Bellot, via \url{https://github.com/htdebeer/SVG-cards} ; + \item les cartes type \textsf{Tarot} sous licence CC0, du site \url{https://freesvg.org}. +\end{itemize} +\end{codeidee} + +\begin{codeinfo} +Le {package} \ctex{JeuxCartes} charge les {packages} : + +\begin{itemize} + \item \ctex{tikz}, \ctex{pifont}, \ctex{xfp}, \ctex{pgffor}, \ctex{xinttools} ; + \item \ctex{listofitems}, \ctex{xstring}, \ctex{xparse} et \ctex{simplekv} ; + \item \ctex{randomlist}, \ctex{xcolor} avec les options \ctex{[table,svgnames]}. +\end{itemize} +\end{codeinfo} + +\begin{codeinfo} +Des packages ou solutions existent déjà pour des cartes en \LaTeX, le lecteur choirira donc la solution qui lui semblera être la meilleure pour son utilisation ! + +On peut citer par exemple : + +\begin{itemize} + \item le packages \ctex{pst-poker} en language \texttt{pstricks} ; + \item les fichiers \texttt{postscript} disponibles sur \url{https://melusine.eu.org/syracuse/postscript/cartes01/} +\end{itemize} +\end{codeinfo} + +\begin{codeattention} +Les images utiles sont proposés en format \texttt{png}, donc une solution de compilation adaptée au format \textsf{png} est nécessaire. +\end{codeattention} + +\subsection{Chargement du package} + +\begin{codetex}[listing only] +%exemple de chargement pour une compilation en (pdf)latex +\documentclass{article} +\usepackage[french]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{JeuxCartes} +... +\end{codetex} + +\begin{codetex}[listing only] +%exemple de chargement pour une compilation en (xe/lua)latex +\documentclass{article} +\usepackage[french]{babel} +\usepackage{mathtools} +\usepackage{fontspec} +\usepackage{JeuxCartes} +... +\end{codetex} + +\section{Compléments} + +\subsection{Le système de \og clés/options \fg} + +\begin{codeidee} +L'idée est de conserver -- autant que faire se peut -- l'idée de \Cle{Clés} qui sont modifiables et relativement explicites. À noter que : +% +\begin{itemize}[leftmargin=*] + \item les \Cle{Clés} peuvent être mises dans n'importe quel ordre, et être omises lorsque la valeur par défaut est conservée ; + \item les \textsf{arguments} doivent, eux, être positionnés dans le \textit{bon ordre}. +\end{itemize} +\end{codeidee} + +\begin{codeinfo} +Les \textsf{commandes} présentés seront explicités via leur \textsf{syntaxe} avec les \textsf{options} ou \textsf{arguments}. + +Autant que faire se peut, des exemples/illustrations/remarques seront proposés à chaque fois. + +\smallskip + +Les \textsf{codes} seront présentés dans des \textsf{boîtes} \textcolor{red!75!black}{{\small \faCode} Code \LaTeX}, si possible avec la \textsf{sortie} dans la même boîte, et sinon la \textsf{sortie} sera visible dans des \textsf{boîtes} \textcolor{red!75!black}{{\small \faArrowAltCircleRight[regular]} Sortie \LaTeX}. Les \textsf{clés} ou \textsf{options} seront présentées dans des \textsf{boîtes} \textcolor{ForestGreen}{{\small \faPaperclip} Clés}. +\end{codeinfo} + +\part{Les commandes} + +\section{La commande simple \og CarteJeu \fg} + +\subsection{Introduction} + +\begin{codeinfo} +La commande \ctex{AffCarteJeu} affiche une carte, avec un système de clés/options +\end{codeinfo} + +\begin{codetex}[] +\AffCarteJeu{VP}\AffCarteJeu{10K}\AffCarteJeu{AC}\AffCarteJeu{DosBleu}\AffCarteJeu{DT}\\ \\ +\AffCarteJeu[TypeJeu=Tarot]{VP}\AffCarteJeu[TypeJeu=Tarot]{Dos} +\AffCarteJeu[TypeJeu=Tarot]{Exc}\AffCarteJeu[TypeJeu=Tarot]{1AT} +\AffCarteJeu[TypeJeu=Tarot]{10K}\AffCarteJeu[TypeJeu=Tarot]{18AT} +\end{codetex} + +\subsection{Noms de cartes} + +\begin{codeinfo} +Les cartes étant des \textbf{images}, leur nom +est fixé suivant le modèle suivant (typiquement \texttt{<hauteur>.<couleur>} ) avec quelques spécificités : + +\begin{itemize} + \item cartes classiques pour Belote/Bataille/Poker : + \begin{itemize} + \item \texttt{2C}, \texttt{3C}, \ldots, \texttt{DC}, \texttt{RC}, \texttt{AC}\dotfill\Cle{Cœur} + \item \texttt{2P}, \texttt{3P}, \ldots, \texttt{DP}, \texttt{RP}, \texttt{AP}\dotfill\Cle{Pique} + \item \texttt{2K}, \texttt{3K}, \ldots, \texttt{DK}, \texttt{RK}, \texttt{AK}\dotfill\Cle{Carreau} + \item \texttt{2T}, \texttt{3T}, \ldots, \texttt{DT}, \texttt{RT}, \texttt{AT}\dotfill\Cle{Trèfle} + \item \texttt{JN}, \texttt{JR}\dotfill\Cle{Joker} + \item \texttt{DosRouge}, \texttt{DosBleu}, \ldots\dotfill\Cle{Dos} + \end{itemize} + \item cartes de Tarot : + \begin{itemize} + \item \texttt{2C}, \texttt{3C}, \ldots, \texttt{CC}, \ldots, \texttt{AC}\dotfill\Cle{Cœur} + \item \texttt{2P}, \texttt{3P}, \ldots, \texttt{CP}, \ldots, \texttt{AP}\dotfill\Cle{Pique} + \item \texttt{2K}, \texttt{3K}, \ldots, \texttt{CK}, \ldots, \texttt{AK}\dotfill\Cle{Carreau} + \item \texttt{2T}, \texttt{3T}, \ldots, \texttt{CT}, \ldots, \texttt{AT}\dotfill\Cle{Trèfle} + \item \texttt{Exc}, \texttt{1AT}, \texttt{2AT}, \ldots, \texttt{20T}, \texttt{21AT}\dotfill\Cle{Atouts} + \item \texttt{Dos}\dotfill\Cle{Dos} + \end{itemize} +\end{itemize} +\end{codeinfo} + +\subsection{Clés et options} + +\begin{codetex}[listing only] +\AffCarteJeu[options]{<carte>} +\end{codetex} + +\begin{codecles} +Concernant les \Cle{options} : + +\begin{itemize} + \item la clé \Cle{Hauteur} correspond à la hauteur voulue, en cm, de la carte ; \hfill{}défaut \Cle{4.25} + \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker} + \item la clé \Cle{Rotation} pour une éventuelle rotation de la carte ; \hfill{}défaut \Cle{0} + \item la clé \Cle{AlignementV} pour l'alignement vertical (lié à \ctex{raisebox} ou à \TikZ) ; \hfill{}défaut \Cle{0.5} + \item le booléen \Cle{Tikz} pour préciser que la carte est \textit{autonome}, dans un environnement \ctex{tikzpicture} ; \hfill{}défaut \Cle{false} + \item la clé \Cle{DecalageX} pour le décalage horizontal par rapport à l'origine (si \Cle{Tikz=false}) ; \hfill{}défaut \Cle{0} + \item la clé \Cle{DecalageY} pour le décalage vertical par rapport à l'origine (si \Cle{Tikz=false}) ; \hfill{}défaut \Cle{0} + \item le booléen \Cle{TikzAutonome} pour basculer d'un environnement \TikZ{} à une commande \TikZ. \hfill{}défaut \Cle{true} +\end{itemize} +\end{codecles} + +\begin{codeinfo} +Concernant la clé \Cle{AlignementV}, elle peut être : + +\begin{itemize} + \item donnée sous forme décimale entre 0 et 1 pour l'utilisation standard ; + \item choisie parmi 0, 0.5 et 1 pour l'utilisation via le mode \Cle{Tikz}. +\end{itemize} +\end{codeinfo} + +\begin{codeinfo} +Concernant la clé \Cle{TikzAutonome} est plutôt une clé utilisée \textit{interne}, elle peut être utilisée pour intégrer une carte dans un environnement \TikZ{} déjà créé, pour une utilisation complètement personnalisé des cartes ! + +\smallskip + +Il est à noter que la commande (en \textit{interne}) est liée à un \textit{sous}-environnement \ctex{scope}. +\end{codeinfo} + + +\begin{codetex}[] +En mode normal, \AffCarteJeu{VP} ou \AffCarteJeu[AlignementV=0]{DosRouge} ou +\AffCarteJeu[AlignementV=1]{10K} ou \AffCarteJeu[TypeJeu=Tarot,AlignementV=0.33,Rotation=25]{10AT}. + +\smallskip + +En mode \TikZ, \AffCarteJeu[Hauteur=2.75,Tikz]{VP} +ou \AffCarteJeu[Hauteur=2.75,AlignementV=0,Tikz]{DosVert} +ou \AffCarteJeu[Hauteur=2.75,AlignementV=1,Tikz]{10K} +ou \AffCarteJeu[Hauteur=2.75,TypeJeu=Tarot,AlignementV=0.33,Rotation=-25]{10AT}. + +\smallskip + +On obtient la main \AffCarteJeu[Hauteur=2]{VP}\AffCarteJeu[Hauteur=2]{10K} +\AffCarteJeu[Hauteur=2]{AK}\AffCarteJeu[Hauteur=2]{JN}\AffCarteJeu[Hauteur=2]{7P}. +\end{codetex} + +\section{Main de cartes} + +\subsection{Introduction} + +\begin{codeidee} +La commande précédente, relativement simple, ne fait \textit{que} placer une image dans un le document, il sera peut-être plus intéressant d'utiliser les commandes qui suivent, afin de créer des \textit{mains} de cartes, aléatoires ou non ! +\end{codeidee} + +\begin{codeattention} +Les commandes pour créer des \textit{mains} sont obligatoirement liées à des environnement \ctex{tikzpicture} autonomes ! +\end{codeattention} + +\begin{codetex}[listing only] +\CartesJeu[options]{<liste de cartes>} +\end{codetex} + +\subsection{Clés et options} + +\begin{codecles} +L'argument \textit{mandataire} correspond à la liste des cartes à afficher, sous la forme + +\begin{itemize} + \item \texttt{<carte1> § <carte2> § ... § <carten>}. +\end{itemize} + +Les \Cle{options} sont les suivantes : + +\begin{itemize} + \item la clé \Cle{Hauteur} correspond à la hauteur voulue, en cm, des cartes ; \hfill{}défaut \Cle{4.25} + \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot}) pour spécifier les cartes à utiliser ; \hfill{}défaut \Cle{Poker} + \item la clé \Cle{EspH} correspond à coefficient d'espacement horizontal (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{1} + \item la clé \Cle{EspH} correspond à coefficient d'espacement vertical (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{0} + \item le booléen \Cle{Eventail} pour une présentation en éventail ; \hfill{}défaut \Cle{false} + \item la clé \Cle{Rotation} pour l'angle entre les cartes en mode \Cle{Eventail} ; \hfill{}défaut \Cle{10} + \item la clé \Cle{AlignementV} pour l'alignement vertical lié à \TikZ{}\hfill{}défaut \Cle{0.5} +\end{itemize} +\end{codecles} + +\begin{codetex}[] +\CartesJeu{7K § 8P § DT § AC} +~ou \CartesJeu[Eventail,EspH=0,EspV=0.1]{7K § 8P § DT § AC} +~ou \CartesJeu[Eventail,EspH=0.5]{7K § 8P § DT § AC} +\end{codetex} + +\begin{codeinfo} +Pour une main \textit{horizontale}, seule la clé \Cle{EspH} est importante, et une valeur proche de 1 donne des résultats intéressants. + +\smallskip + +Pour une main \textit{éventail}, les deux espacements peuvent être modifiés, afin d'avoir un rendu satisfaisant pour l'utilisateur. + +\smallskip + +Les exemples proposés dans cette documentation permettent de se rendre compte de valeurs possibles pour un rendu satisfaisant. +\end{codeinfo} + +\begin{codetex}[] +\CartesJeu[TypeJeu=Tarot]% + {Exc § 1AT § CC § 8T § 2K § 5AT § 2AT § DP § 7T § 10C § 19AT § VP} + +\smallskip + +\CartesJeu[TypeJeu=Tarot,EspH=1,EspV=-0.15,Hauteur=2.25]% + {Exc § 1AT § CC § 8T § 2K § 5AT § 2AT § DP § 7T § 10C § 19AT § VP} + +\smallskip + +Ça c'est une belle poignée ! \CartesJeu[Eventail,Hauteur=3,TypeJeu=Tarot,EspH=0,EspV=0.1]% + {Exc § 1AT § 2AT § 3AT § 4AT § 5AT § 6AT § % + 10AT § 11AT § 15AT § 16AT § 19AT § 20AT § 21AT} + +\smallskip + +Et un chien qui en a : \CartesJeu[Eventail,Hauteur=2,TypeJeu=Tarot,EspH=0.5,EspV=0.15,Rotation=20]% + {DK § 10AT § 16AT § VP § 1AT} +\end{codetex} + +\pagebreak + +\section{Mains aléatoires} + +\subsection{Introduction} + +\begin{codeidee} +L'idée est ici de proposer une commande, similaire à la précédente, mais qui permet de \textbf{tirer au hasard} un certain nombre de cartes pour créer une main. +\end{codeidee} + +\begin{codetex}[listing only] +\CartesJeuAleatoire[<options>]{<nombre de cartes>} +\end{codetex} + +\begin{codetex}[] +Voilà de quoi d'obtenir une main aléatoire de Poker : + +\CartesJeuAleatoire{5} +\end{codetex} + +\subsection{Clés et options} + +\begin{codecles} +Les \Cle{options} sont les suivantes : + +\begin{itemize} + \item la clé \Cle{Hauteur} correspond à la hauteur voulue, en cm, des cartes ; \hfill{}défaut \Cle{4.25} + \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Belote} ou \Cle{Bataille}) ; \hfill{}défaut \Cle{Poker} + \item la clé \Cle{EspH} correspond à coefficient d'espacement horizontal (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{1} + \item la clé \Cle{EspH} correspond à coefficient d'espacement vertical (\textit{proche} du cm en taille réelle) entre les cartes ; \hfill{}défaut \Cle{0} + \item le booléen \Cle{Eventail} pour une présentation en éventail ; \hfill{}défaut \Cle{false} + \item la clé \Cle{Rotation} pour l'angle entre les cartes en mode \Cle{Eventail} ; \hfill{}défaut \Cle{10} + \item la clé \Cle{AlignementV} pour l'alignement vertical lié à \TikZ{}\hfill{}défaut \Cle{0.5} +\end{itemize} +\end{codecles} + +\begin{codeinfo} +En ce qui concerne les \textit{jeux} disponibles (non modifiables) : + +\begin{itemize} + \item \Cle{Poker} : 52 cartes (sans Joker) ; + \item \Cle{Belote} : 32 cartes (sans Joker) ; + \item \Cle{Bataille} : 54 cartes (avec Jokers) ; + \item \Cle{Tarot} : 78 cartes. +\end{itemize} +\end{codeinfo} + +\pagebreak + +\begin{codetex}[] +\textbf{\large Belote :} \\ + +\CartesJeuAleatoire[Hauteur=2,TypeJeu=Belote]{8} ou \CartesJeuAleatoire[Hauteur=2,TypeJeu=Belote]{8}.\\ + +\textbf{\large Poker :} \\ + +\CartesJeuAleatoire[Hauteur=3,Eventail,EspH=0,EspV=0.1]{5} ou \CartesJeuAleatoire[Hauteur=3,Eventail,EspH=0,EspV=0.1]{5}.\\ + +\textbf{\large Bataille :} \\ + +\CartesJeuAleatoire[Hauteur=2.25,TypeJeu=Bataille]{27}\\ + +\textbf{\large Tarot :} \\ + +\CartesJeuAleatoire[Hauteur=3.25,TypeJeu=Tarot]{10} ou~ +\CartesJeuAleatoire[Hauteur=3.25,Eventail,TypeJeu=Tarot,EspH=0,EspV=0.1]{10} +\end{codetex} + +\pagebreak + +\section{\textit{Mini}-Cartes} + +\subsection{Introduction} + +\begin{codeidee} +L'idée est ici de proposer des commandes pour afficher des \textit{mini-}cartes, utilisables en mode ligne, sans utiliser les images précédentes. + +\smallskip + +Ces \textit{mini-}cartes sont des figures \TikZ, alignées verticalement sur leur \textit{baseline}. +\end{codeidee} + +\begin{codetex}[listing only] +\MiniCarteJeu[<options>]{<carte>} +\end{codetex} + +\begin{codetex}[] +Si on met du texte sur la ligne du dessus, on peut voir le résultat.\\ +Voilà des exemples de mini-cartes, \MiniCarteJeu{7.K}\MiniCarteJeu{1.AT}\MiniCarteJeu{V.K}\MiniCarteJeu{10.C}, intégrables dans un paragraphe.\\ +Si on met du texte sur la ligne du dessous, on peut voir le résultat. +\end{codetex} + +\subsection{Noms des \textit{mini-}cartes} + +\begin{codeinfo} +Pour des raisons internes au code, les cartes doivent être saisies suivant la nomenclature (noter l'utilisation du \ctex{.} pour séparer la hauteur de la couleur !) : + +\begin{itemize} + \item \texttt{2.C}, \texttt{3.C}, \ldots, \texttt{C.C}, \texttt{D.C}, \texttt{R.C}, \texttt{A.C}\dotfill\Cle{Cœur} + \item \texttt{2.P}, \texttt{3.P}, \ldots, \texttt{C.P}, \texttt{D.P}, \texttt{R.P}, \texttt{A.P}\dotfill\Cle{Pique} + \item \texttt{2.K}, \texttt{3.K}, \ldots, \texttt{C.K}, \texttt{D.K}, \texttt{R.K}, \texttt{A.K}\dotfill\Cle{Carreau} + \item \texttt{2.T}, \texttt{3.T}, \ldots, \texttt{K.T}, \texttt{D.T}, \texttt{R.T}, \texttt{A.T}\dotfill\Cle{Trèfle} + \item \texttt{J.N}, \texttt{J.R}\dotfill\Cle{Joker} + \item \texttt{Exc}, \texttt{1.AT}, \texttt{2.AT}, \ldots, \texttt{20.T}, \texttt{21.AT}\dotfill\Cle{Atouts} +\end{itemize} +\end{codeinfo} + +\begin{codeinfo} +Les \textit{mini-}cartes d'atout pour le Tarot sont présentées avec un fond coloré, et avec un symbole en étoile. +\end{codeinfo} + +\subsection{Clés et options} + +\begin{codecles} +Quelques \Cle{options} pour les \textit{mini-}cartes : + +\begin{itemize} + \item la clé \Cle{Largeur} pour gérer la largeur des miniatures ; \hfill{}défaut \Cle{0.55cm} + \item la clé \Cle{FondAtout} pour gérer la couleur de fond pour les atouts. \hfill{}défaut \Cle{PeachPuff} +\end{itemize} +\end{codecles} + +\begin{codetex}[] +\foreach \EECARTE in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}{\MiniCarteJeu[Largeur=0.75cm]{\EECARTE.K}}\\ +\MiniCarteJeu[FondAtout=LightSkyBlue,Largeur=0.75cm]{Exc}% +\foreach \EECARTE in {1,2,...,21}{\MiniCarteJeu[FondAtout=LightSkyBlue,Largeur=0.75cm]{\EECARTE.AT}} +\end{codetex} + +\subsection{\textit{Mini}-Mains et \textit{mini}-mains aléatoires} + +\begin{codeidee} +Comme pour les cartes \textit{classiques}, il existe deux commandes pour des \textit{mains} de \textit{mini-}cartes, mais uniquement en présentation horizontale/côte-à-côte. +\end{codeidee} + +\begin{codetex}[listing only] +\MiniCartesJeu[<options>]{<liste de cartes>} + +\MiniCartesJeuAleatoire[<options>]{<liste de cartes>} +\end{codetex} + +\begin{codecles} +Les \Cle{Clés} sont les mêmes que pour la commande individuelle, avec en plus : + +\begin{itemize} + \item la clé \Cle{TypeJeu} (parmi \Cle{Poker} ou \Cle{Tarot} ou \Cle{Belote} ou \Cle{Bataille}). \hfill{}défaut \Cle{Poker} +\end{itemize} +\end{codecles} + +\begin{codetex}[] +\textbf{\large Saisie de mains : }\\ +\MiniCartesJeu{7.K § A.P § D.T § V.K § 10.C § C.T} et~ +\MiniCartesJeu{Exc § 1.AT § C.C § 8.T § 2.K § 5.AT § 2.AT § D.P § 7.T § 10.C § 19.AT § V.P}\\ + +\textbf{\large Poker : }\\ +\MiniCartesJeuAleatoire{5} ou \MiniCartesJeuAleatoire{5} ou \MiniCartesJeuAleatoire{5} ou \MiniCartesJeuAleatoire{5}.\\ + +\textbf{\large Belote :}\\ +\MiniCartesJeuAleatoire[TypeJeu=Belote]{8} ou \MiniCartesJeuAleatoire[TypeJeu=Belote]{8} ou \MiniCartesJeuAleatoire[TypeJeu=Belote]{8}.\\ + +\textbf{\large Bataille : }\\ +\MiniCartesJeuAleatoire[TypeJeu=Bataille]{12} ou \MiniCartesJeuAleatoire[TypeJeu=Bataille]{12}.\\ + +\textbf{\large Tarot : }\\ +\MiniCartesJeuAleatoire[TypeJeu=Tarot]{10} ou \MiniCartesJeuAleatoire[TypeJeu=Tarot]{10}. +\end{codetex} + +\pagebreak + +\part{Compléments} + +\section{Cartes disponibles} + +\subsection{Poker/Bataille/Belote} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[Hauteur=1.75]{#1P}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[Hauteur=1.75]{#1C}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[Hauteur=1.75]{#1K}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,D,R,A}\do{\AffCarteJeu[Hauteur=1.75]{#1T}} + +\AffCarteJeu[Hauteur=1.75]{JN}\AffCarteJeu[Hauteur=1.75]{JR}% +\xintFor #1 in {Bleu,BleuVert,Fuchsia,Gris,Jaune,Marron,Navy,Noir,Olive,Vert,Violet}\do{\AffCarteJeu[Hauteur=1.75]{Dos#1}} + +\subsection{Cartes Tarot} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1P}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1C}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1K}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1T}} + +\AffCarteJeu[TypeJeu=Tarot,Hauteur=2]{Exc}% +\xintFor #1 in {1,2,3,4,5,6,7,8,9,10}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1AT}}% +\AffCarteJeu[TypeJeu=Tarot,Hauteur=2]{Dos} + +\xintFor #1 in {11,12,13,14,15,16,17,18,19,20,21}\do{\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{#1AT}}% +\AffCarteJeu[TypeJeu=Tarot,Hauteur=1.75]{Dos} + +\pagebreak + +\subsection{MiniCartes} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.P}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.C}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.K}} + +\xintFor #1 in {2,3,4,5,6,7,8,9,10,V,C,D,R,A}\do{\MiniCarteJeu{#1.T}} + +\MiniCarteJeu{J.N}\MiniCarteJeu{J.R} + +\medskip + +\MiniCarteJeu{Exc}% +\xintFor #1 in {1,2,3,4,5,6,7,8,9,10}\do{\MiniCarteJeu{#1.AT}} + +\xintFor #1 in {11,12,13,14,15,16,17,18,19,20,21}\do{\MiniCarteJeu{#1.AT}}% + +\section{Carte simple dans un environnement \TikZ} + +\begin{codeidee} +La commande simple, avec l'option \Cle{TikzAutonome=false} permet à l'utilisateur de gérer les cartes dans un environnement \ctex{tikzpicture} \textit{indépendant}. + +\smallskip + +L'\textit{origine} des cartes est fixée, au coin bas-gauche, et la \Cle{Rotation} éventuelle est appliquée après la translation gérée par les \Cle{DecalageXY}. +\end{codeidee} + +\begin{codetex}[] +\begin{tikzpicture} + \draw[thin,lightgray] (-5,-5) grid (5,3) ; %grille rajoutée pour la lisibilité du code + \foreach \ptsupport in {(0,0),(3,-4),(-3,-1),(-2,-3.5),(2,2.75)}% + {\filldraw[Gray] \ptsupport circle[radius=2pt] ;} %poits rajouté pour la lisibilité du code + \foreach \x in {-5,-4,...,5} \draw[lightgray] (\x,-5) node[below,font=\small] {\x} ; + \foreach \y in {-5,-4,...,3} \draw[lightgray] (-5,\y) node[left,font=\small] {\y} ; + \AffCarteJeu[Hauteur=2,Tikz=true,TikzAutonome=false]% + {10C} + \AffCarteJeu[Hauteur=2.5,Tikz=true,TikzAutonome=false,DecalageX=3,DecalageY=-4]% + {JN} + \AffCarteJeu[Hauteur=3,Tikz=true,TikzAutonome=false,DecalageX=-3,DecalageY=-1,Rotation=20]% + {JR} + \AffCarteJeu[Hauteur=1.75,Tikz=true,TikzAutonome=false,DecalageX=-2,DecalageY=-3.5,Rotation=-50]% + {DosBleu} + \AffCarteJeu% + [TypeJeu=Tarot,Hauteur=2.75,Tikz=true,TikzAutonome=false,DecalageX=2,DecalageY=2.75,Rotation=-90]% + {18AT} +\end{tikzpicture} +\end{codetex} + +\end{document}
\ No newline at end of file diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10C.png Binary files differnew file mode 100644 index 0000000000..892c6dddad --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10K.png Binary files differnew file mode 100644 index 0000000000..5958537954 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10P.png Binary files differnew file mode 100644 index 0000000000..3e3634ff1f --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10T.png Binary files differnew file mode 100644 index 0000000000..56373396fb --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-10T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2C.png Binary files differnew file mode 100644 index 0000000000..85da80ad46 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2K.png Binary files differnew file mode 100644 index 0000000000..a4291738b9 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2P.png Binary files differnew file mode 100644 index 0000000000..2a86f7f882 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2T.png Binary files differnew file mode 100644 index 0000000000..d91e3128d6 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-2T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3C.png Binary files differnew file mode 100644 index 0000000000..9ad0e7d867 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3K.png Binary files differnew file mode 100644 index 0000000000..6b76266176 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3P.png Binary files differnew file mode 100644 index 0000000000..441b94841a --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3T.png Binary files differnew file mode 100644 index 0000000000..91db23cf10 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-3T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4C.png Binary files differnew file mode 100644 index 0000000000..065bed3c20 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4K.png Binary files differnew file mode 100644 index 0000000000..191f2b7a3b --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4P.png Binary files differnew file mode 100644 index 0000000000..d9017dcd16 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4T.png Binary files differnew file mode 100644 index 0000000000..b228c4ff40 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-4T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5C.png Binary files differnew file mode 100644 index 0000000000..94512e9a1e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5K.png Binary files differnew file mode 100644 index 0000000000..6d5c75df63 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5P.png Binary files differnew file mode 100644 index 0000000000..21ca8a6e0d --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5T.png Binary files differnew file mode 100644 index 0000000000..a9bb90420e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-5T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6C.png Binary files differnew file mode 100644 index 0000000000..661a06089a --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6K.png Binary files differnew file mode 100644 index 0000000000..64d103c7e0 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6P.png Binary files differnew file mode 100644 index 0000000000..92b08a9a25 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6T.png Binary files differnew file mode 100644 index 0000000000..df3bb06883 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-6T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7C.png Binary files differnew file mode 100644 index 0000000000..c1f7f545de --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7K.png Binary files differnew file mode 100644 index 0000000000..06d7b9ae55 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7P.png Binary files differnew file mode 100644 index 0000000000..64d39928ac --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7T.png Binary files differnew file mode 100644 index 0000000000..e5cc018d6b --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-7T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8C.png Binary files differnew file mode 100644 index 0000000000..629d5871b4 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8K.png Binary files differnew file mode 100644 index 0000000000..d359845c8b --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8P.png Binary files differnew file mode 100644 index 0000000000..0a558ef8ff --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8T.png Binary files differnew file mode 100644 index 0000000000..b3c188d083 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-8T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9C.png Binary files differnew file mode 100644 index 0000000000..57133d0da0 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9K.png Binary files differnew file mode 100644 index 0000000000..d3302849e0 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9P.png Binary files differnew file mode 100644 index 0000000000..14ed071191 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9T.png Binary files differnew file mode 100644 index 0000000000..f968b75c91 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-9T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AC.png Binary files differnew file mode 100644 index 0000000000..e170e28829 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AK.png Binary files differnew file mode 100644 index 0000000000..113658515b --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AP.png Binary files differnew file mode 100644 index 0000000000..f2776afc73 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AT.png Binary files differnew file mode 100644 index 0000000000..e67aea360e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DC.png Binary files differnew file mode 100644 index 0000000000..b2cda1bb91 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DK.png Binary files differnew file mode 100644 index 0000000000..0349478e2f --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DP.png Binary files differnew file mode 100644 index 0000000000..dad39014e6 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DT.png Binary files differnew file mode 100644 index 0000000000..acb7edccec --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosArgent.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosArgent.png Binary files differnew file mode 100644 index 0000000000..704650c9aa --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosArgent.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBase.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBase.png Binary files differnew file mode 100644 index 0000000000..d83171a057 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBase.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleu.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleu.png Binary files differnew file mode 100644 index 0000000000..ac9df234ff --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleu.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleuFonce.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleuFonce.png Binary files differnew file mode 100644 index 0000000000..444b0e12f1 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleuFonce.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleuVert.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleuVert.png Binary files differnew file mode 100644 index 0000000000..3ef30f9281 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosBleuVert.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosCyan.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosCyan.png Binary files differnew file mode 100644 index 0000000000..657f6db7b2 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosCyan.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosFuchsia.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosFuchsia.png Binary files differnew file mode 100644 index 0000000000..a3bb52b234 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosFuchsia.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosGris.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosGris.png Binary files differnew file mode 100644 index 0000000000..2de572d885 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosGris.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosJaune.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosJaune.png Binary files differnew file mode 100644 index 0000000000..ff91edf68d --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosJaune.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosMarron.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosMarron.png Binary files differnew file mode 100644 index 0000000000..d642a7ffc3 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosMarron.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosNavy.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosNavy.png Binary files differnew file mode 100644 index 0000000000..02b28c1c79 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosNavy.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosNoir.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosNoir.png Binary files differnew file mode 100644 index 0000000000..92372eee35 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosNoir.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosOlive.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosOlive.png Binary files differnew file mode 100644 index 0000000000..448f2cf417 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosOlive.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosRouge.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosRouge.png Binary files differnew file mode 100644 index 0000000000..b61e4340db --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosRouge.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosVert.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosVert.png Binary files differnew file mode 100644 index 0000000000..94c21d3e7a --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosVert.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosVertCitron.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosVertCitron.png Binary files differnew file mode 100644 index 0000000000..99d9fc0556 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosVertCitron.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosViolet.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosViolet.png Binary files differnew file mode 100644 index 0000000000..5045c055e7 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-DosViolet.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-JN.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-JN.png Binary files differnew file mode 100644 index 0000000000..1e287ce6e9 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-JN.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-JR.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-JR.png Binary files differnew file mode 100644 index 0000000000..ef264d8db2 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-JR.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RC.png Binary files differnew file mode 100644 index 0000000000..436762e578 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RK.png Binary files differnew file mode 100644 index 0000000000..7eaffc9b0e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RP.png Binary files differnew file mode 100644 index 0000000000..f6b6d41cc9 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RT.png Binary files differnew file mode 100644 index 0000000000..20692723c2 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-RT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VC.png Binary files differnew file mode 100644 index 0000000000..3656753196 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VK.png Binary files differnew file mode 100644 index 0000000000..8130833bc3 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VP.png Binary files differnew file mode 100644 index 0000000000..f7002e27b9 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VT.png Binary files differnew file mode 100644 index 0000000000..cda911b2fc --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Poker-VT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.png Binary files differnew file mode 100644 index 0000000000..99f8286180 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.png Binary files differnew file mode 100644 index 0000000000..2b04117df5 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.png Binary files differnew file mode 100644 index 0000000000..12971fcaab --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.png Binary files differnew file mode 100644 index 0000000000..2c853b1758 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.png Binary files differnew file mode 100644 index 0000000000..a8a6bca4df --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-10T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.png Binary files differnew file mode 100644 index 0000000000..9e8a68bb0d --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-11AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.png Binary files differnew file mode 100644 index 0000000000..067a4f86ea --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-12AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.png Binary files differnew file mode 100644 index 0000000000..6e5e238084 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-13AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.png Binary files differnew file mode 100644 index 0000000000..2a2129b944 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-14AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.png Binary files differnew file mode 100644 index 0000000000..dfe28537f8 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-15AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.png Binary files differnew file mode 100644 index 0000000000..5e6677b910 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-16AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.png Binary files differnew file mode 100644 index 0000000000..7520988052 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-17AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.png Binary files differnew file mode 100644 index 0000000000..39bb7f054a --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-18AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.png Binary files differnew file mode 100644 index 0000000000..74b6d63a3a --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-19AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.png Binary files differnew file mode 100644 index 0000000000..c597d451d8 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-1AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.png Binary files differnew file mode 100644 index 0000000000..c8f0e7c6e3 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-20AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.png Binary files differnew file mode 100644 index 0000000000..3f18693fdf --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-21AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.png Binary files differnew file mode 100644 index 0000000000..565a8bba92 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.png Binary files differnew file mode 100644 index 0000000000..e0b4d2b05c --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.png Binary files differnew file mode 100644 index 0000000000..a86d518c93 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.png Binary files differnew file mode 100644 index 0000000000..4f91a036a9 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.png Binary files differnew file mode 100644 index 0000000000..a80c47b6dc --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-2T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.png Binary files differnew file mode 100644 index 0000000000..cd0729efc7 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.png Binary files differnew file mode 100644 index 0000000000..a06a5d69a3 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.png Binary files differnew file mode 100644 index 0000000000..2138f6a8d8 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.png Binary files differnew file mode 100644 index 0000000000..2869a70e19 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.png Binary files differnew file mode 100644 index 0000000000..f5b7fce1f7 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-3T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.png Binary files differnew file mode 100644 index 0000000000..2c8b7392ef --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.png Binary files differnew file mode 100644 index 0000000000..19917255c8 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.png Binary files differnew file mode 100644 index 0000000000..21b0a5f57e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.png Binary files differnew file mode 100644 index 0000000000..b8ba63f36e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.png Binary files differnew file mode 100644 index 0000000000..5868cbdb0d --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-4T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.png Binary files differnew file mode 100644 index 0000000000..aedb0c4399 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.png Binary files differnew file mode 100644 index 0000000000..ef87bf92a2 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.png Binary files differnew file mode 100644 index 0000000000..9891e868a5 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.png Binary files differnew file mode 100644 index 0000000000..35bf65c381 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.png Binary files differnew file mode 100644 index 0000000000..c700fe0215 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-5T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.png Binary files differnew file mode 100644 index 0000000000..63b302112b --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.png Binary files differnew file mode 100644 index 0000000000..77c57f6362 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.png Binary files differnew file mode 100644 index 0000000000..30f171483a --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.png Binary files differnew file mode 100644 index 0000000000..f58346b8aa --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.png Binary files differnew file mode 100644 index 0000000000..41fd9df936 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-6T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.png Binary files differnew file mode 100644 index 0000000000..48492d74fc --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.png Binary files differnew file mode 100644 index 0000000000..db5748f145 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.png Binary files differnew file mode 100644 index 0000000000..c308120066 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.png Binary files differnew file mode 100644 index 0000000000..d2dc30f935 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.png Binary files differnew file mode 100644 index 0000000000..ce49ddd1a1 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-7T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.png Binary files differnew file mode 100644 index 0000000000..e8d50bf89f --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.png Binary files differnew file mode 100644 index 0000000000..9db298531a --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.png Binary files differnew file mode 100644 index 0000000000..ad2d973a57 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.png Binary files differnew file mode 100644 index 0000000000..4a4a763faa --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.png Binary files differnew file mode 100644 index 0000000000..68c7761162 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-8T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.png Binary files differnew file mode 100644 index 0000000000..e07ae08c57 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.png Binary files differnew file mode 100644 index 0000000000..ad8d90b1cb --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9C.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.png Binary files differnew file mode 100644 index 0000000000..300186f835 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9K.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.png Binary files differnew file mode 100644 index 0000000000..510803578f --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9P.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.png Binary files differnew file mode 100644 index 0000000000..2c5f6b7d5b --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-9T.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.png Binary files differnew file mode 100644 index 0000000000..7ef4682fb0 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.png Binary files differnew file mode 100644 index 0000000000..8658a7417f --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.png Binary files differnew file mode 100644 index 0000000000..d9f37790b1 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.png Binary files differnew file mode 100644 index 0000000000..a5bb6ff59e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-AT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.png Binary files differnew file mode 100644 index 0000000000..e4a74c9fa7 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.png Binary files differnew file mode 100644 index 0000000000..a16a9f4c3e --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.png Binary files differnew file mode 100644 index 0000000000..539819df05 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.png Binary files differnew file mode 100644 index 0000000000..fc45c569af --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-CT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.png Binary files differnew file mode 100644 index 0000000000..3ea415980b --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.png Binary files differnew file mode 100644 index 0000000000..5f520f9867 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.png Binary files differnew file mode 100644 index 0000000000..f5349b86e2 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.png Binary files differnew file mode 100644 index 0000000000..220287bb72 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-DT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.png Binary files differnew file mode 100644 index 0000000000..4cc36a5cf9 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Dos.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.png Binary files differnew file mode 100644 index 0000000000..560e1f1473 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-Exc.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.png Binary files differnew file mode 100644 index 0000000000..df94f090e4 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.png Binary files differnew file mode 100644 index 0000000000..cdc8117c37 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.png Binary files differnew file mode 100644 index 0000000000..642d4756bc --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.png Binary files differnew file mode 100644 index 0000000000..307f0efabc --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-RT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.png Binary files differnew file mode 100644 index 0000000000..ceacfaecfb --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VC.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.png Binary files differnew file mode 100644 index 0000000000..bc5598bb00 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VK.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.png Binary files differnew file mode 100644 index 0000000000..b2d53510f8 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VP.png diff --git a/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.png b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.png Binary files differnew file mode 100644 index 0000000000..73a743ad26 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/CaJ-Tarot-VT.png diff --git a/macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty b/macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty new file mode 100644 index 0000000000..5dfd0b5a03 --- /dev/null +++ b/macros/latex/contrib/jeuxcartes/tex/JeuxCartes.sty @@ -0,0 +1,368 @@ +% Author : C. Pierquet +% licence : Released under the LaTeX Project Public License v1.3c +% or later, see http://www.latex-project.org/lppl.txtf +% Poker cards Image's Licence : LGPL-2.1 license https://github.com/htdebeer/SVG-cards +% Tarot cards Image's Licence : Public Domain https://freesvg.org/deck-of-french-tarot-playing-cards + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{JeuxCartes}[2022/10/26 v0.1.2 Jeux de cartes] +% 0.1.2 Modification du nom (et de la source) des images de Tarot (CC0) +% 0.1.1 Ajout de commandes pour des mini-cartes +% 0.1 Version initiale + +%------Packages utiles +\RequirePackage{graphicx} +\RequirePackage[table,svgnames]{xcolor} +\RequirePackage{tikz} +\RequirePackage{pgf,pgffor} +\RequirePackage{xfp} +\RequirePackage{listofitems} +\RequirePackage{xstring} +\RequirePackage{xparse} +\RequirePackage{simplekv} +\RequirePackage{xinttools} +\RequirePackage{randomlist} +\RequirePackage{pifont} +%librairies tikz +\usetikzlibrary{calc,scopes} +%images venant de https://github.com/htdebeer/SVG-cards +%images venant de https://freesvg.org/deck-of-french-tarot-playing-cards + +%------Commande en ligne (includegraphics) via raisebox/rotatebox ou tikz +\defKV[AffCarteJeu]{% + Hauteur=\def\AffCarteJeuHauteur{#1},% + DecalageX=\def\AffCarteJeuDecalageX{#1},% + DecalageY=\def\AffCarteJeuDecalageY{#1},% + Rotation=\def\AffCarteJeuRotation{#1},% + AlignementV=\def\AffCarteJeuAlignementV{#1},% + TypeJeu=\def\AffCarteJeuType{#1} +} +\setKVdefault[AffCarteJeu]{% + Hauteur=4.25,% + Tikz=false,%pour placer la commande dans un environnement tikz ou en raisebox, + TikzAutonome=true,%pour déjà mettre l'image dans du tikz + DecalageX=0,% + DecalageY=0,% + Rotation=0,% + AlignementV=0.5,% + TypeJeu=Poker +} + +\NewDocumentCommand\AffCarteJeu{ O{} m }{%1=options,2=cartenommée + \useKVdefault[AffCarteJeu]% + \setKV[AffCarteJeu]{#1}% + %cas poker + \IfStrEq{\AffCarteJeuType}{Poker}%poker + {\def\CartePrefixe{CaJ-Poker-}}{}% + \IfStrEq{\AffCarteJeuType}{Tarot}%tarot + {\def\CartePrefixe{CaJ-Tarot-}}{}% + %transformation valign en tikz + \def\OptionTikzCBB{current bounding box.center}% + \IfStrEq{\AffCarteJeuAlignementV}{0}% + {\def\OptionTikzCBB{current bounding box.south}}{}% + \IfStrEq{\AffCarteJeuAlignementV}{1}% + {\def\OptionTikzCBB{current bounding box.north}}{}% + %affichage + \ifboolKV[AffCarteJeu]{Tikz}% + {% + \ifboolKV[AffCarteJeu]{TikzAutonome}% + {% + {\tikz[baseline=(\OptionTikzCBB)] \draw (\AffCarteJeuDecalageX,\AffCarteJeuDecalageY) node[above right=0pt,inner sep=0pt,outer sep=0pt,rotate=\AffCarteJeuRotation] {\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}} ;}% + }% + {% + \begin{scope}[shift={(\AffCarteJeuDecalageX,\AffCarteJeuDecalageY)}]% + \draw (0,0) node[above right=0pt,inner sep=0pt,outer sep=0pt,rotate=\AffCarteJeuRotation] {\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}} ;% + \end{scope}% + }% + }% + {% + \rotatebox[origin=c]{\AffCarteJeuRotation}{\raisebox{-\AffCarteJeuAlignementV\height}{\includegraphics[height=\AffCarteJeuHauteur cm]{\CartePrefixe#2}}}% + }% +} + +%------commande main cartes +\defKV[AffMainCartes]{% + Hauteur=\def\MainHauteur{#1},% + EspH=\def\MainDecalH{#1},% + EspV=\def\MainDecalV{#1},% + Rotation=\def\MainRotation{#1},% + TypeJeu=\def\MainJeuType{#1},% + AlignementV=\def\MainAlignementV{#1} +} +\setKVdefault[AffMainCartes]{% + Hauteur=4.25,% + EspH=1,% + EspV=0,% + Rotation=10,% + Eventail=false,% + TypeJeu=Poker,% + AlignementV=0.5 +} + +\NewDocumentCommand\CartesJeu{ O{} m }{%1=options,2=listecartes + \useKVdefault[AffMainCartes]% + \setKV[AffMainCartes]{#1}% + %calculs et traitement des variables + \ignoreemptyitems% + \setsepchar{§}% + \readlist*\ListeCartesMain{#2}% + \def\NbCartesMain{\ListeCartesMainlen}%nbcartes + \IfStrEq{\MainJeuType}{Poker}%poker + {\def\HauteurGenerique{8.5}\def\CarteMainPrefixe{CaJ-Poker-}}{}% + \IfStrEq{\MainJeuType}{Tarot}%tarot + {\def\HauteurGenerique{5.5}\def\CarteMainPrefixe{CaJ-Tarot-}}{}% + \def\EchelleCarteDecalage{\fpeval{\MainHauteur/\HauteurGenerique}}% + %transformation valign en tikz + \def\OptionTikzCBB{current bounding box.center}% + \IfStrEq{\MainAlignementV}{0}% + {\def\OptionTikzCBB{current bounding box.south}}{}% + \IfStrEq{\MainAlignementV}{1}% + {\def\OptionTikzCBB{current bounding box.north}}{}% + %environnement tikzpicture + \begin{tikzpicture}[baseline=(\OptionTikzCBB)]% + \foreach \i in {1,2,...,\ListeCartesMainlen}{% + \itemtomacro\ListeCartesMain[\i]\CarteMain% + \ifboolKV[AffMainCartes]{Eventail}% + {% + \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}% + \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}% + \def\DecAngleMain{\fpeval{0.5*\NbCartesMain*\MainRotation}}% + \AffCarteJeu[TypeJeu=\MainJeuType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageY=\MainOffset,DecalageX=\SecondOffset,Rotation={\DecAngleMain-(\i-1)*\MainRotation}]{\CarteMain}% + }% + {% + \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}% + \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}% + \AffCarteJeu[TypeJeu=\MainJeuType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageX=\MainOffset,DecalageY=\SecondOffset]{\CarteMain}% + }% + }%finpour + \end{tikzpicture}% +} + +%------commande main aléatoire +\defKV[AffMainAleaCartes]{% + Hauteur=\def\MainHauteur{#1},% + EspH=\def\MainDecalH{#1},% + EspV=\def\MainDecalV{#1},% + Rotation=\def\MainRotation{#1},% + TypeJeu=\def\MainJeuType{#1},% + AlignementV=\def\MainAlignementV{#1} +} +\setKVdefault[AffMainAleaCartes]{% + Hauteur=4.25,% + EspH=1,% + EspV=0,% + Rotation=10,% + Eventail=false,% + TypeJeu=Poker,% + AlignementV=0.5 +} + +\xdef\CartesJeuPoker{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK}% +\xdef\CartesJeuBelote{7P,8P,9P,10P,VP,DP,RP,AP,7T,8T,9T,10T,VT,DT,RT,AT,7C,8C,9C,10C,VC,DC,RC,AC,7K,8K,9K,10K,VK,DK,RK,AK}% +\xdef\CartesJeuBataille{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,DK,RK,AK,JN,JR}% +\xdef\CartesJeuTarot{2P,3P,4P,5P,6P,7P,8P,9P,10P,VP,CP,DP,RP,AP,2T,3T,4T,5T,6T,7T,8T,9T,10T,VT,CT,DT,RT,AT,2C,3C,4C,5C,6C,7C,8C,9C,10C,VC,CC,DC,RC,AC,2K,3K,4K,5K,6K,7K,8K,9K,10K,VK,CK,DK,RK,AK,1AT,2AT,3AT,4AT,5AT,6AT,7AT,8AT,9AT,10AT,11AT,12AT,13AT,14AT,15AT,16AT,17AT,18AT,19AT,20AT,21AT,Exc}% +\NewList{CartesJeuMelange} + +\NewDocumentCommand\CartesJeuAleatoire{ O{} m }{%1=options,2=nbcartes + \useKVdefault[AffMainAleaCartes]% + \setKV[AffMainAleaCartes]{#1}% + %calculs et traitement des variables + \IfStrEq{\MainJeuType}{Poker}%poker + {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,52-#2)}}}{}% + \IfStrEq{\MainJeuType}{Bataille}%bataille + {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,54-#2)}}}{}% + \IfStrEq{\MainJeuType}{Belote}%poker + {\def\HauteurGenerique{8.5}\def\CarteMainType{Poker}\xdef\CarteDebutRand{\fpeval{randint(0,32-#2)}}}{}% + \IfStrEq{\MainJeuType}{Tarot}%tarot + {\def\HauteurGenerique{6.375}\def\CarteMainType{Tarot}\xdef\CarteDebutRand{\fpeval{randint(0,78-#2)}}}{}% + %échelle relative des cartes + \def\EchelleCarteDecalage{\fpeval{\MainHauteur/\HauteurGenerique}}% + %transformation valign en tikz + \def\OptionTikzCBB{current bounding box.center}% + \IfStrEq{\MainAlignementV}{0}% + {\def\OptionTikzCBB{current bounding box.south}}{}% + \IfStrEq{\MainAlignementV}{1}% + {\def\OptionTikzCBB{current bounding box.north}}{}% + %melange du jeu + \ClearList{CartesJeuMelange}% + \IfStrEq{\MainJeuType}{Poker}%si c'est le poker + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuPoker}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% + \IfStrEq{\MainJeuType}{Bataille}%si c'est la bataille + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBataille}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% + \IfStrEq{\MainJeuType}{Belote}%si c'est le poker + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuBelote}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% + \IfStrEq{\MainJeuType}{Tarot}%si c'est le tarot + {% + \xintFor* ##1 in {\xintCSVtoList{\CartesJeuTarot}}% + \do{\InsertRandomItem{CartesJeuMelange}{##1}}% + }% + {}% + %environnement tikzpicture + \begin{tikzpicture}[baseline=(\OptionTikzCBB)]% + \foreach \i in {1,2,...,#2}{% + \GetItem{CartesJeuMelange}{\inteval{\CarteDebutRand+\i-1}}{CarteMainChoisie}% + %\itemtomacro\ListeCartesMain[\i]\CarteMain% + \ifboolKV[AffMainAleaCartes]{Eventail}% + {% + \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}% + \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}% + \def\DecAngleMain{\fpeval{0.5*#2*\MainRotation}}% + \AffCarteJeu[TypeJeu=\CarteMainType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageY=\MainOffset,DecalageX=\SecondOffset,Rotation={\DecAngleMain-(\i-1)*\MainRotation}]{\CarteMainChoisie}% + }% + {% + \def\MainOffset{\fpeval{\EchelleCarteDecalage*\MainDecalH*(\i-1)}}% + \def\SecondOffset{\fpeval{\EchelleCarteDecalage*\MainDecalV*(\i-1)}}% + \AffCarteJeu[TypeJeu=\CarteMainType,Tikz,TikzAutonome=false,Hauteur=\MainHauteur,DecalageX=\MainOffset,DecalageY=\SecondOffset]{\CarteMainChoisie}% + }% + }%finpour + \end{tikzpicture}% +} + +%------commande mini-cartes +\defKV[AffMiniCartes]{% + Largeur=\def\MiniCarteLargeur{#1}, + FondAtout=\def\MiniCarteFondAtout{#1} +} +\setKVdefault[AffMiniCartes]{% + Largeur=0.55cm,% + FondAtout=PeachPuff +} + +\NewDocumentCommand\MiniCarteJeu{ O{} m }{%1=options,2=nbcartes + \useKVdefault[AffMiniCartes]% + \setKV[AffMiniCartes]{#1}% + %découpage de l'argument + \StrCut{#2}{.}\csVal\csCplt% + %couleur de fond + \def\csFond{White}% + \def\csCoul{black}% + %le cas du 10.11...21 + \IfStrEq{\csVal}{10}{\def\csVal{\scalebox{0.5}[1]{10}}}{}% + \IfStrEq{\csVal}{11}{\def\csVal{\scalebox{0.5}[1]{11}}}{}% + \IfStrEq{\csVal}{12}{\def\csVal{\scalebox{0.5}[1]{12}}}{}% + \IfStrEq{\csVal}{13}{\def\csVal{\scalebox{0.5}[1]{13}}}{}% + \IfStrEq{\csVal}{14}{\def\csVal{\scalebox{0.5}[1]{14}}}{}% + \IfStrEq{\csVal}{15}{\def\csVal{\scalebox{0.5}[1]{15}}}{}% + \IfStrEq{\csVal}{16}{\def\csVal{\scalebox{0.5}[1]{16}}}{}% + \IfStrEq{\csVal}{17}{\def\csVal{\scalebox{0.5}[1]{17}}}{}% + \IfStrEq{\csVal}{18}{\def\csVal{\scalebox{0.5}[1]{18}}}{}% + \IfStrEq{\csVal}{19}{\def\csVal{\scalebox{0.5}[1]{19}}}{}% + \IfStrEq{\csVal}{20}{\def\csVal{\scalebox{0.5}[1]{20}}}{}% + \IfStrEq{\csVal}{21}{\def\csVal{\scalebox{0.5}[1]{21}}}{}% + %le cas du Excuse + \IfStrEq{#2}{Exc}% + {\def\csSymb{\ding{168}}\def\csCoul{blue}% + \def\csVal{\scalebox{0.33}[1]{EXC}}}{}% + %le cas du Joker + \IfStrEq{\csVal}{J}% + {\def\csSymb{\ding{166}}\def\csVal{\scalebox{0.5}[1]{JO}}}{}% + %si c'est un coeur + \IfStrEq{\csCplt}{C}% + {\def\csSymb{\ding{170}}\def\csCoul{red}}{}% + %si c'est un carreau + \IfStrEq{\csCplt}{K}% + {\def\csSymb{\ding{169}}\def\csCoul{red}}{}% + %si c'est un coeur + \IfStrEq{\csCplt}{P}% + {\def\csSymb{\ding{171}}}{}% + %si c'est un trèfle + \IfStrEq{\csCplt}{T}% + {\def\csSymb{\ding{168}}}{}% + %si c'est un atout 68 + \IfStrEq{\csCplt}{AT}% + {\def\csFond{\MiniCarteFondAtout}\def\csSymb{\ding{88}}}{}% + %si c'est un rouge + \IfStrEq{\csCplt}{R}% + {\def\csCoul{red}}{}% + %minicarte + \tikz[baseline=(char.base)]\node[anchor=north west,line width=0.7pt,draw=Gray,rectangle,rounded corners,inner sep=1.6pt,fill=\csFond,text=\csCoul,font=\ttfamily,minimum width=\MiniCarteLargeur](char){\csVal\scalebox{0.75}[0.75]{\csSymb}};% +} + +%------commande mini-main-cartes +\defKV[AffMiniMainCartes]{% + Largeur=\def\MiniMainLargeur{#1},% + FondAtout=\def\MiniMainFondAtout{#1} +} +\setKVdefault[AffMiniMainCartes]{% + Largeur=0.55cm,% + FondAtout=PeachPuff +} + +\NewDocumentCommand\MiniCartesJeu{ O{} m }{%1=options,2=liste + \useKVdefault[AffMiniMainCartes]% + \setKV[AffMiniMainCartes]{#1}% + \ignoreemptyitems% + \setsepchar{§}% + \readlist*\MiniCartesMain{#2}% + \foreachitem\MiniCarteAffich\in\MiniCartesMain{% + \MiniCarteJeu[FondAtout=\MiniMainFondAtout,Largeur=\MiniMainLargeur]{\MiniCarteAffich}% + }% +} + +%------commande mini-main aléatoire +\defKV[MiniMainAleaCartes]{% + Largeur=\def\MiniMainAleaLargeur{#1},% + TypeJeu=\def\MiniMainAleaType{#1},% + FondAtout=\def\MiniMainAleaFondAtout{#1} +} +\setKVdefault[MiniMainAleaCartes]{% + Largeur=0.55cm,% + TypeJeu=Poker,% + FondAtout=PeachPuff +} + +\xdef\MiniCartesJeuPoker{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K}% +\xdef\MiniCartesJeuBelote{7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K}% +\xdef\MiniCartesJeuBataille{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,D.K,R.K,A.K,J.N,J.R}% +\xdef\MiniCartesJeuTarot{2.P,3.P,4.P,5.P,6.P,7.P,8.P,9.P,10.P,V.P,C.P,D.P,R.P,A.P,2.T,3.T,4.T,5.T,6.T,7.T,8.T,9.T,10.T,V.T,C.T,D.T,R.T,A.T,2.C,3.C,4.C,5.C,6.C,7.C,8.C,9.C,10.C,V.C,C.C,D.C,R.C,A.C,2.K,3.K,4.K,5.K,6.K,7.K,8.K,9.K,10.K,V.K,C.K,D.K,R.K,A.K,1.AT,2.AT,3.AT,4.AT,5.AT,6.AT,7.AT,8.AT,9.AT,10.AT,11.AT,12.AT,13.AT,14.AT,15.AT,16.AT,17.AT,18.AT,19.AT,20.AT,21.AT,Exc}% +\NewList{MiniCartesJeuMelange} + +\NewDocumentCommand\MiniCartesJeuAleatoire{ O{} m }{%1=options,2=nbcartes + \useKVdefault[MiniMainAleaCartes]% + \setKV[MiniMainAleaCartes]{#1}% + %melange du jeu + \ClearList{MiniCartesJeuMelange}% + \IfStrEq{\MiniMainAleaType}{Poker}%si c'est le poker + {% + \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuPoker}}% + \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}% + }% + {}% + \IfStrEq{\MiniMainAleaType}{Bataille}%si c'est la bataille + {% + \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuBataille}}% + \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}% + }% + {}% + \IfStrEq{\MiniMainAleaType}{Belote}%si c'est le poker + {% + \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuBelote}}% + \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}% + }% + {}% + \IfStrEq{\MiniMainAleaType}{Tarot}%si c'est le tarot + {% + \xintFor* ##1 in {\xintCSVtoList{\MiniCartesJeuTarot}}% + \do{\InsertRandomItem{MiniCartesJeuMelange}{##1}}% + }% + {}% + %création de la main + \foreach \i in {1,2,...,#2}{% + \GetItem{MiniCartesJeuMelange}{\inteval{\i-1}}{MiniCarteMainChoisie}% + \MiniCarteJeu[FondAtout=\MiniMainAleaFondAtout,Largeur=\MiniMainAleaLargeur]{\MiniCarteMainChoisie}% + }%finpour +} + +\endinput
\ No newline at end of file diff --git a/macros/latex/contrib/newverbs/DEPENDS.txt b/macros/latex/contrib/newverbs/DEPENDS.txt new file mode 100644 index 0000000000..3eb96fe1c9 --- /dev/null +++ b/macros/latex/contrib/newverbs/DEPENDS.txt @@ -0,0 +1,4 @@ +hard shortvrb + +# patches tabularx if installed +# doconly ydoc
\ No newline at end of file diff --git a/macros/latex/contrib/newverbs/README b/macros/latex/contrib/newverbs/README.txt index 8d6c410c79..5920104e7a 100644 --- a/macros/latex/contrib/newverbs/README +++ b/macros/latex/contrib/newverbs/README.txt @@ -1,7 +1,12 @@ The 'newverbs' LaTeX package ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Copyright (c) 2010-2021 by Martin Scharrer <martin@scharrer-online.de> -Code repository: https://sourceforge.net/projects/newfloat/ +Copyright (c) 2010-2022 by Martin Scharrer <martin.scharrer@web.de> +License: LPPL v1.3c or later <https://www.latex-project.org/lppl/lppl-1-3c/> +CTAN: https://www.ctan.org/pkg/newverbs +Texdoc: https://texdoc.org/pkg/newverbs +Homepage: https://github.com/MartinScharrer/newverbs +Repository: https://github.com/MartinScharrer/newverbs.git +Issue tracker: https://github.com/MartinScharrer/newverbs/issues This package allows the definition of \verb variants which add TeX code before and after the verbatim text (e.g. quotes or \fbox{}). When used together with diff --git a/macros/latex/contrib/newverbs/newverbs.dtx b/macros/latex/contrib/newverbs/newverbs.dtx index 8c22b0229d..b2d0ceef9f 100644 --- a/macros/latex/contrib/newverbs/newverbs.dtx +++ b/macros/latex/contrib/newverbs/newverbs.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment %<=*COPYRIGHT> -%% Copyright (C) 2012-2021 by Martin Scharrer <martin@scharrer-online.de> +%% Copyright (c) 2012-2022 by Martin Scharrer <martin.scharrer@web.de> %% -------------------------------------------------------------------- %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,10 +23,10 @@ %<*driver> \ProvidesFile{newverbs.dtx}[% %<=*DATE> - 2021/01/06 + 2022/10/25 %<=/DATE> %<=*VERSION> - v1.6 + v1.6a %<=/VERSION> newverbs DTX file] \documentclass{ydoc} @@ -71,12 +71,14 @@ % \changes{v1.4}{2019/09/09}{Added several suggested changes.} % \changes{v1.5}{2020/09/02}{Added support for mathmode.} % \changes{v1.6}{2021/01/06}{Changed \cs{Verbdef} to define robust commands.} +% \changes{v1.6a}{2022/10/25}{Updated repository URL. Added DEPENDS.txt file.} % % \DoNotIndex{\newcommand,\newenvironment,\providecommand} % % \GetFileInfo{newverbs.dtx} % \author{Martin Scharrer} -% \email{martin@scharrer-online.de} +% \email{martin.scharrer@web.de} +% \github{MartinScharrer/newverbs} % \maketitle % % \begin{abstract} diff --git a/macros/latex/contrib/newverbs/newverbs.ins b/macros/latex/contrib/newverbs/newverbs.ins index a40a13d6ac..adfb447182 100644 --- a/macros/latex/contrib/newverbs/newverbs.ins +++ b/macros/latex/contrib/newverbs/newverbs.ins @@ -1,4 +1,4 @@ -% Copyright (c) 2010-2012 by Martin Scharrer <martin@scharrer-online.de> +% Copyright (c) 2010-2022 by Martin Scharrer <martin.scharrer@web.de> % See file 'newverbs.dtx' for copyright and licence information. diff --git a/macros/latex/contrib/newverbs/newverbs.pdf b/macros/latex/contrib/newverbs/newverbs.pdf Binary files differindex 2e8c79c684..0f3df1e1ea 100644 --- a/macros/latex/contrib/newverbs/newverbs.pdf +++ b/macros/latex/contrib/newverbs/newverbs.pdf diff --git a/macros/unicodetex/latex/polyglossia/README.md b/macros/unicodetex/latex/polyglossia/README.md index 4108d0d484..a1535f3c20 100644 --- a/macros/unicodetex/latex/polyglossia/README.md +++ b/macros/unicodetex/latex/polyglossia/README.md @@ -1,4 +1,4 @@ -# THE POLYGLOSSIA PACKAGE v1.57 +# THE POLYGLOSSIA PACKAGE v1.58 ## Multilingual typesetting with XeLaTeX and LuaLaTeX This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX. @@ -37,5 +37,5 @@ Except where otherwise noted, Polyglossia is placed under the terms of the MIT l If you run into a bug, or suspect you do, or you have a request or comment, please use the GitHub issue tracker: http://github.com/reutenauer/polyglossia/issues -This is more efficient than contacting the maintainer by email as it allows me +This is more efficient than contacting the maintainer by email as it allows us to track the issues and follow progress. diff --git a/macros/unicodetex/latex/polyglossia/polyglossia.dtx b/macros/unicodetex/latex/polyglossia/polyglossia.dtx index af83430c71..c73188a860 100644 --- a/macros/unicodetex/latex/polyglossia/polyglossia.dtx +++ b/macros/unicodetex/latex/polyglossia/polyglossia.dtx @@ -8,7 +8,7 @@ \iffalse %</internal> %<*README> -# THE POLYGLOSSIA PACKAGE v1.57 +# THE POLYGLOSSIA PACKAGE v1.58 ## Multilingual typesetting with XeLaTeX and LuaLaTeX This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX. @@ -47,7 +47,7 @@ Except where otherwise noted, Polyglossia is placed under the terms of the MIT l If you run into a bug, or suspect you do, or you have a request or comment, please use the GitHub issue tracker: http://github.com/reutenauer/polyglossia/issues -This is more efficient than contacting the maintainer by email as it allows me +This is more efficient than contacting the maintainer by email as it allows us to track the issues and follow progress. %</README> %<*internal> @@ -1640,14 +1640,14 @@ to track the issues and follow progress. % \subsection{hebrew}\label{hebrew} % \paragraph*{Options:} % \begin{itemize} -% \item \xpgboolkeyfalse[1.57]{fullyear} causes years from the current millenium to be printed with the thousands digit -% (he-tav-shin-samekh-gimel). Without this option, thousands are not printed for the current millenium. % \item \xpgchoicekey{numerals}{\xpgvalue{hebrew} or \xpgpresetvalue{arabic}} % \item \xpgchoicekey{calendar}{\xpgvalue{hebrew} or \xpgpresetvalue{gregorian}} % \item \xpgboolkeyfalse{marcheshvan} % If \xpgvalue{true}, the second month of the civil year will be output as % \texthebrew{מרחשון} (Marcheshvan) rather than \texthebrew{חשון} (Heshvan), % which is the default. +% \item \xpgboolkeyfalse[1.57]{fullyear} causes years from the current millennium to be printed with the thousands digit +% (he-tav-shin-samekh-gimel). Without this option, thousands are not printed for the current millennium. % \item \xpgchoicekey[1.57]{transliteration}{\xpgvalue{academy} or \xpgpresetvalue{alt}} With value \xpgvalue{academy}, transliteration % follows the recommendations of the Hebrew Language Academy. The default (\xpgvalue{alt}) uses the received settings of % \pkg{babel} (\pkg{hebcal}) and \pkg{polyglossia} (\pkg{hebrewcal}). @@ -1685,6 +1685,13 @@ to track the issues and follow progress. % \item ¦hheaders¦: Redefine part and chapter headings as well as running headers % \item ¦none¦: Do not redefine anything % \end{itemize} +% \item \xpgboolkeytrue[1.58]{forceheadingpunctuation} +% Section numbers always have a trailing punctuation in Hungarian (as in \emph{1.1.} as opposed to \emph{1.1}). +% For compatibility reasons, the default option is \xpgvalue{false}, thus \textsf{polyglossia} +% does not touch heading punctuation, so this will be whatever the class or a package determines. +% Set this option to \xpgvalue{true}, +% and \textsf{polyglossia} appends a period after the section counters, +% and adjusts the header punctuation (as in \emph{1. fejezet.} as opposed to \emph{1. fejezet}). % \end{itemize} % \paragraph*{Commands:} % \begin{itemize} @@ -2812,7 +2819,22 @@ to track the issues and follow progress. % \section{Revision history} % % \bgroup\footnotesize -% \subsection*{1.57 (18-07-2022)} +% \subsection*{1.58 (2022/10/26)} +% +% \subsubsection*{Bug fixes} +% \begin{itemize} +% \item The option \xpgoption{forceheadingpunctuation} is introduced +% for correct running headers in Hungarian documents (\TXI{557}). +% \item Fix language setting in list of figure and table if captions float to different +% language areas (\TXI{542}). +% \item Make Croatian digraphs robust (\TXI{552}). +% \item Fix definition of some Finnish shorthands (\TXI{554}). +% \item Re-fix Hungarian patching of parts with hyperref (\TXI{555}). +% \item Correct running headers in Hungarian documents (\TXI{557}). +% \item Fix option expansion issue (\TXI{559}). +% \end{itemize} +% +% \subsection*{1.57 (2022/07/18)} % % \subsubsection*{Bug fixes} % \begin{itemize} @@ -2829,7 +2851,7 @@ to track the issues and follow progress. % \item New option \xpgoption{fullyear} to Hebrew. % \end{itemize} % -% \subsection*{1.56 (20-04-2022)} +% \subsection*{1.56 (2022/04/20)} % % \subsubsection*{Bug fixes} % \begin{itemize} @@ -2837,14 +2859,14 @@ to track the issues and follow progress. % \end{itemize} % % -% \subsection*{1.55a (10-04-2022)} +% \subsection*{1.55a (2022/04/10)} % % \subsubsection*{Bug fixes} % \begin{itemize} % \item Fix \cmd\foreignlanguage\ command (\TXI{538}). % \end{itemize} % -% \subsection*{1.55 (09-04-2022)} +% \subsection*{1.55 (2022/04/09)} % % \subsubsection*{New features} % \begin{itemize} @@ -2857,7 +2879,7 @@ to track the issues and follow progress. % \item Add missing \texttt{gloss-latex.lde} file to release (\TXI{537}). % \end{itemize} % -% \subsection*{1.54 (27-03-2022)} +% \subsection*{1.54 (2022/03/27)} % % \subsubsection*{New features} % \begin{itemize} @@ -2899,7 +2921,7 @@ to track the issues and follow progress. % \end{itemize} % % -% \subsection*{1.53 (12-04-2021)} +% \subsection*{1.53 (2021/04/12)} % % \subsubsection*{New features} % \begin{itemize} @@ -2919,7 +2941,7 @@ to track the issues and follow progress. % \item Fix part modifications in Hungarian with \pkg{hyperref} (\TXI{493}). % \end{itemize} % -% \subsection*{1.52 (16-03-2021)} +% \subsection*{1.52 (2021/03/16)} % % \subsubsection*{New features} % \begin{itemize} @@ -2936,7 +2958,7 @@ to track the issues and follow progress. % \item Fix markup of French ¦\see¦ and ¦\alsoname¦ (\TXI{468}). % \end{itemize} % -% \subsection*{1.51 (08-12-2020)} +% \subsection*{1.51 (2020/12/08)} % % \subsubsection*{New features} % \begin{itemize} @@ -2957,14 +2979,14 @@ to track the issues and follow progress. % \end{itemize} % % -% \subsection*{1.50a (15-10-2020)} +% \subsection*{1.50a (2020/10/15)} % % \subsubsection*{Bug fixes} % \begin{itemize} % \item Assure ¦\autodot¦ is defined with ¦\KOMAScript¦ in Russian. % \end{itemize} % -% \subsection*{1.50 (09-10-2020)} +% \subsection*{1.50 (2020/10/09)} % % \subsubsection*{New features} % \begin{itemize} @@ -3030,7 +3052,7 @@ to track the issues and follow progress. % \end{itemize} % % -% \subsection*{1.49 (08-04-2020)} +% \subsection*{1.49 (2020/04/08)} % % \subsubsection*{New features} % \begin{itemize} @@ -3050,7 +3072,7 @@ to track the issues and follow progress. % \end{itemize} % % -% \subsection*{1.48 (25-03-2020)} +% \subsection*{1.48 (2020/03/25)} % % \begin{itemize} % \item No new features @@ -3076,7 +3098,7 @@ to track the issues and follow progress. % \item Use private macros in keyval choice keys (\TXI{390}). % \end{itemize} % -% \subsection*{1.47 (29-01-2020)} +% \subsection*{1.47 (2020/01/29)} % % \subsubsection*{New features} % \begin{itemize} @@ -3148,7 +3170,7 @@ to track the issues and follow progress. % 2020-01-12 at least. % \end{itemize} % -% \subsection*{1.46 (15-11-2019)} +% \subsection*{1.46 (2019/11/15)} % % \subsubsection*{New features} % \begin{itemize} @@ -3202,7 +3224,7 @@ to track the issues and follow progress. % space now instead of a ¦\thinspace¦ (cf. \TXI{345}). % \end{itemize} % -% \subsection*{1.45 (27-10-2019)} +% \subsection*{1.45 (2019/10/27)} % % \subsubsection*{New features} % \begin{itemize} @@ -3321,18 +3343,18 @@ to track the issues and follow progress. % \item Mention Japanese support in the docs. % \end{itemize} % -% \subsection*{1.44 (04-04-2019)} +% \subsection*{1.44 (2019/04/04)} % \begin{itemize} % \item Correction to Russian language file, by \TA{Maksim Zholudev} (commit d2f383e). % \item Added Macedonian language file, by \TA{Stefan Zlatinov} (commit cd379e1). % \end{itemize} % -% \subsection*{1.43 (05-03-2019)} +% \subsection*{1.43 (2019/03/05)} % \begin{itemize} % \item Correction to Hindi language file, by \TA{Zdenĕk Wagner}. % \end{itemize} % -% \subsection*{1.42.5 (13-04-2017)} +% \subsection*{1.42.5 (2017/04/13)} % \begin{itemize} % \item Many changes to the French language file, by \TA{Maïeul Rouquette}. % \end{itemize} @@ -3360,7 +3382,7 @@ to track the issues and follow progress. % \item Fixed issue \TXI{107} for Marathi (labels and month names) % \end{itemize} % -% \subsection*{1.42.0 (06-08-2015)} +% \subsection*{1.42.0 (2015/08/06)} % \begin{itemize} % \item Add Bengali digits package, and option to reset all numbering functions. % \item Add ¦long¦ option for Welsh date. @@ -3370,22 +3392,22 @@ to track the issues and follow progress. % \item Fixed error with British variant of English and LuaTeX (issue \TXI{86}). % \end{itemize} % -% \subsection*{1.41.0 (16-07-2015)} +% \subsection*{1.41.0 (2015/07/16)} % \begin{itemize} % \item Added support for Khmer, by \TA{Say Ol} (private email) % \end{itemize} % -% \subsection*{1.40.1 (14-07-2015)} +% \subsection*{1.40.1 (2015/07/14)} % \begin{itemize} % \item Bugfix for Korean, by \TA{Dohyun Kim} (pull request \TXI{103}) % \end{itemize} % -% \subsection*{1.40.0 (07-07-2015)} +% \subsection*{1.40.0 (2015/07/07)} % \begin{itemize} % \item ¦gloss-korean.ldf¦ contributed by \TA{Dohyun Kim} (pull request \TXI{102}) % \end{itemize} % -% \subsection*{1.33.7 (04-07-2015)} +% \subsection*{1.33.7 (2015/07/04)} % \begin{itemize} % \item Release to CTAN, no code change % \item Fixed extraneous space in code for Swiss German (pull request \TXI{101}) @@ -3402,14 +3424,14 @@ to track the issues and follow progress. % \item Enhanced Latin support by \TA{Claudio Beccari} % \end{itemize} % -% \subsection*{1.33.6 (15-05-2015)} +% \subsection*{1.33.6 (2015/05/15)} % \begin{itemize} % \item Introduce a ¦classical¦ and ¦medieval¦ variant of Latin % \item Add ¦\asbuk¦ and ¦\Asbuk¦ for Ukrainian (after their Russian counterpart) % \item Fix a number of bugs % \end{itemize} % -% \subsection*{1.33.5 (21-05-2014)} +% \subsection*{1.33.5 (2014/05/21)} % \begin{itemize} % \item Option to disable hyphenation entirely, by \TA{Élie Roux} % \item Fix spurious spaces in gloss-russian.ldf, by \TA{Oleg Domanov} @@ -3418,17 +3440,17 @@ to track the issues and follow progress. % \item Correction to the Lithuanian translations, by \TA{Ignas Anikevičius} % \end{itemize} % -% \subsection*{1.33.4 (27-06-2013)} +% \subsection*{1.33.4 (2013/06/27)} % \begin{itemize} % \item Emergency release for a bug introduced in ¦babelsh.def¦ % \end{itemize} % -% \subsection*{1.33.3 (28-05-2013)} +% \subsection*{1.33.3 (2013/05/28)} % \begin{itemize} % \item Changed formatting of some error messages (emergency fixes for TeX Live 2013) % \end{itemize} % -% \subsection*{1.33.2 (26-05-2013)} +% \subsection*{1.33.2 (2013/05/26)} % \begin{itemize} % \item Added ¦\disablehyphenation¦ and ¦\enablehyphenation¦, contributed by % \TA{Élie Roux}. @@ -3438,25 +3460,25 @@ to track the issues and follow progress. % \item Removed spurious space introduced by ¦\captionswedish¦. % \end{itemize} % -% \subsection*{1.33.1 (23-05-2013)} +% \subsection*{1.33.1 (2013/05/23)} % \begin{itemize} % \item Editorial changes to the documentation % \item Hunted and documented bugs % \end{itemize} % -% \subsection*{1.33.0 (20-05-2013)} +% \subsection*{1.33.0 (2013/05/20)} % \begin{itemize} % \item Added support for N’Ko. % \item Bugfixes for LuaTeX % \item More work in progress on Bidi in LuaTeX. % \end{itemize} % -% \subsection*{1.32.0 (15-05-2013)} +% \subsection*{1.32.0 (2013/05/15)} % \begin{itemize} % \item Transitional version to support right-to-left languages with LuaTeX. % \end{itemize} % -% \subsection*{1.31 (10-05-2013) / 1.3 (11-05-2013)} +% \subsection*{1.31 (2013/05/10) / 1.3 (2013/05/11)} % \begin{itemize} % \item Several bugfixes. % \item Sync with \pkg{babel} 3.9. @@ -3466,23 +3488,23 @@ to track the issues and follow progress. % \item Added support for Tibetan, contributed by \TA{Élie Roux} (end of lines are experimental). % \end{itemize} % -% \subsection*{1.30 (06-08-2012)} +% \subsection*{1.30 (2012/08/06)} % \begin{itemize} % \item Added support for LuaTeX. Many languages don’t work yet. Please be patient. % \end{itemize} % -% \subsection*{1.2.0e (28-04-2012)} +% \subsection*{1.2.0e (2012/04/28)} % \begin{itemize} % \item Fixed a number of outstanding and not very interesting bugs. % \item Added gloss files for Romansh and Friulan, contributed by \TA{Claudio Beccari}. % \end{itemize} % -% \subsection*{1.2.0d (12-01-2012)} +% \subsection*{1.2.0d (2012/01/12)} % \begin{itemize} % \item Removed ¦\makeatletter¦ and ¦\makeother¦ from gloss files entirely. % \end{itemize} % -% \subsection*{1.2.0c (12-10-2011) [First update by Arthur Reutenauer]} +% \subsection*{1.2.0c (2011/10/12) [First update by Arthur Reutenauer]} % \begin{itemize} % \item Update to ¦gloss-italian.ldf¦ by \TA{Claudio Beccari}, incorporating changes % by \TA{Enrico Gregorio}. @@ -3513,13 +3535,13 @@ to track the issues and follow progress. % \end{itemize} % \end{itemize} % -% \subsection*{1.2.0b (03-10-2011) [Update by Philipp Stephani]} +% \subsection*{1.2.0b (2011/10/03) [Update by Philipp Stephani]} % \begin{itemize} % \item Load \pkg{xkeyval} package explicitly since newer versions % of \pkg{fontspec} don't load it any more. % \end{itemize} % -% \subsection*{1.2.0a (27-07-2010) [Last update by François Charette]} +% \subsection*{1.2.0a (2010/07/27) [Last update by François Charette]} % \begin{itemize} % \item Initialize ¦\fontfamily¦ acc to value of ¦\familydefault¦ % (Fixes a bug when using \pkg{polyglossia} with beamer) @@ -3531,7 +3553,7 @@ to track the issues and follow progress. % \end{itemize} % % -% \subsection*{1.2.0 (15-07-2010)} +% \subsection*{1.2.0 (2010/07/15)} % \begin{itemize} % \item Adapted for \pkg{fontspec} 2.0 (will not work with earlier versions!) % \item New implementation of a ¦\PolyglossiaSetup¦ interface @@ -3563,7 +3585,7 @@ to track the issues and follow progress. % feature was deprecated since v1.1.0). % \end{itemize} % -% \subsection*{1.1.1 (23-03-2010)} +% \subsection*{1.1.1 (2010/03/23)} % \begin{itemize} % \item Bugfix for French: explicit spaces before/after double punctuation % signs (Par exemple : les grands « espaces » du Canada !) are @@ -3594,18 +3616,18 @@ to track the issues and follow progress. % \item Change ¦hyphenmins¦ for Sanskrit % \end{itemize} % -% \subsection*{1.1.0b (22-11-2009)} +% \subsection*{1.1.0b (2009/11/22)} % \begin{itemize} % \item Modify ¦\hyphenmins¦ for Sanskrit (\TA{Yves Codet}) % \item Bugfixes for Serbian and Bulgarian (\TA{Enrico Gregorio}) % \end{itemize} % -% \subsection*{1.1.0a (22-11-2009)} +% \subsection*{1.1.0a (2009/11/22)} % \begin{itemize} % \item Bugfix for interchar tokens % \end{itemize} % -% \subsection*{1.1.0 (20-11-2009)} +% \subsection*{1.1.0 (2009/11/20)} % \begin{itemize} % \item Use ¦\newXeTeXintercharclass¦ (thanks to \TA{Enrico Gregorio}) % \item Fixed implementation of shorthands for German (\pkg{babel} code in file ¦babelsh.def¦) @@ -3639,7 +3661,7 @@ to track the issues and follow progress. % \item Other minor bugfixes % \end{itemize} % -% \subsection*{1.0.2 (27-01-2009)} +% \subsection*{1.0.2 (2009/01/27)} % \begin{itemize} % \item Captions corrected in Hebrew, Russian and Spanish % \item Removed all ¦\text<lang>¦ wrappers within caption definitions @@ -3648,7 +3670,7 @@ to track the issues and follow progress. % \item New option \xpgoption{Script} for Sanskrit % \end{itemize} % -% \subsection*{1.0.1 (31-07-2008)} +% \subsection*{1.0.1 (2008/07/31)} % \begin{itemize} % \item Improved documentation (added sections on font setup and numeration mappings) % \item Improvements and bug fixes for English and German @@ -3657,7 +3679,7 @@ to track the issues and follow progress. % \item Added ¦gloss-amharic.ldf¦ (ported from ¦ethiop.ldf¦ in the package \pkg{ethiop}) % \end{itemize} % -% \subsection*{1.0 (13-07-2008)} +% \subsection*{1.0 (2008/07/13)} % \begin{itemize} % \item Initial release on CTAN. % \end{itemize} @@ -3694,10 +3716,10 @@ to track the issues and follow progress. % In alphabetical order: \TA{Ignas Anikevicius}, \TA{Sina Ahmadi}, \TA{Wouter Bolsterlee}, \TA{Christian Buhtz}, % \TA{Zgarbul Andrey}, \TA{Oleg Domanov}, user \TA{fakhriaunur}, \TA{Philipp Gesang}, \TA{Kevin Godby}, \TA{Enrico Gregorio}, % \TA{Khaled Hosny}, \TA{Najib Idrissi}, user \TA{julroy67}, \TA{Dohyun Kim}, \TA{Phil Kime}, \TA{Mike Kroutikov}, -% \TA{Ivan Kokan}, \TA{Caleb Maclennan}, \TA{José Mancera}, \TA{Miquel Ortega}, \TA{Yevgen Pogribnyi}, \TA{Will Robertson}, -% \TA{Maïeul Rouquette}, \TA{Elie Roux}, \TA{Hugo Roy}, \TA{Guy Rutenberg}, \TA{Marcin Serwin}, \TA{Philipp Stephani}, -% \TA{Niranjan Tambe}, \TA{Osman Tursun}, \TA{Keno Wehr}, \TA{Dominik Wujastyk}, \TA{Sertaç Ö. Yıldız}, \TA{Maksim Zholudev}, -% \TA{Yan Zhou}, and \TA{Stefan Zlatinov}. +% \TA{Ivan Kokan}, \TA{Caleb Maclennan}, \TA{Gyula Magyarkuti}, \TA{José Mancera}, \TA{Miquel Ortega}, \TA{Yevgen Pogribnyi}, +% \TA{Will Robertson}, \TA{Maïeul Rouquette}, \TA{Elie Roux}, \TA{Hugo Roy}, \TA{Guy Rutenberg}, \TA{Marcin Serwin}, +% \TA{Philipp Stephani}, \TA{Niranjan Tambe}, \TA{Osman Tursun}, \TA{Keno Wehr}, \TA{Dominik Wujastyk}, \TA{Sertaç Ö. Yıldız}, +% \TA{Maksim Zholudev}, \TA{Yan Zhou}, and \TA{Stefan Zlatinov}. % Their respective contributions can be identified from the contributor statistics on % \href{https://github.com/reutenauer/polyglossia/graphs/contributors}{GitHub}. % @@ -3723,7 +3745,7 @@ to track the issues and follow progress. % \subsection{polyglossia.sty} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{polyglossia}[2022/07/18 v1.57 +\ProvidesPackage{polyglossia}[2022/10/26 v1.58 Modern multilingual typesetting with XeLaTeX and LuaLaTeX] \RequirePackage{etoolbox} \RequirePackage{makecmds} @@ -5565,7 +5587,14 @@ to track the issues and follow progress. \__xpg_foreignlanguage:eeen {#1} {#2} {\xpg_alias_base_lang:n{#2}} {#3} } -% internal wrapper for foreing language +% Direct access to polyglossia@setforeignlanguage +% used in captions +\newcommand{\setforeignlanguage}[2][] +{ + \polyglossia@setforeignlanguage[#1]{#2}% +} + +% internal wrapper for foreign language % #1 option % #2 alias % #3 base lang @@ -5907,17 +5936,20 @@ to track the issues and follow progress. \ifx#1\\\\% \protected@write\@auxout{}{\protect\selectlanguage*{#2}}% \addtocontents{toc}{\protect\selectlanguage*{#2}}% - \addtocontents{lof}{\protect\selectlanguage*{#2}}% - \addtocontents{lot}{\protect\selectlanguage*{#2}}% \else \protected@write\@auxout{}{\protect\selectlanguage*[#1]{#2}}% \addtocontents{toc}{\protect\selectlanguage*[#1]{#2}}% - \addtocontents{lof}{\protect\selectlanguage*[#1]{#2}}% - \addtocontents{lot}{\protect\selectlanguage*[#1]{#2}}% \fi \fi } +% Since captions might float to other language regions, +% we need to change the language here (#542) +\AddToHook{cmd/caption/before}{% + \addtocontents{lof}{\protect\setforeignlanguage{\languagename}}% + \addtocontents{lot}{\protect\setforeignlanguage{\languagename}}% +} + % The bidi package swaps the output stream within RTL tables % (to get the column order right). This also swaps group % delimiters inserted to the aux files via otherlanguage (see #354). @@ -6172,7 +6204,7 @@ to track the issues and follow progress. \newcommand*\use@localhyphenmins[2][]{% \bgroup \polyglossia@error@iflangnotloaded:n{#2} - \setkeys{#2}{#1}% + \exp_args:Nne \setkeys{#2}{#1}% % Store BCP-47 id of language \tl_if_blank:nTF {#1}{% \ifcsundef{#2@gbcp47id}{% @@ -7018,6 +7050,11 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi} % % \subsection{polyglossia-french.lua} % \begin{macrocode} +-- +-- polyglossia-punct.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia-punct') local function set_left_space(lang, char, kern, rubber) @@ -7082,6 +7119,7 @@ polyglossia.deactivate_french_punct = deactivate_french_punct % \begin{macrocode} -- -- polyglossia-korean.lua +-- part of polyglossia v1.58 -- 2022/10/26 -- local glyph_id = node.id"glyph" @@ -7697,6 +7735,11 @@ prepend_to_callback ("hpack_filter", % % \subsection{polyglossia-latin.lua} % \begin{macrocode} +-- +-- polyglossia-latin.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia-punct') -- For ecclesiastic Latin (and sometimes for Italian) a very small space is @@ -7747,6 +7790,11 @@ polyglossia.deactivate_latin_punct = deactivate_latin_punct % % \subsection{polyglossia-punct.lua} % \begin{macrocode} +-- +-- polyglossia-punct.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia') -- just in case... local add_to_callback = luatexbase.add_to_callback @@ -8110,6 +8158,11 @@ polyglossia.clear_spaced_characters = clear_spaced_characters % % \subsection{polyglossia-sanskrit.lua} % \begin{macrocode} +-- +-- polyglossia-sanskrit.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia-punct') -- How do we now, in Lua, what a \thinspace is? In the LaTeX source (latex.ltx) @@ -8155,6 +8208,11 @@ polyglossia.deactivate_sanskrit_punct = deactivate_sanskrit_punct % % \subsection{polyglossia-tibt.lua} % \begin{macrocode} +-- +-- polyglossia-tibt.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia') -- just in case... local add_to_callback = luatexbase.add_to_callback @@ -8253,6 +8311,10 @@ polyglossia.desactivate_tibt_eol = desactivate % % \subsection{polyglossia.lua} % \begin{macrocode} +-- +-- polyglossia.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- local module_name = "polyglossia" local polyglossia_module = { @@ -9610,7 +9672,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-latex.lde} % \begin{macrocode} -\ProvidesLanguageDefinitionExtension{gloss-latex}{2021/07/10}{v1.53}{polyglossia: module for default language} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesLanguageDefinitionExtension{gloss-latex}{2022/10/26}{v1.58}{polyglossia: module for default language} \PolyglossiaSetup{latex}{ hyphennames={english}, @@ -9654,7 +9718,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-acadien.ldf} % \begin{macrocode} -\ProvidesFile{gloss-acadien.ldf}[polyglossia: module for canadian (acadian) french] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-acadien.ldf}[polyglossia: module for Canadian (Acadian) French] % We provide this as a babel alias @@ -9669,7 +9735,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-aeb.ldf} % \begin{macrocode} -\ProvidesFile{gloss-aeb.ldf}[polyglossia: module for aeb (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-aeb.ldf}[polyglossia: module for aeb (Arabic)] % We provide this as a bcp47-compliant alias @@ -9684,7 +9752,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-af.ldf} % \begin{macrocode} -\ProvidesFile{gloss-af.ldf}[polyglossia: module for af (afrikaans)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-af.ldf}[polyglossia: module for af (Afrikaans)] % We provide this as a bcp47-compliant alias @@ -9699,7 +9769,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-afb.ldf} % \begin{macrocode} -\ProvidesFile{gloss-afb.ldf}[polyglossia: module for afb (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-afb.ldf}[polyglossia: module for afb (Arabic)] % We provide this as a bcp47-compliant alias @@ -9714,7 +9786,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-afrikaans.ldf} % \begin{macrocode} -\ProvidesFile{gloss-afrikaans.ldf}[polyglossia: module for afrikaans] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-afrikaans.ldf}[polyglossia: module for Afrikaans] \PolyglossiaSetup{afrikaans}{ bcp47=af, @@ -9815,7 +9889,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-albanian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-albanian.ldf}[polyglossia: module for albanian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-albanian.ldf}[polyglossia: module for Albanian] \PolyglossiaSetup{albanian}{ bcp47=sq, @@ -9868,7 +9944,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-am.ldf} % \begin{macrocode} -\ProvidesFile{gloss-am.ldf}[polyglossia: module for am (amharic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-am.ldf}[polyglossia: module for am (Amharic)] % We provide this as a bcp47-compliant alias @@ -9883,7 +9961,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-american.ldf} % \begin{macrocode} -\ProvidesFile{gloss-american.ldf}[polyglossia: module for american english] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-american.ldf}[polyglossia: module for American English] % We provide this as a babel alias @@ -9898,7 +9978,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-amharic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-amharic.ldf}[polyglossia: module for amharic] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-amharic.ldf}[polyglossia: module for Amharic] \PolyglossiaSetup{amharic}{ bcp47=am, script=Ethiopic, @@ -10114,7 +10196,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-apd.ldf} % \begin{macrocode} -\ProvidesFile{gloss-apd.ldf}[polyglossia: module for apd (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-apd.ldf}[polyglossia: module for apd (Arabic)] % We provide this as a bcp47-compliant alias @@ -10129,7 +10213,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar-IQ.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar-IQ.ldf}[polyglossia: module for ar-IQ (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar-IQ.ldf}[polyglossia: module for ar-IQ (Arabic)] % We provide this as a bcp47-compliant alias @@ -10144,7 +10230,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar-JO.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar-JO.ldf}[polyglossia: module for ar-JO (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar-JO.ldf}[polyglossia: module for ar-JO (Arabic)] % We provide this as a bcp47-compliant alias @@ -10159,7 +10247,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar-LB.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar-LB.ldf}[polyglossia: module for ar-LB (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar-LB.ldf}[polyglossia: module for ar-LB (Arabic)] % We provide this as a bcp47-compliant alias @@ -10174,7 +10264,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar-MR.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar-MR.ldf}[polyglossia: module for ar-MR (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar-MR.ldf}[polyglossia: module for ar-MR (Arabic)] % We provide this as a bcp47-compliant alias @@ -10189,7 +10281,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar-PS.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar-PS.ldf}[polyglossia: module for ar-PS (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar-PS.ldf}[polyglossia: module for ar-PS (Arabic)] % We provide this as a bcp47-compliant alias @@ -10204,7 +10298,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar-SY.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar-SY.ldf}[polyglossia: module for ar-SY (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar-SY.ldf}[polyglossia: module for ar-SY (Arabic)] % We provide this as a bcp47-compliant alias @@ -10219,7 +10315,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar-YE.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar-YE.ldf}[polyglossia: module for ar-YE (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar-YE.ldf}[polyglossia: module for ar-YE (Arabic)] % We provide this as a bcp47-compliant alias @@ -10234,7 +10332,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ar.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ar.ldf}[polyglossia: module for ar (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ar.ldf}[polyglossia: module for ar (Arabic)] % We provide this as a bcp47-compliant alias @@ -10249,7 +10349,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-arabic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-arabic.ldf}[polyglossia: module for arabic] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-arabic.ldf}[polyglossia: module for Arabic] \RequireBidi \RequirePackage{arabicnumbers} \RequirePackage{hijrical} @@ -10517,7 +10619,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-armenian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-armenian.ldf}[polyglossia: module for armenian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-armenian.ldf}[polyglossia: module for Armenian] \PolyglossiaSetup{armenian}{ bcp47=hy, @@ -10702,7 +10806,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-arq.ldf} % \begin{macrocode} -\ProvidesFile{gloss-arq.ldf}[polyglossia: module for arq (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-arq.ldf}[polyglossia: module for arq (Arabic)] % We provide this as a bcp47-compliant alias @@ -10717,7 +10823,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ary.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ary.ldf}[polyglossia: module for ary (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ary.ldf}[polyglossia: module for ary (Arabic)] % We provide this as a bcp47-compliant alias @@ -10732,7 +10840,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-arz.ldf} % \begin{macrocode} -\ProvidesFile{gloss-arz.ldf}[polyglossia: module for arz (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-arz.ldf}[polyglossia: module for arz (Arabic)] % We provide this as a bcp47-compliant alias @@ -10747,7 +10857,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ast.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ast.ldf}[polyglossia: module for ast (asturian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ast.ldf}[polyglossia: module for ast (Asturian)] % We provide this as a bcp47-compliant alias @@ -10762,10 +10874,12 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-asturian.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% % Translated by Xuacu <xuacusk8 at gmail dot com> % Contributed by Kevin Godby <godbyk at gmail dot com> % -\ProvidesFile{gloss-asturian.ldf}[polyglossia: module for asturian] +\ProvidesFile{gloss-asturian.ldf}[polyglossia: module for Asturian] \PolyglossiaSetup{asturian}{ bcp47=ast, hyphennames={asturian,catalan}, @@ -10818,7 +10932,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-australian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-australian.ldf}[polyglossia: module for australian english] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-australian.ldf}[polyglossia: module for Australian English] % We provide this as a babel alias @@ -10833,7 +10949,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-austrian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-austrian.ldf}[polyglossia: module for austrian german (old spelling)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-austrian.ldf}[polyglossia: module for Austrian German (old spelling)] % We provide this as a babel alias @@ -10848,7 +10966,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ayl.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ayl.ldf}[polyglossia: module for ayl (arabic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ayl.ldf}[polyglossia: module for ayl (Arabic)] % We provide this as a bcp47-compliant alias @@ -10863,7 +10983,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bahasa.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bahasa.ldf}[polyglossia: module for bahasa indonesia] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bahasa.ldf}[polyglossia: module for Bahasa Indonesia] % We provide this as a babel alias @@ -10878,7 +11000,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bahasai.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bahasai.ldf}[polyglossia: module for bahasa indonesia] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bahasai.ldf}[polyglossia: module for Bahasa Indonesia] % We only provide this gloss for babel compatibility. Since bahasai is % a malay variety, we use 'malay' with variant 'indonesian' now. @@ -10894,7 +11018,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bahasam.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for bahasa melayu] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for Bahasa Melayu] % We only provide this gloss for babel compatibility. Since bahasam is % a malay variety, we use 'malay' with variant 'malaysian' now. @@ -10910,7 +11036,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-basque.ldf} % \begin{macrocode} -\ProvidesFile{gloss-basque.ldf}[polyglossia: module for basque] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-basque.ldf}[polyglossia: module for Basque] \PolyglossiaSetup{basque}{ bcp47=eu, hyphennames={basque}, @@ -10963,7 +11091,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-be-tarask.ldf} % \begin{macrocode} -\ProvidesFile{gloss-be-tarask.ldf}[polyglossia: module for be-tarask (belarusian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-be-tarask.ldf}[polyglossia: module for be-tarask (Belarusian)] % We provide this as a bcp47-compliant alias @@ -10978,7 +11108,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-be.ldf} % \begin{macrocode} -\ProvidesFile{gloss-be.ldf}[polyglossia: module for be (belarusian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-be.ldf}[polyglossia: module for be (Belarusian)] % We provide this as a bcp47-compliant alias @@ -10993,7 +11125,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-belarusian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-belarusian.ldf}[polyglossia: module for belarusian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-belarusian.ldf}[polyglossia: module for Belarusian] \RequirePackage{xpg-cyrillicnumbers} @@ -11315,10 +11449,12 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bengali.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% % Translations provided by সাজেদুর রহিম জোয়ারদার <toshazed@gmail.com> % TODO implement Bengali calendar -\ProvidesFile{gloss-bengali.ldf}[polyglossia: module for bengali] +\ProvidesFile{gloss-bengali.ldf}[polyglossia: module for Bengali] \RequirePackage{devanagaridigits} \RequirePackage{bengalidigits} @@ -11452,7 +11588,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bg.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bg.ldf}[polyglossia: module for bg (bulgarian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bg.ldf}[polyglossia: module for bg (Bulgarian)] % We provide this as a bcp47-compliant alias @@ -11467,7 +11605,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bn.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bn.ldf}[polyglossia: module for bn (bengali)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bn.ldf}[polyglossia: module for bn (Bengali)] % We provide this as a bcp47-compliant alias @@ -11482,7 +11622,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bo.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bo.ldf}[polyglossia: module for bo (tibetan)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bo.ldf}[polyglossia: module for bo (Tibetan)] % We provide this as a bcp47-compliant alias @@ -11497,7 +11639,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bosnian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bosnian.ldf}[polyglossia: module for bosnian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bosnian.ldf}[polyglossia: module for Bosnian] \PolyglossiaSetup{bosnian}{ bcp47=bs, @@ -11555,7 +11699,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-br.ldf} % \begin{macrocode} -\ProvidesFile{gloss-br.ldf}[polyglossia: module for br (breton)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-br.ldf}[polyglossia: module for br (Breton)] % We provide this as a bcp47-compliant alias @@ -11570,7 +11716,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-brazil.ldf} % \begin{macrocode} -\ProvidesFile{gloss-brazil.ldf}[polyglossia: module for brazilian portuguese] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-brazil.ldf}[polyglossia: module for Brazilian Portuguese] % We only provide this gloss for backwards compatibility. The name % 'brazil' was selected in accordance with babel. @@ -11587,7 +11735,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-breton.ldf} % \begin{macrocode} -\ProvidesFile{gloss-breton.ldf}[polyglossia: module for breton] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-breton.ldf}[polyglossia: module for Breton] \PolyglossiaSetup{breton}{ bcp47=br, hyphennames={breton}, @@ -11690,7 +11840,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-british.ldf} % \begin{macrocode} -\ProvidesFile{gloss-british.ldf}[polyglossia: module for british english] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-british.ldf}[polyglossia: module for British English] % We provide this as a babel alias @@ -11705,7 +11857,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bs.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bs.ldf}[polyglossia: module for bs (bosnian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bs.ldf}[polyglossia: module for bs (Bosnian)] % We provide this as a bcp47-compliant alias @@ -11720,7 +11874,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-bulgarian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for bulgarian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for Bulgarian] \PolyglossiaSetup{bulgarian}{ bcp47=bg, script=Cyrillic, @@ -11817,7 +11973,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ca.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ca.ldf}[polyglossia: module for ca (catalan)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ca.ldf}[polyglossia: module for ca (Catalan)] % We provide this as a bcp47-compliant alias @@ -11832,7 +11990,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-canadian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-canadian.ldf}[polyglossia: module for canadian english] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-canadian.ldf}[polyglossia: module for Canadian English] % We provide this as a babel alias @@ -11847,7 +12007,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-canadien.ldf} % \begin{macrocode} -\ProvidesFile{gloss-canadien.ldf}[polyglossia: module for canadian french] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-canadien.ldf}[polyglossia: module for Canadian French] % We provide this as a babel alias @@ -11862,7 +12024,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-catalan.ldf} % \begin{macrocode} -\ProvidesFile{gloss-catalan.ldf}[polyglossia: module for catalan] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-catalan.ldf}[polyglossia: module for Catalan] \PolyglossiaSetup{catalan}{ bcp47=ca, hyphennames={catalan}, @@ -12027,7 +12191,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ckb-Arab.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ckb-Arab.ldf}[polyglossia: module for ckb-Arab (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ckb-Arab.ldf}[polyglossia: module for ckb-Arab (Kurdish)] % We provide this as a bcp47-compliant alias @@ -12042,7 +12208,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ckb-Latn.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ckb-Latn.ldf}[polyglossia: module for ckb-Latn (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ckb-Latn.ldf}[polyglossia: module for ckb-Latn (Kurdish)] % We provide this as a bcp47-compliant alias @@ -12057,7 +12225,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ckb.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ckb.ldf}[polyglossia: module for ckb (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ckb.ldf}[polyglossia: module for ckb (Kurdish)] % We provide this as a bcp47-compliant alias @@ -12072,7 +12242,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-cop.ldf} % \begin{macrocode} -\ProvidesFile{gloss-cop.ldf}[polyglossia: module for cop (coptic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-cop.ldf}[polyglossia: module for cop (Coptic)] % We provide this as a bcp47-compliant alias @@ -12087,7 +12259,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-coptic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-coptic.ldf}[polyglossia: module for coptic] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-coptic.ldf}[polyglossia: module for Coptic] \PolyglossiaSetup{coptic}{ bcp47=cop, script=Coptic, @@ -12138,7 +12312,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-croatian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-croatian.ldf}[polyglossia: module for croatian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-croatian.ldf}[polyglossia: module for Croatian] \PolyglossiaSetup{croatian}{ bcp47=hr, langtag=HRV, @@ -12276,7 +12452,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages } % Provide croatian digraphs if available in current font -\def\xpg@hr@digraph#1#2{% +\protected\def\xpg@hr@digraph#1#2{% \bgroup% % 1. DŽ, Dž and dž \ifx#1D% @@ -12409,7 +12585,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-cy.ldf} % \begin{macrocode} -\ProvidesFile{gloss-cy.ldf}[polyglossia: module for cy (welsh)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-cy.ldf}[polyglossia: module for cy (Welsh)] % We provide this as a bcp47-compliant alias @@ -12424,7 +12602,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-cz.ldf} % \begin{macrocode} -\ProvidesFile{gloss-cz.ldf}[polyglossia: module for cz (czech)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-cz.ldf}[polyglossia: module for cz (Czech)] % We provide this as a bcp47-compliant alias @@ -12439,7 +12619,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-czech.ldf} % \begin{macrocode} -\ProvidesFile{gloss-czech.ldf}[polyglossia: module for czech] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-czech.ldf}[polyglossia: module for Czech] \PolyglossiaSetup{czech}{ bcp47=cz, @@ -12693,7 +12875,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-da.ldf} % \begin{macrocode} -\ProvidesFile{gloss-da.ldf}[polyglossia: module for da (danish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-da.ldf}[polyglossia: module for da (Danish)] % We provide this as a bcp47-compliant alias @@ -12708,7 +12892,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-danish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-danish.ldf}[polyglossia: module for danish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-danish.ldf}[polyglossia: module for Danish] \PolyglossiaSetup{danish}{ bcp47=da, hyphennames={danish}, @@ -12761,7 +12947,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-AT-1901.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-AT-1901.ldf}[polyglossia: module for de-AT-1901 (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-AT-1901.ldf}[polyglossia: module for de-AT-1901 (Austrian German, old spelling)] % We provide this as a bcp47-compliant alias @@ -12776,7 +12964,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-AT-1996.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-AT-1996.ldf}[polyglossia: module for de-AT-1996 (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-AT-1996.ldf}[polyglossia: module for de-AT-1996 (Austrian German)] % We provide this as a bcp47-compliant alias @@ -12791,7 +12981,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-AT.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-AT.ldf}[polyglossia: module for de-AT (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-AT.ldf}[polyglossia: module for de-AT (Austrian German)] % We provide this as a bcp47-compliant alias @@ -12806,7 +12998,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-CH-1901.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-CH-1901.ldf}[polyglossia: module for de-CH-1901 (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-CH-1901.ldf}[polyglossia: module for de-CH-1901 (Swiss German, old spelling)] % We provide this as a bcp47-compliant alias @@ -12821,7 +13015,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-CH-1996.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-CH-1996.ldf}[polyglossia: module for de-CH-1996 (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-CH-1996.ldf}[polyglossia: module for de-CH-1996 (Swiss German)] % We provide this as a bcp47-compliant alias @@ -12836,7 +13032,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-CH.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-CH.ldf}[polyglossia: module for de-CH (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-CH.ldf}[polyglossia: module for de-CH (Swiss German)] % We provide this as a bcp47-compliant alias @@ -12851,7 +13049,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-DE-1901.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-DE-1901.ldf}[polyglossia: module for de-DE-1901 (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-DE-1901.ldf}[polyglossia: module for de-DE-1901 (Germany's German, old spelling)] % We provide this as a bcp47-compliant alias @@ -12866,7 +13066,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-DE-1996.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-DE-1996.ldf}[polyglossia: module for de-DE-1996 (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-DE-1996.ldf}[polyglossia: module for de-DE-1996 (Germany's German)] % We provide this as a bcp47-compliant alias @@ -12881,7 +13083,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-DE.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-DE.ldf}[polyglossia: module for de-DE (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-DE.ldf}[polyglossia: module for de-DE (Germany's German)] % We provide this as a bcp47-compliant alias @@ -12896,7 +13100,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-AT-1901.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-AT-1901-Latf.ldf}[polyglossia: module for de-AT-1901-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-AT-1901-Latf.ldf}[polyglossia: module for de-AT-1901-Latf (Austrian German, old spelling)] % We provide this as a bcp47-compliant alias @@ -12911,7 +13117,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-AT-1996.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-AT-1996-Latf.ldf}[polyglossia: module for de-AT-1996-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-AT-1996-Latf.ldf}[polyglossia: module for de-AT-1996-Latf (Austrian German)] % We provide this as a bcp47-compliant alias @@ -12926,7 +13134,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-AT.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-AT-Latf.ldf}[polyglossia: module for de-AT-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-AT-Latf.ldf}[polyglossia: module for de-AT-Latf (Austrian German)] % We provide this as a bcp47-compliant alias @@ -12941,7 +13151,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-CH-1901.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-CH-1901-Latf.ldf}[polyglossia: module for de-CH-1901-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-CH-1901-Latf.ldf}[polyglossia: module for de-CH-1901-Latf (Swiss German, old spelling)] % We provide this as a bcp47-compliant alias @@ -12956,7 +13168,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-CH-1996.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-CH-1996-Latf.ldf}[polyglossia: module for de-CH-1996-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-CH-1996-Latf.ldf}[polyglossia: module for de-CH-1996-Latf (Swiss German)] % We provide this as a bcp47-compliant alias @@ -12971,7 +13185,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-CH.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-CH-Latf.ldf}[polyglossia: module for de-CH-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-CH-Latf.ldf}[polyglossia: module for de-CH-Latf (Swiss German)] % We provide this as a bcp47-compliant alias @@ -12986,7 +13202,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-DE-1901.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-DE-1901-Latf.ldf}[polyglossia: module for de-DE-1901-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-DE-1901-Latf.ldf}[polyglossia: module for de-DE-1901-Latf (Germany's German, old spelling)] % We provide this as a bcp47-compliant alias @@ -13001,7 +13219,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-DE-1996.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-DE-1996-Latf.ldf}[polyglossia: module for de-DE-1996-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-DE-1996-Latf.ldf}[polyglossia: module for de-DE-1996-Latf (Germany's German)] % We provide this as a bcp47-compliant alias @@ -13016,7 +13236,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf-DE.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-DE-Latf.ldf}[polyglossia: module for de-DE-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-DE-Latf.ldf}[polyglossia: module for de-DE-Latf (Germany's German)] % We provide this as a bcp47-compliant alias @@ -13031,7 +13253,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de-Latf.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de-Latf.ldf}[polyglossia: module for de-Latf (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de-Latf.ldf}[polyglossia: module for de-Latf (German)] % We provide this as a bcp47-compliant alias @@ -13046,7 +13270,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-de.ldf} % \begin{macrocode} -\ProvidesFile{gloss-de.ldf}[polyglossia: module for de (german)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-de.ldf}[polyglossia: module for de (German)] % We provide this as a bcp47-compliant alias @@ -13061,7 +13287,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-divehi.ldf} % \begin{macrocode} -\ProvidesFile{gloss-divehi.ldf}[polyglossia: module for divehi] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-divehi.ldf}[polyglossia: module for Divehi] \RequireBidi \PolyglossiaSetup{divehi}{ @@ -13124,7 +13352,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-dsb.ldf} % \begin{macrocode} -\ProvidesFile{gloss-dsb.ldf}[polyglossia: module for dsb (sorbian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-dsb.ldf}[polyglossia: module for dsb (Sorbian)] % We provide this as a bcp47-compliant alias @@ -13139,7 +13369,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-dutch.ldf} % \begin{macrocode} -\ProvidesFile{gloss-dutch.ldf}[polyglossia: module for dutch] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-dutch.ldf}[polyglossia: module for Dutch] \PolyglossiaSetup{dutch}{ bcp47=nl, hyphennames={dutch}, @@ -13240,7 +13472,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-dv.ldf} % \begin{macrocode} -\ProvidesFile{gloss-dv.ldf}[polyglossia: module for dv (divehi)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-dv.ldf}[polyglossia: module for dv (Divehi)] % We provide this as a bcp47-compliant alias @@ -13255,7 +13489,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-el-monoton.ldf} % \begin{macrocode} -\ProvidesFile{gloss-el-monoton.ldf}[polyglossia: module for el-monoton (greek)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-el-monoton.ldf}[polyglossia: module for el-monoton (Greek)] % We provide this as a bcp47-compliant alias @@ -13270,7 +13506,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-el-polyton.ldf} % \begin{macrocode} -\ProvidesFile{gloss-el-polyton.ldf}[polyglossia: module for el-polyton (greek)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-el-polyton.ldf}[polyglossia: module for el-polyton (Greek)] % We provide this as a bcp47-compliant alias @@ -13285,7 +13523,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-el.ldf} % \begin{macrocode} -\ProvidesFile{gloss-el.ldf}[polyglossia: module for el (greek)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-el.ldf}[polyglossia: module for el (Greek)] % We provide this as a bcp47-compliant alias @@ -13300,7 +13540,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-en-AU.ldf} % \begin{macrocode} -\ProvidesFile{gloss-en-AU.ldf}[polyglossia: module for en-AU (english)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-en-AU.ldf}[polyglossia: module for en-AU (Australian English)] % We provide this as a bcp47-compliant alias @@ -13315,7 +13557,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-en-CA.ldf} % \begin{macrocode} -\ProvidesFile{gloss-en-CA.ldf}[polyglossia: module for en-CA (english)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-en-CA.ldf}[polyglossia: module for en-CA (Canadan English)] % We provide this as a bcp47-compliant alias @@ -13330,7 +13574,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-en-GB.ldf} % \begin{macrocode} -\ProvidesFile{gloss-en-GB.ldf}[polyglossia: module for en-GB (english)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-en-GB.ldf}[polyglossia: module for en-GB (British English)] % We provide this as a bcp47-compliant alias @@ -13345,7 +13591,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-en-NZ.ldf} % \begin{macrocode} -\ProvidesFile{gloss-en-NZ.ldf}[polyglossia: module for en-NZ (english)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-en-NZ.ldf}[polyglossia: module for en-NZ (Newzealand English)] % We provide this as a bcp47-compliant alias @@ -13360,7 +13608,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-en-US.ldf} % \begin{macrocode} -\ProvidesFile{gloss-en-US.ldf}[polyglossia: module for en-US (english)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-en-US.ldf}[polyglossia: module for en-US (American English)] % We provide this as a bcp47-compliant alias @@ -13375,7 +13625,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-en.ldf} % \begin{macrocode} -\ProvidesFile{gloss-en.ldf}[polyglossia: module for en (english)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-en.ldf}[polyglossia: module for en (English)] % We provide this as a bcp47-compliant alias @@ -13390,7 +13642,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-english.ldf} % \begin{macrocode} -\ProvidesFile{gloss-english.ldf}[polyglossia: module for english] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-english.ldf}[polyglossia: module for English] \PolyglossiaSetup{english}{ bcp47=en-US, @@ -13596,7 +13850,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-eo.ldf} % \begin{macrocode} -\ProvidesFile{gloss-eo.ldf}[polyglossia: module for eo (esperanto)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-eo.ldf}[polyglossia: module for eo (Esperanto)] % We provide this as a bcp47-compliant alias @@ -13611,7 +13867,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-es-ES.ldf} % \begin{macrocode} -\ProvidesFile{gloss-es-ES.ldf}[polyglossia: module for es-ES (spanish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-es-ES.ldf}[polyglossia: module for es-ES (Spain's Spanish)] % We provide this as a bcp47-compliant alias @@ -13626,7 +13884,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-es-MX.ldf} % \begin{macrocode} -\ProvidesFile{gloss-es-MX.ldf}[polyglossia: module for es-MX (spanish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-es-MX.ldf}[polyglossia: module for es-MX (Mexican Spanish)] % We provide this as a bcp47-compliant alias @@ -13641,7 +13901,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-es.ldf} % \begin{macrocode} -\ProvidesFile{gloss-es.ldf}[polyglossia: module for es (spanish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-es.ldf}[polyglossia: module for es (Spanish)] % We provide this as a bcp47-compliant alias @@ -13656,7 +13918,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-esperanto.ldf} % \begin{macrocode} -\ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for esperanto] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-esperanto.ldf}[polyglossia: module for Esperanto] \PolyglossiaSetup{esperanto}{ bcp47=eo, hyphennames={esperanto}, @@ -13732,7 +13996,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-estonian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-estonian.ldf}[polyglossia: module for estonian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-estonian.ldf}[polyglossia: module for Estonian] \PolyglossiaSetup{estonian}{ bcp47=et, hyphennames={estonian}, @@ -13784,7 +14050,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-et.ldf} % \begin{macrocode} -\ProvidesFile{gloss-et.ldf}[polyglossia: module for et (estonian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-et.ldf}[polyglossia: module for et (Estonian)] % We provide this as a bcp47-compliant alias @@ -13799,7 +14067,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-eu.ldf} % \begin{macrocode} -\ProvidesFile{gloss-eu.ldf}[polyglossia: module for eu (basque)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-eu.ldf}[polyglossia: module for eu (Basque)] % We provide this as a bcp47-compliant alias @@ -13814,7 +14084,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-fa.ldf} % \begin{macrocode} -\ProvidesFile{gloss-fa.ldf}[polyglossia: module for fa (persian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-fa.ldf}[polyglossia: module for fa (Persian)] % We provide this as a bcp47-compliant alias @@ -13829,7 +14101,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-farsi.ldf} % \begin{macrocode} -\ProvidesFile{gloss-farsi.ldf}[polyglossia: module for farsi] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-farsi.ldf}[polyglossia: module for Farsi] % We only provide this gloss for babel compatibility. % The proper English language name is Persian. @@ -13845,7 +14119,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-fi.ldf} % \begin{macrocode} -\ProvidesFile{gloss-fi.ldf}[polyglossia: module for fi (finnish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-fi.ldf}[polyglossia: module for fi (Finnish)] % We provide this as a bcp47-compliant alias @@ -13860,7 +14136,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-finnish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-finnish.ldf}[polyglossia: module for finnish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-finnish.ldf}[polyglossia: module for Finnish] \PolyglossiaSetup{finnish}{ bcp47=fi, hyphennames={finnish}, @@ -13896,10 +14174,10 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages \bbl@activate{"}% \def\language@group{finnish}% \declare@shorthand{finnish}{"-}{\nobreak-\bbl@allowhyphens} - \declare@shorthand{finnish}{"|}{\textormath{\penalty@M\discretionary{-}{}{\kern.03em}}{}}% + \declare@shorthand{finnish}{"|}{\textormath{\penalty\@M\discretionary{-}{}{\kern.03em}}{}}% \declare@shorthand{finnish}{""}{\hskip\z@skip}% \declare@shorthand{finnish}{"~}{\textormath{\leavevmode\hbox{-}}{-}}% - \declare@shorthand{finnish}{"=}{\penalty@M-\hskip\z@skip}% + \declare@shorthand{finnish}{"=}{\penalty\@M-\hskip\z@skip}% \declare@shorthand{finnish}{"/}{\textormath {\bbl@allowhyphens\discretionary{/}{}{/}\bbl@allowhyphens}{}}% } @@ -13975,7 +14253,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-fr-CA.ldf} % \begin{macrocode} -\ProvidesFile{gloss-fr-CA.ldf}[polyglossia: module for fr-CA (french)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-fr-CA.ldf}[polyglossia: module for fr-CA (Canadian French)] % We provide this as a bcp47-compliant alias @@ -13990,7 +14270,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-fr-CH.ldf} % \begin{macrocode} -\ProvidesFile{gloss-fr-CH.ldf}[polyglossia: module for fr-CH (french)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-fr-CH.ldf}[polyglossia: module for fr-CH (Swiss French)] % We provide this as a bcp47-compliant alias @@ -14005,7 +14287,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-fr-FR.ldf} % \begin{macrocode} -\ProvidesFile{gloss-fr-FR.ldf}[polyglossia: module for fr-FR (french)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-fr-FR.ldf}[polyglossia: module for fr-FR (France's French)] % We provide this as a bcp47-compliant alias @@ -14020,7 +14304,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-fr.ldf} % \begin{macrocode} -\ProvidesFile{gloss-fr.ldf}[polyglossia: module for fr (french)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-fr.ldf}[polyglossia: module for fr (French)] % We provide this as a bcp47-compliant alias @@ -14035,7 +14321,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-french.ldf} % \begin{macrocode} -\ProvidesFile{gloss-french.ldf}[polyglossia: module for french] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-french.ldf}[polyglossia: module for French] \PolyglossiaSetup{french}{% bcp47=fr-FR, @@ -14555,7 +14843,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-friulan.ldf} % \begin{macrocode} -\ProvidesFile{gloss-friulan.ldf}[polyglossia: module for friulan] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-friulan.ldf}[polyglossia: module for Friulian] % We only provide this gloss for babel compatibility. @@ -14570,7 +14860,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-friulian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-friulian.ldf}[polyglossia: module for friulian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-friulian.ldf}[polyglossia: module for Friulian] \PolyglossiaSetup{friulian}{% bcp47=fur, @@ -14652,7 +14944,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-fur.ldf} % \begin{macrocode} -\ProvidesFile{gloss-fur.ldf}[polyglossia: module for fur (friulian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-fur.ldf}[polyglossia: module for fur (Friulian)] % We provide this as a bcp47-compliant alias @@ -14667,7 +14961,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ga.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ga.ldf}[polyglossia: module for ga (gaelic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ga.ldf}[polyglossia: module for ga (Gaelic)] % We provide this as a bcp47-compliant alias @@ -14682,7 +14978,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-gaelic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-gaelic.ldf}[polyglossia: module for gaelic] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-gaelic.ldf}[polyglossia: module for Gaelic] \PolyglossiaSetup{gaelic}{ bcp47=ga, @@ -14808,7 +15106,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-galician.ldf} % \begin{macrocode} -\ProvidesFile{gloss-galician.ldf}[polyglossia: module for galician] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-galician.ldf}[polyglossia: module for Galician] \PolyglossiaSetup{galician}{ bcp47=gl, hyphennames={galician}, @@ -14860,7 +15160,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-gd.ldf} % \begin{macrocode} -\ProvidesFile{gloss-gd.ldf}[polyglossia: module for gd (gaelic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-gd.ldf}[polyglossia: module for gd (Gaelic)] % We provide this as a bcp47-compliant alias @@ -14875,7 +15177,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-georgian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-georgian.ldf}[polyglossia: module for georgian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-georgian.ldf}[polyglossia: module for Georgian] \PolyglossiaSetup{georgian}{ bcp47=ka, @@ -15115,7 +15419,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-german.ldf} % \begin{macrocode} -\ProvidesFile{gloss-german.ldf}[polyglossia: module for german] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-german.ldf}[polyglossia: module for German] \PolyglossiaSetup{german}{ bcp47=de-DE, @@ -15447,7 +15753,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-germanb.ldf} % \begin{macrocode} -\ProvidesFile{gloss-germanb.ldf}[polyglossia: module for german (old spelling)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-germanb.ldf}[polyglossia: module for German (old spelling)] % We provide this as a babel alias @@ -15462,7 +15770,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-gl.ldf} % \begin{macrocode} -\ProvidesFile{gloss-gl.ldf}[polyglossia: module for gl (galician)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-gl.ldf}[polyglossia: module for gl (Galician)] % We provide this as a bcp47-compliant alias @@ -15477,7 +15787,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-grc.ldf} % \begin{macrocode} -\ProvidesFile{gloss-grc.ldf}[polyglossia: module for grc (greek)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-grc.ldf}[polyglossia: module for grc (Greek)] % We provide this as a bcp47-compliant alias @@ -15492,7 +15804,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-greek.ldf} % \begin{macrocode} -\ProvidesFile{gloss-greek.ldf}[polyglossia: module for greek] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-greek.ldf}[polyglossia: module for Greek] \PolyglossiaSetup{greek}{ bcp47=el-monoton, @@ -15910,7 +16224,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-he.ldf} % \begin{macrocode} -\ProvidesFile{gloss-he.ldf}[polyglossia: module for he (hebrew)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-he.ldf}[polyglossia: module for he (Hebrew)] % We provide this as a bcp47-compliant alias @@ -15925,7 +16241,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hebrew.ldf} % \begin{macrocode} -\ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for hebrew] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-hebrew.ldf}[polyglossia: module for Hebrew] \RequireBidi \RequirePackage{hebrewcal} @@ -15952,25 +16270,28 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages \define@key{hebrew}{fullyear}[true]{\setkeys{hebrewcal}{fullyear=#1}} \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% - \else% - \@calendar@hebrewfalse% - \fi} +\define@choicekey*+{hebrew}{calendar}[\xpg@val\xpg@nr]{hebrew,gregorian}[gregorian]{% + \ifcase\xpg@nr\relax + % hebrew: + \@calendar@hebrewtrue% + \or + % gregorian: + \@calendar@hebrewfalse% + \fi + \xpg@info{Option: Hebrew, calendar=\xpg@val}% +}{\xpg@warning{Unknown Hebrew calendar `#1'}} \newif\if@hebrew@numerals -\def\tmp@hebrew{hebrew} -\define@key{hebrew}{numerals}[arabic]{% - \def\@tmpa{#1}% - \ifx\@tmpa\tmp@hebrew% - \@hebrew@numeralstrue% - \else% - \@hebrew@numeralsfalse% - \fi} +\define@choicekey*+{hebrew}{numerals}[\xpg@val\xpg@nr]{hebrew,arabic}[arabic]{% + \ifcase\xpg@nr\relax + % hebrew: + \@hebrew@numeralstrue% + \or + % arabic: + \@hebrew@numeralsfalse% + \fi + \xpg@info{Option: Hebrew, numerals=\xpg@val}% +}{\xpg@warning{Unknown Hebrew numerals value `#1'}} \setkeys{hebrew}{numerals} @@ -16009,7 +16330,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages \hebrewnumber\day% \space ב\hebrewgregmonth{\month}\space% \hebrewnumber\year% - \fi}% + \fi% + }% } \def\hebrewgregmonth#1{\ifcase#1% @@ -16100,7 +16422,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hi.ldf} % \begin{macrocode} -\ProvidesFile{gloss-hi.ldf}[polyglossia: module for hi (hindi)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-hi.ldf}[polyglossia: module for hi (Hindi)] % We provide this as a bcp47-compliant alias @@ -16115,12 +16439,14 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hindi.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% % UTF-8 strings kindly provided by Zdenĕk Wagner, 10-03-2008 % with corrections and additional contributions by Anshuman Pandey % TODO: add option for velthuis transliteration with link to % Velthuis Devanagari project. -\ProvidesFile{gloss-hindi.ldf}[polyglossia: module for hindi] +\ProvidesFile{gloss-hindi.ldf}[polyglossia: module for Hindi] \RequirePackage{devanagaridigits} \PolyglossiaSetup{hindi}{ bcp47=hi, @@ -16238,7 +16564,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hr.ldf} % \begin{macrocode} -\ProvidesFile{gloss-hr.ldf}[polyglossia: module for hr (croatian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-hr.ldf}[polyglossia: module for hr (Croatian)] % We provide this as a bcp47-compliant alias @@ -16253,7 +16581,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hsb.ldf} % \begin{macrocode} -\ProvidesFile{gloss-hsb.ldf}[polyglossia: module for hsb (sorbian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-hsb.ldf}[polyglossia: module for hsb (Higher Sorbian)] % We provide this as a bcp47-compliant alias @@ -16268,7 +16598,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hu.ldf} % \begin{macrocode} -\ProvidesFile{gloss-hu.ldf}[polyglossia: module for hu (hungarian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-hu.ldf}[polyglossia: module for hu (Hungarian)] % We provide this as a bcp47-compliant alias @@ -16283,7 +16615,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hungarian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-hungarian.ldf}[polyglossia: module for hungarian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-hungarian.ldf}[polyglossia: module for Hungarian] \PolyglossiaSetup{hungarian}{ bcp47=hu, @@ -16340,8 +16674,14 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages \xpg@info{Option: Hungarian, swapstrings=\xpg@val}% }{\xpg@warning{Unknown Hungarian swapstrings value `#1'}} +% Force punctuation: 1) after section type counters; 2) after @chapapp in the running head +\define@boolkey{hungarian}[hungarian@]{forceheadingpunctuation}[true]{} + % Register default options -\xpg@initialize@gloss@options{hungarian}{swapstrings=all} +% forceheadinpunctuatin is recommended, but the default value is false for compatibility reasons +\xpg@initialize@gloss@options{hungarian}{swapstrings=all, + forceheadingpunctuation=false} + \def\hungarian@language{% \polyglossia@setup@language@patterns{hungarian}% @@ -16418,9 +16758,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages \if@hungarian@swapheadings % With titlesec \ifcsdef{titleformat}{% - \ifcsdef{H@old@part}{% Hyperref - \let\xpg@save@part@format\H@old@part% - \patchcmd{\H@old@part}% + \ifcsdef{NR@part}{% Hyperref (nameref) + \let\xpg@save@part@format\NR@part% + \patchcmd{\NR@part}% {\partname\nobreakspace\thepart}% {\thepart.\nobreakspace\partname}% {}% @@ -16462,9 +16802,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages {}% {\xpg@warning{Failed to patch chapter for Hungarian}}% }{}% - \ifcsdef{H@old@part}{% Hyperref - \let\xpg@save@part@format\H@old@part% - \patchcmd{\H@old@part}{\printpartname \partnamenum \printpartnum}% + \ifcsdef{NR@part}{% Hyperref (nameref) + \let\xpg@save@part@format\NR@part% + \patchcmd{\NR@part}{\printpartname \partnamenum \printpartnum}% {\printpartnum.\partnamenum\printpartname}% {}% {\xpg@warning{Failed to patch part for Hungarian}}% @@ -16487,13 +16827,13 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages {}% {\xpg@warning{Failed to patch chapter for Hungarian}}% }{}% - \ifcsdef{H@old@part}{% Hyperref - \let\xpg@save@part@format\H@old@part% - \patchcmd{\H@old@part}% + \ifcsdef{NR@part}{% Hyperref (nameref) + \let\xpg@save@part@format\NR@part% + \patchcmd{\NR@part}% {\partname\nobreakspace\thepart}% {\thepart.\nobreakspace\partname}% {}% - {\xpg@warning{Failed to patch part for Hungarian}}% + {\xpg@warning{Failed to patch part for Hungarian}}% }{% not hyperref \ifcsdef{@part}{% \let\xpg@save@part@format\@part% @@ -16515,7 +16855,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % With KOMA \let\xpg@save@chaptermark@format\chaptermarkformat% \renewcommand*\chaptermarkformat{% - \thechapter\autodot\ \IfChapterUsesPrefixLine{\chapapp\enskip}{}} + \thechapter\autodot\ \IfChapterUsesPrefixLine{\chapapp\@hungarian@forced@dot\enskip}{}} }{% (not \ifdefined\chapterformat) \ifcsdef{@memptsize}{% % With memoir @@ -16524,7 +16864,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages \markboth{\memUChead{% \ifnum \c@secnumdepth >\m@ne \ifbool{@mainmatter}{% - \thechapter.\ \@chapapp\ % + \thechapter.\ \@chapapp\@hungarian@forced@dot\ % }{}% \fi ##1}}{}}% @@ -16536,7 +16876,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages {\let\xpg@save@chaptermark@format\chaptermark% \patchcmd{\chaptermark}% {\@chapapp\ \thechapter.}% - {\thechapter.\ \@chapapp}% + {\thechapter.\ \@chapapp\@hungarian@forced@dot}% {}% {\xpg@warning{Failed to patch chaptermark for Hungarian}}}% {}% @@ -16556,8 +16896,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages \ifcsdef{titleformat}{% % With titlesec \ifcsdef{xpg@save@part@format}{% - \ifcsdef{H@old@part}{% - \let\H@old@part\xpg@save@part@format% + \ifcsdef{NR@part}{% + \let\NR@part\xpg@save@part@format% }{% \let\@part\xpg@save@part@format% }% @@ -16579,8 +16919,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages }{% % With memoir and standard classes \ifcsdef{xpg@save@part@format}{% - \ifcsdef{H@old@part}{% - \let\H@old@part\xpg@save@part@format% + \ifcsdef{NR@part}{% + \let\NR@part\xpg@save@part@format% }{% \let\@part\xpg@save@part@format% }% @@ -16606,16 +16946,62 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages }{}% (end \ifdefined\chaptermark) }% (end \ifdefined\chapterformat) } - +% Hungarian needs 1) trailing dots in chapter headings; 2) trailing dot in section, subsection, etc, counters +\def\@hungarian@forced@dot{} +\def\xpg@save@autodot{} +\ifdef{\KOMAScript}{% + \providecommand*\autodot{}% + \let\xpg@save@autodot\autodot% +}{} +% The following is based on some ideas from gloss-russian.ldf +\def\hungarian@sectsformat{% + \ifhungarian@forceheadingpunctuation% + \ifdef{\KOMAScript}{% + \renewcommand*\autodot{.}% + }{% + \def\@seccntformat##1{\csname pre##1\endcsname% + \csname the##1\endcsname% + \csname post##1\endcsname}% + \def\@aftersepkern{\hspace{0.5em}}% + \def\postchapter{.\@aftersepkern}% + \def\postsection{.\@aftersepkern}% + \def\postsubsection{.\@aftersepkern}% + \def\postsubsubsection{.\@aftersepkern}% + \def\postparagraph{.\@aftersepkern}% + \def\postsubparagraph{.\@aftersepkern}% + \def\prechapter{}% + \def\presection{}% + \def\presubsection{}% + \def\presubsubsection{}% + \def\preparagraph{}% + \def\presubparagraph{}% + }% + \def\@hungarian@forced@dot{.} + \fi% +} +% +\def\nohungarian@sectsformat{% + \ifhungarian@forceheadingpunctuation% + \ifdef{\KOMAScript}{% + \let\autodot\xpg@save@autodot% + }{% + \def\@seccntformat##1{\csname the##1\endcsname\quad}% = LaTeX kernel + }% + \fi% + \def\@hungarian@forced@dot{} +} +% \def\blockextras@hungarian{% \hungarian@capsformat% + \hungarian@sectsformat% } - +% \def\noextras@hungarian{% \nohungarian@capsformat% + \nohungarian@sectsformat% \let\ontoday\@undefined% } - +% % \end{macrocode} % \iffalse %</gloss-hungarian.ldf> @@ -16625,7 +17011,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-hy.ldf} % \begin{macrocode} -\ProvidesFile{gloss-hy.ldf}[polyglossia: module for hy (armenian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-hy.ldf}[polyglossia: module for hy (Armenian)] % We provide this as a bcp47-compliant alias @@ -16640,7 +17028,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ia.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ia.ldf}[polyglossia: module for ia (interlingua)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ia.ldf}[polyglossia: module for ia (Interlingua)] % We provide this as a bcp47-compliant alias @@ -16655,7 +17045,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-icelandic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for icelandic] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-icelandic.ldf}[polyglossia: module for Icelandic] \PolyglossiaSetup{icelandic}{ bcp47=is, hyphennames={icelandic}, @@ -16709,7 +17101,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-id.ldf} % \begin{macrocode} -\ProvidesFile{gloss-id.ldf}[polyglossia: module for id (malay)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-id.ldf}[polyglossia: module for id (Malay)] % We provide this as a bcp47-compliant alias @@ -16724,7 +17118,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-interlingua.ldf} % \begin{macrocode} -\ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for interlingua] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-interlingua.ldf}[polyglossia: module for Interlingua] \PolyglossiaSetup{interlingua}{ bcp47=ia, hyphennames={interlingua}, @@ -16778,7 +17174,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-irish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-irish.ldf}[polyglossia: module for irish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-irish.ldf}[polyglossia: module for Irish] % We only provide this gloss for babel compatibility. Since irish is % a gaelic variety, we use 'gaelic' with variant 'irish' now. @@ -16794,7 +17192,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-is.ldf} % \begin{macrocode} -\ProvidesFile{gloss-is.ldf}[polyglossia: module for is (icelandic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-is.ldf}[polyglossia: module for is (Icelandic)] % We provide this as a bcp47-compliant alias @@ -16809,7 +17209,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-it.ldf} % \begin{macrocode} -\ProvidesFile{gloss-it.ldf}[polyglossia: module for it (italian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-it.ldf}[polyglossia: module for it (Italian)] % We provide this as a bcp47-compliant alias @@ -16825,7 +17227,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % \subsection{gloss-italian.ldf} % \begin{macrocode} % !TEX encoding = UTF-8 Unicode -\ProvidesFile{gloss-italian.ldf}[polyglossia: module for italian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-italian.ldf}[polyglossia: module for Italian] \PolyglossiaSetup{italian}{ bcp47=it, hyphennames={italian}, @@ -16972,7 +17376,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ja.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ja.ldf}[polyglossia: module for ja (japanese)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ja.ldf}[polyglossia: module for ja (Japanese)] % We provide this as a bcp47-compliant alias @@ -16987,7 +17393,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-japanese.ldf} % \begin{macrocode} -\ProvidesFile{gloss-japanese.ldf}[polyglossia: module for japanese] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-japanese.ldf}[polyglossia: module for Japanese] \PolyglossiaSetup{japanese}{ bcp47=ja, @@ -17220,7 +17628,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ka.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ka.ldf}[polyglossia: module for ka (georgian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ka.ldf}[polyglossia: module for ka (Georgian)] % We provide this as a bcp47-compliant alias @@ -17236,6 +17646,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % \subsection{gloss-kannada.ldf} % \begin{macrocode} %% gloss-kannada.ldf +%% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +%% %% Copyright 2011 Aravinda VK <hallimanearavind AT gmail.com>, %% Shankar Prasad <prasad.mvs AT gmail.com>, %% Team Sanchaya <dev AT lists.sanchaya.net> @@ -17253,7 +17665,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % The Current Maintainer of this work is Aravinda VK <hallimanearavind AT gmail.com>. % % This work consists of the file gloss-kannada.ldf -\ProvidesFile{gloss-kannada.ldf}[polyglossia: module for kannada] +\ProvidesFile{gloss-kannada.ldf}[polyglossia: module for Kannada] \PolyglossiaSetup{kannada}{ bcp47=kn, @@ -17354,6 +17766,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-khmer.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% \ProvidesFile{gloss-khmer.ldf}[polyglossia: module for Khmer] \PolyglossiaSetup{khmer}{ bcp47=km, @@ -17521,7 +17935,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-km.ldf} % \begin{macrocode} -\ProvidesFile{gloss-km.ldf}[polyglossia: module for km (khmer)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-km.ldf}[polyglossia: module for km (Khmer)] % We provide this as a bcp47-compliant alias @@ -17536,7 +17952,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-kmr-Arab.ldf} % \begin{macrocode} -\ProvidesFile{gloss-kmr-Arab.ldf}[polyglossia: module for kmr-Arab (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-kmr-Arab.ldf}[polyglossia: module for kmr-Arab (Kurdish)] % We provide this as a bcp47-compliant alias @@ -17551,7 +17969,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-kmr-Latn.ldf} % \begin{macrocode} -\ProvidesFile{gloss-kmr-Latn.ldf}[polyglossia: module for kmr-Latn (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-kmr-Latn.ldf}[polyglossia: module for kmr-Latn (Kurdish)] % We provide this as a bcp47-compliant alias @@ -17566,7 +17986,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-kmr.ldf} % \begin{macrocode} -\ProvidesFile{gloss-kmr.ldf}[polyglossia: module for kmr (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-kmr.ldf}[polyglossia: module for kmr (Kurdish)] % We provide this as a bcp47-compliant alias @@ -17581,7 +18003,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-kn.ldf} % \begin{macrocode} -\ProvidesFile{gloss-kn.ldf}[polyglossia: module for kn (kannada)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-kn.ldf}[polyglossia: module for kn (Kannada)] % We provide this as a bcp47-compliant alias @@ -17596,7 +18020,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ko.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ko.ldf}[polyglossia: module for ko (korean)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ko.ldf}[polyglossia: module for ko (Korean)] % We provide this as a bcp47-compliant alias @@ -17611,6 +18037,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-korean.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% \ProvidesFile{gloss-korean.ldf}[polyglossia: module for Korean] \PolyglossiaSetup{korean}{ @@ -18087,7 +18515,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ku-Arab.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ku-Arab.ldf}[polyglossia: module for ku-Arab (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ku-Arab.ldf}[polyglossia: module for ku-Arab (Kurdish)] % We provide this as a bcp47-compliant alias @@ -18102,7 +18532,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ku-Latn.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ku-Latn.ldf}[polyglossia: module for ku-Latn (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ku-Latn.ldf}[polyglossia: module for ku-Latn (Kurdish)] % We provide this as a bcp47-compliant alias @@ -18117,7 +18549,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ku.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ku.ldf}[polyglossia: module for ku (kurdish)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ku.ldf}[polyglossia: module for ku (Kurdish)] % We provide this as a bcp47-compliant alias @@ -18132,6 +18566,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-kurdish.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% % Created on September 1, 2019 % Last updated on May 17, 2020 % Sina Ahmadi (ahmadi.sina@outlook.com) @@ -18536,7 +18972,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-kurmanji.ldf} % \begin{macrocode} -\ProvidesFile{gloss-kurmanji.ldf}[polyglossia: module for kurmanji kurdish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-kurmanji.ldf}[polyglossia: module for Kurmanji Kurdish] % We provide this gloss for babel compatibility. @@ -18551,7 +18989,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-la-x-classic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-la-xclassic.ldf}[polyglossia: module for la-xclassic (latin)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-la-xclassic.ldf}[polyglossia: module for la-xclassic (Latin)] % We provide this as a bcp47-compliant alias @@ -18566,7 +19006,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-la-x-ecclesia.ldf} % \begin{macrocode} -\ProvidesFile{gloss-la-xecclesiastic.ldf}[polyglossia: module for la-xecclesiastic (latin)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-la-xecclesiastic.ldf}[polyglossia: module for la-xecclesiastic (Latin)] % We provide this as a bcp47-compliant alias @@ -18581,7 +19023,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-la-x-medieval.ldf} % \begin{macrocode} -\ProvidesFile{gloss-la-xmedieval.ldf}[polyglossia: module for la-xmedieval (latin)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-la-xmedieval.ldf}[polyglossia: module for la-xmedieval (Latin)] % We provide this as a bcp47-compliant alias @@ -18596,7 +19040,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-la.ldf} % \begin{macrocode} -\ProvidesFile{gloss-la.ldf}[polyglossia: module for la (latin)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-la.ldf}[polyglossia: module for la (Latin)] % We provide this as a bcp47-compliant alias @@ -18611,6 +19057,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-lao.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% \ProvidesFile{gloss-lao.ldf}[polyglossia: module for Lao] \PolyglossiaSetup{lao}{ @@ -18718,7 +19166,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-latin.ldf} % \begin{macrocode} -\ProvidesFile{gloss-latin.ldf}[polyglossia: module for Latin v.2.5 2022-06-21] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-latin.ldf}[polyglossia: module for Latin] \ExplSyntaxOn @@ -19824,7 +20274,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-latinclassic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-latinclassic.ldf}[polyglossia: module for classic latin] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-latinclassic.ldf}[polyglossia: module for classic Latin] % We provide this as a babel alias @@ -19839,7 +20291,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-latinecclesiastic.ldf} % \begin{macrocode} -\ProvidesFile{gloss-latinecclesiastic.ldf}[polyglossia: module for ecclesiastic latin] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-latinecclesiastic.ldf}[polyglossia: module for ecclesiastic Latin] % We provide this as a babel alias @@ -19854,7 +20308,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-latinmedieval.ldf} % \begin{macrocode} -\ProvidesFile{gloss-latinmedieval.ldf}[polyglossia: module for medieval latin] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-latinmedieval.ldf}[polyglossia: module for medieval Latin] % We provide this as a babel alias @@ -19869,7 +20325,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-latvian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-latvian.ldf}[polyglossia: module for latvian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-latvian.ldf}[polyglossia: module for Latvian] \PolyglossiaSetup{latvian}{ bcp47=lv, hyphennames={latvian}, @@ -19922,9 +20380,11 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-lithuanian.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% % Translated by Paulius Sladkevičius <komsas@gmail.com> -\ProvidesFile{gloss-lithuanian.ldf}[polyglossia: module for lithuanian] +\ProvidesFile{gloss-lithuanian.ldf}[polyglossia: module for Lithuanian] \PolyglossiaSetup{lithuanian}{ bcp47=lt, hyphennames={lithuanian}, @@ -19999,7 +20459,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-lo.ldf} % \begin{macrocode} -\ProvidesFile{gloss-lo.ldf}[polyglossia: module for lo (lao)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-lo.ldf}[polyglossia: module for lo (Lao)] % We provide this as a bcp47-compliant alias @@ -20014,7 +20476,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-lowersorbian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-lowersorbian.ldf}[polyglossia: module for lower sorbian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-lowersorbian.ldf}[polyglossia: module for Lower Sorbian] % We provide this as a babel alias @@ -20029,7 +20493,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-lsorbian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for lower sorbian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for Lower Sorbian] % We only provide this gloss for babel compatibility. Since lsorbian is % a sorbian variety, we use 'sorbian' with variant 'lower' now. @@ -20045,7 +20511,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-lt.ldf} % \begin{macrocode} -\ProvidesFile{gloss-lt.ldf}[polyglossia: module for lt (lithuanian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-lt.ldf}[polyglossia: module for lt (Lithuanian)] % We provide this as a bcp47-compliant alias @@ -20060,7 +20528,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-lv.ldf} % \begin{macrocode} -\ProvidesFile{gloss-lv.ldf}[polyglossia: module for lv (latvian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-lv.ldf}[polyglossia: module for lv (Latvian)] % We provide this as a bcp47-compliant alias @@ -20075,7 +20545,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-macedonian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-macedonian.ldf}[polyglossia: module for macedonian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-macedonian.ldf}[polyglossia: module for Macedonian] \PolyglossiaSetup{macedonian}{ bcp47=mk, script=Cyrillic, @@ -20170,7 +20642,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-magyar.ldf} % \begin{macrocode} -\ProvidesFile{gloss-magyar.ldf}[polyglossia: module for magyar] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-magyar.ldf}[polyglossia: module for Hungarian (Magyar)] % We only provide this gloss for babel compatibility. @@ -20185,7 +20659,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-malay.ldf} % \begin{macrocode} -\ProvidesFile{gloss-malay.ldf}[polyglossia: module for malay] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-malay.ldf}[polyglossia: module for Malay] \RequirePackage{hijrical} @@ -20380,7 +20856,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-malayalam.ldf} % \begin{macrocode} -\ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for malayalam] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-malayalam.ldf}[polyglossia: module for Malayalam] % Translations provided by Kevin & Siji, 01-11-2009 @@ -20446,11 +20924,13 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-marathi.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% % Translations provided by Abhijit Navale <abhi_navale@live.in> % Ordinals (1-100) added by Niranjan Tambe <niranjanvikastambe@gmail.com> on 14th December, 2019 % TODO implement Hindu calendar (not used in day-to-day practice) -\ProvidesFile{gloss-marathi.ldf}[polyglossia: module for marathi] +\ProvidesFile{gloss-marathi.ldf}[polyglossia: module for Marathi] \RequirePackage{devanagaridigits} @@ -20590,7 +21070,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-mk.ldf} % \begin{macrocode} -\ProvidesFile{gloss-mk.ldf}[polyglossia: module for mk (macedonian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-mk.ldf}[polyglossia: module for mk (Macedonian)] % We provide this as a bcp47-compliant alias @@ -20605,7 +21087,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ml.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ml.ldf}[polyglossia: module for ml (malayalam)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ml.ldf}[polyglossia: module for ml (Malayalam)] % We provide this as a bcp47-compliant alias @@ -20620,7 +21104,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-mn.ldf} % \begin{macrocode} -\ProvidesFile{gloss-mn.ldf}[polyglossia: module for mn (mongolian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-mn.ldf}[polyglossia: module for mn (Mongolian)] % We provide this as a bcp47-compliant alias @@ -20635,7 +21121,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-mongolian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-mongolian.ldf}[polyglossia: module for mongolian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-mongolian.ldf}[polyglossia: module for Mongolian] \RequirePackage{xpg-cyrillicnumbers} @@ -20870,7 +21358,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-mr.ldf} % \begin{macrocode} -\ProvidesFile{gloss-mr.ldf}[polyglossia: module for mr (marathi)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-mr.ldf}[polyglossia: module for mr (Marathi)] % We provide this as a bcp47-compliant alias @@ -20885,7 +21375,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-naustrian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-naustrian.ldf}[polyglossia: module for austrian german (current spelling)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-naustrian.ldf}[polyglossia: module for Austrian German (current spelling)] % We provide this as a babel alias @@ -20900,7 +21392,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-nb.ldf} % \begin{macrocode} -\ProvidesFile{gloss-nb.ldf}[polyglossia: module for nb (norwegian)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-nb.ldf}[polyglossia: module for nb (Norwegian)] % We provide this as a bcp47-compliant alias @@ -20915,7 +21409,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-newzealand.ldf} % \begin{macrocode} -\ProvidesFile{gloss-newzealand.ldf}[polyglossia: module for newzealand english] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-newzealand.ldf}[polyglossia: module for Newzealand English] % We provide this as a babel alias @@ -20930,7 +21426,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ngerman.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ngerman.ldf}[polyglossia: module for german (current spelling)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ngerman.ldf}[polyglossia: module for German (current spelling)] % We provide this as a babel alias @@ -20945,7 +21443,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-nko.ldf} % \begin{macrocode} -\ProvidesFile{gloss-nko.ldf}[Polyglossia: module for N’Ko v0.1 2013/05/19] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-nko.ldf}[Polyglossia: module for N’Ko] \PolyglossiaSetup{nko}{% bcp47=nko, script=N'ko, @@ -21039,7 +21539,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-norsk.ldf} % \begin{macrocode} -\ProvidesFile{gloss-norsk.ldf}[polyglossia: module for norwegian (bokmal)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-norsk.ldf}[polyglossia: module for Norwegian (Bokmal)] % We only provide this gloss for babel compatibility. Since norsk is % actually norwegian bokmal, we use 'norwegian' with variant 'bokmal' now. @@ -21055,7 +21557,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-norwegian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-norwegian.ldf}[polyglossia: module for norwegian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-norwegian.ldf}[polyglossia: module for Norwegian] \PolyglossiaSetup{norwegian}{ bcp47=nn, hyphennames={nynorsk}, @@ -21178,7 +21682,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-nswissgerman.ldf} % \begin{macrocode} -\ProvidesFile{gloss-nswissgerman.ldf}[polyglossia: module for swiss german (current spelling)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-nswissgerman.ldf}[polyglossia: module for Swiss German (current spelling)] % We provide this as a babel alias @@ -21193,7 +21699,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-nynorsk.ldf} % \begin{macrocode} -\ProvidesFile{gloss-nynorsk.ldf}[polyglossia: module for norwegian (Nynorsk)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-nynorsk.ldf}[polyglossia: module for Norwegian (Nynorsk)] % We only provide this gloss for babel compatibility. Since nynorsk is % a norwegian variety, we use 'norwegian' with variant 'nynorsk' now. @@ -21209,6 +21717,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-occitan.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% %% %% This is file `gloss-occitan.ldf', %% generated with the docstrip utility. @@ -21226,8 +21736,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages %% Created by Cédric Valmary: cvalmary at yahoo dot fr %% of Tot en òc <http://www.totenoc.eu/> %% -\ProvidesFile{gloss-occitan.ldf}[2016/02/04 v0.3 polyglossia: - module for Occitan] +\ProvidesFile{gloss-occitan.ldf}[polyglossia: module for Occitan] + \PolyglossiaSetup{occitan}{ bcp47=oc, hyphennames={occitan}, @@ -21384,7 +21894,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-persian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-persian.ldf}[polyglossia: module for persian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-persian.ldf}[polyglossia: module for Persian] \RequireBidi \RequirePackage{arabicnumbers} @@ -21532,7 +22044,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % \subsection{gloss-piedmontese.ldf} % \begin{macrocode} % !TEX encoding = UTF-8 Unicode -\ProvidesFile{gloss-piedmontese.ldf}[2013/02/12 v1.0 polyglossia: module for piedmontese] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-piedmontese.ldf}[2013/02/12 v1.0 polyglossia: module for Piedmontese] \makeatletter \PolyglossiaSetup{piedmontese}{ bcp47=pms, @@ -21658,7 +22172,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-polish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-polish.ldf}[polyglossia: module for polish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-polish.ldf}[polyglossia: module for Polish] \PolyglossiaSetup{polish}{ bcp47=pl, @@ -21912,7 +22428,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-polutonikogreek.ldf} % \begin{macrocode} -\ProvidesFile{gloss-polutonikogreek.ldf}[polyglossia: module for polytonic greek] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-polutonikogreek.ldf}[polyglossia: module for polytonic Greek] % We provide this as a babel alias @@ -21927,7 +22445,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-portuges.ldf} % \begin{macrocode} -\ProvidesFile{gloss-portuges.ldf}[polyglossia: module for portuguese] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-portuges.ldf}[polyglossia: module for Portuguese] % We only provide this gloss for backwards compatibility. The name % 'portuges' was selected in accordance with babel (which probably @@ -21945,7 +22465,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-portuguese.ldf} % \begin{macrocode} -\ProvidesFile{gloss-portuguese.ldf}[polyglossia: module for portuguese] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-portuguese.ldf}[polyglossia: module for Portuguese] \PolyglossiaSetup{portuguese}{ bcp47=pt-PT, @@ -22170,7 +22692,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-romanian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-romanian.ldf}[polyglossia: module for romanian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-romanian.ldf}[polyglossia: module for Romanian] \PolyglossiaSetup{romanian}{ bcp47=ro, @@ -22225,7 +22749,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-romansh.ldf} % \begin{macrocode} -\ProvidesFile{gloss-romansh.ldf}[polyglossia: module for romansh] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-romansh.ldf}[polyglossia: module for Romansh] \makeatletter \PolyglossiaSetup{romansh}{% bcp47=rm, @@ -22279,7 +22805,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-russian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-russian.ldf}[polyglossia: module for russian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-russian.ldf}[polyglossia: module for Russian] \RequirePackage{xpg-cyrillicnumbers} @@ -22669,7 +23197,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-sami.ldf} % \begin{macrocode} -\ProvidesFile{gloss-sami.ldf}[polyglossia: module for sami] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-sami.ldf}[polyglossia: module for Sami] \PolyglossiaSetup{sami}{ bcp47=se, @@ -22769,7 +23299,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-samin.ldf} % \begin{macrocode} -\ProvidesFile{gloss-samin.ldf}[polyglossia: module for samin] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-samin.ldf}[polyglossia: module for Northern Sami] % We only provide this gloss for babel compatibility. Since samin is % a sami variety, we use 'sami' with variant 'northern' now. @@ -22785,7 +23317,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-sanskrit.ldf} % \begin{macrocode} -\ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for sanskrit] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-sanskrit.ldf}[polyglossia: module for Sanskrit] \RequirePackage{devanagaridigits} @@ -22937,7 +23471,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-scottish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-scottish.ldf}[polyglossia: module for scottish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-scottish.ldf}[polyglossia: module for Scottish Gaelic] % We only provide this gloss for babel compatibility. Since scottish is % a gaelic variety, we use 'gaelic' with variant 'scottish' now. @@ -22953,7 +23489,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-serbian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-serbian.ldf}[polyglossia: module for serbian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-serbian.ldf}[polyglossia: module for Serbian] %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 ! @@ -23259,7 +23797,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-serbianc.ldf} % \begin{macrocode} -\ProvidesFile{gloss-serbianc.ldf}[polyglossia: module for serbian (cyrillic)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-serbianc.ldf}[polyglossia: module for Serbian (cyrillic)] % We provide this as a babel alias @@ -23274,7 +23814,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-slovak.ldf} % \begin{macrocode} -\ProvidesFile{gloss-slovak.ldf}[polyglossia: module for slovak] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-slovak.ldf}[polyglossia: module for Slovak] \PolyglossiaSetup{slovak}{ bcp47=sk, @@ -23536,7 +24078,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-slovene.ldf} % \begin{macrocode} -\ProvidesFile{gloss-slovene.ldf}[polyglossia: module for slovenian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-slovene.ldf}[polyglossia: module for Slovenian] % We provide this as a babel alias @@ -23551,7 +24095,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-slovenian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-slovenian.ldf}[polyglossia: module for slovenian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-slovenian.ldf}[polyglossia: module for Slovenian] \PolyglossiaSetup{slovenian}{ bcp47=sl, @@ -23639,7 +24185,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-sorbian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-sorbian.ldf}[polyglossia: module for sorbian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-sorbian.ldf}[polyglossia: module for Sorbian] \PolyglossiaSetup{sorbian}{ bcp47=hsb, @@ -23826,7 +24374,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-spanish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-spanish.ldf}[polyglossia: module for spanish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-spanish.ldf}[polyglossia: module for Spanish] \PolyglossiaSetup{spanish}{ bcp47=es-ES, @@ -24061,7 +24611,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-spanishmx.ldf} % \begin{macrocode} -\ProvidesFile{gloss-spanishmx.ldf}[polyglossia: module for mexican spanish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-spanishmx.ldf}[polyglossia: module for Mexican Spanish] % We provide this as a babel alias @@ -24076,7 +24628,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-swedish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-swedish.ldf}[polyglossia: module for swedish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-swedish.ldf}[polyglossia: module for Swedish] \PolyglossiaSetup{swedish}{ bcp47=sv, @@ -24137,7 +24691,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-swissgerman.ldf} % \begin{macrocode} -\ProvidesFile{gloss-swissgerman.ldf}[polyglossia: module for swiss german (old spelling)] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-swissgerman.ldf}[polyglossia: module for Swiss German (old spelling)] % We provide this as a babel alias @@ -24152,7 +24708,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-syriac.ldf} % \begin{macrocode} -\ProvidesFile{gloss-syriac.ldf}[polyglossia: module for syriac] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-syriac.ldf}[polyglossia: module for Syriac] \RequireBidi \RequirePackage{arabicnumbers} @@ -24336,7 +24894,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-tamil.ldf} % \begin{macrocode} -\ProvidesFile{gloss-tamil.ldf}[polyglossia: module for tamil] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-tamil.ldf}[polyglossia: module for Tamil] % Translations provided by Kevin & Siji, 01-11-2009 @@ -24402,7 +24962,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-telugu.ldf} % \begin{macrocode} -\ProvidesFile{gloss-telugu.ldf}[polyglossia: module for telugu] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-telugu.ldf}[polyglossia: module for Telugu] % Translations provided by Anmol Sharma <unmole.in@gmail.com> @@ -24471,7 +25033,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-thai.ldf} % \begin{macrocode} -\ProvidesFile{gloss-thai.ldf}[polyglossia: module for thai] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-thai.ldf}[polyglossia: module for Thai] %% This is partly based on thai-latex for Babel: %%%% Copyright (C) 1999 - 2006 %%%% by Surapant Meknavin, @@ -24620,7 +25184,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-tibetan.ldf} % \begin{macrocode} -\ProvidesFile{gloss-tibetan.ldf}[polyglossia: module for tibetan] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-tibetan.ldf}[polyglossia: module for Tibetan] %% Copyright 2013 Elie Roux %% Under the CC0 license <http://creativecommons.org/publicdomain/zero/1.0/> %% @@ -24839,7 +25405,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-turkish.ldf} % \begin{macrocode} -\ProvidesFile{gloss-turkish.ldf}[polyglossia: module for turkish] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-turkish.ldf}[polyglossia: module for Turkish] \RequirePackage{hijrical} \PolyglossiaSetup{turkish}{ bcp47=tr, @@ -24953,7 +25521,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-turkmen.ldf} % \begin{macrocode} -\ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for turkmen] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-turkmen.ldf}[polyglossia: module for Turkmen] %% Translations provided by Nazar Annagurban <nazartm at gmail dot com> \PolyglossiaSetup{turkmen}{ bcp47=tk, @@ -25007,6 +25577,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ug.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% \ProvidesFile{gloss-ug.ldf}[polyglossia: module for ug (Uyghur)] % BCP 47 tag for Uyghur @@ -25021,7 +25593,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-ukrainian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for ukrainian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-ukrainian.ldf}[polyglossia: module for Ukrainian] % Strings taken from Babel % and revised by Roman Kyrylych @@ -25312,7 +25886,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-uppersorbian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-uppersorbian.ldf}[polyglossia: module for upper sorbian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-uppersorbian.ldf}[polyglossia: module for Upper Sorbian] % We provide this as a babel alias @@ -25327,6 +25903,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-urdu.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% %%% Adapted from a file contributed by Kamal Abdali \ProvidesFile{gloss-urdu.ldf}[polyglossia: module for Urdu] @@ -25481,7 +26059,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-usorbian.ldf} % \begin{macrocode} -\ProvidesFile{gloss-usorbian.ldf}[polyglossia: module for upper sorbian] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-usorbian.ldf}[polyglossia: module for Upper Sorbian] % We only provide this gloss for babel compatibility. Since usorbian is % a sorbian variety, we use 'sorbian' with variant 'upper' now. @@ -25497,6 +26077,8 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-uyghur.ldf} % \begin{macrocode} +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% \ProvidesFile{gloss-uyghur.ldf}[polyglossia: module for Uyghur] %% Translations provided by Osman Tursun (Github Account: neouyghur) @@ -25934,7 +26516,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-vietnamese.ldf} % \begin{macrocode} -\ProvidesFile{gloss-vietnamese.ldf}[polyglossia: module for vietnamese] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-vietnamese.ldf}[polyglossia: module for Vietnamese] %% Strings contributed by Daniel Owens < dhowens . pmbx . net > \PolyglossiaSetup{vietnamese}{ @@ -25989,7 +26573,9 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \subsection{gloss-welsh.ldf} % \begin{macrocode} -\ProvidesFile{gloss-welsh.ldf}[polyglossia: module for welsh] +% Language definition file (part of polyglossia v1.58 -- 2022/10/26) +% +\ProvidesFile{gloss-welsh.ldf}[polyglossia: module for Welsh] \PolyglossiaSetup{welsh}{ bcp47=cy, @@ -26210,6 +26796,11 @@ U+0039 <> U+0E59 ; % % \subsection{polyglossia-french.lua} % \begin{macrocode} +-- +-- polyglossia-punct.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia-punct') local function set_left_space(lang, char, kern, rubber) @@ -26274,6 +26865,7 @@ polyglossia.deactivate_french_punct = deactivate_french_punct % \begin{macrocode} -- -- polyglossia-korean.lua +-- part of polyglossia v1.58 -- 2022/10/26 -- local glyph_id = node.id"glyph" @@ -26889,6 +27481,11 @@ prepend_to_callback ("hpack_filter", % % \subsection{polyglossia-latin.lua} % \begin{macrocode} +-- +-- polyglossia-latin.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia-punct') -- For ecclesiastic Latin (and sometimes for Italian) a very small space is @@ -26939,6 +27536,11 @@ polyglossia.deactivate_latin_punct = deactivate_latin_punct % % \subsection{polyglossia-punct.lua} % \begin{macrocode} +-- +-- polyglossia-punct.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia') -- just in case... local add_to_callback = luatexbase.add_to_callback @@ -27302,6 +27904,11 @@ polyglossia.clear_spaced_characters = clear_spaced_characters % % \subsection{polyglossia-sanskrit.lua} % \begin{macrocode} +-- +-- polyglossia-sanskrit.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia-punct') -- How do we now, in Lua, what a \thinspace is? In the LaTeX source (latex.ltx) @@ -27347,6 +27954,11 @@ polyglossia.deactivate_sanskrit_punct = deactivate_sanskrit_punct % % \subsection{polyglossia-tibt.lua} % \begin{macrocode} +-- +-- polyglossia-tibt.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- + require('polyglossia') -- just in case... local add_to_callback = luatexbase.add_to_callback @@ -27445,6 +28057,10 @@ polyglossia.desactivate_tibt_eol = desactivate % % \subsection{polyglossia.lua} % \begin{macrocode} +-- +-- polyglossia.lua +-- part of polyglossia v1.58 -- 2022/10/26 +-- local module_name = "polyglossia" local polyglossia_module = { diff --git a/macros/unicodetex/latex/polyglossia/polyglossia.pdf b/macros/unicodetex/latex/polyglossia/polyglossia.pdf Binary files differindex c9d8dbbc9b..7aa9a9dd17 100644 --- a/macros/unicodetex/latex/polyglossia/polyglossia.pdf +++ b/macros/unicodetex/latex/polyglossia/polyglossia.pdf |