Today I update my MikTeX installation. Among updated packages is l3kernel which doesn't work with calligraphy library, even if it is not used in TikZ picture:
\documentclass[border=1mm, tikz]{standalone}
\usetikzlibrary{decorations.pathreplacing,%
calligraphy
}
\begin{document}
\begin{tikzpicture}
\draw[->] (0,0) --(3,0) node [right] {$t$};
\end{tikzpicture}
\end{document}
which gives error:
! LaTeX3 Error: Variant form 'nnV' deprecated for base form '\spath_get:nnN'.
(LaTeX3) One should not change an argument from type 'N' to type 'V':
(LaTeX3) base form only accepts a single token argument.
Type <return> to continue.
After abandoning of compilation editor open file spath3.sty and indicate that error has source in line 197:
\cs_generate_variant:Nn \spath_get:nnN {nnV,VnN,VnV}
Since I frequently use the calligraphy I stuck with my temporary LaTeX project. It had problem with l3... packages before, but it had been managed with temporary fix provided in Joseph Wright answer:
\usepackage{expl3}
\ExplSyntaxOn
\int_zero_new:N \g__prg_map_int
\ExplSyntaxOff
but this temporary fix is not sufficient anymore :-(.
addendum:
meanwhile i had private correspondence wit author of the package spath3 and tikz libraries calligraphy and knots (among others). I had privilege to test new version of the package and libraries. The tests has been successful, so we can expect that new version of spath3 bundle (package, libraries) will be on the way to CTAN soon.
Thank you to all who with their comments help me, special thanks is going to Andrew Stacey, the authors of the package and libraries, who respond so quickly and provide new version of package and libraries.
\SPathInfoInto. The packagespath3should be updated in order to fix this; by the way, the definition of\SPathInfoIntois flawed anyway. And the\spath_get:nnVvariant is meaningless. – egreg Jan 05 '19 at 22:31\RenewDocumentCommand{\SPathInfoInto}{mmm}{\spath_get:nnN{#1}{#2}#3}. In order to remove the warnings, there's nothing else to do than waiting for an update. By the way, I get warnings and not errors. – egreg Jan 05 '19 at 22:40expl3from 1.1.2019 doesn't help. Now i'm in big troubles due to large numbers of my images use thecalligraphypackage. who knows how long we will need to way for new version of thecalligraphypackage ... :-( anyway, thenk you very much for help! – Zarko Jan 05 '19 at 23:58spath3.sty, in which you remove the rogue\cs_generate_variant:Nncommands on line 197. Fix also\SPathInfoIntoas indicated and add the other fix at the beginning. Then mail the package author. – egreg Jan 06 '19 at 00:04\tl_new:Nninstruction,\int_new:N \g__spath_map_intand replace every occurrence of\g__prg_map_intwith\g__spath_map_int. – egreg Jan 06 '19 at 00:11spath3.sty(as spath3-original), (ii) remove ˙line 197 with\cs_generate_variant:Nn \spath_get:nnN {nnV,VnN,VnV}, (iii) store correctedspath3` . Now works! Thank you very much! – Zarko Jan 06 '19 at 14:26spath3, however since i'm not familiar withdtxfiles, so there i high probability that i made same basics errors. the resultedspath3.stydoesn't works ... it has a bunch of text belonging to comments. please, can you provide as addition to dtx. file already extractedspath3.styfile for test? – Zarko Jan 06 '19 at 17:21tex spath3.dtxgenerates the new files "behind the scenes". You see a load of comments in the terminal, but it also writes out the files. – Andrew Stacey Jan 06 '19 at 17:45