From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with MkIV and TikZ picture remembering
Date: Tue, 3 Mar 2015 08:54:00 +0100 [thread overview]
Message-ID: <9F017330-602B-452C-A1EE-27F78EDD9A97@gmail.com> (raw)
In-Reply-To: <54F561E6.3080908@googlemail.com>
> Am 03.03.2015 um 08:25 schrieb Jörg Weger <joerg73.muc@googlemail.com>:
>
> In the minimal working example below inside of a text two words should
> be printed inside of rounded TikZ rectangles and should be connected by
> an TikZ arrow pointing from the first word to the other.
>
> TikZ offers the remember picture/overlay option for that.
>
> The MWE works in MkII (command “texexec”) which I am not using, but not
> in the latest MkIV (command “context”).
>
> The problem might be that according to the PGF/TikZ manual “You need to
> use a driver that supports picture remembering and you need to run TEX
> twice” (16.13.1 Referencing a Node in a Different Picture).
>
> So my questions are:
>
> 1.) Does LuaTeX support TikZ picture remembering?
>
> 2.) If so, how can I get ConTeXt MkIV to “run TeX twice”?
It depends, when you have a command which writes something into
contexts own auxiliary file context will make another run but when
you have a module like tikz which uses its own auxiliary file just
make another run with „context <filename>”.
> 3.) If all of the above worked, would that work also if the inline TikZ
> pictures to be remembered are on another file referenced via \input?
The problem here is the content of tikz auxiliary file, when I process
your document with MkII it contains
\pgfsyspdfmark {pgfid1}{5006382}{46179011}
\pgfsyspdfmark {pgfid2}{10902017}{46179011}
\pgfsyspdfmark {pgfid3}{4661756}{45230922}
but with MkIV i get the following result:
\gdef \pgf@sys@pdf@mark@pos@pgfid1 {\pgf@x =0sp\pgf@y =0sp}
\gdef \pgf@sys@pdf@mark@pos@pgfid2 {\pgf@x =0sp\pgf@y =0sp}
\gdef \pgf@sys@pdf@mark@pos@pgfid3 {\pgf@x =0sp\pgf@y =0sp}
There is something wrong with the way tikz saves the coordinates
of the nodes in MkIV.
Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2015-03-03 7:54 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 7:23 Jörg Weger
2015-03-03 7:25 ` Jörg Weger
2015-03-03 7:54 ` Wolfgang Schuster [this message]
2015-03-03 12:38 ` Ulrike Fischer
2015-03-03 13:11 ` Mojca Miklavec
2015-03-03 13:27 ` Ulrike Fischer
2015-03-03 15:29 ` Mojca Miklavec
2015-03-03 13:51 ` Ulrike Fischer
2015-03-03 17:12 ` Aditya Mahajan
2015-03-03 19:04 ` Hans Hagen
2015-03-03 19:28 ` Aditya Mahajan
2015-03-07 12:08 ` Jörg Weger
2015-03-07 14:52 ` Hans Hagen
2015-03-07 17:30 ` Jörg Weger
2015-03-07 18:22 ` Wolfgang Schuster
2015-03-08 10:11 ` Hans Hagen
2015-03-08 11:26 ` Wolfgang Schuster
2015-03-08 11:55 ` Hans Hagen
2015-03-08 12:04 ` Wolfgang Schuster
2015-03-08 17:39 ` Hans Hagen
2015-03-08 18:07 ` Wolfgang Schuster
2015-03-08 19:04 ` Hans Hagen
2015-03-08 22:17 ` Hans Hagen
2015-03-13 13:17 ` Jörg Weger
2015-03-13 13:32 ` Wolfgang Schuster
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=9F017330-602B-452C-A1EE-27F78EDD9A97@gmail.com \
--to=schuster.wolfgang@gmail.com \
--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).