This is the mail archive of the 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: <step> number and content on different lines

Ok, this should fix it. Just adjust the xsl:import so that it points to
the 1.50.x xsls you're using and run your processor using this as the

Oh, and, btw., I just realized :) that this whole thread should be on
docbook-apps (the list for tools related questions). Please post
follow-ups there.

<?xml version='1.0'?>

<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet xmlns:xsl="";

<xsl:import href="../../../../../DocBookXSL/1.50.0/fo/docbook.xsl"/>

<xsl:template match="step">
  <xsl:variable name="id"><xsl:call-template
  <fo:list-item id="{$id}" xsl:use-attribute-sets="list.item.spacing">
<!-- moving list.item.spacing here for fop -->
    <fo:list-item-label end-indent="label-end()">
          <xsl:when test="count(../step) = 1">
            <xsl:apply-templates select="." mode="number">
              <xsl:with-param name="recursive" select="0"/>
    <fo:list-item-body start-indent="body-start()">

<!-- adding step/para[1] -->
<xsl:template match="listitem/para[1]


> > -----Original Message-----
> > From: O'Donnell, Vincent []
> > Sent: Friday, May 10, 2002 6:13 AM
> > To:
> > Subject: RE: DOCBOOK: <step> number and content on different lines
> > 
> > 
> > (using stylesheets 1.50)
> > I don't think I am using a customization layer, but here is 
> > an example of
> > the offending fo,
> > 
> > 
> > I don't understand all the things in there (know where I can get
> > explanations?) - I think it looks like it should work ok, 
> > although I wonder
> > what the label end-indent and the body start-indent are doing??
> > 
> > If this should be ok, does it mean that fop is making the 
> > mess? Can anyone
> > else try this chunk on their setup?
> > 
> > tamuch
> > 

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