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]

RE: [docbook] Looking for a "titled paragraph" DocBook element


Put this in your customization layer:

<xsl:template match="formalpara/title">
 <xsl:apply-imports/>
 <br/>
</xsl:template>



> -----Original Message-----
> From: Erik Leunissen [mailto:e.leunissen@hccnet.nl]
> Sent: Saturday, June 14, 2003 7:02 PM
> To: Docbook
> Cc: Carlos Araya
> Subject: Re: [docbook] Looking for a "titled paragraph" 
> DocBook element
> 
> 
> Carlos Araya wrote:
> 
> > ...
> > Look at http://docbook.org/tdg/en/html/formalpara.html and 
> see if that does
> > what you want it to do
> > ...
> 
> 
> Thanks for the pointer to the formalpara element. It does 
> almost exactly 
> what I want. I also see now that I made a mistake in my 
> choice of words 
> when describing what I exactly wanted with respect to the line break.
> 
> This is what I want:
> 
> Title of the paragraph in bold face
>      This is the body of the paragraph to which the title corresponds.
>      There is *a single line break* between the title and the 
> paragraph
>      body, and the body is indented to some arbitrary amount. The body
>      uses a regular, plain font and the title uses the bold version of
>      that same font.
> 
> 
> When transformed into HTML format, this is what I got:
> 
> 
> [begin bold] The title of the paragraph [end bold] The body of the 
> paragraph immediately follows the title; as you can see, there is *no 
> line break* between title and the paragraph body. Also, the 
> body has not 
> been indented. The body does indeed have the desired regular, 
> plain font.
> 
> 
> Is it possible to get the extra new line and the indenting 
> (possibly by 
> using an adjusted style sheet) ? If so I'd appreciate very much a 
> pointer to some information that explains how to do that.
> 
> 
> Thanks in advance,
> 
> Erik Leunissen
> ==============
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org


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