[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Odd formatting of lists
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.orig Thu 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 peter_e@gmx.net http://funkturm.homeip.net/~peter
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC