On 9/17/2023 3:26 AM, Aditya Mahajan wrote:
Hi,
I am trying to debug an unexpected behavior with tikz reported on tex.se:
https://tex.stackexchange.com/q/696136/323
The attached file shows what is going wrong (without using tikz). For some
reason, there is an extra \relax written to file after
`\the\numexp\clf_lastypos\relax` (there is no such relax after
`\the\numexpr\clf_lastxpos\relax`). The test.pgf file is:
\macro {A}{23930350}{43358454.0\relax }
\macro {B}{39564274.0\relax }{14083538}
Any ideas on why is the extra \relax written after lastypos and how to fix that?
i'll round the values
wrt relaxes, these can creep in as side effect of tex pushing back
looked-ahead and not used tokens (there are wasy around this but it's
not relevant here)
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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________