On 24-8-2011 16:39, Peter Rolf wrote:
Hi,
I use '\setupfields[reset]%' in a tooltip macro and this single line breaks compilation.
[..] Runaway argument? ]\stoptext ! File ended while scanning use of \scrn_field_setup_fields. <inserted text> \par <*> ./tooltip \stoptext ? ! Emergency stop. <inserted text> \par <*> ./tooltip \stoptext ! ==> Fatal error occurred, no output PDF file produced!
Complete example code, tested with the latest beta: %---------------- \nopdfcompression \setupinteraction[state=start] \setuppagenumber[state=stop]
\starttext \setupfields[reset]% \stoptext %----------------
in scrn-fld.mkiv: \def\scrn_field_setup_fields[#variant][#totalsettings][#labelsettings][#fieldsettings]% add a % there. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------