Hallo
ich habe folgendes Problem, ich habe meine Bachelorarbeit in Docbook geschrieben, jetzt will ich sie mit oxygen in pdf umwandeln, dazu habe ich folgendes xsl-stylesheet (da ich kein Fachmann bin, habe ich einiges zusammenkopiert, vorallem für die Titelveränderungen). Nach der Umwandlung schreibt er mir ein paar Seiten den Text inkl. Bilder zentriert ohne der Fußzeile zunahe zukommen, und bei einigen Seiten springt er mit dem Text in die Fußzeile rein ohne einen Seitenumbruch zumachen. (Selbst bei einfachen para-Blocken)
Vielleicht kennt ihr das Problem, wäre super wenn ihr mir helfen könnt, wenn noch weitere Infos zu meinem nicht vorhandenen wissen gewünscht sind werde ich die gerne beantworten.
Vielen Dank Euch allen....
Alex
Meine Transformation:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="docbook.xsl"/>
<xsl:param name="paper.type">A4</xsl:param>
<xsl:param name="admon.graphics" select="0"/>
<xsl:param name="shade.verbatim" select="0"></xsl:param>
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="chapter.autolabel" select="1"></xsl:param>
<xsl:param name="section.autolabel.max.depth">4</xsl:param>
<xsl:param name="section.label.includes.component.label" select="0"/>
<xsl:param name="body.font.master">12</xsl:param>
<xsl:param name="autotoc.label.separator" select="'. '"/>
<xsl:attribute-set name="section.level4.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="section.title.level1.properties">
<xsl:attribute name="font-size">16pt</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="section.title.level2.properties">
<xsl:attribute name="font-size">16pt</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="section.title.level3.properties">
<xsl:attribute name="font-size">14pt</xsl:attribute>
</xsl:attribute-set>
<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="chapter.titlepage.recto.style"
margin-left="{$title.margin.left}"
font-size="18pt"
font-weight="bold"
font-family="{$title.font.family}">
<xsl:call-template name="component.title">
<xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="appendix.titlepage.recto.style"
margin-left="{$title.margin.left}"
font-size="18pt"
font-weight="bold"
font-family="{$title.font.family}">
<xsl:call-template name="component.title">
<xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<xsl:template match="title" mode="bibliography.titlepage.recto.auto.mode">
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="bibliography.titlepage.recto.style"
margin-left="{$title.margin.left}"
font-size="18pt"
font-weight="bold"
font-family="{$title.font.family}">
<xsl:call-template name="component.title">
<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<xsl:template match="title" mode="glossary.titlepage.recto.auto.mode">
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="glossary.titlepage.recto.style"
margin-left="{$title.margin.left}"
font-size="18pt"
font-weight="bold"
font-family="{$title.font.family}">
<xsl:call-template name="component.title">
<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
</xsl:call-template>
</fo:block>
</xsl:template>
<xsl:attribute-set name="formal.title.properties"
use-attribute-sets="normal.para.spacing">
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="font-size">12pt</xsl:attribute>
<xsl:attribute name="hyphenate">false</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
<xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
<xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
</xsl:attribute-set>
<xsl:param name="line-height">1.2</xsl:param>
<xsl:param name="header.column.widths" select="'1 2 1'"></xsl:param>
<xsl:param name="header.table.height">1.2em</xsl:param>
<xsl:attribute-set name="normal.para.spacing">
<xsl:attribute name="space-before.optimum">0.75em</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.0em</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>