texlive[74955] Master/texmf-dist: cistercian (15apr25)
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 15 21:58:53 CEST 2025
Revision: 74955
https://tug.org/svn/texlive?view=revision&revision=74955
Author: karl
Date: 2025-04-15 21:58:53 +0200 (Tue, 15 Apr 2025)
Log Message:
-----------
cistercian (15apr25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/cistercian/DEPENDS.txt
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/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/cistercian/DEPENDS.txt 2025-04-15 19:58:42 UTC (rev 74954)
+++ trunk/Master/texmf-dist/doc/latex/cistercian/DEPENDS.txt 2025-04-15 19:58:53 UTC (rev 74955)
@@ -1,3 +1,4 @@
hard pgf
hard iftex
hard epstopdf-pkg
+hard etoolbox
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-15 19:58:42 UTC (rev 74954)
+++ trunk/Master/texmf-dist/doc/latex/cistercian/cistercian-doc.tex 2025-04-15 19:58:53 UTC (rev 74955)
@@ -36,7 +36,7 @@
\url{https://github.com/samcarter/cistercian}\\
\url{https://ctan.org/pkg/cistercian}
}{samcarter}}
-\date{Version v0.2 \textendash{} 2025/04/14}
+\date{Version v0.3 \textendash{} 2025/04/15}
\packagename{cistercian}
\begin{document}
@@ -54,7 +54,7 @@
The \saminline|cistercian| package is meant for displaying Cistercian numerals in \LaTeX{}.
It was inspired by the Numberphile video ``The Forgotten Number System''\footnote{\url{https://www.youtube.com/watch?v=9p55Qgt7Ciw}}. Many thanks to Paulo Cereda for bringing this video to my attention!
-\blurb*
+\blurb
\section{Cistercian numerals}
@@ -146,18 +146,9 @@
}
\end{tcblisting}
-%\section{Testing}
-%
-%\cistercianset{%
-% height=1cm,
-%% width=0.2cm,
-%% stroke=0.1cm,
-% draw=red,
-%%line join=bevel
-%}
-%
-%\foreach \macro in {1,...,10}{
-% \macro:\cistercian{\macro}
-%}
+These global options can be reset:
+\begin{tcblisting}{title={Reset global options},listing only}
+\cistercianreset
+\end{tcblisting}
\end{document}
Modified: trunk/Master/texmf-dist/tex/latex/cistercian/cistercian.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/cistercian/cistercian.sty 2025-04-15 19:58:42 UTC (rev 74954)
+++ trunk/Master/texmf-dist/tex/latex/cistercian/cistercian.sty 2025-04-15 19:58:53 UTC (rev 74955)
@@ -1,4 +1,4 @@
-% !TeX root = cistercian-doc.tex
+% !TeX root = test.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% The cistercian package
@@ -12,9 +12,10 @@
% See https://www.latex-project.org/lppl.txt
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{cistercian}[2025/04/14 version v0.2 Cistercian numerals]
+\ProvidesPackage{cistercian}[2025/04/15 version v0.3 Cistercian numerals]
\RequirePackage{tikz}
+\RequirePackage{etoolbox}
\newlength{\cistercian at I}
\tikzset{
@@ -29,10 +30,13 @@
stroke = \cistercian at height/10,
}
-\newcommand*{\cistercian at set}{}
+\newcommand*{\cistercian at set}{/cistercian/.cd}
\newcommand{\cistercianset}[1]{%
- \renewcommand*{\cistercian at set}{/cistercian/.cd,#1}
+ \apptocmd{\cistercian at set}{,#1}{}{}%
}
+\newcommand{\cistercianreset}{%
+ \renewcommand{\cistercian at set}{}%
+}
% #1: optional arguments to be passed to the tikzpicture
% #2: number to be displayed
More information about the tex-live-commits
mailing list.