From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Jean-Philippe Rey <jean-philippe.rey@centralesupelec.fr>
Subject: Re: Pb with tikz, \pdfsavepos and friends
Date: Tue, 10 Sep 2019 20:04:58 +0200 [thread overview]
Message-ID: <f405cf8c-02b1-d1dd-71cb-b457fc632136@xs4all.nl> (raw)
In-Reply-To: <35DD3778-14B8-43BE-8D2B-14ABC8B26A4B@centralesupelec.fr>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-09-10 18:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 16:01 Jean-Philippe Rey
2019-09-10 18:04 ` Hans Hagen [this message]
2019-09-10 19:28 ` Ulrike Fischer
2019-09-10 19:45 ` Hans Hagen
2019-09-10 20:52 ` Henri Menke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f405cf8c-02b1-d1dd-71cb-b457fc632136@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=jean-philippe.rey@centralesupelec.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).