This is likely caused by setting the 'body.font.master' to a value that
is not just a number. This is a stock DocBook XSL parameter, but it is
a little odd because it must be an integer value because it is used for
calculating relative sizes, as for example in fo/param.xsl:
<xsl:param name="footnote.font.size">
<xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text>
</xsl:param>
If body.font.master is set to '10pt' instead of '10', the stylesheet
treats it as Not a Number (NaN) and generates that error.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
On 3/10/2019 10:34 AM, Bernhard Kleine wrote:
Since today I encounter an error while transforming my book with the
standard saxon which is provided by oxygen 21. This error I can not
locate:
(excerpt of the fo-file)
<fo:footnote>
<fo:inline>
<fo:inline font-family="Alegreya, Times New Roman,Alegreya,
Symbol,ZapfDingbats" font-size="75%" font-weight="normal"
font-style="normal" baseline-shift="super">a</fo:inline>
</fo:inline>
<fo:footnote-body font-family="Alegreya, Times New Roman,Alegreya,
Symbol,ZapfDingbats" font-size="NaN" font-weight="normal"
font-style="normal" text-align="justify" start-indent="0pt"
end-indent="0pt" text-indent="0pt" hyphenate="true" wrap-option="wrap"
linefeed-treatment="treat-as-space">
<fo:block>
<fo:inline font-family="Alegreya, Times New Roman,Alegreya,
Symbol,ZapfDingbats" font-size="75%" font-weight="normal"
font-style="normal" baseline-shift="super">a</fo:inline> „W. Sauter
und P. Hättenschwiler (2004) <fo:inline font-style="italic">Zum
System der palaearktischen Psychidae. 3. Teil: Bestimmungsschlüssel
für die Säcke</fo:inline>“ W. Sauter und P. Hättenschwiler (<fo:inline
font-weight="bold">Nota lepidoptera</fo:inline> 27: 59-69) ; im
Internet unter
https://archive.org/stream/notalepidopter2712004soci#page/58/mode/2up.</fo:block>
</fo:footnote-body>
</fo:footnote>
The error was:
ERROR - Invalid property value encountered in font-size="NaN":
org.apache.fop.fo.expr.PropertyException:
file:/F:/EigeneDateien/Schmetterlingsbuechlein/xml/FalterInLenzkirch.xml_xslt:55:13926:
No conversion defined NaN; property:'font-size' (Siehe Position 55:14415)
org.apache.fop.fo.expr.PropertyException:
file:/F:/EigeneDateien/Schmetterlingsbuechlein/xml/FalterInLenzkirch.xml_xslt:55:13926:
No conversion defined NaN; property:'font-size'
I have looked into the Oxygen customization layer, I have even changed
the font-size manually:
In the private xsl file there is not any appearance of "NaN" therefore
I am stymied.
I would appreciate any immediate help.
Bernhard
--
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com,www.urseetal.net
Ich darf auch auf mein neues Buch "Falter in Lenzkirch" aufmerksam machen
(Infos bei mir)
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09