taking screenshots - new section for Documentation Guide (was installation guide)

Dave Pawson davep at dpawson.co.uk
Sat Aug 28 10:25:52 UTC 2004


On Sat, 2004-08-28 at 02:34, Karsten Wade wrote:

> 
> 2. My <screen> tags themselves are not flush left, although the content
> is. 

> My builds show that the following:
> 
>       <screen>
> foo
>       </screen>
> <screen>
> foo
> </screen>
>       <screen>
> foo
>       </screen>
> 
> renders as:
> 
> foo 
> foo
> 	foo
>       
> Obviously the contents of the <screen/> are highly sensitive to
> whitespace issues,

Yes, whitespace is respected within the tags.
Since a dtd is in use, the intertag space is non-existant
to the parser.
 

>  and in fact could perhaps be CDATA containers instead
> to totally make them ignored by the toolchain.  Either way, I don't
> think the <screen> tags need to be flush left, nor the the
> <computeroutput/> container.  I'd like to recommend this for a change in
> the Documentation Guide, and will file a bugzilla with patch if there is
> no technical objection. 

No bug. Just XML :-)
Without a schema, you'd have to tell the processor
something about whitespace treatment, collapse or preserve.

-- 
Regards DaveP.
XSLT&Docbook  FAQ
http://www.dpawson.co.uk/xsl






More information about the fedora-docs-list mailing list