From e594fbde0a9dbce1013f92273b25a3124c6b77d9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 Dec 2021 21:17:05 +0000 Subject: xistercian (11dec21) git-svn-id: svn://tug.org/texlive/trunk@61271 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/xistercian/README.md | 2 +- .../texmf-dist/doc/latex/xistercian/xistercian.pdf | Bin 315178 -> 325294 bytes .../source/latex/xistercian/xistercian.dtx | 30 +++++++++++++-------- .../texmf-dist/tex/latex/xistercian/xistercian.sty | 9 +++++-- 4 files changed, 27 insertions(+), 14 deletions(-) diff --git a/Master/texmf-dist/doc/latex/xistercian/README.md b/Master/texmf-dist/doc/latex/xistercian/README.md index 27ad48ed64b..42fea466d4e 100644 --- a/Master/texmf-dist/doc/latex/xistercian/README.md +++ b/Master/texmf-dist/doc/latex/xistercian/README.md @@ -1,7 +1,7 @@ ------------------------------------------------------------------------------- # xistercian -- Cistercian numerals in LaTeX -Version 2021-11-23 v1.1 +Version 2021-11-23 v1.1a Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt diff --git a/Master/texmf-dist/doc/latex/xistercian/xistercian.pdf b/Master/texmf-dist/doc/latex/xistercian/xistercian.pdf index ee878c51f98..5f291a44e67 100644 Binary files a/Master/texmf-dist/doc/latex/xistercian/xistercian.pdf and b/Master/texmf-dist/doc/latex/xistercian/xistercian.pdf differ diff --git a/Master/texmf-dist/source/latex/xistercian/xistercian.dtx b/Master/texmf-dist/source/latex/xistercian/xistercian.dtx index 2398ac4dbeb..16382ad2cac 100644 --- a/Master/texmf-dist/source/latex/xistercian/xistercian.dtx +++ b/Master/texmf-dist/source/latex/xistercian/xistercian.dtx @@ -55,10 +55,11 @@ and the derived files xistercian.pdf \fi % \IfFileExists{xistercian.sty}{\RequirePackage[debug]{xistercian}}{} -\ProvidesFile{xistercian.dtx}[2021-11-23 v1.1 Cistercian numerals in LaTeX] +\ProvidesFile{xistercian.dtx}[2021-11-23 v1.1a Cistercian numerals in LaTeX] \PassOptionsToPackage{full}{textcomp} \documentclass{l3doc} \RequirePackage[fulloldstyle,nott]{kpfonts} +\RequirePackage{microtype} \RequirePackage{csquotes} \RequirePackage{tikz} \usetikzlibrary{arrows.meta} @@ -138,7 +139,7 @@ and the derived files xistercian.pdf \begin{document} \title{The \pkg{xistercian} package} \author{Jonathan P. Spratte\thanks{\protect\randomize{jspratte@yahoo.de}}} - \date{2021-11-23 v1.1} + \date{2021-11-23 v1.1a} \DocInput{xistercian.dtx} \end{document} %^^A=<< @@ -520,9 +521,9 @@ and the derived files xistercian.pdf % \begin{verbatim} % \cisterciansetup % { -% 5=triangle, -% 5=dot, 5=dot=.1ex, 5={dot=.1ex}, -% 5=dash, 5=dash=2, 5={dash=2} +% 5=triangle, 5={triangle}, +% 5=dot, 5={dot}, 5=dot=.1ex, 5={dot=.1ex}, +% 5=dash, 5={dash}, 5=dash=2, 5={dash=2} % } % \end{verbatim} % @@ -646,10 +647,11 @@ and the derived files xistercian.pdf % \clearpage % \section{Implementation} % -% First we load the required packages +% First we say who we are and load the required packages % \gobbledocstriptag %<*pkg> % \begin{macrocode} +\ProvidesPackage{xistercian}[2021-11-23 v1.1a Cistercian numerals in LaTeX] \RequirePackage{pgf,expkv-opt} % \end{macrocode} % @@ -1151,9 +1153,11 @@ and the derived files xistercian.pdf % Next we check whether the remaining number is empty. If that is the case we % use |\the\numexpr\relax| to throw a missing number error and produce just a % zero stem. Else we do a dry run over the input number to see how many -% leading zeros we must pad to get blocks of four. The two blocks of |@@@@| -% serve as end markers since each step of both \cs{xister@c} and -% \cs{xister@symbols} will grab four digits. +% leading zeros we must pad to get blocks of four. The two blocks of |@|s +% serve as end markers since each step of both \cs{xister@c} grabs eight and +% each of \cs{xister@symbols} will grab four digits. The \cs{xister@c} is +% used to put enough zeros in front of our number such that it consists of +% blocks of four digits. % \begin{macrocode} \def\xister@b#1@% {% @@ -1162,15 +1166,19 @@ and the derived files xistercian.pdf \xister@symbols0000@@@@% \expandafter\@gobbletwo \fi - \@firstofone{\xister@c#1@@@@\relax#1@@@@}% + \@firstofone{\xister@c#1@@@@@@@@\relax#1@@@@}% } -\def\xister@c#1#2#3#4% +\def\xister@c#1#2#3#4#5#6#7#8% {% \xister@gobbletoat #1\xister@d{}% #2\xister@d{000}% #3\xister@d{00}% #4\xister@d0% + #5\xister@d{}% + #6\xister@d{000}% + #7\xister@d{00}% + #8\xister@d0% @\xister@c } \def\xister@d#1#2@\xister@c#3\relax{\xister@symbols#1} diff --git a/Master/texmf-dist/tex/latex/xistercian/xistercian.sty b/Master/texmf-dist/tex/latex/xistercian/xistercian.sty index 4726a236ef1..05e818dba95 100644 --- a/Master/texmf-dist/tex/latex/xistercian/xistercian.sty +++ b/Master/texmf-dist/tex/latex/xistercian/xistercian.sty @@ -29,6 +29,7 @@ %% and the derived files xistercian.pdf %% xistercian.sty %% +\ProvidesPackage{xistercian}[2021-11-23 v1.1a Cistercian numerals in LaTeX] \RequirePackage{pgf,expkv-opt} \newcommand*\xister@th{.1ex} \newcommand*\xister@tv{.18ex} @@ -352,15 +353,19 @@ \xister@symbols0000@@@@% \expandafter\@gobbletwo \fi - \@firstofone{\xister@c#1@@@@\relax#1@@@@}% + \@firstofone{\xister@c#1@@@@@@@@\relax#1@@@@}% } -\def\xister@c#1#2#3#4% +\def\xister@c#1#2#3#4#5#6#7#8% {% \xister@gobbletoat #1\xister@d{}% #2\xister@d{000}% #3\xister@d{00}% #4\xister@d0% + #5\xister@d{}% + #6\xister@d{000}% + #7\xister@d{00}% + #8\xister@d0% @\xister@c } \def\xister@d#1#2@\xister@c#3\relax{\xister@symbols#1} -- cgit v1.2.3