Re: Having problems with config

2018-11-21 Thread Alexios Giotis
Hi Theresa,

The config is XML, line 1 should be:

HTH,
Alex

> On 21 Nov 2018, at 13:29, Theresa Forster  wrote:
> 
> Hiya Guys,
>  
> After a long time I am trying to get FOP working locally with a java app 
> (embedded) 
>  
> org.xml.sax.SAXException: Not allowed to define mixed content in the element 
> fop at null:1:20
>  
> This is the error I am getting on trying to load the config.
>  
> 
> 
> 
> true
> 
> 
> true
> 
> 
> ./
> 
> 
> ./
> 
> 
> 96
> 
> 96
>  
> And its crashing on line 1….
>  
> Any suggestions?
>  
> Theresa



Re: Strange error with the first word in figure and table titles

2018-11-21 Thread Luca Bellonda
Hello, between the words Tabelle and Spanner there is an unicode spacing
(see attached screenshot). I guess that FOP looks for a font that contains
the character, finding it in Times as second choice,
using it for the whole word; the next word returns to the default font.
If so, it is not a bug, but the expected behavior, I think.
Loot at https://xmlgraphics.apache.org/fop/2.0/fonts.html  -> Font
Selection Strategies

Try using a regular space or a non breaking space.

Best regards.

Il giorno mer 21 nov 2018 alle ore 15:33 Bernhard Kleine <
bernhard.kle...@gmx.net> ha scritto:

> any idea?
> Am 21.11.2018 um 13:12 schrieb Bernhard Kleine:
>
> I hope this fragment shows enough. There seems to be no reason that
> "Tabelle Spanner im Visier des Fotografen" should not be in Alegreya,
> however as you see in the pdf "Spanner" is in Times Roman. If you need also
> the customization layer I could provide it.
>
> Bernhard
>
>  keep-together.within-column="always" margin-left="0pt"
> font-family="Alegreya, Tahoma, Batang,
> sans-serif,Symbol,ZapfDingbats"> keep-with-next.within-column="always"> keep-with-next.within-column="always" space-before.minimum="0.8em"
> space-before.optimum="1.0em" space-before.maximum="1.2em"
> text-align="start" start-indent="0pt"> marker-class-name="section.head.marker">Allgemeine Bemerkungen
> Allgemeine
> Bemerkungen
>  space-before.optimum="1em" space-before.minimum="0.8em"
> space-before.maximum="1.2em">Der deutsche Name dieser Falterfamilie
>  space-before.optimum="1em" space-before.maximum="2em"
> space-after.minimum="0.5em" space-after.optimum="1em"
> space-after.maximum="2em" keep-together.within-column="auto"
> id="d0e14"> space-before.minimum="0.8em" space-before.maximum="1.2em"
> font-weight="bold" font-size="15.6pt" hyphenate="false"
> space-after.minimum="0.4em" space-after.optimum="0.6em"
> space-after.maximum="0.8em" keep-with-next.within-column="always">Tabelle 
> Spanner
> im Visier des Fotografen. border-before-width.conditionality="retain" border-collapse="collapse"
> border-start-style="none" border-end-style="none" border-top-style="none"
> border-bottom-style="none" table-layout="fixed"
> width="100%"> column-width="proportional-column-width(1.00)"/> column-number="2"
> column-width="proportional-column-width(1.00)"/> start-indent="0pt" end-indent="0pt"> keep-with-next.within-column="always"> padding-end="2pt" padding-top="2pt" padding-bottom="2pt"
> text-align="center"> font-weight="bold">Unterfamilie padding-start="2pt" padding-end="2pt" padding-top="2pt"
> padding-bottom="2pt" text-align="center">in
> Baden-Württemberg
>  start-indent="0pt" end-indent="0pt"> padding-start="2pt" padding-end="2pt" padding-top="2pt"
> padding-bottom="2pt"
> text-align="left">Archiearinae padding-start="2pt" padding-end="2pt" padding-top="2pt"
> padding-bottom="2pt"
> text-align="right">2
> Am 21.11.2018 um 12:23 schrieb Matthias Reischenbacher:
>
> Hi Bernhard,
>
> you'll have to provide a XSL-FO fragment, so that we can help you.
> Probably you'll see what the problem is, as soon as you examine it
> yourself. Unfortunately I don't know, how the XSL-FO fragment can be dumped
> with Oxygen before it is converted to PDF.
>
> Best regards,
>
> Matthias
>
> On 21.11.2018 05:07, Bernhard Kleine wrote:
>
> Hi, (my first contribution)
>
> using docbook 5.1 with oxygen 20.1  for a book I happened to meet a
> strange error. The font for the entire work is Alagreya, however, the first
> word of figure and table captions are in Times Roman. As Bob Stayton
> confirmed, there is not any mentioning of Times Roman in the xml I wrote,
> nor in the customization I adapted. It is only this first word. Bob thinks
> this is an error with FOP. Where do I report such errors?
>
> Thanks for reading.
>
> Greetings from the Black Forest
>
> Bernhard
>
> --
> spitzhalde9
> D-79853 lenzkirchbernhard.kle...@gmx.netwww.b-kleine.com, www.urseetal.net
> -
> 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
>
>
> --
> spitzhalde9
> D-79853 lenzkirchbernhard.kle...@gmx.netwww.b-kleine.com, www.urseetal.net
> -
> 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
>
> --
> spitzhalde9
> D-79853 lenzkirchbernhard.kle...@gmx.netwww.b-kleine.com, www.urseetal.net
> -
> 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
>
>

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: Strange error with the first word in figure and table titles

