This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] marking up reserved words
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Wolfgang Jeltsch" <wolfgang at jeltsch dot net>, "DocBook List" <docbook at lists dot oasis-open dot org>
- Date: Wed, 3 Nov 2004 16:29:32 -0800
- Subject: Re: [docbook] marking up reserved words
- References: <200410310101.50688.wolfgang@jeltsch.net>
In DocBook 4.3, I would use <code>. You could add a role attribute to
indicate reserved words. Prior to 4.3, I would probably use <literal> in
the same way. Other people may have different recommendations, though.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Wolfgang Jeltsch" <wolfgang@jeltsch.net>
To: "DocBook List" <docbook@lists.oasis-open.org>
Sent: Saturday, October 30, 2004 3:01 PM
Subject: [docbook] marking up reserved words
> Hello,
>
> I am surprised that I cannot find something like a reservedword element.
How
> are reserved words of a programming language marked up?
>
> Wolfgang
>
>