ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <philipp.gesang@alumni.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: reStructuredText module
Date: Tue, 12 Mar 2013 01:31:16 +0100	[thread overview]
Message-ID: <20130312003116.GA7509@phlegethon> (raw)
In-Reply-To: <513E68B9.4040608@meahan.net>


[-- Attachment #1.1: Type: text/plain, Size: 2665 bytes --]

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 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
do.

(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
[2]. In this case it might be preferable to have docutils
generate some XML and directly typeset the result with Context.)

Best regards
Philipp

[0] http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html
[1] http://docutils.sourceforge.net/docs/user/rst/quickref.html
[2] 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@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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

  reply	other threads:[~2013-03-12  0:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 23:28 Bill Meahan
2013-03-12  0:31 ` Philipp Gesang [this message]
2013-03-12 12:28   ` Bill Meahan
2013-03-12 20:23     ` Philipp Gesang
2013-03-12 20:57       ` Aditya Mahajan
2013-03-12 21:42         ` Philipp Gesang
2013-03-12 23:21           ` Aditya Mahajan
2013-03-14  7:32             ` Keith J. Schultz
2013-03-14 16:02             ` Bug in \start (Re: reStructuredText module) Aditya Mahajan
2013-03-14 16:54               ` Hans Hagen
2013-03-14 17:17             ` reStructuredText module Philipp Gesang
2013-03-14 17:40               ` Marco Patzer
2013-03-14 17:57                 ` Hans Hagen
2013-03-14 20:02                 ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130312003116.GA7509@phlegethon \
    --to=philipp.gesang@alumni.uni-heidelberg.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).