Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 20:22:51 +0000
From:      Giorgos Keramidas <charon@labs.gr>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        doc@freebsd.org
Subject:   Re: request for help with doc patch
Message-ID:  <20011102202251.B37911@hades.hell.gr>
In-Reply-To: <20011102100512.A77880@blackhelicopters.org>
References:  <20011102100512.A77880@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 02, 2001 at 10:05:12AM -0500, Michael Lucas wrote:
>
> The problem is that in the generated HTML's "Use" section, the
> <informalexample> tags are visible.  Would anyone care to give me a hint?
>
> + 	  <programlisting><![ CDATA [<informalexample>
> +   <screen><errorname>Panic: cannot mount root</errorname></screen>
> + </informalexample>]]></programlisting>

Do you absolutely have to use <informalexample> here?
CDATA is exactly this, `character data' that the SGML tools will leave
untouched.  If you don't want <informalexample> to appear in the
output, don't put it in CDATA :)

Something like:

 	  <programlisting><![ CDATA [
<screen><errorname>Panic: cannot mount root</errorname></screen>
]]></programlisting>

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011102202251.B37911>