diff options
Diffstat (limited to 'tex/context/modules/mkiv/m-tikz.mkiv')
-rw-r--r-- | tex/context/modules/mkiv/m-tikz.mkiv | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tex/context/modules/mkiv/m-tikz.mkiv b/tex/context/modules/mkiv/m-tikz.mkiv new file mode 100644 index 000000000..73c0ec01e --- /dev/null +++ b/tex/context/modules/mkiv/m-tikz.mkiv @@ -0,0 +1,29 @@ +%D A fixed variant if the t-tikz module distributed with tikz. + +\unprotect + + \ifcase\contextlmtxmode \else + \unexpanded\def\pdflastxpos{\numexpr\clf_lastxpos\relax} + \unexpanded\def\pdflastypos{\numexpr\clf_lastypos\relax} + \fi + +\protect + +\pushcatcodetable + + \setcatcodetable\texcatcodes + + \catcode`\@=11 + \catcode`\|=12 + \catcode`\!=12 + + \input t-pgf.tex + \input t-pgffor.tex + \input tikz.code.tex + +\popcatcodetable + +\let\starttikzpicture\tikzpicture +\let\stoptikzpicture \endtikzpicture + +\stopmodule |