On Mon, 8 Sep 2003, Andreas L. Delmelle wrote:

> > From: Robert P. J. Day [mailto:[EMAIL PROTECTED]
> >
> >
> >   it seems that FOP is breaking a line in a rather unusual place.  i'm
> > using docbook, and i have a <variablelist>, where a single entry has
> > two "terms": /bin and /usr/bin
> 
> </snip>
> 
> > just for fun, i attached the short PDF file.
>     ^^^^^^
> 
> If you hadn't, I probably wouldn't have been able to tell, but ...
> 
> > am i doing something wrong?  it's hard to see why FOP is making the
> > line break decision that it is.
> >
> 
> ... I think this has something to do with the fact that '/bin, /usr/bin'
> doesn't fit the surrounding table-cell (or sth of the sort). ;) ( Not sure
> what hyphenation would apply in the case of pathnames... )

i'd already assumed that the line break was happening because there
wasn't enough room to display the entire string "/bin, /usr/bin".
but it's not at all clear why FOP chose to break the string where
it did, when it would *seem* that breaking at that space would be
the obvious place.

by way of experimentation, with a longer, earlier term, i forced those
table cells to be longer so that the string actually fit, and what i got
was 

  /bin, /usr/bin

now, i started reducing the length of the table cell slightly until,
finally, FOP was forced to break the string, and what i got was

  /bin, /
  usr/bin

as before.  in other words, FOP didn't just knock a character or two
off the end, it whacked off that entire "usr/bin" portion.  so FOP
was clearly making a decision about where to break the string, and it
decided to do it in a very unusual place.

anyway, i'm still puzzled about how to deal with this.

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to