[NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
Hi there, I have the following sample that works with \type: \definedescription[abc][headcommand=\tfa] \starttext \abc{\type{\startext}} not working \stoptext But if I use the headcommand=type option: \definedescription[abc][headcommand=\type] \starttext

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
Am 29.01.2012 um 12:39 schrieb Pablo Rodríguez: Hi there, I have the following sample that works with \type: \definedescription[abc][headcommand=\tfa] \starttext \abc{\type{\startext}} not working \stoptext But if I use the headcommand=type option:

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 01:05 PM, Wolfgang Schuster wrote: [...] The \type has to change the meaning of \” to make it a normal symbol but when you use it with headcommand it is to late. A better command to show command is \tex{…} which appends a save version of \” in front of the argument.

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Aditya Mahajan
On Jan 29, 2012, at 10:17 AM, Pablo Rodríguez oi...@web.de wrote: On 01/29/2012 01:05 PM, Wolfgang Schuster wrote: [...] The \type has to change the meaning of \” to make it a normal symbol but when you use it with headcommand it is to late. A better command to show command is \tex{…}

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 05:49 PM, Aditya Mahajan wrote: On Jan 29, 2012, at 10:17 AM, Pablo Rodríguez oi...@web.de wrote: [...] I'm afraid it doesn't work: \definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \tex{stoptext} \stoptext \tex{…} command works,

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
Am 29.01.2012 um 16:17 schrieb Pablo Rodríguez: On 01/29/2012 01:05 PM, Wolfgang Schuster wrote: [...] The \type has to change the meaning of \” to make it a normal symbol but when you use it with headcommand it is to late. A better command to show command is \tex{…} which appends a save

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 06:24 PM, Wolfgang Schuster wrote: [...] I tested it now myself and what you want doesn’t work in this way. As you can see in the example below “headcommand=\tex” does work when you also use “location=command” but only with some limitations, e.g. the font is wrong and you

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
Am 29.01.2012 um 18:42 schrieb Pablo Rodríguez: On 01/29/2012 06:24 PM, Wolfgang Schuster wrote: [...] I tested it now myself and what you want doesn’t work in this way. As you can see in the example below “headcommand=\tex” does work when you also use “location=command” but only with

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 07:09 PM, Wolfgang Schuster wrote: The font can be fixed using headstyle, but the location of the title is important for the document. You can use a two step mechanism where the commands you use in the document pass the content to a internal description environment.

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Aditya Mahajan
On Sun, 29 Jan 2012, Wolfgang Schuster wrote: You can use a two step mechanism where the commands you use in the document pass the content to a internal description environment. \usemodule[annotation] \definedescription[abcdescription]

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
Am 29.01.2012 um 19:38 schrieb Aditya Mahajan: On Sun, 29 Jan 2012, Wolfgang Schuster wrote: You can use a two step mechanism where the commands you use in the document pass the content to a internal description environment. \usemodule[annotation] \definedescription[abcdescription]