11

Under MacTeX 2018 the following TeX file:

\documentclass{article}

\usepackage{tikz}

\usetikzlibrary{decorations.pathreplacing,calligraphy}

\begin{document}

\tikz\draw[decorate,decoration={calligraphic brace,amplitude=4mm},ultra thick] (0,0) -- (0,8);

\end{document}

gives the following warning

*************************************************
* LaTeX warning: "kernel/deprecated-variant"
* 
* Variant form 'VnV' deprecated for base form '\spath_get:nnN'. One should not
* change an argument from type 'N' to type 'V': base form only accepts a
* single token argument.
*************************************************

and these errors:

/usr/local/texlive/2018/texmf-dist/tex/latex/spath3/tikzlibrarycalligraphy.code.tex:707: Undefined control sequence.
<argument> \g__prg_map_int 

l.707 ...igraphy pen copperplate}{\l__cal_tmpa_tl}

/usr/local/texlive/2018/texmf-dist/tex/latex/spath3/tikzlibrarycalligraphy.code.tex:707: You can't use `\char"1' after \advance.
\int_gincr:N ..._global:D \tex_advance:D #1\c_one 

I reported the warning in Warning with tikzlibrary calligraphy, but the errors are new with TL2018 -- TL2017 does not give the errors.

5
  • This probably comes from the fact that the expl3 code has just been updated, one of the release notes mentions - Deprecated functions expiring at end of 2017 are removed, so the calligraphy people or who ever might not have been keeping up.
    – daleif
    Commented May 3, 2018 at 13:26
  • Though, I only get the warning, no error. Have you updated your MacTeX?
    – daleif
    Commented May 3, 2018 at 13:26
  • 1
    @LoopSpace is the author
    – percusse
    Commented May 3, 2018 at 13:27
  • Ahh, I updated to todays updates, now I also get that error
    – daleif
    Commented May 3, 2018 at 13:36
  • 1
    Fixed on github, but I'm waiting to be told that I shouldn't be using l3 internals in that way so it might be a short while before it makes it to CTAN. github.com/loopspace/spath3 Commented May 7, 2018 at 14:00

1 Answer 1

14

The LaTeX team have been working on tightening up some expl3 internals. This can have an impact where third-parties have used internal code from the kernel: that is the case here. For the present, it can be fixed by adding

\usepackage{expl3}
\ExplSyntaxOn
\int_zero_new:N \g__prg_map_int 
\ExplSyntaxOff

before loading the various TikZ libraries.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .