[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Syntax highlighting
On 6.12.2013 22:53, Norman Walsh wrote: > It appears that modern systems do this in the JavaScript layer on the > client. They also use tables to render line numbers. > > I'm tempted to move in this direction. Comments? I have used both approaches. Problem with Javascript one is that it doesn't work for print (neither of XSL-FO, HTML/CSS composition egines support Javascript) and sometimes introduces delay in rendering. On the other hand Javascript syntax highlighters are in a more active development then highlighting extensions for XSLT. > As long as I'm airing dirty laundry, I'm also tempted to abandon the > XSL stylesheets and work instead on a purpose-built HTML+CSS rendering > for printing. Do you mean completely removing existing incomplete fo code from project? I think that we can keep code here in the case someone will have time and interest to improve it further. With HTML+CSS composition there is one big problem -- there is (at least to my knowledge) no free renderer, I'm aware only of PrinceXML and AntennaHouse. But HTML+CSS printing got some traction recently, so it is wortwhile to explore this area. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]