From f6cb3d263826846efe7b926e6ad2092198db0522 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 10 Mar 2023 03:04:05 +0000 Subject: CTAN sync 202303100304 --- macros/optex/pkg/tikz.opm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'macros/optex/pkg/tikz.opm') 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 -- cgit v1.2.3