Re: [docbook-apps] ERROR - Invalid property value encountered in font-size="NaN":

2019-03-10 Thread Bob Stayton
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:



 pt


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)


    
        font-style="normal" baseline-shift="super">a

    
    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">

    
        font-style="normal" baseline-shift="super">a „W. Sauter 
und P. Hättenschwiler (2004)  Zum 
System der palaearktischen Psychidae. 3. Teil: Bestimmungsschlüssel 
für die Säcke“ W. Sauter und P. Hättenschwiler (font-weight="bold">Nota lepidoptera 27: 59-69) ; im 
Internet unter
https://archive.org/stream/notalepidopter2712004soci#page/58/mode/2up. 


    



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


[docbook-apps] ERROR - Invalid property value encountered in font-size="NaN":

2019-03-10 Thread Bernhard Kleine
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)


    
        a
    
    
    
        a „W. Sauter und
P. Hättenschwiler (2004)  Zum System der
palaearktischen Psychidae. 3. Teil: Bestimmungsschlüssel für die
Säcke“ W. Sauter und P. Hättenschwiler (Nota lepidoptera 27: 59-69) ; im Internet
unter
   
https://archive.org/stream/notalepidopter2712004soci#page/58/mode/2up.
 

    



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



signature.asc
Description: OpenPGP digital signature