Re: Examples
| From: | Hojtsy Gabor | Date: | Tue, 16 Oct 2001 19:58:33 +0000 |
| Subject: | Re: Examples | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969338043@lists.php.net to get a copy of this message | ||
> To do this, add following to html-common.dsl.in.
>
> -------------
> ;; class tweak
> (define ($verbatim-display$ indent line-numbers?)
> (let (
> (content (make element gi: "PRE"
> attributes: (list
> (list "CLASS" (if (attribute-string (normalize "role"))
> (attribute-string (normalize "role"))
> (gi))))
> (if (or indent line-numbers?)
> ($verbatim-line-by-line$ indent line-numbers?)
> (process-children)))))
> (if %shade-verbatim%
> (make element gi: "TABLE"
> attributes: ($shade-verbatim-attr$)
> (make element gi: "TR"
> (make element gi: "TD"
> content)))
> (make sequence
> (para-check)
> content
> (para-check 'restart)))))
How this is resricted to <para> or <programlisting>
roles? What DocBook tag this is applied to? I can't
find that in this text... :((
Goba