Re: [NTG-context] \xmldocument vs #1 in \xmlsetsetup

2022-11-14 Thread Hans Hagen via ntg-context
On 11/14/2022 7:28 PM, Pablo Rodriguez via ntg-context wrote: On 11/14/22 14:00, Denis Maier via ntg-context wrote: Hi, most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g. \startxmlsetups xml:demo:base   \xmlsetsetup{#1}{document|section|p}{xml:demo:*} \stopxmlsetups However,

Re: [NTG-context] \xmldocument vs #1 in \xmlsetsetup

2022-11-14 Thread Pablo Rodriguez via ntg-context
On 11/14/22 14:00, Denis Maier via ntg-context wrote: > Hi, > > most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g. > > \startxmlsetups xml:demo:base >   \xmlsetsetup{#1}{document|section|p}{xml:demo:*} > \stopxmlsetups > > However, in quite a few occasions I’ve noticed the usage

[NTG-context] \xmldocument vs #1 in \xmlsetsetup

2022-11-14 Thread Denis Maier via ntg-context
Hi, most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g. \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p}{xml:demo:*} \stopxmlsetups However, in quite a few occasions I've noticed the usage of \xmldocument instead of #1. What exactly is the difference ? When