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


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-apps] Indenting first line of a para


Joachim Ziegler:
[ Charset ISO-8859-1 unsupported, converting... ]
> How do I indent the first line of a paragraph in pdf output?
> (LaTex calls this \parindent.)
> 
> In German text books, paragraphs are often seperated by no skip space 
> between them, but by indenting the first line of a paragraph.

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.


David Tolpin




To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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