[NTG-context] reStructuredText module
philipp.gesang at alumni.uni-heidelberg.de
Tue Mar 12 01:31:16 CET 2013
···<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  and
the syntax reference . It’s been a while, but afair I
implemented the spec completely (with the limitations described
in the manual). It does not, to my knowledge, define the
directives you mention and I don’t know what they’re supposed to
(Btw. like much of the spec, “container” and “class” sound
suspiciously HTML-specific. If that is true, they address one
output markup which happens to be -- not Context! I might find
the time to add a simple wrapper for the container thingy (to
boxes or framed?). However, I doubt that it’s possible to
replicate the behavior of HTML divs + CSS without a larger effort
. In this case it might be preferable to have docutils
generate some XML and directly typeset the result with Context.)
 Also, I have reservations against such a step. My main reason
for choosing reST over its competitors like md or wikitext is
actually that it does not allow for inline HTML.
> 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
> before Lua became popular and never bothered to learn it. Assembler,
> FORTRAN, C, SQL, PL/SQL, Perl.... I know or knew, Lua I do not. :)
> I use these directives heavily and pandoc ignores them so I'm
> beginning to think I have a problem generating EPUB + ConTeXt +
> HTML(5) versions of the same document from common rst source.
> Thanks! All information and suggestions welcome.
> Bill Meahan
> Westland, Michigan USA
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the ntg-context