Hi Nikolay, On Dienstag, 14. August 2007, Nikolay Derkach wrote:
[...]
runtime error: file /usr/share/susedoc/xslt/misc/svg.color2grayscale.xsl line 75 element copy Attribute nodes must be added before any child nodes to an element.
Have you tried it with the latest release?
Yes, I have. This happens on every SVG file from opensuse-manual. A snip of make log is here: http://svn.team.org.ru:8000/trac/browser/test/svg_errors.txt?form at=txt
Also: if I overcome these svgs this is unfortunately not the end:
/usr/share/susedoc/bin/fopchangefontpath.py /usr/share/susedoc/etc/FOP/fop-suse.xml -o /home/nderkach/.susedoc/fop-config.xml Traceback (most recent call last): File "/usr/share/susedoc/bin/fopchangefontpath.py", line 254, in <module> fop.process() File "/usr/share/susedoc/bin/fopchangefontpath.py", line 209, in process fontres[0], IndexError: list index out of range make: *** [/home/nderkach/.susedoc/fop-config.xml] Error 1
I checked out your files from svn://svn.team.org.ru/trunk/merged/ and build all books with XEP some with FOP and they work. I guess there are two possibilities: 1. Missing Packages or Wrong Versions There is a bug related to SVG in the 0.95 release of dia (published in 10.2). In my repository [1] you can find a patched version from Berthold. Please check your package versions and compare it with the following list: $ rpm -q susedoc inkscape transfig ImageMagick xml-commons-resolver docbook-xsl-stylesheets svg-dtd freefont agfa-fonts fop dia susedoc-4.2_20070813-1 inkscape-0.44.1-26.2 transfig-3.2.5_alpha7-1 ImageMagick-6.3.0.0-27.6 xml-commons-resolver-1.1-43 docbook-xsl-stylesheets-1.73.0-2 svg-dtd-20030114-192 freefont-0.20060718-28 agfa-fonts-2003.03.19-53 fop-0.93-2.1 dia-0.96.1-5.1 2. Old SVG Graphics Did you try a "make clean"? If make finds an already processed SVG graphic, it will not create it from the original source. For this reason remove some old files and rebuild the book from scratch. I had this bug last time too but I am pretty sure it is fixed now. The last error about fop-config.xml looks really strange but I think is has something to do with one of the issues before. Hope this helps, Tom ---- [1] http://software.opensuse.org/download/home:/thomas-schraitle/ -- Thomas Schraitle ---------------------------------------------------------------------- SUSE LINUX GmbH >o) Documentation Specialist Maxfeldstrasse 5 /\\ 90409 Nuernberg _\_v http://en.opensuse.org/Documentation_Team http://developer.novell.com/wiki/index.php/Lessons_for_Lizards --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-doc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-doc+help@opensuse.org