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] Hanging indent for biblioentries

Thanks. This turned out relatively simple. I replaced the following code:

      <fo:block id="{$id}" xsl:use-attribute-sets="biblioentry.properties">
        <xsl:copy-of select="$label"/>
          <xsl:when test="$bibliography.style = 'iso690'">
            <xsl:call-template name="iso690.makecitation"/>
            <xsl:apply-templates mode="bibliography.mode"/>

With this:

        <fo:list-block provisional-distance-between-starts="{$body.start.indent}"
                       space-before.optimum="0.5em" start-indent="0mm">
            <fo:list-item-label end-indent="label-end()" text-align="end">
                <xsl:call-template name="biblioentry.label" />
            <fo:list-item-body start-indent="body-start()" text-align="start">
                <xsl:apply-templates mode="bibliography.mode" />


On Sat, Oct 22, 2011 at 10:47 PM, Bob Stayton <bobs@sagehill.net> wrote:
[Moving this over to the docbook-apps mailing list where stylesheet issues are discussed]
I'm not sure what you mean by simple here.  This requires customizing a template.  The template with match="biblioentry" is in fo/biblio.xsl.  If you copy that to your customization file, you can edit it to apply the method described in that section.  You put the label in the fo:list-item-label block and then apply-templates in mode="bibliography.mode" in the fo:list-item-body block.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
Sent: Saturday, October 22, 2011 5:59 PM
Subject: [docbook] Hanging indent for biblioentries


I am trying to customize biblioentry stylesheet. I would like to treat them similar to my section headings with a hanging indent for the label (similar to http://www.sagehill.net/docbookxsl/SideBySide.html).

Is there a simple way to do this?



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