Re: [NTG-context] setupinmargin failing?

2010-03-24 Thread Wolfgang Schuster
Am 23.03.10 22:36, schrieb Hans van der Meer: I tried this code with both \setupinmargin[left][...] and \setupinmargin[][...]. The first one worked, the second obviously not. I take it therefore that the [left]-argument is mandatory. When the first argument is optional you can write

Re: [NTG-context] setupinmargin failing?

2010-03-24 Thread Hans van der Meer
Must I really understand from your reply that \setupinmargin[x=y] is not equivalent to \setupinmargin[][x=y]? That is: an absent optional argument is not really optionally absent? I checked by running the thing, of course, and the answer I found is yes. The empty [] does not honor what

Re: [NTG-context] setupinmargin failing?

2010-03-24 Thread Taco Hoekwater
Hans van der Meer wrote: Must I really understand from your reply that \setupinmargin[x=y] is not equivalent to \setupinmargin[][x=y]? That is: an absent optional argument is not really optionally absent? Your [] is not an absent optional argument at all, it is a given optional argument (that

Re: [NTG-context] setupinmargin failing?

2010-03-24 Thread Hans van der Meer
On 24 mrt 2010, at 16:10, Taco Hoekwater wrote: Hans van der Meer wrote: Must I really understand from your reply that \setupinmargin[x=y] is not equivalent to \setupinmargin[][x=y]? That is: an absent optional argument is not really optionally absent? Your [] is not an absent optional

Re: [NTG-context] setupinmargin failing?

2010-03-24 Thread Wolfgang Schuster
Am 24.03.10 16:57, schrieb Hans van der Meer: Must I really understand from your reply that \setupinmargin[x=y] is not equivalent to \setupinmargin[][x=y]? That is: an absent optional argument is not really optionally absent? Your [] is not an absent optional argument at all, it is a given

Re: [NTG-context] setupinmargin failing?

2010-03-24 Thread Taco Hoekwater
Wolfgang Schuster wrote: Am 24.03.10 16:57, schrieb Hans van der Meer: Must I really understand from your reply that \setupinmargin[x=y] is not equivalent to \setupinmargin[][x=y]? That is: an absent optional argument is not really optionally absent? Your [] is not an absent optional argument

Re: [NTG-context] setupinmargin failing?

2010-03-24 Thread Peter Münster
On Wed, Mar 24 2010, Hans van der Meer wrote: Must I really understand from your reply that \setupinmargin[x=y] is not equivalent to \setupinmargin[][x=y]? That is: an absent optional argument is not really optionally absent? Your [] is not an absent optional argument at all, it is a given

[NTG-context] setupinmargin failing?

2010-03-23 Thread Hans van der Meer
I tested margin notes and may have found a discrepancy with the (albeit old) manual. \setupcolors[state=start] \setupinmargin[][align=right,foregroundcolor=red] \starttext ABC\inright{\framed[width=10mm,height=5mm,foregroundcolor=red]{R1}} \inleft{L1} \stoptext This shows un uncolored L1. But

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 7:34 PM, Hans van der Meer h.vanderm...@uva.nl wrote: I tested margin notes and may have found a discrepancy with the (albeit old) manual. \setupcolors[state=start] \setupinmargin[][align=right,foregroundcolor=red] \starttext

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 19:34, schrieb Hans van der Meer: I tested margin notes and may have found a discrepancy with the (albeit old) manual. \setupcolors[state=start] In MKIV colors are enabled by default. \setupinmargin[][align=right,foregroundcolor=red] All margin texts: \setupinmargin[color=red]

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread Hans van der Meer
I tried this code with both \setupinmargin[left][...] and \setupinmargin[][...]. The first one worked, the second obviously not. I take it therefore that the [left]-argument is mandatory. In the manual I have, the \setupinmargin[][] description has its first argument printed

Re: [NTG-context] setupinmargin failing?

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 10:36 PM, Hans van der Meer h.vanderm...@uva.nl wrote: I tried this code with both        \setupinmargin[left][...] and \setupinmargin[][...]. The first one worked, the second obviously not. I take it therefore that the [left]-argument is mandatory. In the manual I