Next in thread → Next in month →

Re: [docbook-apps] formatting code/xml fragments?

From
Jirka Kosek <>
Date
2006-09-21T15:20:11+00:00
ID
Thread
Re: [docbook-apps] formatting code/xml fragments?
Duane Gran wrote:

> This has three deficiencies:
> 
> 1) In PDF output long lines are truncated on the right side

http://docbook.sourceforge.net/release/xsl/current/doc/fo/hyphenate.verbatim.html

> 2) Because it is parsed as text it isn't possible to use XPointer to 
> grab a section of the source document

I think that someone recently provided custom XPointer scheme for doing 
this. Try searching archives.

> 3) The result is plain black on white, which isn't as readable as if it 
> were formatted

The latest stylesheets can do this. See:

http://xmlguru.cz/2006/07/docbook-syntax-highlighting

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
      ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------
Next in thread → Next in month →