Another CSS suggestion: pre-wrap
Gabor Kovesdan
gabor at FreeBSD.org
Sun Jul 28 19:25:32 UTC 2013
On 2013.07.28. 21:17, Warren Block wrote:
>> This seems to does the XSLT-part, although it may be done in a better
>> way since it breaks some DocBook features that we don't use:
>> http://kovesdan.org/patches/xhtml-wrap.diff
>
> Nice! Which DocBook features would be compromised? Are there any
> other reasons not to start using this now?
Line numbering and syntax highlighting. Both require XSLT extensions and
thus won't work with xsltproc. I don't know of any other reason not to
use them.
I think we should only use the indicator at the end of the line both not
at the start of the wrapped part since this is more conventional. And it
would be nice to use the same symbol that we use in the new PDFs. That
is part of the Droid Sans Mono font. This example uses images but maybe
it is possible to use text, I'm not sure about this, I don't know CSS so
well. Anyway, we may as well create an image with an SVG editor.
Gabor
More information about the freebsd-doc
mailing list