Re: [NTG-context] directlua in xml-environment

2016-11-13 Thread Hans Hagen
On 11/13/2016 2:56 PM, Meer, Hans van der wrote: Here is something I do not understand. Possibly I am doing something wrong. The following code is fine, within <<>> the current contextversion is printed. \def\mymacro{\directlua{tex.print("\\contextversion")}} \starttext calling mymacro

[NTG-context] Another question about definerefereformat

2016-11-13 Thread Benjamin Buchmuller
Here is another question, I was wondering about. What is the ConTeXt’s way to provide the “right” (or “left”) argument when \definereferenceformat[text=…] is set? Starting from this example: \starttext \definereferenceformat[infig][text={Figure }] \startplacefigure[reference=fig:A] Some

[NTG-context] Setupreferencing[interaction=text] breaks referenceformat[text={…}]

2016-11-13 Thread Benjamin Buchmuller
Hi, I’m not sure if this is the intended behaviour of the system, but I want to typeset “This is Figure 1.1 in Chapter A Good Story” in the attached minimal example. However, setting up the referencing interaction to text, this typesets “This is 1.1 in Chapter A Good Story”. The same holds

[NTG-context] directlua in xml-environment

2016-11-13 Thread Meer, Hans van der
Here is something I do not understand. Possibly I am doing something wrong. The following code is fine, within <<>> the current contextversion is printed. \def\mymacro{\directlua{tex.print("\\contextversion")}} \starttext calling mymacro <<\mymacro>>\par \stoptext However calling