Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2013 21:25:05 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Warren Block <wblock@wonkity.com>
Cc:        doc@FreeBSD.org
Subject:   Re: Another CSS suggestion: pre-wrap
Message-ID:  <51F57011.2000603@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1307281308390.10705@wonkity.com>
References:  <alpine.BSF.2.00.1307281057160.9642@wonkity.com> <51F558D2.1010808@FreeBSD.org> <51F56688.5040900@FreeBSD.org> <alpine.BSF.2.00.1307281308390.10705@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51F57011.2000603>