|
Subject: 2 questions From: Joerg Wittenberger <Joerg.Wittenberger@xxxxxxxxx> Date: 20 May 1999 10:16:13 +0200 |
I've got two Q's:
1) I want to use jade -t sgml for a document conversion, but I can't
figure how to keep the comments from the input in the output. (What
we want to do is to convert a bunch of documents from one DTD to
another for further editing.) Impossible? Any suggestion what to do
instead?
2) I asked that a couple of days ago. Still unable to find what's
up. When I format some elements into a table the paragraphs within
the table-cell are not broken by the tex backend. Instead they end up
at one line. If I use the same style sheet modified to exclude the
table stuff all those paragraphs are fine. What *could* be wrong?
Thanks a lot
----------------------------------------------------------------------------
Here the style in question:
(define (tip-mesg-entry heading)
(make paragraph
space-before: %para-sep%
quadding: %default-quadding%
(make sequence
font-weight: 'bold
(literal heading " "))
(process-children-trim)))
Here use the above:
(element (mesg mesgtext) (process-children))
(element (mesg mesgexplan) (tip-mesg-entry "Erläuterung:"))
(element (mesg sysact) (tip-mesg-entry "Systemaktion:"))
(element (mesg oresp) (tip-mesg-entry "Bedienkraft-Aktion:"))
(element (mesg uresp) (tip-mesg-entry "Nutzer-Aktrion:"))
Now build the table:
(element mesg
(make table
before-row-border: #f
after-row-border: #f
before-column-border: #f
after-column-border: #f
(make table-row
(make table-cell
width: 2.5cm
(literal (data (select-elements (children (current-node))
(normalize "MesgNo")))))
(make table-cell
width: (table-width 1)
(process-children)))))
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: TOC in RTF backend, Tony Graham | Thread | Re: 2 questions, Adam Di Carlo |
| Re: TOC in RTF backend, Jany Quintard | Date | xml2html using dsssl, rtl |
| Month |