
Hi Bernhard, I’m not an FO expert, but have you tried omitting the para around the table in the glossdef? It will be equally valid and maybe it will pass the processor’s quirks. Gerrit On 08.10.2018 22:02, Bernhard Kleine wrote:
I have analyzed the situation:
When I transform the glossar of my book, transformation is without trouble. However, when transforming the whole book plus the glossar, it stumbles
I then analyzed the glossar: It has seven glossdivs. The last one consists of some 20 glossdefs, of which I show the last ones:
<glossentry xml:id="glo.Tumor"> <glossterm>Tumor</glossterm> <glossdef> <para>Als Tumor wird zunächst eine raumfordernde Wucherung von Zellen bezeichnet, ein synonymer Ausdruck ist Neoplasie. Dabei gibt es gutartige Tumoren und bösartige. Je nach Ort der Geschwulst und nach Art des verdrängten und geschädigten Gewebes können Krankheiten bis hin zum Tod entstehen. Bösartige Tumoren sind die Ursache von Krebs, bei dem sich ausgehend von den ursprünglichen Tumorzellen weitere Geschwulste (Metatasen) in anderen Körperregionen bilden.</para> </glossdef> </glossentry> <glossentry xml:id="glo.geneticCode" xreflabel="Glo.T Genetischer Code"> <glossterm>Genetischer Code<indexterm> <primary>Genetischer Code</primary> </indexterm></glossterm> <glossdef> <para> <table frame="sides" rowsep="0" colsep="0"> [163 lines] </para> </glossdef> </glossentry> </glossdiv> </glossary> </sect2>
It is this table which made the transformation choke. But only in the context of the book, not in the glossar itself. Can you please explain to me what I do wrong and how to change the behaviour?
I have changed the transformation scenario to:
and are using the following stylesheet:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:d="http://docbook.org/ns/docbook" version="1.0"> <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/> <xsl:param name="caption.align">justify</xsl:param>
<xsl:template match="d:mediaobject/d:caption"> <fo:block role="caption"> <xsl:if test="$caption.align = 'right' or $caption.align = 'left' or $caption.align = 'justify' or $caption.align = 'center'"> <xsl:attribute name="text-align"> <xsl:value-of select="$caption.align"/> </xsl:attribute> </xsl:if> <xsl:apply-templates/> </fo:block> </xsl:template> </xsl:stylesheet>
Regards Bernhard
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@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
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Gerrit Imsieke Geschäftsführer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@le-tex.de, http://www.le-tex.de Registergericht / Commercial Register: Amtsgericht Leipzig Registernummer / Registration Number: HRB 24930 Geschäftsführer / Managing Directors: Gerrit Imsieke, Svea Jelonek, Thomas Schmidt ---------------------------------------------- Warum wir dieses Jahr nicht auf der Frankfurter Buchmesse sind: https://www.le-tex.de/de/stellungnahme_buchmesse-2018.html