Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Condition attributes are ignored when creating pdf files|
|Product:||[Community] Publican||Reporter:||David O'Brien <daobrien>|
|Component:||publican||Assignee:||Michael Hideo <mhideo>|
|Status:||CLOSED NOTABUG||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||1.6||CC:||jfearn, mmcallis, publican-list|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2009-05-13 23:32:12 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description David O'Brien 2009-05-12 23:04:33 EDT
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): 0.45 How reproducible: Always 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 Actual results: Paragraphs of both conditions are displayed. Expected results: Only the paragraph of the specified condition should display. Additional info:
Comment 1 David O'Brien 2009-05-13 00:20:08 EDT
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.
Comment 2 David O'Brien 2009-05-13 23:32:12 EDT
A bit more education and it turns out this is not an issue.