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: line-breaks after slashes in filenames


I'm using docbook - xsl-fo and fop to create a pdf. In my text I have
occasionally the problem, that a part marked with <filename> breaks
inappropriate like this:

some long and random text /
etc/passwd some more text

This is not what I want, of course. I want to get the '/' on the next
line. Its ok to break after a slash on longer filenames, but not after
the first.

I tried to force a line-break by using a processing instruction to
insert a <fo:block/> element in my FO, but this breaks the justification
of the previous line, which also doesn't look pretty good.

How can I solve this problem? A solution that would allow forced
line-breaks without breaking the justification would be ok for me.


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