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)

section_in_para.tgz (2.7 KB ) - added by Frank Mori Hess 15 years ago.
Example project showing bug

Download all attachments as: .zip

Change History (3)

by Frank Mori Hess, 15 years ago

Attachment: section_in_para.tgz added

Example project showing bug

comment:1 by Frank Mori Hess, 15 years ago

Component: Nonequickbook
Owner: set to Joel de Guzman

comment:2 by Daniel James, 12 years ago

Resolution: duplicate
Status: newclosed

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.

Note: See TracTickets for help on using tickets.