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] term at the right of listitem for recto pages


Hi,
This cannot be done with a fo:list-block.  The basic problem is that the 
page breaks are determined by the XSL-FO processor, after the DocBook 
stylesheet has completed its work.  DocBook stylesheet has no knowledge of 
where the page breaks are, and hence whether a given list is on a recto or 
verso page.

The only way I know to place content on the outside of alternating pages is 
to use an fo:float and use one of the XSL-FO processors that support an 
extension for specifying an "outside" float (XEP or Antenna House).   Using 
a float, the paragraph would be in the main flow, and the term would be in a 
float embedded at the start of the fo:block containing the paragraph.  See 
this reference for more information:

http://www.sagehill.net/docbookxsl/SideFloats.html

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Lily Galle" <lily.galle@gmx.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Saturday, September 27, 2008 10:07 PM
Subject: [docbook-apps] term at the right of listitem for recto pages


> Dear all,
>
> I use variablelist through my whole docBook XML file in order to get one 
> layout like the following example:
>
>                     SECT1 TITLE
>
> Motivation          Hier is one paragraph about Motivation
>
>
> Situation           Hier is one paragraph about Situation
>
>
>                       Hier is another paragraph
>
>
> (The code are listed at the end of this mail.) But in recto pages, I would 
> like the following layout:
>
>                            SECT1 TITLE
>
> Hier is one paragraph about Motivation      Motivation
>
>
> Hier is one paragraph about Situation       Situation
>
>
> Hier is another paragraph
>
>
> Could someone be so kind to tell me how to manage it?
>
>
> (My code in docBook XML: )
>
> <sect1>
> <title> SECT1 TITLE </title>
> <variablelist>    <?dbfo term-width="1.50in"?>
>
>  <varlistentry>
>    <term>Motivation</term>
>    <listitem>
>    <para>Hier is one paragraph about Motivation</para>
>    </listitem>
> </varlistentry>
>
> <varlistentry>
>   <term>Situation</term>
>  <listitem>
>    <para>Hier is one paragraph about Situation</para>
>  </listitem>
> </varlistentry>
>
>   <varlistentry>
>     <term></term>
>     <listitem>
>      <para>Hier is another paragraph.</para>
>     </listitem>
>   </varlistentry>
>
>   </variablelist>
> </sect1>
>
>
> Thanks for any help!
>
> Lily
>
> -- 
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
> http://www.gmx.net/de/go/multimessenger
>
> ---------------------------------------------------------------------
> 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]