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] Two column layout for programlisting


In XSLFO 1.0, the way to do this is to create a two-column page layout in 
the page-master, and then span all elements that are not programlisting. 
The span property is not inherited, so you  have to put it in lots of 
places, and I'm not sure if you can do it with attribute-sets for all 
elements.

But the other problem with spans is that DocBook has many nested blocks, 
and a spanned block should be a direct child of fo:flow.  There are 
workarounds for getting a flatter output.

You don't mention your FO processor.  I know XEP has an extension for 
creating multicolumn output inside a block.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Torsten Uhlmann" <tuhlmann@agynamix.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, November 30, 2006 4:07 AM
Subject: [docbook-apps] Two column layout for programlisting


Hi,

Did anybody already succeed in generating parts of a Docbook document in
a two column layout while the other part remains one column (for
generating PDF)?

I need to layout programlisting elements in a two column fashion while
the rest remains one column?

I would include Processing Instructions right after the <programlisting>
element (as in Bob's books example about reducing the font size), but I
have absolutely no clue how I would process the <programmlisting>
element.

Can anybody give me some hints?

Thanks,

Torsten.


-- 

Dopus - free Docbook Publishing Framework

Torsten Uhlmann
AGYNAMIX(R). Sheltering Talent.

Tel    : +49 3721 273445
Fax    : +49 3721 273446
Mobile : +49 177 5261680
Email  : tuhlmann@agynamix.de
www    : http://www.agynamix.de



---------------------------------------------------------------------
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]