Below are listed only document attributes that are unique to Metanorma’s processing of GB documents.
For common document attributes, see Document attributes reference in general Metanorma author’s documentation. That page describes attributes that apply to all Metanorma flavors, not just GB.
For an introduction to AsciiDoc document attributes and how Metanorma uses them, see the corresponding topic.
These are the title introduction, main title, and part title in Chinese. The intro and part titles are optional (they replace their French counterparts in metanorma-iso.) This and the other
:title-*document attributes are used instead of the
:title:attribute and the default AsciiDoc title (the first line of the document header, prefixed with
These are the title introduction, main title, and part title in English. The intro and part titles are optional. (They form the document subtitle, instead of the document title as in metanorma-iso.)
The scope of the GB standard (
social-group). Defaults to
The mandate of the GB standard (
guidelines). Defaults to
The topic of the GB standard (
other). Defaults to
The prefix classifying the GB standard. (Refer to GB National Standard Prefixes, GB Sector Standard Prefixes, GB Local Standard Prefixes, GB Social and Enterprise Standard Prefixes.) Any
/Tsuffix (indicating "recommended" and "guidelines" mandate) is ignored unless the
:mandate:attribute is not given. Any
T/prefix for social and enterprise standards is ignored unless the
:scope:attribute is not given. If no prefix is given,
The ICS (International Categorization for Standards) number for the GB standard. There may be more than one ICS for a document; if so, they should be comma-delimited. (Unlike the case for ISO, the ICS identifier is output to the front page of the GB standard.)
The CCS (Chinese Categorization Scheme) code for the GB standard. See https://github.com/metanorma/cn-ccs-codes
The Plan Number (计划单号) for the GB standard.
Relations to other standards
(optional) A corresponding ISO standard that the GB standard relates to. Format is full document code, then optionally comma followed by document title; e.g.
ISO/IEC 27001:2013, Information security management systems
(optional, only valid if there is a corresponding
:iso-standard:) The relation of the GB standard to the corresponding ISO standard (
nonequivalent). Defaults to
(optional) A corresponding GB standard that this GB standard obsoletes. Format is full document code, then optionally comma followed by document title; e.g.
A list of bibliographic localities in the corresponding GB standard that this GB standard obsoletes. These are formatted the same way as the localities in citations; e.g.
clause 7-9, clause 11
The type of the technical committee (
The issuer of the standard. This is the authority which authors, manages, and issues the standard. For social standards, this is the social group; for enterprise standards, this is the company. The issuer appears on the standard frontispiece. By default, the issuer is inferred from the prefix of the standard; this attribute overrides the value inferred from the prefix. It is required for social and entperprise standards.
The publisher of the standard, which distributes the standard. This is distinct from the issuer, the authority which authors, manages, and issues the standard.
The party which proposed the standard.
The authority which sponsored the standard.
The individuals who drafted the standard.
The committees which drafted the standard. (Also
The font to use for the standard class and issuer on the (Word) cover page; described in GB/T 1.1 as "custom font". If not provided, the font is inferred from the scope of the standard, aligning with existing practice: SimSun for national scope, SimHei for all other scopes.
If absent (default), any paragraphs supplied at the start of the Terms and Definitions section are deleted, and replaced with standard boilerplate. If present, any such paragraphs in the text are retained.
User-supplied graphic to overwrite the logo for the standard on the title page.
User-supplied graphic to overwrite the name of the standard class on the title page.
User-supplied graphic to overwrite the name of the standard issuer on the title page.