Mailinglist Archive: opensuse-doc (3 mails)

< Previous Next >
Re: [opensuse-doc] PDF build error
Hi Guillaume,

Le 24/11/2011 10:44, Thomas Schraitle a écrit :
$ rpm -q xmlgraphics-fop

Looks good.

$ rpm -q freefont dejavu

Also ok.


It helps for the CSS error be I get lots of errors like this one :
org.w3c.dom.DOMException: The current document is unable to create an
element of the requested type (namespace:,
name: flowRoot). at
org.apache.batik.dom.AbstractNode.createDOMException(Unknown Source)

It seems the above error is caused by a "strange" SVG graphic.

Which JVM/JRE do you use to build the doc? I am using openJDK.

Me too on openSUSE 12.1:

$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (suse-1.2-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Please note that the following generates a PDF without error:
daps --envfile=ENV-opensuse-kvm color-pdf
daps --envfile=ENV-opensuse-reference color-pdf
daps --envfile=ENV-opensuse-security color-pdf
daps --envfile=ENV-opensuse-startup color-pdf

That's a good tip! It was the Tuning Guide which does not build. After
some investigation, it's the cgroups1.svg graphic to blame.

If you save a SVG graphic as normal "Inkscape SVG" it introduces
strange "-inkscape-bla" attributes which causes this error. You have to
explicitly save it as "Plain SVG" to avoid such attributes. I mention
it so you can avoid such problems. It hit me in the past sometimes. ;)

I've committed the fixed SVG and it builds now. However, the graphic
looks garbled...

Last request, it cannot find "productname" nor "productnamereg" in
html and pdf, so it generates empty productname and I get
"Documentation de" (french for "Documentation of") without
"openSUSE", just a blank. Where could it come from?

I will look into this.

Thomas Schraitle

SUSE LINUX Products GmbH (o<
Maxfeldstrasse 5 /\\ Documentation Specialist
90409 Nuernberg, Germany _\_v
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild,
Felix Imendörffer, HRB 21284 (AG Nürnberg)
To unsubscribe, e-mail: opensuse-doc+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-doc+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation