OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: sgml auto-indenter


Norman Walsh wrote:
/ "Kevin M. Dunn" <kdunn@hsc.edu> was heard to say:
|          <PARA>
|
|            Lists

Note that you've introduced significant whitespace here which may or
may not be ignored by your formatter. In general, you can't add any
whitespace to an element that contains #PCDATA content without
introducing significant whitespace.

 

Perhaps only tags should be indented:

 <PARA>
Here is some text containing an <EMPHASIS>important</EMPHASIS> word. But I
would like to indent
   <ORDEREDLIST>
     <LISTITEM>
       <PARA>
Lists
       </PARA>
     </LISTITEM>
     <LISTITEM>
       <PARA>
Paragraphs but not <EMPHASIS>emphasis</EMPHASIS>
       </PARA>
     </LISTITEM>
   </ORDEREDLIST>
This text will be passed through
unaltered.
 </PARA>

Does this style break anything?
Can anyone suggest a useful indentation style which would be completely benign?

-- 
Kevin M. Dunn
kdunn@hsc.edu
Department of Chemistry
Hampden-Sydney College
HSC, VA 23943
(804) 223-6181
(804) 223-6374 (Fax)
 

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC