l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:11

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] docbook question: comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] docbook question: comments

On Mon, Sep 24, 2001 at 10:12:23AM -0700, Peter Jay Salzman wrote:
[snip: sgml comments syntax and difficulty therewith]
> ok, fair enough.  but until i finish converting the document, is there a
> "safe" way to have jade ignore the part of the document that hasn't been
> converted yet?
> i wish there were some kind of preprocessor thing i could use, like:
> 	<para>friends, romans, countrymen.  lend me your ears.<para>
> 	#if 0
> 	not converted yet...
> 	i come to bury caesar --- not to praise him.  the evil that men do [...]
> 	#endif

LinuxDoc (a predecessor to DocBook) had just that: a preprocessor and some
custom perl to convert into various formats. The modern way (DocBook) is more
compliant with standards (DSSSL, DTD validation) but come at the price of a
heavier, sometimes less flexible system.

The best I can offer is to suggest piping your input through "perl -ne
'print if ! m/^#/'" or similar before running jade.

Henry House
OpenPGP key available from http://romana.hajhouse.org/hajhouse.asc

Attachment: pgp00004.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.