Skip to content

Commit

Permalink
update rendering of boldface terms and numbers: metanorma/metanorma-i…
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Nov 27, 2021
1 parent ceb9c1a commit 151bfe4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
33 changes: 24 additions & 9 deletions lib/asciidoctor/iho/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<attribute name="alt"/>
</optional>
<optional>
<attribute name="updatetype">
<attribute name="update-type">
<data type="boolean"/>
</attribute>
</optional>
Expand Down Expand Up @@ -1877,7 +1877,7 @@
</attribute>
</optional>
<optional>
<attribute name="geographicArea"/>
<attribute name="geographic-area"/>
</optional>
<choice>
<ref name="expression_designation"/>
Expand All @@ -1895,14 +1895,14 @@
</zeroOrMore>
</define>
<define name="fieldofapplication">
<element name="fieldofapplication">
<element name="field-of-application">
<oneOrMore>
<ref name="PureTextElement"/>
</oneOrMore>
</element>
</define>
<define name="usageinfo">
<element name="usageinfo">
<element name="usage-info">
<oneOrMore>
<ref name="PureTextElement"/>
</oneOrMore>
Expand Down Expand Up @@ -1963,7 +1963,7 @@
</zeroOrMore>
</element>
<optional>
<element name="abbreviationType">
<element name="abbreviation-type">
<ref name="AbbreviationType"/>
</element>
</optional>
Expand All @@ -1973,7 +1973,7 @@
</element>
</optional>
<optional>
<element name="grammarInfo">
<element name="grammar-info">
<ref name="Grammar"/>
</element>
</optional>
Expand All @@ -2000,6 +2000,11 @@
<ref name="GrammarGender"/>
</element>
</zeroOrMore>
<zeroOrMore>
<element name="number">
<ref name="GrammarNumber"/>
</element>
</zeroOrMore>
<optional>
<element name="isPreposition">
<data type="boolean"/>
Expand Down Expand Up @@ -2031,7 +2036,7 @@
</element>
</optional>
<zeroOrMore>
<element name="grammarvalue">
<element name="grammar-value">
<text/>
</element>
</zeroOrMore>
Expand All @@ -2044,6 +2049,13 @@
<value>common</value>
</choice>
</define>
<define name="GrammarNumber">
<choice>
<value>singular</value>
<value>dual</value>
<value>plural</value>
</choice>
</define>
<define name="termdomain">
<element name="domain">
<oneOrMore>
Expand Down Expand Up @@ -2071,13 +2083,16 @@
</element>
</define>
<define name="verbaldefinition">
<element name="verbaldefinition">
<element name="verbal-definition">
<oneOrMore>
<choice>
<ref name="paragraph"/>
<ref name="dl"/>
<ref name="ol"/>
<ref name="ul"/>
<ref name="table"/>
<ref name="figure"/>
<ref name="formula"/>
</choice>
</oneOrMore>
<zeroOrMore>
Expand All @@ -2086,7 +2101,7 @@
</element>
</define>
<define name="nonverbalrep">
<element name="nonverbalrepresentation">
<element name="non-verbal-representation">
<oneOrMore>
<choice>
<ref name="table"/>
Expand Down
3 changes: 3 additions & 0 deletions lib/isodoc/iho/html/htmlstyle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ h3 {
.Terms,
.AltTerms {
color: #05164D;
}

.TermNum {
font-weight: 100;
}

Expand Down

0 comments on commit 151bfe4

Please sign in to comment.