Red Hat Bugzilla – Bug 500518
Condition attributes are ignored when creating pdf files
Last modified: 2010-11-23 23:19:41 EST
Description of problem:
When creating pdf files, publican does not respect the use of condition attributes (e.g., <para condition="fedora">) to specify that only certain parts of a document be built.
When used to create html output, the results are as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a para or other suitable tag, and include a condition attribute.
2. Create a second para, and use a different condition
3. Build the book specifying a single condition
Paragraphs of both conditions are displayed.
Only the paragraph of the specified condition should display.
ok, this is not a pdf problem, it's a function of where the condition exists.
The condition I was using was in the Feedback.xml file, part of /Common_Content, and this does not respect conditions in either html or pdf.
If I create a local Feedback.xml then the conditions are respected in both html and pdf.
So, still a problem, but not a critical problem. It just means creating a local Feedback.xml file for every book.
A bit more education and it turns out this is not an issue.