From: David G. <go...@us...> - 2002-11-06 02:37:06
|
[Andreas Jung] >>> I am currently working on the integration of reStructuredText into >>> Zope. >>> >>> I have currently two unresolved issues: >>> >>> - Zope includes (re)STX documents into an existing document with >>> a starting level of 3 (means it starts with the <H3> header) [David] >> Sorry, I don't know exactly what you mean or what you want here. I >> can guess, but I'd rather not. Please give examples and ask >> questions. [Engelbert] > i used stx from zope prior to reST. AFAIR when converting stx to > html one can set the level for top level sections. > > in stx:: > > My Chapter > > my top level. > > sub section to chapter > > some text. > > means for rst file:: > > My Chapter > ========== > > my top level. > > sub section to chapter > ---------------------- > > some text. > > the Chapter should become <h3>Chapter</h3> section would become > <h4>section</h4> > > so that one can produce sites from several documents. This is what I thought might be the case. The functionality isn't implemented now, but it easily could be. A runtime setting & command-line option could be introduced to modify the current behavior. -- David Goodger <go...@us...> Open-source projects: - Python Docutils: http://docutils.sourceforge.net/ (includes reStructuredText: http://docutils.sf.net/rst.html) - The Go Tools Project: http://gotools.sourceforge.net/ |