Issue with docbook listitem/para
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 87
- Joined: Tue Jan 01, 2013 3:19 pm
Issue with docbook listitem/para
Hi,
i am trying my first steps with PDF Chemistry bundled with XML Editor. I started with a simple DocBook document and a CSS file which imports the docbook.css from the DocBook Framework in the Oxygen installation folder. My CSS has only one rule which applies to the para element as well as the simpara element. The whole CSS file has this content:
The XML source file references the CSS file via an xml-stylesheet PI.
I create and apply a new transformation scenario for PDF Chemistry. The DocBook source file consists of two simple parts:
However, the generated PDF file shows the expected result for both simpara elements an the top-level para element. The para element in the itemizedlist is not justified but left-aligned, and has no real border (see attachement).
Sincerely, Frank
i am trying my first steps with PDF Chemistry bundled with XML Editor. I started with a simple DocBook document and a CSS file which imports the docbook.css from the DocBook Framework in the Oxygen installation folder. My CSS has only one rule which applies to the para element as well as the simpara element. The whole CSS file has this content:
Code: Select all
@import "/opt/Oxygen XML Editor 24/frameworks/docbook/css/docbook.css";
para,
simpara {
border: 1px solid black;
text-align: justify
}
I create and apply a new transformation scenario for PDF Chemistry. The DocBook source file consists of two simple parts:
- a simpara and a para as immediate childs of the article (top-level paragraphs);
- same simpara and para as childs of itemizedlist/listitem (paragraphs in itemized list)
However, the generated PDF file shows the expected result for both simpara elements an the top-level para element. The para element in the itemizedlist is not justified but left-aligned, and has no real border (see attachement).
chembug.png
I have tried with an !important directive to exclude obscure precedence rules bit without success. I am using XML Editor 24.0, build 2021101506 on Linux.Sincerely, Frank
You do not have the required permissions to view the files attached to this post.
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Issue with docbook listitem/para
Post by julien_lacour »
Hello Franck,
There's a default rule for print that override the default display for para (in frameworks\docbook\css\print.css):
I added an issue on our side to see if this rule is still necessary. Until then you can override it in your custom CSS.
Regards,
Julien
There's a default rule for print that override the default display for para (in frameworks\docbook\css\print.css):
Code: Select all
listitem > para {
display:inline;
}
Regards,
Julien
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Issue with docbook listitem/para
Post by julien_lacour »
Hello,
It was an old workaround that fixed a display problem: list items bullets and text were not aligned perfectly but this has been fixed since.
Regards,
Julien
It was an old workaround that fixed a display problem: list items bullets and text were not aligned perfectly but this has been fixed since.
Regards,
Julien
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service