Hi Rdu I can understand this. What I find problematic that I can savely transform the 700 pages book when I have changes docbook-custom.xsl, but changing
the customization from to renders the transformation faulty. That in my opinion is the problem. It has nothing to do with the modified xls stylesheet. And I am lost how debug this since the error is erratic in my opinion besides fop not giving any log. Regards Bernhard Am 09.10.2018 um 14:44 schrieb Oxygen XML Editor Support (Radu Coravu): > Hi Bernhard, > > As I previously said I do not have enough details on my side (the > XSL-FO file on which the PDF processor is applied to produce the PDF > or a sample Docbook XML + XSLT customization) in order to understand > better what's going on. > > Regards, > Radu > > Radu Coravu > <oXygen/> XML Editor > http://www.oxygenxml.com > > On 10/9/2018 1:23 PM, Bernhard Kleine wrote: >> For the moment I have solved the problem by changing ..\Oxygen XML >> Editor 20\frameworks\docbook\xsl\fo\docbook_custom.xsl and adding the >> lines from my customization. This worked. Copying docbook_custom.xsl to >> the xsl/fo/ subfolder of my project doesnot work since it links to >> further stylesheets. Having docbook_custom.xsl added as another >> stylesheet did not work since "cascading stylesheet" did not work. >> >> The error I reported has obviously nothing to do with the content of the >> Buch.xsl stylesheet, but with the customization I have shown to you. I >> am lost to see the reason for that. >> >> Regards >> >> Bernhard >> >> >> Am 09.10.2018 um 07:26 schrieb Oxygen XML Editor Support (Radu Coravu): >>> 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 >>> "[email protected]" 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 >>>> [email protected] >>>> 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 >>>> [email protected] >>>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user >>>> >>> _______________________________________________ >>> oXygen-user mailing list >>> [email protected] >>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user >> >> >> >> _______________________________________________ >> oXygen-user mailing list >> [email protected] >> https://www.oxygenxml.com/mailman/listinfo/oxygen-user >> > _______________________________________________ > oXygen-user mailing list > [email protected] > https://www.oxygenxml.com/mailman/listinfo/oxygen-user -- spitzhalde9 D-79853 lenzkirch [email protected] 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
_______________________________________________ oXygen-user mailing list [email protected] https://www.oxygenxml.com/mailman/listinfo/oxygen-user
