|
From: David G. <go...@py...> - 2003-01-01 03:14:40
|
Aahz wrote:
> Should it be a bug to prohibit this::
Duplicate section names aren't prohibited, but they can't be linked to by
name. IIRC, level-1 (INFO) system messages are produced, but normally they
are filtered out of the output.
I'll make a leap and guess that your OpenOffice XML Writer doesn't filter
system messages. The code that does the filtering is in the Writer,
although perhaps it ought to be in a separate transform (note to future
self: think about this). Here's the applicable filter code from
html4css1.py::
def visit_system_message(self, node):
if node['level'] < self.document.reporter['writer'].report_level:
# Level is too low to display:
raise nodes.SkipNode
--
David Goodger <go...@py...> 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/
|