OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] Using <h1> for chapter titles in HTML output


You are right.  I did miss Bob's very quick response.  I allowed my
email filter to categorize that message incorrectly.

Thank you for your help and Bob, thank you for yours.  I certainly
appreciate it. 

Peter Desjardins

> -----Original Message-----
> From: Tristan Mitchell [mailto:tristan.mitchell@deltaxml.com] 
> Sent: Monday, February 05, 2007 10:16
> To: docbook-apps@lists.oasis-open.org
> Subject: Re: [docbook-apps] Using <h1> for chapter titles in 
> HTML output
> 
> Hi Peter,
> 
> I thought Bob Stayton replied to this last week but perhaps 
> you missed the answer!
> 
> He mentioned the template called 'component.title' in 
> html/components.xsl This calculates the h-number to use for 
> the title of a component. However, there is also 
> 'section.heading' in sections.xsl that performs a similar 
> task. You should be able to play with these to achieve what 
> you're looking for.
> 
> Tristan Mitchell
> 
> Peter Desjardins wrote: 
> 
> 	I posted this question about altering the HTML element 
> used for chapter
> 	titles a few days ago.  To ask it more concisely:
> 	
> 	Does anyone know how to customize HTML output so that 
> <h1> is used for
> 	chapter titles instead of <h2>?  A hint regarding the 
> point in the XSL
> 	to experiment with would help me.
> 	
> 	If I am omitting important details or if this 
> information is available
> 	elsewhere, please let me know and accept my apology for 
> the double
> 	posting.
> 	
> 	Again, my thanks for your generous help. 
> 	
> 	Peter Desjardins
> 	
> 	  
> 
> 		-----Original Message-----
> 		From: Peter Desjardins 
> [mailto:pdesjardins@supplyscape.com] 
> 		Sent: Thursday, February 01, 2007 12:12
> 		To: docbook-apps@lists.oasis-open.org
> 		Subject: [docbook-apps] Using <h1> for chapter 
> titles in HTML output
> 		
> 		I am trying to customize HTML output so that MS 
> Word will 
> 		open the HTML files in a way that produces consistent 
> 		paragraph styles.  In particular, I want 
> chapter titles in 
> 		the DocBook content to become <h1> elements so 
> that they 
> 		eventually map to the default "Heading 1"
> 		paragraph style in MS Word.  By default, the 
> chapter title is 
> 		output in an <h2> element.
> 		
> 		My searching the docbook-apps archives, HTML parameter 
> 		documentation, and experimenting with XSL 
> customizations has 
> 		not turned up an answer for me.
> 		
> 		Can anyone point me to a configuration that will cause 
> 		chapter titles to appear in the HTML <h1> element?
> 		
> 		In case it matters, the DocBook content uses <section> 
> 		elements rather than <sect1>, <sect2>, and so 
> on.  Also, I 
> 		don't mind that the <book> title is already 
> <h1>.  Having 
> 		both the book and chapter titles use <h1> is 
> not a problem for me.
> 		
> 		Thanks for your help.
> 		
> 		Peter Desjardins
> 		    
> 
> 	
> 	
> ---------------------------------------------------------------------
> 	To unsubscribe, e-mail: 
> docbook-apps-unsubscribe@lists.oasis-open.org
> 	For additional commands, e-mail: 
> docbook-apps-help@lists.oasis-open.org
> 	
> 	  
> 
> 
> --
> Tristan Mitchell, Software Engineer, DeltaXML Ltd
> DeltaXML: "Change control for XML"
> tristan.mitchell@deltaxml.com  http://www.deltaxml.com
> Tel: +44 1684 869035
> Free Online XML Comparison service: http://compare.deltaxml.com
> --------------------------------------------------------------
> ------- To unsubscribe, e-mail: 
> docbook-apps-unsubscribe@lists.oasis-open.org For additional 
> commands, e-mail: docbook-apps-help@lists.oasis-open.org 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]