From: Patrick K. O'B. <po...@or...> - 2003-01-21 00:14:49
|
I noticed that including a subtitle changes how the TOC is determined using the html writer. For example, run this content through html.py (the <quote> tags are for this email only and don't appear in the text file): <quote> ================= Structured Text ================= Using Python As An Authoring Tool --------------------------------- :Author: Patrick K. O'Brien :Contact: po...@or... :Date: $Date$ :Web site: http://www.orbtech.com/web/pobrien/ .. contents:: Introduction ============ Imagine, if you will, the following situation. You are a writer. You are a technical writer, actually, who writes books, articles and tutorials about your favorite programming language. To satisfy the needs of your publishers, you must deliver your writing in a variety of formats, such as plaintext, HTML, and XML. And while most other writers use a tool like Microsoft Word, that's just not your style. </quote> Then run the following content: <quote> ================= Structured Text ================= Using Python As An Authoring Tool :Author: Patrick K. O'Brien :Contact: po...@or... :Date: $Date$ :Web site: http://www.orbtech.com/web/pobrien/ .. contents:: Introduction ============ Imagine, if you will, the following situation. You are a writer. You are a technical writer, actually, who writes books, articles and tutorials about your favorite programming language. To satisfy the needs of your publishers, you must deliver your writing in a variety of formats, such as plaintext, HTML, and XML. And while most other writers use a tool like Microsoft Word, that's just not your style. </quote> 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. -- Patrick K. O'Brien Orbtech http://www.orbtech.com/web/pobrien ----------------------------------------------- "Your source for Python programming expertise." ----------------------------------------------- |