[NTG-context] Permissible characters in ConTeXt reference labels

2014-09-08 Thread Mark Szepieniec
I'm trying to fix a problem in pandoc (see https://github.com/jgm/pandoc/pull/1589) where it doesn't properly sanitize the reference labels in ConTeXt output, causing errors during compilation when a label contains '#' for example. Note that this sanitizing is needed in addition to the regular back

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-17 Thread Mark Szepieniec
Bump... If it's not too much trouble, I would greatly appreciate some feedback on this before I propose it to be merged into pandoc; even a "looks good to me" from one of the ConTeXt gurus would be very helpful. Thanks in advance, Mark On Tue, Sep 9, 2014 at 12:20 AM, Mark Szepieniec wrote: >

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-17 Thread Hans Hagen
On 9/18/2014 12:06 AM, Mark Szepieniec wrote: Bump... If it's not too much trouble, I would greatly appreciate some feedback on this before I propose it to be merged into pandoc; even a "looks good to me" from one of the ConTeXt gurus would be very helpful. Thanks in advance, Mark On Tue, Sep

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-17 Thread Aditya Mahajan
On Thu, 18 Sep 2014, Hans Hagen wrote: On 9/18/2014 12:06 AM, Mark Szepieniec wrote: Bump... If it's not too much trouble, I would greatly appreciate some feedback on this before I propose it to be merged into pandoc; even a "looks good to me" from one of the ConTeXt gurus would be very helpfu

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-18 Thread Mark Szepieniec
OK, thanks both of you, its looks like I need to sanitize all mentioned characters, since the reference strings will generally originate from formats other than ConTeXt, and we don't want ConTeXt to do any processing on them, aside from comparisons to resolve references. As for Aditya's examples,