Another CSS suggestion: pre-wrap

Warren Block wblock at wonkity.com
Sun Jul 28 22:09:14 UTC 2013


On Sun, 28 Jul 2013, Gabor Kovesdan wrote:

> On 2013.07.28. 21:37, Warren Block wrote:
>> 
>> 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 believe it is possible to make them work together. But using these 
> extensions requires using Saxon as the XSLT processor, which is 
> Java-based and slower than xsltproc.  Even if we end up using Java for 
> PDF rendering, it would be better to keep the XHTML build fast and 
> Java-free so that committers can easily test their work.

Do you mean Java is needed to do the linewrap on XHTML, or that it would 
be needed to do line numbers and syntax highlighting?


More information about the freebsd-doc mailing list