This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Fixing literallayout when class="monospaced"
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Fixing literallayout when class="monospaced"
- From: Nik Clayton <nik at nothing-going-on dot demon dot co dot uk>
- Date: Fri, 20 Oct 2000 23:36:25 +0100
- Organization: Nik at home, where there's nothing going on
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