metanorma-un 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +4 -5
- data/lib/isodoc/un/html/htmlstyle.css +3 -3
- data/lib/isodoc/un/html/htmlstyle.scss +2 -2
- data/lib/isodoc/un/html/unece.css +19 -20
- data/lib/isodoc/un/html/unece.scss +19 -20
- data/lib/isodoc/un/html/wordstyle.css +17 -17
- data/lib/isodoc/un/html/wordstyle.scss +17 -17
- data/lib/isodoc/un/html_convert.rb +3 -1
- data/lib/isodoc/un/un.plenary-attachment.xsl +8 -4
- data/lib/isodoc/un/un.plenary.xsl +8 -4
- data/lib/isodoc/un/un.recommendation.xsl +8 -4
- data/lib/isodoc/un/word_convert.rb +5 -1
- data/lib/metanorma/un/fonts_manifest.yaml +6 -0
- data/lib/metanorma/un/processor.rb +0 -8
- data/lib/metanorma/un/version.rb +1 -1
- data/metanorma-unece.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45db2caa7f93f4ff5b5f36f7a0beca9f651c179145bed2f9d9c7fe2e7ab82d2d
|
4
|
+
data.tar.gz: 7bf800953c990b82199377d8e1a222d53b35b19015287bdf2d587dfcab3a67f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bac1b91fe5b759e9d3022ae5fdb297b7412e51625cc12e9bb0e3cc7500f151fe13d91823b97c9cbdac862aef044a01c040d8ae48008f977c46a5541b8baea1e
|
7
|
+
data.tar.gz: d9db8fcca10946a9224dad32bb5ab589bbd12b2ceaba758e0fe1ebd2bb2b0fef0b2e1db9ced4a87e28632a53bf77b7739ed6bcb9eab0686eded5eb2e405246d0
|
data/.github/workflows/rake.yml
CHANGED
@@ -36,7 +36,7 @@ jobs:
|
|
36
36
|
with:
|
37
37
|
ruby-version: ${{ matrix.ruby }}
|
38
38
|
|
39
|
-
- uses: actions/cache@
|
39
|
+
- uses: actions/cache@v2
|
40
40
|
with:
|
41
41
|
path: vendor/bundle
|
42
42
|
key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
|
@@ -48,15 +48,14 @@ jobs:
|
|
48
48
|
|
49
49
|
- run: bundle exec rake
|
50
50
|
|
51
|
-
|
52
|
-
name: Trigger notify workflow
|
51
|
+
tests-passed:
|
53
52
|
needs: rake
|
54
53
|
runs-on: ubuntu-latest
|
55
54
|
steps:
|
56
|
-
- name: Trigger
|
55
|
+
- name: Trigger tests passed event
|
57
56
|
uses: Sibz/github-status-action@v1
|
58
57
|
with:
|
59
|
-
authToken: ${{ secrets.GITHUB_TOKEN }}
|
58
|
+
authToken: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
60
59
|
context: 'tests-passed-successfully'
|
61
60
|
description: 'Tests passed successfully'
|
62
61
|
state: 'success'
|
@@ -230,7 +230,7 @@ body {
|
|
230
230
|
margin-left: auto;
|
231
231
|
margin-right: auto;
|
232
232
|
max-width: 100%;
|
233
|
-
font-size:
|
233
|
+
font-size: {{normalfontsize}};
|
234
234
|
font-weight: 300;
|
235
235
|
line-height: 1.4em;
|
236
236
|
color: #333;
|
@@ -709,7 +709,7 @@ p.NormRef {
|
|
709
709
|
pre,
|
710
710
|
.pseudocode {
|
711
711
|
background-color: #f2f2f2;
|
712
|
-
font-size:
|
712
|
+
font-size: {{monospacefontsize}};
|
713
713
|
line-height: 1.6em;
|
714
714
|
padding: 1.5em;
|
715
715
|
margin: 2em 0 1em 0;
|
@@ -813,7 +813,7 @@ a.footnote-number {
|
|
813
813
|
vertical-align: super; }
|
814
814
|
|
815
815
|
.footnote {
|
816
|
-
font-size:
|
816
|
+
font-size: {{footnotefontsize}}; }
|
817
817
|
|
818
818
|
/*
|
819
819
|
3.11 Blockquotes
|
@@ -58,7 +58,7 @@ $un-admonition-color: #47430c;
|
|
58
58
|
$un-toc-active: #4d7ea5;
|
59
59
|
|
60
60
|
body {
|
61
|
-
@include bodyStyle1(
|
61
|
+
@include bodyStyle1($normalfontsize, 1.4em, $un-text, #ffffff, 300);
|
62
62
|
font-weight: 400;
|
63
63
|
}
|
64
64
|
|
@@ -523,7 +523,7 @@ a.footnote-number {
|
|
523
523
|
}
|
524
524
|
|
525
525
|
.footnote {
|
526
|
-
font-size:
|
526
|
+
font-size: $footnotefontsize;
|
527
527
|
}
|
528
528
|
|
529
529
|
|
@@ -14,7 +14,7 @@ p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode, pre {
|
|
14
14
|
text-align: left;
|
15
15
|
mso-pagination: widow-orphan;
|
16
16
|
tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
|
17
|
-
font-size:
|
17
|
+
font-size: {{monospacefontsize}};
|
18
18
|
font-family: {{monospacefont}};
|
19
19
|
mso-fareast-font-family: Calibri;
|
20
20
|
mso-bidi-font-family: "Courier New";
|
@@ -31,7 +31,7 @@ p.pseudocode, li.pseudocode, div.pseudocode {
|
|
31
31
|
text-align: left;
|
32
32
|
mso-pagination: widow-orphan;
|
33
33
|
tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
|
34
|
-
font-size:
|
34
|
+
font-size: {{normalfontsize}};
|
35
35
|
font-family: {{bodyfont}};
|
36
36
|
mso-fareast-font-family: Calibri;
|
37
37
|
mso-bidi-font-family: "Courier New";
|
@@ -49,7 +49,7 @@ p.Biblio, li.Biblio, div.Biblio, p.NormRef, li.NormRef, div.NormRef {
|
|
49
49
|
tab-stops: 33.15pt;
|
50
50
|
line-height: 12.0pt;
|
51
51
|
mso-pagination: widow-orphan;
|
52
|
-
font-size:
|
52
|
+
font-size: {{normalfontsize}};
|
53
53
|
font-weight: normal;
|
54
54
|
font-family: {{bodyfont}};
|
55
55
|
mso-fareast-font-family: {{bodyfont}};
|
@@ -147,10 +147,9 @@ p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote
|
|
147
147
|
line-height: 12.0pt;
|
148
148
|
mso-pagination: widow-orphan;
|
149
149
|
tab-stops: 20.15pt;
|
150
|
-
font-size:
|
150
|
+
font-size: {{smallerfontsize}};
|
151
151
|
mso-bidi-font-size: 11.0pt;
|
152
152
|
font-family: {{bodyfont}};
|
153
|
-
font-size: 10.0pt;
|
154
153
|
mso-fareast-font-family: {{bodyfont}};
|
155
154
|
mso-bidi-font-family: {{bodyfont}};
|
156
155
|
mso-ansi-language: EN-GB; }
|
@@ -415,7 +414,7 @@ p.zzCopyright, li.zzCopyright {
|
|
415
414
|
tab-stops: 20.15pt 25.7pt 481.15pt;
|
416
415
|
padding: 0cm;
|
417
416
|
mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;
|
418
|
-
font-size:
|
417
|
+
font-size: {{normalfontsize}};
|
419
418
|
font-family: {{bodyfont}};
|
420
419
|
mso-fareast-font-family: {{bodyfont}};
|
421
420
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -501,7 +500,7 @@ p.Quote, li.Quote, div.Quote {
|
|
501
500
|
line-height: 12.0pt;
|
502
501
|
mso-pagination: widow-orphan;
|
503
502
|
tab-stops: 20.15pt;
|
504
|
-
font-size:
|
503
|
+
font-size: {{normalfontsize}};
|
505
504
|
font-family: {{bodyfont}};
|
506
505
|
mso-fareast-font-family: {{bodyfont}};
|
507
506
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -517,7 +516,7 @@ p.QuoteAttribution {
|
|
517
516
|
line-height: 12.0pt;
|
518
517
|
mso-pagination: widow-orphan;
|
519
518
|
tab-stops: 20.15pt;
|
520
|
-
font-size:
|
519
|
+
font-size: {{normalfontsize}};
|
521
520
|
font-family: {{bodyfont}};
|
522
521
|
mso-fareast-font-family: {{bodyfont}};
|
523
522
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -575,7 +574,7 @@ p.Formula, li.Formula, div.Formula {
|
|
575
574
|
line-height: 12.0pt;
|
576
575
|
mso-pagination: widow-orphan;
|
577
576
|
tab-stops: right 487.45pt;
|
578
|
-
font-size:
|
577
|
+
font-size: {{normalfontsize}};
|
579
578
|
font-family: {{bodyfont}};
|
580
579
|
mso-fareast-font-family: {{bodyfont}};
|
581
580
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -698,7 +697,7 @@ table.MsoISOTable, table.MsoISOTableBig {
|
|
698
697
|
mso-border-insideh: .75pt solid windowtext;
|
699
698
|
mso-border-insidev: .75pt solid windowtext;
|
700
699
|
margin-bottom: 12pt;
|
701
|
-
font-size:
|
700
|
+
font-size: {{smallerfontsize}};
|
702
701
|
font-family: {{bodyfont}}; }
|
703
702
|
|
704
703
|
table.MsoISOTable th, table.MsoISOTableBig th {
|
@@ -707,7 +706,7 @@ table.MsoISOTable th, table.MsoISOTableBig th {
|
|
707
706
|
padding: 0cm 2.85pt 0cm 2.85pt; }
|
708
707
|
|
709
708
|
table.MsoISOTable p, table.MsoISOTableBig p {
|
710
|
-
font-size:
|
709
|
+
font-size: {{smallerfontsize}}; }
|
711
710
|
|
712
711
|
table.MsoISOTable td, table.MsoISOTableBig td {
|
713
712
|
border: solid windowtext 1pt;
|
@@ -729,7 +728,7 @@ table.MsoTableGrid {
|
|
729
728
|
mso-para-margin-bottom: .0001pt;
|
730
729
|
mso-pagination: widow-orphan;
|
731
730
|
margin-bottom: 12pt;
|
732
|
-
font-size:
|
731
|
+
font-size: {{smallerfontsize}};
|
733
732
|
font-family: {{bodyfont}}; }
|
734
733
|
|
735
734
|
div.formula {
|
@@ -771,7 +770,7 @@ a.TableFootnoteRef, span.TableFootnoteRef {
|
|
771
770
|
vertical-align: super; }
|
772
771
|
|
773
772
|
aside {
|
774
|
-
font-size:
|
773
|
+
font-size: {{footnotefontsize}}; }
|
775
774
|
|
776
775
|
.example-title {
|
777
776
|
font-weight: bold;
|
@@ -789,32 +788,32 @@ div.example {
|
|
789
788
|
|
790
789
|
p.example, li.example, div.example, td.example {
|
791
790
|
mso-pagination: none;
|
792
|
-
font-size:
|
791
|
+
font-size: {{smallerfontsize}};
|
793
792
|
font-family: {{bodyfont}}; }
|
794
793
|
|
795
794
|
td.example p.MsoListParagraph {
|
796
|
-
font-size:
|
795
|
+
font-size: {{smallerfontsize}}; }
|
797
796
|
|
798
797
|
div.example p.MsoListParagraph {
|
799
|
-
font-size:
|
798
|
+
font-size: {{smallerfontsize}}; }
|
800
799
|
|
801
800
|
div.Note p.MsoListParagraph {
|
802
|
-
font-size:
|
801
|
+
font-size: {{smallerfontsize}};
|
803
802
|
margin-left: 1.0cm; }
|
804
803
|
|
805
804
|
div.Note span.stem {
|
806
|
-
font-size:
|
805
|
+
font-size: {{smallerfontsize}}; }
|
807
806
|
|
808
807
|
div.Note p.Sourcecode, div.Note pre.Sourcecode {
|
809
808
|
font-size: 8.0pt;
|
810
809
|
margin-left: 1.0cm; }
|
811
810
|
|
812
811
|
div.Note table.dl {
|
813
|
-
font-size:
|
812
|
+
font-size: {{smallerfontsize}};
|
814
813
|
margin-left: 1.0cm; }
|
815
814
|
|
816
815
|
span.note_label, span.example_label, td.example_label, td.note_label {
|
817
|
-
font-size:
|
816
|
+
font-size: {{smallerfontsize}};
|
818
817
|
font-family: {{bodyfont}}; }
|
819
818
|
|
820
819
|
table.dl {
|
@@ -27,7 +27,7 @@ p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode, pre
|
|
27
27
|
text-align:left;
|
28
28
|
mso-pagination:widow-orphan;
|
29
29
|
tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
|
30
|
-
font-size
|
30
|
+
font-size:$monospacefontsize;
|
31
31
|
font-family:$monospacefont;
|
32
32
|
mso-fareast-font-family:Calibri;
|
33
33
|
mso-bidi-font-family:"Courier New";
|
@@ -43,7 +43,7 @@ p.pseudocode, li.pseudocode, div.pseudocode
|
|
43
43
|
text-align:left;
|
44
44
|
mso-pagination:widow-orphan;
|
45
45
|
tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
|
46
|
-
font-size
|
46
|
+
font-size:$normalfontsize;
|
47
47
|
font-family:$bodyfont;
|
48
48
|
mso-fareast-font-family:Calibri;
|
49
49
|
mso-bidi-font-family:"Courier New";
|
@@ -60,7 +60,7 @@ p.Biblio, li.Biblio, div.Biblio, p.NormRef, li.NormRef, div.NormRef
|
|
60
60
|
tab-stops: 33.15pt;
|
61
61
|
line-height:12.0pt;
|
62
62
|
mso-pagination:widow-orphan;
|
63
|
-
font-size
|
63
|
+
font-size:$normalfontsize;
|
64
64
|
font-weight:normal;
|
65
65
|
font-family:$bodyfont;
|
66
66
|
mso-fareast-font-family:$bodyfont;
|
@@ -153,10 +153,9 @@ p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote
|
|
153
153
|
line-height:12.0pt;
|
154
154
|
mso-pagination:widow-orphan;
|
155
155
|
tab-stops:20.15pt;
|
156
|
-
font-size
|
156
|
+
font-size:$smallerfontsize;
|
157
157
|
mso-bidi-font-size:11.0pt;
|
158
158
|
font-family:$bodyfont;
|
159
|
-
font-size:10.0pt;
|
160
159
|
mso-fareast-font-family:$bodyfont;
|
161
160
|
mso-bidi-font-family:$bodyfont;
|
162
161
|
mso-ansi-language:EN-GB;}
|
@@ -410,7 +409,7 @@ p.zzCopyright, li.zzCopyright
|
|
410
409
|
tab-stops:20.15pt 25.7pt 481.15pt;
|
411
410
|
padding:0cm;
|
412
411
|
mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt;
|
413
|
-
font-size
|
412
|
+
font-size:$normalfontsize;
|
414
413
|
font-family:$bodyfont;
|
415
414
|
mso-fareast-font-family:$bodyfont;
|
416
415
|
mso-bidi-font-family:$bodyfont;
|
@@ -491,7 +490,7 @@ p.Quote, li.Quote, div.Quote
|
|
491
490
|
line-height:12.0pt;
|
492
491
|
mso-pagination:widow-orphan;
|
493
492
|
tab-stops:20.15pt;
|
494
|
-
font-size
|
493
|
+
font-size:$normalfontsize;
|
495
494
|
font-family:$bodyfont;
|
496
495
|
mso-fareast-font-family:$bodyfont;
|
497
496
|
mso-bidi-font-family:$bodyfont;
|
@@ -506,7 +505,7 @@ p.QuoteAttribution
|
|
506
505
|
line-height:12.0pt;
|
507
506
|
mso-pagination:widow-orphan;
|
508
507
|
tab-stops:20.15pt;
|
509
|
-
font-size
|
508
|
+
font-size:$normalfontsize;
|
510
509
|
font-family:$bodyfont;
|
511
510
|
mso-fareast-font-family:$bodyfont;
|
512
511
|
mso-bidi-font-family:$bodyfont;
|
@@ -562,7 +561,7 @@ p.Formula, li.Formula, div.Formula
|
|
562
561
|
line-height:12.0pt;
|
563
562
|
mso-pagination:widow-orphan;
|
564
563
|
tab-stops:right 487.45pt;
|
565
|
-
font-size
|
564
|
+
font-size:$normalfontsize;
|
566
565
|
font-family:$bodyfont;
|
567
566
|
mso-fareast-font-family:$bodyfont;
|
568
567
|
mso-bidi-font-family:$bodyfont;
|
@@ -681,14 +680,14 @@ table.MsoISOTable, table.MsoISOTableBig
|
|
681
680
|
mso-border-insideh:.75pt solid windowtext;
|
682
681
|
mso-border-insidev:.75pt solid windowtext;
|
683
682
|
margin-bottom:12pt;
|
684
|
-
font-size
|
683
|
+
font-size:$smallerfontsize;
|
685
684
|
font-family:$bodyfont;}
|
686
685
|
table.MsoISOTable th, table.MsoISOTableBig th
|
687
686
|
{border:solid windowtext 1pt;
|
688
687
|
mso-border-alt:solid windowtext 1pt;
|
689
688
|
padding:0cm 2.85pt 0cm 2.85pt;}
|
690
689
|
table.MsoISOTable p, table.MsoISOTableBig p
|
691
|
-
{font-size
|
690
|
+
{font-size:$smallerfontsize; }
|
692
691
|
table.MsoISOTable td, table.MsoISOTableBig td
|
693
692
|
{border:solid windowtext 1pt;
|
694
693
|
mso-border-alt:solid windowtext 1pt;
|
@@ -708,7 +707,7 @@ table.MsoTableGrid
|
|
708
707
|
mso-para-margin-bottom:.0001pt;
|
709
708
|
mso-pagination:widow-orphan;
|
710
709
|
margin-bottom:12pt;
|
711
|
-
font-size
|
710
|
+
font-size:$smallerfontsize;
|
712
711
|
font-family:$bodyfont;}
|
713
712
|
div.formula
|
714
713
|
{tab-stops:right 487.45pt;}
|
@@ -743,7 +742,7 @@ div.coverpage_warning
|
|
743
742
|
vertical-align:super;}
|
744
743
|
|
745
744
|
aside {
|
746
|
-
font-size
|
745
|
+
font-size:$footnotefontsize;
|
747
746
|
}
|
748
747
|
|
749
748
|
.example-title {
|
@@ -765,24 +764,24 @@ div.example {
|
|
765
764
|
|
766
765
|
p.example, li.example, div.example, td.example {
|
767
766
|
mso-pagination:none;
|
768
|
-
font-size
|
767
|
+
font-size:$smallerfontsize;
|
769
768
|
font-family:$bodyfont;}
|
770
769
|
|
771
770
|
td.example p.MsoListParagraph {
|
772
|
-
font-size:
|
771
|
+
font-size: $smallerfontsize;
|
773
772
|
}
|
774
773
|
|
775
774
|
div.example p.MsoListParagraph {
|
776
|
-
font-size:
|
775
|
+
font-size: $smallerfontsize;
|
777
776
|
}
|
778
777
|
|
779
778
|
div.Note p.MsoListParagraph {
|
780
|
-
font-size:
|
779
|
+
font-size: $smallerfontsize;
|
781
780
|
margin-left: 1.0cm;
|
782
781
|
}
|
783
782
|
|
784
783
|
div.Note span.stem {
|
785
|
-
font-size:
|
784
|
+
font-size: $smallerfontsize; }
|
786
785
|
|
787
786
|
div.Note p.Sourcecode, div.Note pre.Sourcecode {
|
788
787
|
font-size: 8.0pt;
|
@@ -790,13 +789,13 @@ div.Note p.Sourcecode, div.Note pre.Sourcecode {
|
|
790
789
|
}
|
791
790
|
|
792
791
|
div.Note table.dl {
|
793
|
-
font-size:
|
792
|
+
font-size: $smallerfontsize;
|
794
793
|
margin-left: 1.0cm;
|
795
794
|
}
|
796
795
|
|
797
796
|
span.note_label, span.example_label, td.example_label, td.note_label
|
798
797
|
{
|
799
|
-
font-size:
|
798
|
+
font-size: $smallerfontsize;
|
800
799
|
font-family:$bodyfont;
|
801
800
|
}
|
802
801
|
|
@@ -81,7 +81,7 @@ p.MsoNormal, li.MsoNormal, div.MsoNormal {
|
|
81
81
|
margin: 0cm;
|
82
82
|
margin-bottom: 12.0pt;
|
83
83
|
mso-pagination: widow-orphan;
|
84
|
-
font-size:
|
84
|
+
font-size: {{normalfontsize}};
|
85
85
|
font-family: {{bodyfont}};
|
86
86
|
mso-fareast-font-family: "Times New Roman";
|
87
87
|
mso-ansi-language: EN-US;
|
@@ -96,7 +96,7 @@ p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
|
|
96
96
|
margin-bottom: 12.0pt;
|
97
97
|
/* do not put in margin-left, it is specific to list level */
|
98
98
|
mso-pagination: widow-orphan;
|
99
|
-
font-size:
|
99
|
+
font-size: {{normalfontsize}};
|
100
100
|
font-family: {{bodyfont}};
|
101
101
|
mso-ansi-language: EN-AU;
|
102
102
|
mso-fareast-language: EN-US; }
|
@@ -111,7 +111,7 @@ p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphC
|
|
111
111
|
margin-bottom: 12.0pt;
|
112
112
|
/* do not put in margin-left, it is specific to list level */
|
113
113
|
mso-pagination: widow-orphan;
|
114
|
-
font-size:
|
114
|
+
font-size: {{normalfontsize}};
|
115
115
|
font-family: {{bodyfont}};
|
116
116
|
mso-ansi-language: EN-AU;
|
117
117
|
mso-fareast-language: EN-US; }
|
@@ -126,7 +126,7 @@ p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagrap
|
|
126
126
|
margin-bottom: 12.0pt;
|
127
127
|
/* do not put in margin-left, it is specific to list level */
|
128
128
|
mso-pagination: widow-orphan;
|
129
|
-
font-size:
|
129
|
+
font-size: {{normalfontsize}};
|
130
130
|
font-family: {{bodyfont}};
|
131
131
|
mso-ansi-language: EN-AU;
|
132
132
|
mso-fareast-language: EN-US; }
|
@@ -141,7 +141,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
141
141
|
margin-bottom: 12.0pt;
|
142
142
|
/* do not put in margin-left, it is specific to list level */
|
143
143
|
mso-pagination: widow-orphan;
|
144
|
-
font-size:
|
144
|
+
font-size: {{normalfontsize}};
|
145
145
|
font-family: {{bodyfont}};
|
146
146
|
mso-ansi-language: EN-AU;
|
147
147
|
mso-fareast-language: EN-US; }
|
@@ -164,7 +164,7 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader {
|
|
164
164
|
margin-bottom: .0001pt;
|
165
165
|
mso-pagination: widow-orphan;
|
166
166
|
tab-stops: center 216.0pt right 482.0pt;
|
167
|
-
font-size:
|
167
|
+
font-size: {{normalfontsize}};
|
168
168
|
font-family: {{bodyfont}};
|
169
169
|
mso-fareast-font-family: "Times New Roman";
|
170
170
|
mso-ansi-language: EN-US;
|
@@ -176,7 +176,7 @@ p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape {
|
|
176
176
|
margin-bottom: .0001pt;
|
177
177
|
mso-pagination: widow-orphan;
|
178
178
|
tab-stops: center 367.0pt right 734.0pt;
|
179
|
-
font-size:
|
179
|
+
font-size: {{normalfontsize}};
|
180
180
|
font-family: {{bodyfont}};
|
181
181
|
mso-fareast-font-family: "Times New Roman";
|
182
182
|
mso-ansi-language: EN-US;
|
@@ -188,7 +188,7 @@ p.MsoFooter, li.MsoFooter, div.MsoFooter {
|
|
188
188
|
margin-bottom: .0001pt;
|
189
189
|
mso-pagination: widow-orphan;
|
190
190
|
tab-stops: right 482.0pt;
|
191
|
-
font-size:
|
191
|
+
font-size: {{normalfontsize}};
|
192
192
|
font-family: {{bodyfont}};
|
193
193
|
mso-fareast-font-family: "Times New Roman";
|
194
194
|
mso-ansi-language: EN-US;
|
@@ -200,7 +200,7 @@ p.MsoFooterLandscape, li.MsoFooterLandscape, div.MsoFooterLandscape {
|
|
200
200
|
margin-bottom: .0001pt;
|
201
201
|
mso-pagination: widow-orphan;
|
202
202
|
tab-stops: right 734.0pt;
|
203
|
-
font-size:
|
203
|
+
font-size: {{normalfontsize}};
|
204
204
|
font-family: {{bodyfont}};
|
205
205
|
mso-fareast-font-family: "Times New Roman";
|
206
206
|
mso-ansi-language: EN-US;
|
@@ -592,7 +592,7 @@ p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
|
592
592
|
mso-pagination: widow-orphan;
|
593
593
|
mso-hyphenate: none;
|
594
594
|
tab-stops: 20.15pt 36.0pt right dotted 487.6pt;
|
595
|
-
font-size:
|
595
|
+
font-size: {{normalfontsize}};
|
596
596
|
font-family: {{bodyfont}};
|
597
597
|
mso-fareast-font-family: {{bodyfont}};
|
598
598
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -615,7 +615,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2 {
|
|
615
615
|
mso-pagination: widow-orphan;
|
616
616
|
mso-hyphenate: none;
|
617
617
|
tab-stops: 20.15pt 36.0pt right dotted 487.6pt;
|
618
|
-
font-size:
|
618
|
+
font-size: {{normalfontsize}};
|
619
619
|
font-family: {{bodyfont}};
|
620
620
|
mso-fareast-font-family: {{bodyfont}};
|
621
621
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -638,7 +638,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
638
638
|
mso-pagination: widow-orphan;
|
639
639
|
mso-hyphenate: none;
|
640
640
|
tab-stops: 20.15pt 36.0pt right dotted 487.6pt;
|
641
|
-
font-size:
|
641
|
+
font-size: {{normalfontsize}};
|
642
642
|
font-family: {{bodyfont}};
|
643
643
|
mso-fareast-font-family: {{bodyfont}};
|
644
644
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -661,7 +661,7 @@ p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {
|
|
661
661
|
line-height: 12.0pt;
|
662
662
|
mso-pagination: widow-orphan;
|
663
663
|
tab-stops: 20.15pt;
|
664
|
-
font-size:
|
664
|
+
font-size: {{footnotefontsize}};
|
665
665
|
font-family: {{bodyfont}};
|
666
666
|
mso-fareast-font-family: {{bodyfont}};
|
667
667
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -680,7 +680,7 @@ p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {
|
|
680
680
|
text-align: justify;
|
681
681
|
line-height: 12.0pt;
|
682
682
|
mso-pagination: widow-orphan;
|
683
|
-
font-size:
|
683
|
+
font-size: {{normalfontsize}};
|
684
684
|
font-family: {{bodyfont}};
|
685
685
|
mso-fareast-font-family: {{bodyfont}};
|
686
686
|
mso-bidi-font-family: {{bodyfont}};
|
@@ -796,9 +796,9 @@ p.Tablebody, li.Tablebody, div.Tablebody {
|
|
796
796
|
margin-right: 0cm;
|
797
797
|
margin-bottom: 3.0pt;
|
798
798
|
margin-left: 0cm;
|
799
|
-
line-height:
|
799
|
+
line-height: {{normalfontsize}};
|
800
800
|
mso-pagination: widow-orphan;
|
801
|
-
font-size:
|
801
|
+
font-size: {{smallerfontsize}};
|
802
802
|
mso-bidi-font-size: 11.0pt;
|
803
803
|
font-family: {{bodyfont}};
|
804
804
|
mso-fareast-font-family: {{bodyfont}};
|
@@ -1225,7 +1225,7 @@ table.MsoNormalTable {
|
|
1225
1225
|
mso-para-margin: 0cm;
|
1226
1226
|
mso-para-margin-bottom: .0001pt;
|
1227
1227
|
mso-pagination: widow-orphan;
|
1228
|
-
font-size:
|
1228
|
+
font-size: {{smallerfontsize}};
|
1229
1229
|
font-family: {{bodyfont}}; }
|
1230
1230
|
|
1231
1231
|
ol {
|
@@ -71,7 +71,7 @@ p.MsoNormal, li.MsoNormal, div.MsoNormal
|
|
71
71
|
margin:0cm;
|
72
72
|
margin-bottom:12.0pt;
|
73
73
|
mso-pagination:widow-orphan;
|
74
|
-
font-size
|
74
|
+
font-size:$normalfontsize;
|
75
75
|
font-family:$bodyfont;
|
76
76
|
mso-fareast-font-family:"Times New Roman";
|
77
77
|
mso-ansi-language:EN-US;
|
@@ -85,7 +85,7 @@ p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
|
|
85
85
|
margin-bottom:12.0pt;
|
86
86
|
/* do not put in margin-left, it is specific to list level */
|
87
87
|
mso-pagination:widow-orphan;
|
88
|
-
font-size
|
88
|
+
font-size:$normalfontsize;
|
89
89
|
font-family:$bodyfont;
|
90
90
|
mso-ansi-language:EN-AU;
|
91
91
|
mso-fareast-language:EN-US;}
|
@@ -99,7 +99,7 @@ p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphC
|
|
99
99
|
margin-bottom:12.0pt;
|
100
100
|
/* do not put in margin-left, it is specific to list level */
|
101
101
|
mso-pagination:widow-orphan;
|
102
|
-
font-size
|
102
|
+
font-size:$normalfontsize;
|
103
103
|
font-family:$bodyfont;
|
104
104
|
mso-ansi-language:EN-AU;
|
105
105
|
mso-fareast-language:EN-US;}
|
@@ -113,7 +113,7 @@ p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagrap
|
|
113
113
|
margin-bottom:12.0pt;
|
114
114
|
/* do not put in margin-left, it is specific to list level */
|
115
115
|
mso-pagination:widow-orphan;
|
116
|
-
font-size
|
116
|
+
font-size:$normalfontsize;
|
117
117
|
font-family:$bodyfont;
|
118
118
|
mso-ansi-language:EN-AU;
|
119
119
|
mso-fareast-language:EN-US;}
|
@@ -127,7 +127,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
127
127
|
margin-bottom:12.0pt;
|
128
128
|
/* do not put in margin-left, it is specific to list level */
|
129
129
|
mso-pagination:widow-orphan;
|
130
|
-
font-size
|
130
|
+
font-size:$normalfontsize;
|
131
131
|
font-family:$bodyfont;
|
132
132
|
mso-ansi-language:EN-AU;
|
133
133
|
mso-fareast-language:EN-US;}
|
@@ -149,7 +149,7 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader
|
|
149
149
|
margin-bottom:.0001pt;
|
150
150
|
mso-pagination:widow-orphan;
|
151
151
|
tab-stops:center 216.0pt right 482.0pt;
|
152
|
-
font-size
|
152
|
+
font-size:$normalfontsize;
|
153
153
|
font-family:$bodyfont;
|
154
154
|
mso-fareast-font-family:"Times New Roman";
|
155
155
|
mso-ansi-language:EN-US;
|
@@ -160,7 +160,7 @@ p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape
|
|
160
160
|
margin-bottom:.0001pt;
|
161
161
|
mso-pagination:widow-orphan;
|
162
162
|
tab-stops:center 367.0pt right 734.0pt;
|
163
|
-
font-size
|
163
|
+
font-size:$normalfontsize;
|
164
164
|
font-family:$bodyfont;
|
165
165
|
mso-fareast-font-family:"Times New Roman";
|
166
166
|
mso-ansi-language:EN-US;
|
@@ -171,7 +171,7 @@ p.MsoFooter, li.MsoFooter, div.MsoFooter
|
|
171
171
|
margin-bottom:.0001pt;
|
172
172
|
mso-pagination:widow-orphan;
|
173
173
|
tab-stops:right 482.0pt;
|
174
|
-
font-size
|
174
|
+
font-size:$normalfontsize;
|
175
175
|
font-family:$bodyfont;
|
176
176
|
mso-fareast-font-family:"Times New Roman";
|
177
177
|
mso-ansi-language:EN-US;
|
@@ -182,7 +182,7 @@ p.MsoFooterLandscape, li.MsoFooterLandscape, div.MsoFooterLandscape
|
|
182
182
|
margin-bottom:.0001pt;
|
183
183
|
mso-pagination:widow-orphan;
|
184
184
|
tab-stops:right 734.0pt;
|
185
|
-
font-size
|
185
|
+
font-size:$normalfontsize;
|
186
186
|
font-family:$bodyfont;
|
187
187
|
mso-fareast-font-family:"Times New Roman";
|
188
188
|
mso-ansi-language:EN-US;
|
@@ -553,7 +553,7 @@ p.MsoToc1, li.MsoToc1, div.MsoToc1
|
|
553
553
|
mso-pagination:widow-orphan;
|
554
554
|
mso-hyphenate:none;
|
555
555
|
tab-stops:20.15pt 36.0pt right dotted 487.6pt;
|
556
|
-
font-size
|
556
|
+
font-size:$normalfontsize;
|
557
557
|
font-family:$bodyfont;
|
558
558
|
mso-fareast-font-family:$bodyfont;
|
559
559
|
mso-bidi-font-family:$bodyfont;
|
@@ -575,7 +575,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
|
|
575
575
|
mso-pagination:widow-orphan;
|
576
576
|
mso-hyphenate:none;
|
577
577
|
tab-stops:20.15pt 36.0pt right dotted 487.6pt;
|
578
|
-
font-size
|
578
|
+
font-size:$normalfontsize;
|
579
579
|
font-family:$bodyfont;
|
580
580
|
mso-fareast-font-family:$bodyfont;
|
581
581
|
mso-bidi-font-family:$bodyfont;
|
@@ -597,7 +597,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
597
597
|
mso-pagination:widow-orphan;
|
598
598
|
mso-hyphenate:none;
|
599
599
|
tab-stops:20.15pt 36.0pt right dotted 487.6pt;
|
600
|
-
font-size
|
600
|
+
font-size:$normalfontsize;
|
601
601
|
font-family:$bodyfont;
|
602
602
|
mso-fareast-font-family:$bodyfont;
|
603
603
|
mso-bidi-font-family:$bodyfont;
|
@@ -618,7 +618,7 @@ p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
|
|
618
618
|
line-height:12.0pt;
|
619
619
|
mso-pagination:widow-orphan;
|
620
620
|
tab-stops:20.15pt;
|
621
|
-
font-size
|
621
|
+
font-size:$footnotefontsize;
|
622
622
|
font-family:$bodyfont;
|
623
623
|
mso-fareast-font-family:$bodyfont;
|
624
624
|
mso-bidi-font-family:$bodyfont;
|
@@ -636,7 +636,7 @@ p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
|
|
636
636
|
text-align:justify;
|
637
637
|
line-height:12.0pt;
|
638
638
|
mso-pagination:widow-orphan;
|
639
|
-
font-size
|
639
|
+
font-size:$normalfontsize;
|
640
640
|
font-family:$bodyfont;
|
641
641
|
mso-fareast-font-family:$bodyfont;
|
642
642
|
mso-bidi-font-family:$bodyfont;
|
@@ -745,9 +745,9 @@ p.Tablebody, li.Tablebody, div.Tablebody
|
|
745
745
|
margin-right:0cm;
|
746
746
|
margin-bottom:3.0pt;
|
747
747
|
margin-left:0cm;
|
748
|
-
line-height
|
748
|
+
line-height:$normalfontsize;
|
749
749
|
mso-pagination:widow-orphan;
|
750
|
-
font-size
|
750
|
+
font-size:$smallerfontsize;
|
751
751
|
mso-bidi-font-size:11.0pt;
|
752
752
|
font-family:$bodyfont;
|
753
753
|
mso-fareast-font-family:$bodyfont;
|
@@ -1130,7 +1130,7 @@ table.MsoNormalTable
|
|
1130
1130
|
mso-para-margin:0cm;
|
1131
1131
|
mso-para-margin-bottom:.0001pt;
|
1132
1132
|
mso-pagination:widow-orphan;
|
1133
|
-
font-size
|
1133
|
+
font-size:$smallerfontsize;
|
1134
1134
|
font-family:$bodyfont;}
|
1135
1135
|
ol
|
1136
1136
|
{margin-bottom:0cm;
|
@@ -37,7 +37,7 @@
|
|
37
37
|
|
38
38
|
<xsl:template match="/">
|
39
39
|
<xsl:call-template name="namespaceCheck"/>
|
40
|
-
<fo:root font-family="Times New Roman, STIX Two Math,
|
40
|
+
<fo:root font-family="Times New Roman, STIX Two Math, Source Han Sans" font-size="10pt" xml:lang="{$lang}">
|
41
41
|
<fo:layout-master-set>
|
42
42
|
<!-- Cover page -->
|
43
43
|
<fo:simple-page-master master-name="cover-page" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
@@ -1584,6 +1584,7 @@
|
|
1584
1584
|
</xsl:attribute-set><xsl:attribute-set name="term-style">
|
1585
1585
|
|
1586
1586
|
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
1587
|
+
|
1587
1588
|
|
1588
1589
|
|
1589
1590
|
|
@@ -2877,6 +2878,7 @@
|
|
2877
2878
|
</fo:inline>
|
2878
2879
|
</xsl:template><xsl:template match="*[local-name()='strong'] | *[local-name()='b']">
|
2879
2880
|
<fo:inline font-weight="bold">
|
2881
|
+
|
2880
2882
|
<xsl:apply-templates/>
|
2881
2883
|
</fo:inline>
|
2882
2884
|
</xsl:template><xsl:template match="*[local-name()='sup']">
|
@@ -3281,6 +3283,7 @@
|
|
3281
3283
|
</xsl:choose>
|
3282
3284
|
</xsl:variable>
|
3283
3285
|
<fo:inline xsl:use-attribute-sets="link-style">
|
3286
|
+
|
3284
3287
|
<xsl:choose>
|
3285
3288
|
<xsl:when test="$target = ''">
|
3286
3289
|
<xsl:apply-templates/>
|
@@ -3505,7 +3508,8 @@
|
|
3505
3508
|
</fo:inline>
|
3506
3509
|
</xsl:if>
|
3507
3510
|
</xsl:template><xsl:template match="*[local-name() = 'figure']">
|
3508
|
-
<fo:block-container id="{@id}">
|
3511
|
+
<fo:block-container id="{@id}">
|
3512
|
+
|
3509
3513
|
<fo:block>
|
3510
3514
|
<xsl:apply-templates/>
|
3511
3515
|
</fo:block>
|
@@ -3556,7 +3560,7 @@
|
|
3556
3560
|
<xsl:apply-templates mode="bookmarks"/>
|
3557
3561
|
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="contents">
|
3558
3562
|
<xsl:apply-templates select="."/>
|
3559
|
-
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="bookmarks">
|
3563
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" mode="contents" priority="3"/><xsl:template match="*[local-name() = 'stem']" mode="bookmarks">
|
3560
3564
|
<xsl:apply-templates mode="bookmarks"/>
|
3561
3565
|
</xsl:template><xsl:template name="addBookmarks">
|
3562
3566
|
<xsl:param name="contents"/>
|
@@ -4288,7 +4292,7 @@
|
|
4288
4292
|
<fo:block id="{@id}">
|
4289
4293
|
<xsl:apply-templates/>
|
4290
4294
|
</fo:block>
|
4291
|
-
</xsl:template><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@normative='true']">
|
4295
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" priority="3"/><xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3"/><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@normative='true']">
|
4292
4296
|
|
4293
4297
|
<fo:block id="{@id}">
|
4294
4298
|
<xsl:apply-templates/>
|
@@ -37,7 +37,7 @@
|
|
37
37
|
|
38
38
|
<xsl:template match="/">
|
39
39
|
<xsl:call-template name="namespaceCheck"/>
|
40
|
-
<fo:root font-family="Times New Roman, STIX Two Math,
|
40
|
+
<fo:root font-family="Times New Roman, STIX Two Math, Source Han Sans" font-size="10pt" xml:lang="{$lang}">
|
41
41
|
<fo:layout-master-set>
|
42
42
|
<!-- Cover page -->
|
43
43
|
<fo:simple-page-master master-name="cover-page" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
@@ -1584,6 +1584,7 @@
|
|
1584
1584
|
</xsl:attribute-set><xsl:attribute-set name="term-style">
|
1585
1585
|
|
1586
1586
|
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
1587
|
+
|
1587
1588
|
|
1588
1589
|
|
1589
1590
|
|
@@ -2877,6 +2878,7 @@
|
|
2877
2878
|
</fo:inline>
|
2878
2879
|
</xsl:template><xsl:template match="*[local-name()='strong'] | *[local-name()='b']">
|
2879
2880
|
<fo:inline font-weight="bold">
|
2881
|
+
|
2880
2882
|
<xsl:apply-templates/>
|
2881
2883
|
</fo:inline>
|
2882
2884
|
</xsl:template><xsl:template match="*[local-name()='sup']">
|
@@ -3281,6 +3283,7 @@
|
|
3281
3283
|
</xsl:choose>
|
3282
3284
|
</xsl:variable>
|
3283
3285
|
<fo:inline xsl:use-attribute-sets="link-style">
|
3286
|
+
|
3284
3287
|
<xsl:choose>
|
3285
3288
|
<xsl:when test="$target = ''">
|
3286
3289
|
<xsl:apply-templates/>
|
@@ -3505,7 +3508,8 @@
|
|
3505
3508
|
</fo:inline>
|
3506
3509
|
</xsl:if>
|
3507
3510
|
</xsl:template><xsl:template match="*[local-name() = 'figure']">
|
3508
|
-
<fo:block-container id="{@id}">
|
3511
|
+
<fo:block-container id="{@id}">
|
3512
|
+
|
3509
3513
|
<fo:block>
|
3510
3514
|
<xsl:apply-templates/>
|
3511
3515
|
</fo:block>
|
@@ -3556,7 +3560,7 @@
|
|
3556
3560
|
<xsl:apply-templates mode="bookmarks"/>
|
3557
3561
|
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="contents">
|
3558
3562
|
<xsl:apply-templates select="."/>
|
3559
|
-
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="bookmarks">
|
3563
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" mode="contents" priority="3"/><xsl:template match="*[local-name() = 'stem']" mode="bookmarks">
|
3560
3564
|
<xsl:apply-templates mode="bookmarks"/>
|
3561
3565
|
</xsl:template><xsl:template name="addBookmarks">
|
3562
3566
|
<xsl:param name="contents"/>
|
@@ -4288,7 +4292,7 @@
|
|
4288
4292
|
<fo:block id="{@id}">
|
4289
4293
|
<xsl:apply-templates/>
|
4290
4294
|
</fo:block>
|
4291
|
-
</xsl:template><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@normative='true']">
|
4295
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" priority="3"/><xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3"/><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@normative='true']">
|
4292
4296
|
|
4293
4297
|
<fo:block id="{@id}">
|
4294
4298
|
<xsl:apply-templates/>
|
@@ -39,7 +39,7 @@
|
|
39
39
|
|
40
40
|
<xsl:template match="/">
|
41
41
|
<xsl:call-template name="namespaceCheck"/>
|
42
|
-
<fo:root font-family="Times New Roman, STIX Two Math,
|
42
|
+
<fo:root font-family="Times New Roman, STIX Two Math, Source Han Sans" font-size="10pt" xml:lang="{$lang}">
|
43
43
|
<fo:layout-master-set>
|
44
44
|
<!-- Cover page -->
|
45
45
|
<fo:simple-page-master master-name="cover-page" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
@@ -1444,6 +1444,7 @@
|
|
1444
1444
|
</xsl:attribute-set><xsl:attribute-set name="term-style">
|
1445
1445
|
|
1446
1446
|
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
1447
|
+
|
1447
1448
|
|
1448
1449
|
|
1449
1450
|
|
@@ -2742,6 +2743,7 @@
|
|
2742
2743
|
</fo:inline>
|
2743
2744
|
</xsl:template><xsl:template match="*[local-name()='strong'] | *[local-name()='b']">
|
2744
2745
|
<fo:inline font-weight="bold">
|
2746
|
+
|
2745
2747
|
<xsl:apply-templates/>
|
2746
2748
|
</fo:inline>
|
2747
2749
|
</xsl:template><xsl:template match="*[local-name()='sup']">
|
@@ -3146,6 +3148,7 @@
|
|
3146
3148
|
</xsl:choose>
|
3147
3149
|
</xsl:variable>
|
3148
3150
|
<fo:inline xsl:use-attribute-sets="link-style">
|
3151
|
+
|
3149
3152
|
<xsl:choose>
|
3150
3153
|
<xsl:when test="$target = ''">
|
3151
3154
|
<xsl:apply-templates/>
|
@@ -3374,7 +3377,8 @@
|
|
3374
3377
|
</fo:inline>
|
3375
3378
|
</xsl:if>
|
3376
3379
|
</xsl:template><xsl:template match="*[local-name() = 'figure']">
|
3377
|
-
<fo:block-container id="{@id}">
|
3380
|
+
<fo:block-container id="{@id}">
|
3381
|
+
|
3378
3382
|
<fo:block>
|
3379
3383
|
<xsl:apply-templates/>
|
3380
3384
|
</fo:block>
|
@@ -3430,7 +3434,7 @@
|
|
3430
3434
|
<xsl:apply-templates mode="bookmarks"/>
|
3431
3435
|
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="contents">
|
3432
3436
|
<xsl:apply-templates select="."/>
|
3433
|
-
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="bookmarks">
|
3437
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" mode="contents" priority="3"/><xsl:template match="*[local-name() = 'stem']" mode="bookmarks">
|
3434
3438
|
<xsl:apply-templates mode="bookmarks"/>
|
3435
3439
|
</xsl:template><xsl:template name="addBookmarks">
|
3436
3440
|
<xsl:param name="contents"/>
|
@@ -4162,7 +4166,7 @@
|
|
4162
4166
|
<fo:block id="{@id}">
|
4163
4167
|
<xsl:apply-templates/>
|
4164
4168
|
</fo:block>
|
4165
|
-
</xsl:template><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@normative='true']">
|
4169
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" priority="3"/><xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3"/><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@normative='true']">
|
4166
4170
|
|
4167
4171
|
<fo:block id="{@id}">
|
4168
4172
|
<xsl:apply-templates/>
|
@@ -20,7 +20,11 @@ module IsoDoc
|
|
20
20
|
'"Times New Roman",serif'),
|
21
21
|
headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' :
|
22
22
|
'"Times New Roman",serif'),
|
23
|
-
|
23
|
+
monospacefont: '"Courier New",monospace',
|
24
|
+
normalfontsize: "10.5pt",
|
25
|
+
monospacefontsize: "10.0pt",
|
26
|
+
smallerfontsize: "10.0pt",
|
27
|
+
footnotefontsize: "9.0pt",
|
24
28
|
}
|
25
29
|
end
|
26
30
|
|
@@ -2,14 +2,6 @@ require "metanorma/processor"
|
|
2
2
|
|
3
3
|
module Metanorma
|
4
4
|
module UN
|
5
|
-
def self.fonts_used
|
6
|
-
{
|
7
|
-
html: ["Arial", "Arial Black", "Courier", "Times New Roman", "HanSans"],
|
8
|
-
doc: ["Arial", "Arial Black", "Courier", "Times New Roman", "HanSans"],
|
9
|
-
pdf: ["Arial", "Arial Black", "Courier", "Times New Roman", "HanSans"],
|
10
|
-
}
|
11
|
-
end
|
12
|
-
|
13
5
|
class Processor < Metanorma::Processor
|
14
6
|
|
15
7
|
def initialize
|
data/lib/metanorma/un/version.rb
CHANGED
data/metanorma-unece.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "iso-639"
|
32
32
|
|
33
33
|
spec.add_dependency "metanorma-standoc", "~> 1.6.0"
|
34
|
-
spec.add_dependency "isodoc", "~> 1.
|
34
|
+
spec.add_dependency "isodoc", "~> 1.3.0"
|
35
35
|
|
36
36
|
spec.add_development_dependency "byebug", "~> 9.1"
|
37
37
|
spec.add_development_dependency "sassc", "2.4.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-un
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: roman-numerals
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.3.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.3.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: byebug
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -283,6 +283,7 @@ files:
|
|
283
283
|
- lib/metanorma-un.rb
|
284
284
|
- lib/metanorma/un.rb
|
285
285
|
- lib/metanorma/un/UN_emblem_blue.svg
|
286
|
+
- lib/metanorma/un/fonts_manifest.yaml
|
286
287
|
- lib/metanorma/un/input.rb
|
287
288
|
- lib/metanorma/un/processor.rb
|
288
289
|
- lib/metanorma/un/version.rb
|