This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Indenting first line of a para
- From: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- To: David Tolpin <dvd at davidashen dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 19 Jan 2004 17:32:10 +0100
- Subject: Re: [docbook-apps] Indenting first line of a para
- Organization: Max-Planck-Institut für Informatik
- References: <200401191448.i0JEmHs7061339@adat.davidashen.net>
David Tolpin wrote:
By re-defining normal.para.spacing attribute set in the customization layer.
It is, by default,
<xsl:attribute-set name="normal.para.spacing">
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>
You want to remove space-before and add
<xsl:attribute name="text-indent">24pt</xsl:attribute>
text-indent is the XSL FO way to first-line-indent.
Thank you.
This works fine for <para>s, but now the first line of my
<literallayout>s in which I
show program fragments is indented, too.
--
Joachim Ziegler Stuhlsatzenhausweg 85
Max-Planck-Institut für Informatik 66123 Saarbrücken, Germany
Email: ziegler@mpi-sb.mpg.de Tel.: (+49) 0681 9325-127
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.