Closed tgraham-antenna closed 1 year ago
If you're of a mind to put block content in paragraphs (perfectly valid in DocBook and frustratingly invalid in HTML), enable the $unwrap-paragraphs parameter.
$unwrap-paragraphs
works, thank you.
Sorry, but it made a programlisting
disappear:
<para>To save from having to configure the XSL formatter to use the fonts, the XSL-FO uses an AH Formatter extension for declaring local fonts inside <code>fo:declarations</code>:<programlisting language="xml"><![CDATA[<!-- https://github.com/liberationfonts/liberation-fonts/releases -->
<axf:font-face
src="url('{$muk-xsl.dir}/liberation-fonts-ttf-2.00.5/LiberationSans-Regular.ttf')"
font-family="Liberation Sans" />
<axf:font-face
src="url('{$muk-xsl.dir}/liberation-fonts-ttf-2.00.5/LiberationSans-Bold.ttf')"
font-family="Liberation Sans"
font-weight="bold" />]]></programlisting></para>
XSpec reference file not committed:
FODC0002 I/O error reported by XML parser processing
file:/projects/other/xslTNG/src/test/resources/expected/para.004.html. Caused by
java.io.FileNotFoundException:
\projects\other\xslTNG\src\test\resources\expected\para.004.html (The system cannot find
the file specified)
How did that get past CI?
I thinks this is (re)fixed.
div
is allowed where flow content is expected, butp
expects only phrasing content.Oxygen generates an error because the
div
is not allowed there, and Antenna House Formatter treats the<div>
as closing the containingp
then complains about the dangling</p>
after the</div>
.