This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fixing literallayout when class="monospaced"


Hi guys,

I'm pretty certain that this should replace the current definition of
literallayout in html/dbverb.dsl and print/dbverb.dsl

      (element literallayout 
	(if (equal? (attribute-string "class") (normalize "monospaced"))
	  (make sequence
	    ($verbatim-display$
             %indent-literallayout-lines%
             %number-literallayout-lines%))
          (make sequence
            ($linespecific-display$
             %indent-literallayout-lines%
             %number-literallayout-lines%))))

so that class="monospaced" is honoured properly.

However, I suspect that may complicate the $inpre$ definition.  

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]