Re: DOCBOOK-APPS: Odd formatting of lists

2001-10-05 Thread Peter Eisentraut

Norman Walsh writes:

 | This term is really uninteresting but I need to make this text long
 [...]
 | What annoys me slightly is the extra space before the first line of the
 | first paragraph (This...).
 [...]
 | Any ideas?

 All whitespace is significant in mixed content.

That would explain it.

However, this behaviour is only seen within lists; ordinary

para
 content
/para

formats correctly without leading spaces.  Why?  Many people and tools
indent their SGML sources.  Is this wrong?

Btw., I seem to be getting better results with this patch:

--- dblists.dsl.origThu Sep 13 22:35:16 2001
+++ dblists.dsl Fri Oct  5 22:20:41 2001
@@ -105,7 +105,7 @@
 (define (process-listitem-content)
   (if (absolute-first-sibling?)
   (make sequence
-   (process-node-list (children (current-node
+   (process-children-trim))
   (next-match)))

 (mode listitem-content-mode

This would presume that:

a) (process-node-list (children (current-node))) is sufficiently
   equivalent to (process-children).  I don't know.

b) There isn't someone who actually wants the spaces.

Comments?

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter



To subscribe or unsubscribe from this elist use the subscription
manager: http://lists.oasis-open.org/ob/adm.pl



Re: DOCBOOK-APPS: Odd formatting of lists

2001-10-04 Thread Norman Walsh

/ Peter Eisentraut [EMAIL PROTECTED] was heard to say:
| I use DocBook 3.1, DSSSL stylesheets 1.70, OpenJade 3.1, Jadetex 3.10, and
| various PDF and DVI viewers.
| 
| Considering an example document such as
| 
| variablelist
|  varlistentry
|   termTERM/term
|   listitem
|para

You put the extra space in right here.

| This term is really uninteresting but I need to make this text long
[...]
| What annoys me slightly is the extra space before the first line of the
| first paragraph (This...).
[...]
| Any ideas?

All whitespace is significant in mixed content.

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | Not everyone can live upstream.
http://www.oasis-open.org/docbook/ | 
Chair, DocBook Technical Committee |


To subscribe or unsubscribe from this elist use the subscription
manager: http://lists.oasis-open.org/ob/adm.pl