DocBook Publishers: The Definitive Guide  (Version 1.2.1 for DocBook 5.1)


primary — The primary word or phrase under which an index term should be sorted.


primary ::= [-]


Common attributes and common linking attributes.

Additional attributes:

  • sortas


In an indexterm, primary identifies the most significant word or words in the entry. All indexterms must have a primary.

Processing expectations

Suppressed. This element provides data for processing but it is not rendered in the primary flow of text.


Common attributes and common linking attributes.


Specifies the string by which the term is to be sorted; if unspecified, the term content is used


These elements contain primary: indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange).


The following elements occur in primary: text, abbrev, acronym, alt, anchor, author, biblioref, citation, citebiblioid, citetitle, coref, date, editor, email, emphasis (db._emphasis), emphasis (db.emphasis), firstterm (db._firstterm), firstterm (db.firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), foreignphrase (db.foreignphrase), glossterm (db._glossterm), glossterm (db.glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlineequation, inlinemediaobject, jobtitle, link, literal, olink, optional, org, orgname, person, personname, phrase (db._phrase), phrase (db.phrase), productname, productnumber, quote (db._quote), quote (db.quote), remark, subscript, superscript, termdef, trademark, uri, wordasword, xref.