Re: [docbook-apps] <literallayout> rendered with lots of internalwhitespace

From
Jens Stavnstrup <>
Date
2003-10-14T09:34:26+00:00
ID
Thread
Re: [docbook-apps] <literallayout> rendered with lots of internalwhitespace
Bob,

In the CVS (sept 18) I can see you added text-align="start" to the 
literallayout template (in fo/verbatim.xsl)
when not monospaced. You should properly do the same thing for address, 
which is currently inherits the justify attribute the same way, as 
remarked by Robert.

Regards,

Jens

On Fri, 5 Sep 2003, Bob Stayton wrote:

> 
> I think this may be a bug in the attribute-set definitions.
> The 'verbatim.properties' attribute set does not set
> text-align="start", so FOP reverts to the inherited 
> text-align="justify".  The 'monospace.verbatim.properties'
> attribute-set uses 'verbatim.properties' and adds
> text-align="start".
> 
> This seems to have been done intentionally, but I'm not
> sure why.  I think all of the whitespace preserving
> properties should be in these attribute-sets.
> These would include:
> 
> text-align='start'
> wrap-option='no-wrap'
> white-space-collapse='false'
> linefeed-treatment="preserve"
> 
> I'll ask Norm about it.
> 


> -- 
> 
> Bob Stayton                                 400 Encinal Street
> Publications Architect                      Santa Cruz, CA  95060
> Technical Publications                      voice: (831) 427-7796
> The SCO Group                               fax:   (831) 429-1887
>                                             email: 
>