On 9/10/2019 6:01 PM, Jean-Philippe Rey wrote:
Dear all,

I just downloaded the last ConTeXt beta (ConTeXt  ver: 2019.09.09 13:44 MKIV 
beta) and encountered a problem with pgf/tikz. Here a minimum failing example :

    =================
    \usemodule[tikz]
    \starttext
    \starttikzpicture[remember picture]
    \stoptikzpicture
    \stoptext
    =================

which produces the following error (excerpt from the log file, see complete log 
attached)

    =================
    tex error       > tex error on line 4 in file 
/Users/jprey/Projets/ConTeXt/bug-savepos.tex: ! Undefined control sequence


    \pgfsys@markposition #1->\pdfsavepos
                                         \edef \pgf@temp {#1}\expandafter 
\pgfut...
    \endpgfpicture ...ys@markposition {\pgfpictureid }
                                                      }\fi \ifdim \pgf@picmaxx 
=...
    \stoptikzpicture ...st@from@global \endpgfpicture
                                                      \endgroup
    l.4 \stoptikzpicture
    =================


My previous ConTeXt version from September 2018 works fine with the same 
example. I searched the mailing list archives and found a thread from January 
2016 pertaining to the same problem. The workaround given by Hans works for me :

    \let \pdfsavepos   \savepos
    \let \pdflastxpos  \lastxpos
    \let \pdflastypos  \lastypos

I checked the pgf versions in my ConTeXt installations from 20180913 and 
20190909, they are the same : 3.0.1. So I suppose that the change comes from 
ConTeXt itself, that’s why I report the problem here.
ok, for now i'll add these as aliases but savepos is not really related to pdf (in luatex)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to