diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-22 22:18:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-22 22:18:59 +0000 |
commit | 1deda52f8db4c99213ad27751ea090d680e5c28a (patch) | |
tree | 7de8b3fa7033689ce6e87db3145b53a524c20bdd /Master/texmf-dist/tex/latex | |
parent | ad2020cc0a7f9a54ddb2b0c1ea5ce52d6addce2f (diff) |
tikz-kalender (22nov19)
git-svn-id: svn://tug.org/texlive/trunk@52890 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-kalender/tikz-kalender.cls | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-kalender/tikz-kalender.cls b/Master/texmf-dist/tex/latex/tikz-kalender/tikz-kalender.cls index cba4d247b19..d836b29df33 100644 --- a/Master/texmf-dist/tex/latex/tikz-kalender/tikz-kalender.cls +++ b/Master/texmf-dist/tex/latex/tikz-kalender/tikz-kalender.cls @@ -7,7 +7,7 @@ \setcounter{errorcontextlines}{100} \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesClass{tikz-kalender}[2019/06/05 v0.4e Calendar class (RN)] +\ProvidesClass{tikz-kalender}[2019/11/22 v0.4f Calendar class (RN)] \DeclareOption*{\OptionNotUsed} \ProcessOptions\relax @@ -249,6 +249,11 @@ } \newcommand*\event{% + \ClassError{tikz-kalender}{% + Macro \string\event\space is only allowed inside of .events files}{}% +} + +\newcommand*\RN@event{% \@ifstar{\@tempswatrue\RN@event@i}{\@tempswafalse\RN@event@i}% } \newcommand*\RN@event@i[2]{% @@ -346,12 +351,14 @@ \pgfcalendarifdate{\RN@year-01-01}{Tuesday,Wednesday,Thursday}{% \setcounter{weeknumber}{1}}{\setcounter{weeknumber}{0}}% \begingroup% + \let\event=\RN@event \let\year=\RN@year \def\RN@event@ii##1##2[##3]{}% 1st loop: only the periods \def\do##1{\InputIfFileExists{##1.events}{}{}}% \expandafter\docsvlist\expandafter{\RN@events@files}% \endgroup \begingroup + \let\event=\RN@event \let\year=\RN@year \def\RN@period@i##1##2[##3]{}% 2nd loop: only the events \def\do##1{\InputIfFileExists{##1.events}{}{}}% |