Issue with docbook listitem/para
Posted: Mon Sep 26, 2022 1:50 pm
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). 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
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). 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