Next in thread → Next in month →

Re: [docbook-apps] Modify the Chapter Title Format

From
"Cob Rtayton"
Date
2006-12-14T16:58:48+00:00
ID
207201c71fa1$18b5ecc0$6400a8c0@totoro
Thread
Re: [docbook-apps] Modify the Chapter Title Format
You can enhance the component.title attribute-set 
in your customization layer:

 

<xsl:attribute-set 
name="component.title.properties">
  <xsl:attribute 
name="text-align">end</xsl:attribute>
</xsl:attribute-set>

See this reference for more information on using 
attribute-sets:

 

http://www.sagehill.net/docbookxsl/AttributeSets.html

 

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Hinrich Aue 

  
To:  
  

  
Sent: Thursday, December 14, 2006 5:38 
  AM

  
Subject: [docbook-apps] Modify the 
  Chapter Title Format

  

  

  
Hello 
  everybpody,

  
 

  
I want to change the chapter 
  heading so that it is right aligned.

  
I also found an article about 
  this, but It’s not working for me.

  
http://www.oasis-open.org/archives/docbook/200402/msg00074.html

  
Specially modifying templates is 
  to complicated for me right now.

  
Is this the only was to make the 
  chapter title to be right aligned, or is there a somple attribute I can set in 
  my customization layer.

  
Besides, I don’t know how to 
  create my own templates in my customization layer. My Customization layer 
  right now is a xsl file that says things like:

  
 

  
<?xml 
  version='1.0'?>

  
<xsl:stylesheet 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  version="1.0">

  
<xsl:import 
  href="file:///N:/Documentation/docbook/XML/XSL/1.70.1/fo/docbook.xsl"/>

  
</xsl:stylesheet>

  
 

  
Do I add templates here 
  too?

  
 

  
I’m sorry to ask silly questions, 
  but I’m also lacking resources for gettings started the right way with 
  docbook.

  
 

  
Thanks in 
  advance

  
            
  Hinrich Aue
Next in thread → Next in month →