On Wed, May 30, 2001 at 01:29:17AM +0200, Erik Mouw wrote:

> I'm still looking for a proper way to automatically include the example
> source into the SGML file, this patch with the same content in two
> files is a bit of an ugly hack.

Probably your best bet is to get the Makefile to pass a copy of the
real example source through sed to &entity;ify the bits that would
confuse SGML (<, >, etc), and into example.c.sed, make that into an
entity, and include it.

See <URL:http://people.redhat.com/twaugh/docbook/selfdocbook/> for
instance, which does this with its own SGML source.

Tim.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to