Skip to content

Commit

Permalink
allow ordered list style in ISO: metanorma/metanorma-iso#1139
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Mar 22, 2024
1 parent ff44616 commit 7a5ecd5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
16 changes: 14 additions & 2 deletions author/iso/topics/markup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,20 @@ preferred by ISO/CS.

=== Ordered lists

Ordered list numbering enforce the ISO/IEC DIR 2 labelling convention,
therefore the `type` attribute is ignored in ordered lists.
Ordered list numbering enforces the ISO/IEC DIR 2 labelling convention as a default:
a) 1) i) A) I).
However, the style attribute is respected in ordered lists
if provided [added in https://github.com/metanorma/metanorma-iso/releases/tag/v2.7.5]:

[source,adoc]
----
[arabic]
. A
. B
[lowerroman]
.. C
.. D
----

The `start` attribute is supported in ISO by Metanorma, but not by IEC or
BSI [added in https://github.com/metanorma/metanorma-iso/releases/tag/v2.1.2].
Expand Down
18 changes: 9 additions & 9 deletions author/itu/ref/document-attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Second level subseries, for example: "`Digital Signage`"
(= "`H.780--H.789`")

`:intended-type:`::
Intended type for this document (for technical reports) (`R`, `C`, `TD`) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Intended type for this document (for technical reports) (`R`, `C`, `TD`) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:language:`:: The language of the document (only `en` for now; will eventually support
`ar`, `zh`, `en`, `fr`, `ru`, `es`) (default: `en`)
Expand Down Expand Up @@ -250,28 +250,28 @@ Place of meeting that generated this document (for resolutions) [added in https:
Acronym of meeting that generated this document (for resolutions) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.11].

`:source:`::
Source for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Source for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:fullname_{i}:`::
Name of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Name of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:affiliation_{i}:`::
Name of organization or company for contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Name of organization or company for contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:address_{i}:`::
Country for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Country for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:phone_{i}:`::
Phone number of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Phone number of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:fax_{i}:`::
Fax number of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Fax number of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:email_{i}:`::
Email of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.5]
Email of contact for this document (for technical reports, technical papers, implementers guides) [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.6]

`:role_{i}:`::
Role of contact for this document (for implementers guides): may be either `editor` (default) or `rapporteur` [added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.8]
Role of contact for this document (for implementers guides): may be either `editor` (default) or `rapporteur`6[added in https://github.com/metanorma/metanorma-itu/releases/tag/v1.2.8]


== Document Status
Expand Down

0 comments on commit 7a5ecd5

Please sign in to comment.