Re: [NTG-context] Pb with tikz, \pdfsavepos and friends

2019-09-10 Thread Henri Menke
On 9/11/19 7:45 AM, Hans Hagen wrote:
> On 9/10/2019 9:28 PM, Ulrike Fischer wrote:
>> Am Tue, 10 Sep 2019 20:04:58 +0200 schrieb Hans Hagen:
>>
 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)
>>
>> tikz/pgf knows about \savepos and does it correctly with lualatex.
>> So I would suggest a bug report at https://github.com/pgf-tikz/pgf.
> I just assume that Henri deals with it in due time.

For some reason TikZ tries to load the pdftex driver when used in
ConTeXt instead of the luatex driver.
https://github.com/pgf-tikz/pgf/issues/742

Cheers, Henri

> 
> 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
> ___
> 



signature.asc
Description: OpenPGP digital signature
___
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
___


Re: [NTG-context] Pb with tikz, \pdfsavepos and friends

2019-09-10 Thread Hans Hagen

On 9/10/2019 9:28 PM, Ulrike Fischer wrote:

Am Tue, 10 Sep 2019 20:04:58 +0200 schrieb Hans Hagen:


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)


tikz/pgf knows about \savepos and does it correctly with lualatex.
So I would suggest a bug report at https://github.com/pgf-tikz/pgf.

I just assume that Henri deals with it in due time.

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
___


Re: [NTG-context] Pb with tikz, \pdfsavepos and friends

2019-09-10 Thread Ulrike Fischer
Am Tue, 10 Sep 2019 20:04:58 +0200 schrieb Hans Hagen:

>> 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)

tikz/pgf knows about \savepos and does it correctly with lualatex.
So I would suggest a bug report at https://github.com/pgf-tikz/pgf.



-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/

___
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
___


Re: [NTG-context] Pb with tikz, \pdfsavepos and friends

2019-09-10 Thread Hans Hagen

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
___


[NTG-context] Pb with tikz, \pdfsavepos and friends

2019-09-10 Thread Jean-Philippe Rey
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.

Regards,

-- 
Jean-Philippe Rey
jean-philippe@centralesupelec.fr
91192 Gif-sur-Yvette Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51


bug-savepos.log
Description: Binary data
___
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
___