[Doc-SIG] controlling sections levels
Albert Ting
alt@artisan.com
Wed, 30 Oct 2002 12:04:34 -0800
> See
> http://docutils.sf.net/spec/rst/directives.html#automatic-section-numbering
Thanks for the tidbits, what a great idea regarding these directives.
I also understand how to get the headers to work.
But is there a way to specify the command line options in the directives as
well? I'd like to turn off the stylesheets (or specify my own). But since
I'm using core.publish_string(), I don't know how to set the command line
switches?
I'm currently pre-processing a file into a reStructuredText format, then
call core.publish_string(). There probably is a better way, by writing my
own reader, but not sure how Reader class is used.
Thanks,
Albert