Opened 14 years ago

Closed 9 years ago

#2440 closed Bugs (fixed)

Content after sections causes invalid boostbook. — at Version 2

Reported by: Daniel James Owned by: Daniel James
Milestone: To Be Determined Component: quickbook
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description (last modified by Daniel James)

It's probably impossible to get quickbook to always generate valid boostbook, but we could make some small improvements. In this case:

   [section ...] ... [endsect]

   [#target]

   [section ...] ... [endsect]

Docbook doesn't allow anchors between sections (so neither does boostbook) - but the anchor could be placed in the following section's title. This has been causing problems for fop.

It might also be useful to warn about paragraphs between (or after) sections when valid boostbook can't be generated.

Change History (2)

comment:1 by Daniel James, 12 years ago

Owner: changed from Joel de Guzman to Daniel James
Status: newassigned
Summary: Invalid boostbook is causing problems with fop.Content after sections causes invalid boostbook.

Just improving the summary. This should be easier to fix in the spirit 2 port. A little tricky as anchors should be associated with the following section, but a paragraph should probably be moved into the previous section.

comment:2 by Daniel James, 9 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

The anchor part of this was fixed in [67324]. Other content between sections isn't handled, but I think that anchors were the important part, so I'm marking this as fixed.

Note: See TracTickets for help on using tickets.