diff options
author | Norbert Preining <norbert@preining.info> | 2023-03-10 03:04:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-03-10 03:04:05 +0000 |
commit | f6cb3d263826846efe7b926e6ad2092198db0522 (patch) | |
tree | 16abd399e7b120d3c3ac7d75efc4d04cf7bb022f /macros/optex/pkg/tikz.opm | |
parent | 716c428e47ad2e893c0f970b9fa866d2a88f00e4 (diff) |
CTAN sync 202303100304
Diffstat (limited to 'macros/optex/pkg/tikz.opm')
-rw-r--r-- | macros/optex/pkg/tikz.opm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/macros/optex/pkg/tikz.opm b/macros/optex/pkg/tikz.opm index 87b2f7369a..4da799a4aa 100644 --- a/macros/optex/pkg/tikz.opm +++ b/macros/optex/pkg/tikz.opm @@ -1,6 +1,6 @@ % This is macro package used by OpTeX, see http://petr.olsak.net/optex -\_codedecl \tikzpicture {TikZ for OpTeX <2022-02-18>} +\_codedecl \tikzpicture {TikZ for OpTeX <2023-03-04>} \_namespace{pgf} \_catcode`\@=11 \_let\_optexforeach=\foreach @@ -155,11 +155,17 @@ \_let\.foreach=\pgffor@foreach % \_pgf_foreach is \pgffor@foreach \_let\foreach=\_optexforeach % \foreach is OpTeX's \foreach +\_let\.usetikzlibrary=\usetikzlibrary +\_def\usetikzlibrary#1{\_let\foreach=\.foreach + \.usetikzlibrary{#1}\let\foreach=\_optexforeach +} + % don't worry about reseting catcodes - we are at the end of \opinput'ed file \_endnamespace \_endcode History: +2023-03-04 \_tikz_foreach used during \usetikzlibrary (bug fix). 2022-03-18 Tikz's \foreach only in its environment. 2022-03-05 resources management re-implemented. 2021-07-15 released |