From: Patrick K. O'B. <po...@or...> - 2003-01-21 03:08:30
|
On Monday 20 January 2003 06:34 pm, David Goodger wrote: > Patrick K. O'Brien wrote: > > I noticed that including a subtitle changes how the TOC is determined > > using the html writer. > > ... > > > When "Using Python As An Authoring Tool" is tagged as a subtitle it > > appears in the TOC. That seems like a mistake to me. Just thought I'd > > mention it. > > I don't get those results. In both cases, I get the exact same table of > contents, as follows (pseudo-XML):: > > <topic class="contents" id="contents" name="contents"> > <title> > Contents > <bullet_list> > <list_item> > <paragraph> > <reference id="id1" refid="introduction"> > Introduction > > This was actually taken from the first test data, *with* a subtitle. I > checked html.py also -- no anomalies. It turned out that the sample did work fine, so I sent David the full file. Just for the record, here is what happens with the full file: <topic class="contents" id="contents" name="contents"> <title> Contents <bullet_list> <list_item> <paragraph> <reference id="id1" refid="using-python-as-an-authoring-tool"> Using Python As An Authoring Tool <bullet_list> <list_item> <paragraph> <reference id="id2" refid="introduction"> Introduction -- Patrick K. O'Brien Orbtech http://www.orbtech.com/web/pobrien ----------------------------------------------- "Your source for Python programming expertise." ----------------------------------------------- |