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]
Other format: [Raw text]

[docbook-apps] Re: DocBook XSL 1.67.0 released


> * Michael Smith <fzvgu@kzy-qbp.bet> [2004-11-10 05:56:16 +0900]:
>
>   * Deprecated the HTML shade.verbatim parameter (use CSS instead)

something else has changed too, namely <table> frame around the verbatim
elements was removed, which broke some things:

DocBook/XML:

    <row><entry><programlisting language="lisp">
(defun cycle-length (n &optional-amp; (len 1) (top 0))
  (cond ((= n 1) (values len top))
        ((evenp n) (cycle-length (ash n -1) (1+ len) (max top n)))
        (t (let ((next (1+ (* 3 n))))
             (cycle-length next (1+ len) (max top next))))))
    </programlisting></entry></row>

Before:

(defun cycle-length (n &OPTIONAL (len 1) (top 0))
  (cond ((= n 1) (values len top))
        ((evenp n) (cycle-length (ash n -1) (1+ len) (max top n)))
        (t (let ((next (1+ (* 3 n))))
             (cycle-length next (1+ len) (max top next))))))

(the code is properly formatted and the whole table cell is shaded)

now:

           (defun cycle-length (n &OPTIONAL (len 1) (top 0))
                    (cond ((= n 1) (values len top))
       ((evenp n) (cycle-length (ash n -1) (1+ len) (max top n)))
                     (t (let ((next (1+ (* 3 n))))
            (cycle-length next (1+ len) (max top next))))))

(each line in code is centered in the table cell and the top and bottom
lines in the cell are not shaded).

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
The only intuitive interface is the nipple.  The rest has to be learned.


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