[oXygen-user] Error when transforming
Oxygen XML Editor Support (Radu Coravu)
support at oxygenxml.com
Tue Oct 9 00:26:30 CDT 2018
Hi Bernhard,
If you publish to PDF without your customizations do you obtain the same
problem?
You will probably have to trim down your DocBook file to a minimum until
you have a minimal sample with which the PDF processor problem can be
reproduced. Then you can send it over to "support at oxygenxml.com" and we
can take a look at it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
On 10/8/2018 11:02 PM, 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 at 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 at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list