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] page-wide program examples


Actually, it looks like it was added to example but not informalexample.  That's an oversight that I'll fix.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Friday, September 14, 2007 12:00 PM
Subject: RE: [docbook-apps] page-wide program examples

Thanks, Bob.

 

With FOP 0.93, the <?dbfo pgwide=Ē1Ē?> processing instructions works within <example> but not within <informalexample>. I donít know why.

 

Regards,

Jeff Powanda

 


From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: Friday, September 14, 2007 11:30 AM
To: Jeff Powanda; docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] page-wide program examples

 

The latest stylesheets support a processing instruction inside example or informalexample:

 

<informalexample>

<?dbfo pgwide="1"?>

<programlisting> ...

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net

 

 

----- Original Message -----

From: Jeff Powanda

Sent: Friday, September 14, 2007 11:14 AM

Subject: [docbook-apps] page-wide program examples

 

Iíd like to have some program examples extend the full width of the page in PDF output. I thought I could put the <programlisting> elements within an <example> or <informalexample> element, and set the pgwide attribute to 1 (which you can do with tables and figures). However, <example> and <informalexample> donít support the pgwide attribute.

 

As a temporary workaround, Iím inclined to put the <programlisting> inside a <table> or <figure> and set the pgwide attribute.

 

Has anyone else found another simpler way to create page-wide program examples?

 

Regards,

Jeff Powanda

 



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