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-apps] height literallayout

Yes, it is possible.  You would need to customize the template for 
literallayout as there is no parameter to control that.  Fortunately, you 
can do it with a wrapper around <xsl:apply-imports/> instead of customizing 
the original template. This template computes the height from a PI and wraps 
an fo:block-container around the content that is still processed with the 
original template via xsl:apply-imports:

<xsl:template match="literallayout">
  <xsl:variable name="height">

    <xsl:when test="string-length($height) &gt; 0">
      <fo:block-container height="{$height}">

Then add a processing instruction to your documents as needed:

<literallayout><?boxheight 2in?>First line

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "Lily Galle" <lily.galle@gmx.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, January 22, 2009 1:04 PM
Subject: [docbook-apps] height literallayout

> Hallo,
> Is it possible to define the height between <literallayout> and 
> </literallayout> ?    For example with “processing instruction” or with 
> “role”?
> Thanks for any help!
> Lily
> -- 
> NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL
> für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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