This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] marking up reserved words


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
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]