This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: newbie Q's about Simplified DocBook 1.0b2
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Mike Brown <mike at skew dot org>
- Cc: docbook at lists dot oasis-open dot org
- Date: Fri, 17 May 2002 11:09:43 -0400
- Subject: DOCBOOK: Re: newbie Q's about Simplified DocBook 1.0b2
- References: <200205170731.g4H7V2he086735@chilled.skew.org>
/ Mike Brown <mike@skew.org> was heard to say:
| 1. http://www.docbook.org/tdg/en/html/para.html shows an example wherein a
| <para> contains an <itemizedlist>. Simplified DocBook doesn't seem to allow
| this. I just want to make sure this was a deliberate change. Is the correct
| approach in Simplified DocBook to keep lists as blocks separate from
| paragraphs?
Yes. One of the factors that contributed to the design of Simplified
was the design of HTML which forbids blocks in paragraphs.
| 2. In my document, I want to provide some examples of command-line input and
| program output. I was just going to use <screen>, but that's not available in
| Simplified DocBook. Instead of <screen>, I am using
| <literallayout class="monospaced" format="linespecific">
| and mixing <computeroutput> and <userinput> within it, as necessary.
| For example,
You could just use programlisting. (I wonder if Simplified should have contained
screen instead of programlisting...)
| Does this sound like the right way to go about marking up the kind of text I'm
| dealing with?
It sounds like your markup goals may be in excess of what Simplified provides.
It might be worth considering full DocBook.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | A wonder is often expressed that
http://www.oasis-open.org/docbook/ | the greatest criminals look like
Chair, DocBook Technical Committee | other men. The reason is that
| *they are like other men in many
| respects.*--Hazlitt