This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Margin Lay-out


Hello,

I'm using the Docbook XSL 1.60.1 distribution to turn my DOCBOOK documents into XSLFO. I've made an XSL file that imports the docbook XSL and overwrites global variables (from param.xsl). I pasted this file below.

I have numbered sections. Can I get my lay-out to look like this:

Chapter 1. Activities
  1.1. Analyse the problem
       Status: blah
       Some more text
1.1.1. This section is blah

What I now get is this (see 1.1.1.):

 Chapter 1. Activities
 1.1. Analyse the problem
      Status: blah
      Some more text
 1.1.1. This section is blah

So, the numberes must be in the left margin and all the text must be alined.
Hmm... I hope I made the question a little bit clear...

Thnx anyway... Jeroen.
______________________________________________________________________
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version='1.0'
                xmlns="http://www.w3.org/TR/xhtml1/transitional";
                exclude-result-prefixes="#default">

<xsl:import href="file:///C:/Software/Utils/Docbook_XSL/docbook-xsl-1.60.1/fo/docbook.xsl"/>

<!-- Text alignment -->
<xsl:param name="alignment">left</xsl:param>
<!-- Font -->
<xsl:param name="body.font.family" select="'Verdana'"/>
<xsl:param name="title.font.family" select="'Verdana'"/>
<!-- FOP extensions (PDF bookmarks) -->
<xsl:param name="fop.extensions" select="1"/>
<!-- Generate TOC of sections -->
<xsl:param name="generate.section.toc.level" select="1"/>
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="section.label.includes.component.label" select="1"/>
<!-- Glossary as blocks -->
<xsl:param name="glossary.as.blocks" select="1"/>
<!-- Hyphenation -->
<xsl:param name="hyphenate">false</xsl:param>
<!-- Paper type -->
<xsl:param name="paper.type" select="'A4'"/>
<!-- TOC section depth -->
<xsl:variable name="toc.section.depth">1</xsl:variable>
<!-- Use Extensions -->

</xsl:stylesheet>
______________________________________________________________________


Jeroen Alblas
* [mailto:jeroena at infosupport dot com]
* + 31-(0) 318 55 20 20 (office)

Info Support,
Our know-how,
your competitive edge
Einsteinstraat 22-1
3902 HN Veenendaal
Tel : + 31 (0) 318 55 20 20
Fax: + 31 (0) 318 55 23 55
[http://www.infosupport.com]



Disclaimer   http://www.infosupport.com
***********************************************************************
This E-Mail Message is intended exclusively for the addressee. If the 
E-Mail was sent to you in error, please notify the sender immediately 
by replying to this E-mail. We would then request you to destroy the 
E-Mail and neither to use nor disclose the contents in any manner to 
third parties, as the message could contain confidential information 
which may be protected by the professional secrecy act. 

This footnote also confirms that this E-mail message has been swept for 
computer viruses.
***********************************************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]