2018-11-21 Thread Bernhard Kleine
any idea?

Am 21.11.2018 um 13:12 schrieb Bernhard Kleine:
>
> I hope this fragment shows enough. There seems to be no reason that
> "Tabelle Spanner im Visier des Fotografen" should not be in Alegreya,
> however as you see in the pdf "Spanner" is in Times Roman. If you need
> also the customization layer I could provide it.
>
> Bernhard
>
>  keep-together.within-column="always" margin-left="0pt"
> font-family="Alegreya, Tahoma, Batang,
> sans-serif,Symbol,ZapfDingbats"> keep-with-next.within-column="always"> keep-with-next.within-column="always" space-before.minimum="0.8em"
> space-before.optimum="1.0em" space-before.maximum="1.2em"
> text-align="start" start-indent="0pt"> marker-class-name="section.head.marker">Allgemeine Bemerkungen
> Allgemeine
> Bemerkungen
>  space-before.optimum="1em" space-before.minimum="0.8em"
> space-before.maximum="1.2em">Der deutsche Name dieser Falterfamilie
>      space-before.optimum="1em" space-before.maximum="2em"
> space-after.minimum="0.5em" space-after.optimum="1em"
> space-after.maximum="2em" keep-together.within-column="auto"
> id="d0e14"> space-before.minimum="0.8em" space-before.maximum="1.2em"
> font-weight="bold" font-size="15.6pt" hyphenate="false"
> space-after.minimum="0.4em" space-after.optimum="0.6em"
> space-after.maximum="0.8em"
> keep-with-next.within-column="always">Tabelle Spanner im Visier des
> Fotografen. border-before-width.conditionality="retain" border-collapse="collapse"
> border-start-style="none" border-end-style="none"
> border-top-style="none" border-bottom-style="none"
> table-layout="fixed" width="100%"> column-width="proportional-column-width(1.00)"/> column-number="2"
> column-width="proportional-column-width(1.00)"/> start-indent="0pt" end-indent="0pt"> keep-with-next.within-column="always"> padding-start="2pt" padding-end="2pt" padding-top="2pt"
> padding-bottom="2pt" text-align="center"> font-weight="bold">Unterfamilie padding-start="2pt" padding-end="2pt" padding-top="2pt"
> padding-bottom="2pt" text-align="center"> font-weight="bold">in Baden-Württemberg
>  start-indent="0pt" end-indent="0pt"> padding-start="2pt" padding-end="2pt" padding-top="2pt"
> padding-bottom="2pt"
> text-align="left">Archiearinae padding-start="2pt" padding-end="2pt" padding-top="2pt"
> padding-bottom="2pt"
> text-align="right">2
>
> Am 21.11.2018 um 12:23 schrieb Matthias Reischenbacher:
>>
>> Hi Bernhard,
>>
>> you'll have to provide a XSL-FO fragment, so that we can help you.
>> Probably you'll see what the problem is, as soon as you examine it
>> yourself. Unfortunately I don't know, how the XSL-FO fragment can be
>> dumped with Oxygen before it is converted to PDF.
>>
>> Best regards,
>>
>> Matthias
>>
>>
>> On 21.11.2018 05:07, Bernhard Kleine wrote:
>>>
>>> Hi, (my first contribution)
>>>
>>> using docbook 5.1 with oxygen 20.1  for a book I happened to meet a
>>> strange error. The font for the entire work is Alagreya, however,
>>> the first word of figure and table captions are in Times Roman. As
>>> Bob Stayton confirmed, there is not any mentioning of Times Roman in
>>> the xml I wrote, nor in the customization I adapted. It is only this
>>> first word. Bob thinks this is an error with FOP. Where do I report
>>> such errors?
>>>
>>> Thanks for reading.
>>>
>>> Greetings from the Black Forest
>>>
>>> Bernhard
>>>
>>> -- 
>>> spitzhalde9
>>> D-79853 lenzkirch
>>> bernhard.kle...@gmx.net
>>> www.b-kleine.com, www.urseetal.net
>>> -
>>> 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
>>
> -- 
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kle...@gmx.net
> www.b-kleine.com, www.urseetal.net
> -
> 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

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
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


