texlive[75058] Master/texmf-dist: cistercian (29apr25)
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 29 21:46:50 CEST 2025
Revision: 75058
https://tug.org/svn/texlive?view=revision&revision=75058
Author: karl
Date: 2025-04-29 21:46:50 +0200 (Tue, 29 Apr 2025)
Log Message:
-----------
cistercian (29apr25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/cistercian/cistercian-doc.pdf
trunk/Master/texmf-dist/doc/latex/cistercian/cistercian-doc.tex
trunk/Master/texmf-dist/tex/latex/cistercian/cistercian.sty
Modified: trunk/Master/texmf-dist/doc/latex/cistercian/cistercian-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/cistercian/cistercian-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cistercian/cistercian-doc.tex 2025-04-29 19:46:40 UTC (rev 75057)
+++ trunk/Master/texmf-dist/doc/latex/cistercian/cistercian-doc.tex 2025-04-29 19:46:50 UTC (rev 75058)
@@ -36,7 +36,7 @@
\url{https://github.com/samcarter/cistercian}\\
\url{https://ctan.org/pkg/cistercian}
}{samcarter}}
-\date{Version v0.4 \textendash{} 2025/04/24}
+\date{Version v0.5 \textendash{} 2025/04/29}
\packagename{cistercian}
\begin{document}
Modified: trunk/Master/texmf-dist/tex/latex/cistercian/cistercian.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/cistercian/cistercian.sty 2025-04-29 19:46:40 UTC (rev 75057)
+++ trunk/Master/texmf-dist/tex/latex/cistercian/cistercian.sty 2025-04-29 19:46:50 UTC (rev 75058)
@@ -12,9 +12,14 @@
% See https://www.latex-project.org/lppl.txt
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{cistercian}[2025/04/24 version v0.4 Cistercian numerals]
+\ProvidesPackage{cistercian}[2025/04/29 version v0.5 Cistercian numerals]
\RequirePackage{tikz}
+\pgfkeysifdefined{/tikz/actualtext/. at cmd}{
+}{
+ \pgfkeys{/pgf/actualtext/.code={}}
+}
+
\RequirePackage{etoolbox}
\newlength{\cistercian at I}
@@ -44,7 +49,7 @@
\ifnum#2<10000
\unless\ifnum#2<0
\setlength{\cistercian at I}{\fontcharht\font`I}%
- \begin{tikzpicture}[baseline,/cistercian/.cd,code={\pgfkeysalsofrom\cistercian at set},#1]%
+ \begin{tikzpicture}[baseline,/cistercian/.cd,code={\pgfkeysalsofrom\cistercian at set},#1,actualtext={#2}]%
%
% store scaling factor
\pgfgettransformentries{\tmpscaleA}{\tmpscaleB}{\tmpscaleC}{\tmpscaleD}{\tmp}{\tmp}%
@@ -70,7 +75,7 @@
\let\cistercian at thousands\pgfmathresult
%
% superimposing the digts by mirroring
- \ifnum#2=1881
+ \ifnum#2=\dimexpr\number`\^^@.\strip at pt\z@\the\tw@\number`Wpt\relax
\cistercian at peace{\cistercian at scalingfactor*\cistercian at stroke}{.5\cistercian at height-0.5*\cistercian at scalingfactor*\cistercian at stroke}
\else
\cistercian at digit{\cistercian at ones}{\cistercian at tens}{\cistercian at scalingfactor*\cistercian at stroke}
More information about the tex-live-commits
mailing list.