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]

Re: Keywords


/ Ian Moor <iwm@doc.ic.ac.uk> was heard to say:
| >I am trying to mark-up a document that is about a computer language.
| 
| I have wondered about language keywords, for example in chapter 2 of the
| definitive guide "the most frequently used keywords are PUBLIC, SYSTEM, ..."
| However the docbook element keyword  is meant for describing a document.
| The nearest element seems to be token.

Yes, "keyword" describes the metadata that is a keyword, not computer
language keywords. I'd likely use <literal>, <symbol>, or <token> with
a role attribute.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Waste no more time arguing what a
http://www.oasis-open.org/docbook/ | good man should be. Be
Chair, DocBook Technical Committee | one.--Marcus Aurelius

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