Re: [NTG-context] reStructuredText module

2013-03-14 Thread Keith J. Schultz
Hi All, following this thread and with my beginners knowledge of ConTeXt, I would say that div or container from RST should be mapped to a combination in ConTeXt. Though I do admit that I have not looked into combinations yet. regards Keith.

Re: [NTG-context] reStructuredText module

2013-03-14 Thread Philipp Gesang
···date: 2013-03-12, Tuesday···from: Aditya Mahajan··· On Tue, 12 Mar 2013, Philipp Gesang wrote: ···date: 2013-03-12, Tuesday···from: Aditya Mahajan··· On Tue, 12 Mar 2013, Philipp Gesang wrote: A better way to handle this is to provide macros \startRSTcontainer ... \stopRSTcontainer

Re: [NTG-context] reStructuredText module

2013-03-14 Thread Marco Patzer
On 2013–03–14 Philipp Gesang wrote: I’ve been using \start...\stop as a synonym for grouping for ages but never realized it could take an argument. You're not alone :) Marco signature.asc Description: Digital signature

Re: [NTG-context] reStructuredText module

2013-03-14 Thread Hans Hagen
On 3/14/2013 6:40 PM, Marco Patzer wrote: On 2013–03–14 Philipp Gesang wrote: I’ve been using \start...\stop as a synonym for grouping for ages but never realized it could take an argument. You're not alone :) I'm pretty sure that there's more that is unknown ...

Re: [NTG-context] reStructuredText module

2013-03-14 Thread Aditya Mahajan
On Thu, 14 Mar 2013, Marco Patzer wrote: On 2013–03–14 Philipp Gesang wrote: I’ve been using \start...\stop as a synonym for grouping for ages but never realized it could take an argument. You're not alone :) What! You guys don't the most comprehensive documentation of ConTeXt! The

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Bill Meahan
Philipp Gesang wrote: Hi Bill. ···date: 2013-03-11, Monday···from: Bill Meahan··· Am I correct in thinking the rst module does not process the class and container directives? When I wrote the module I was working with the reST spec [0] and the syntax reference [1]. It’s been a while, but

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Philipp Gesang
···date: 2013-03-12, Tuesday···from: Bill Meahan··· Philipp Gesang wrote: ···date: 2013-03-11, Monday···from: Bill Meahan··· Am I correct in thinking the rst module does not process the class and container directives? When I wrote the module I was working with the reST spec [0] and the

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Aditya Mahajan
On Tue, 12 Mar 2013, Philipp Gesang wrote: Nevertheless, I added some code to handle container directives: at the moment they simply map to macros of the same name. Existence of the macro is tested for at runtime, so you can place the definitions in your preamble. Example:

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Philipp Gesang
···date: 2013-03-12, Tuesday···from: Aditya Mahajan··· On Tue, 12 Mar 2013, Philipp Gesang wrote: A better way to handle this is to provide macros \startRSTcontainer ... \stopRSTcontainer and translate the above to I considered adding a generator \defineRSTcontainer with the usual interface

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Aditya Mahajan
On Tue, 12 Mar 2013, Philipp Gesang wrote: ···date: 2013-03-12, Tuesday···from: Aditya Mahajan··· On Tue, 12 Mar 2013, Philipp Gesang wrote: A better way to handle this is to provide macros \startRSTcontainer ... \stopRSTcontainer and translate the above to I considered adding a generator

[NTG-context] reStructuredText module

2013-03-11 Thread Bill Meahan
Am I correct in thinking the rst module does not process the class and container directives? I looked through the Lua source and didn't see anyplace where these directives are processed although I will be the first to admit I don't know much about Lua. I retired from software development

Re: [NTG-context] reStructuredText module

2013-03-11 Thread Philipp Gesang
Hi Bill. ···date: 2013-03-11, Monday···from: Bill Meahan··· Am I correct in thinking the rst module does not process the class and container directives? When I wrote the module I was working with the reST spec [0] and the syntax reference [1]. It’s been a while, but afair I implemented the