Re: [NTG-context] reference containing parentheses causes trouble

2019-07-12 Thread Hans Hagen
On 7/11/2019 5:27 PM, Alan Braslau wrote: This is why it is always a good idea to preface references with a (personal) identifier. However, perhaps Hans, Wolfgang, or someone else can explain the use of colons (:) and double colons (::) in references and in other tags in general (they have to do

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Alan Braslau
This is why it is always a good idea to preface references with a (personal) identifier. However, perhaps Hans, Wolfgang, or someone else can explain the use of colons (:) and double colons (::) in references and in other tags in general (they have to do with namespaces, instances, etc.). Alan

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Otared Kavian
Actually in the context of references, not only parentheses as Wolfgang pointed out, but also some words are reserved, such as nextpage and previous page: \setupinteraction[state=start] \starttext \goto{Second page}[page(2)] \goto{Go to next page}[nextpage] \page \goto{ConTeXt

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Peter Rolf
Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster: > Sanjoy Mahajan schrieb am 10.07.2019 um 04:15: >> Dear List, >> >> Warning: The following may be a bug or feature or just my >> misunderstanding!  It seems that parentheses cause trouble in >> references. > Braces are used for the argument of

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Wolfgang Schuster
Sanjoy Mahajan schrieb am 10.07.2019 um 04:15: Dear List, Warning: The following may be a bug or feature or just my misunderstanding! It seems that parentheses cause trouble in references. Braces are used for the argument of reference actions. \setupinteraction[state=start] \starttext

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Hans Hagen
On 7/10/2019 1:04 PM, Peter Rolf wrote: Hi Sanjoy, I think it's just the 'normal' limitations you have when setting a variable/id name. Special characters, like parenthesis, are not allowed here. Even whitespace can be problematic. Yesterday I had a problem with a reference (data driven) that

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Peter Rolf
Hi Sanjoy, I think it's just the 'normal' limitations you have when setting a variable/id name. Special characters, like parenthesis, are not allowed here. Even whitespace can be problematic. Yesterday I had a problem with a reference (data driven) that has a trailing space (obviously a typo).

[NTG-context] reference containing parentheses causes trouble

2019-07-09 Thread Sanjoy Mahajan
Dear List, Warning: The following may be a bug or feature or just my misunderstanding! It seems that parentheses cause trouble in references. MNWE: \starttext \section[sec:one(two)]{One} As you see in sec.~\in[sec:one(two)], \stoptext The "in sec.~\in[sec:one(two)]" typesets as "in