Opened 15 years ago
Closed 12 years ago
#1280 closed Bugs (duplicate)
sections in imported source files get put inside <para> elements in docbook output
| Reported by: | Frank Mori Hess | Owned by: | Joel de Guzman |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | quickbook |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
I've noticed that if you have a quickbook file which just imports a bunch of headers and expands their templates (the [section]s are all in the header comments), then quickbook decides to put all the sections inside a <para> element. This prevents docbook from doing any chunking of the html output. Also, a <section> is not permitted to be a child of a <para> in docbook.
Attached is a minimal example project that demonstrates the bug. It includes a file section_in_para.xml which is the intermediate docbook file that was generated when I built, and which has a <section> inside a <para>.
Attachments (1)
Change History (3)
by , 15 years ago
| Attachment: | section_in_para.tgz added |
|---|
comment:1 by , 15 years ago
| Component: | None → quickbook |
|---|---|
| Owner: | set to |
comment:2 by , 12 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Import works by creating templates for the code blocks, which is where the problem lies. I'm going to try to fix this soon-ish, and I've created a new ticket (#4302) for the problem. Not really a 'duplicate' since that's a new ticket.

Example project showing bug