Having problems with config

2018-11-21 Thread Theresa Forster
Hiya Guys,

 

After a long time I am trying to get FOP working locally with a java app 
(embedded) 

 

org.xml.sax.SAXException: Not allowed to define mixed content in the element 
fop at null:1:20

 

This is the error I am getting on trying to load the config.

 




true


true


./


./


96

96

 

And its crashing on line 1….

 

Any suggestions?

 

Theresa



Re: Strange error with the first word in figure and table titles

2018-11-21 Thread Matthias Reischenbacher
Hi Bernhard,

you'll have to provide a XSL-FO fragment, so that we can help you.
Probably you'll see what the problem is, as soon as you examine it
yourself. Unfortunately I don't know, how the XSL-FO fragment can be
dumped with Oxygen before it is converted to PDF.

Best regards,

Matthias


On 21.11.2018 05:07, Bernhard Kleine wrote:
>
> Hi, (my first contribution)
>
> using docbook 5.1 with oxygen 20.1  for a book I happened to meet a
> strange error. The font for the entire work is Alagreya, however, the
> first word of figure and table captions are in Times Roman. As Bob
> Stayton confirmed, there is not any mentioning of Times Roman in the
> xml I wrote, nor in the customization I adapted. It is only this first
> word. Bob thinks this is an error with FOP. Where do I report such errors?
>
> Thanks for reading.
>
> Greetings from the Black Forest
>
> Bernhard
>
> -- 
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kle...@gmx.net
> www.b-kleine.com, www.urseetal.net
> -
> 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



Strange error with the first word in figure and table titles

2018-11-21 Thread Bernhard Kleine
Hi, (my first contribution)

using docbook 5.1 with oxygen 20.1  for a book I happened to meet a
strange error. The font for the entire work is Alagreya, however, the
first word of figure and table captions are in Times Roman. As Bob
Stayton confirmed, there is not any mentioning of Times Roman in the xml
I wrote, nor in the customization I adapted. It is only this first word.
Bob thinks this is an error with FOP. Where do I report such errors?

Thanks for reading.

Greetings from the Black Forest

Bernhard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
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