On Sun, 28 Jul 2013, Gabor Kovesdan wrote:
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.
Line numbering is nice sometimes, although sometimes it's easy to
confuse with content. Syntax highlighting could be useful in places
like the Architecture Handbook, but as you say, we don't have it now.
Would you agree that using this line wrap now would not prevent
switching to other methods in the future?
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.
Agreed on all counts.
A useful example is at the bottom of this page:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/xml-primer-elements.html
The xmllint output is huge and scrolls off the right of the screen.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"