metanorma-ogc 1.4.3 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/ogc/basicdoc.rng +21 -4
- data/lib/asciidoctor/ogc/cleanup.rb +8 -3
- data/lib/asciidoctor/ogc/converter.rb +1 -1
- data/lib/asciidoctor/ogc/isodoc.rng +410 -77
- data/lib/asciidoctor/ogc/reqt.rng +23 -2
- data/lib/isodoc/ogc/biblio.rb +1 -1
- data/lib/isodoc/ogc/html/wordstyle.css +12 -1
- data/lib/isodoc/ogc/html/wordstyle.scss +12 -1
- data/lib/isodoc/ogc/html/wordstyle_wp.css +12 -1
- data/lib/isodoc/ogc/html/wordstyle_wp.scss +12 -1
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +73 -29
- data/lib/isodoc/ogc/ogc.best-practice.xsl +73 -29
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +73 -29
- data/lib/isodoc/ogc/ogc.community-practice.xsl +73 -29
- data/lib/isodoc/ogc/ogc.community-standard.xsl +73 -29
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +73 -29
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +73 -29
- data/lib/isodoc/ogc/ogc.other.xsl +73 -29
- data/lib/isodoc/ogc/ogc.policy.xsl +73 -29
- data/lib/isodoc/ogc/ogc.reference-model.xsl +73 -29
- data/lib/isodoc/ogc/ogc.release-notes.xsl +73 -29
- data/lib/isodoc/ogc/ogc.standard.xsl +73 -29
- data/lib/isodoc/ogc/ogc.test-suite.xsl +73 -29
- data/lib/isodoc/ogc/ogc.user-guide.xsl +73 -29
- data/lib/isodoc/ogc/ogc.white-paper.xsl +54 -13
- data/lib/isodoc/ogc/reqt.rb +2 -1
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -2
- metadata +5 -19
@@ -58,6 +58,14 @@
|
|
58
58
|
<optional>
|
59
59
|
<attribute name="type"/>
|
60
60
|
</optional>
|
61
|
+
<optional>
|
62
|
+
<attribute name="tag"/>
|
63
|
+
</optional>
|
64
|
+
<optional>
|
65
|
+
<attribute name="multilingual-rendering">
|
66
|
+
<ref name="MultilingualRenderingType"/>
|
67
|
+
</attribute>
|
68
|
+
</optional>
|
61
69
|
<optional>
|
62
70
|
<ref name="reqtitle"/>
|
63
71
|
</optional>
|
@@ -101,7 +109,9 @@
|
|
101
109
|
</define>
|
102
110
|
<define name="label">
|
103
111
|
<element name="label">
|
104
|
-
<
|
112
|
+
<oneOrMore>
|
113
|
+
<ref name="TextElement"/>
|
114
|
+
</oneOrMore>
|
105
115
|
</element>
|
106
116
|
</define>
|
107
117
|
<define name="subject">
|
@@ -175,8 +185,19 @@
|
|
175
185
|
<data type="boolean"/>
|
176
186
|
</attribute>
|
177
187
|
</optional>
|
188
|
+
<optional>
|
189
|
+
<attribute name="tag"/>
|
190
|
+
</optional>
|
191
|
+
<optional>
|
192
|
+
<attribute name="multilingual-rendering">
|
193
|
+
<ref name="MultilingualRenderingType"/>
|
194
|
+
</attribute>
|
195
|
+
</optional>
|
178
196
|
<oneOrMore>
|
179
|
-
<
|
197
|
+
<choice>
|
198
|
+
<ref name="BasicBlock"/>
|
199
|
+
<ref name="component"/>
|
200
|
+
</choice>
|
180
201
|
</oneOrMore>
|
181
202
|
</define>
|
182
203
|
<define name="ObligationType">
|
data/lib/isodoc/ogc/biblio.rb
CHANGED
@@ -153,6 +153,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
153
153
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
|
154
154
|
mso-style-noshow: yes;
|
155
155
|
mso-style-unhide: no;
|
156
|
+
mso-style-name: "Comment Text";
|
156
157
|
margin: 0cm;
|
157
158
|
margin-bottom: .0001pt;
|
158
159
|
mso-pagination: widow-orphan;
|
@@ -373,6 +374,7 @@ h1 {
|
|
373
374
|
mso-style-priority: 1;
|
374
375
|
mso-style-unhide: no;
|
375
376
|
mso-style-qformat: yes;
|
377
|
+
mso-style-name: "Heading 1";
|
376
378
|
mso-style-link: "Heading 1 Char";
|
377
379
|
mso-style-next: Normal;
|
378
380
|
margin-top: 13.5pt;
|
@@ -459,6 +461,7 @@ h2 {
|
|
459
461
|
mso-style-priority: 2;
|
460
462
|
mso-style-unhide: no;
|
461
463
|
mso-style-qformat: yes;
|
464
|
+
mso-style-name: "Heading 2";
|
462
465
|
mso-style-parent: "Heading 1";
|
463
466
|
mso-style-link: "Heading 2 Char";
|
464
467
|
mso-style-next: Normal;
|
@@ -487,7 +490,8 @@ h3 {
|
|
487
490
|
mso-style-priority: 3;
|
488
491
|
mso-style-unhide: no;
|
489
492
|
mso-style-qformat: yes;
|
490
|
-
mso-style-
|
493
|
+
mso-style-name: "Heading 3";
|
494
|
+
mso-style-parent: "Heading 2";
|
491
495
|
mso-style-link: "Heading 3 Char";
|
492
496
|
mso-style-next: Normal;
|
493
497
|
margin-top: 3.0pt;
|
@@ -514,6 +518,7 @@ h4 {
|
|
514
518
|
mso-style-priority: 4;
|
515
519
|
mso-style-unhide: no;
|
516
520
|
mso-style-qformat: yes;
|
521
|
+
mso-style-name: "Heading 4";
|
517
522
|
mso-style-parent: "Heading 3";
|
518
523
|
mso-style-link: "Heading 4 Char";
|
519
524
|
mso-style-next: Normal;
|
@@ -541,6 +546,7 @@ h5 {
|
|
541
546
|
mso-style-priority: 5;
|
542
547
|
mso-style-unhide: no;
|
543
548
|
mso-style-qformat: yes;
|
549
|
+
mso-style-name: "Heading 5";
|
544
550
|
mso-style-parent: "Heading 4";
|
545
551
|
mso-style-link: "Heading 5 Char";
|
546
552
|
mso-style-next: Normal;
|
@@ -568,6 +574,7 @@ h6 {
|
|
568
574
|
mso-style-priority: 6;
|
569
575
|
mso-style-unhide: no;
|
570
576
|
mso-style-qformat: yes;
|
577
|
+
mso-style-name: "Heading 6";
|
571
578
|
mso-style-parent: "Heading 5";
|
572
579
|
mso-style-link: "Heading 6 Char";
|
573
580
|
mso-style-next: Normal;
|
@@ -594,6 +601,7 @@ h6 {
|
|
594
601
|
p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
595
602
|
mso-style-priority: 39;
|
596
603
|
mso-style-unhide: no;
|
604
|
+
mso-style-name: "TOC 1";
|
597
605
|
mso-style-next: Normal;
|
598
606
|
margin-top: 6.0pt;
|
599
607
|
margin-right: 25.0pt;
|
@@ -617,6 +625,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2 {
|
|
617
625
|
mso-style-noshow: yes;
|
618
626
|
mso-style-priority: 39;
|
619
627
|
mso-style-unhide: no;
|
628
|
+
mso-style-name: "TOC 2";
|
620
629
|
mso-style-parent: "TOC 1";
|
621
630
|
mso-style-next: Normal;
|
622
631
|
margin-top: 0cm;
|
@@ -641,6 +650,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
641
650
|
mso-style-noshow: yes;
|
642
651
|
mso-style-priority: 39;
|
643
652
|
mso-style-unhide: no;
|
653
|
+
mso-style-name: "TOC 3";
|
644
654
|
mso-style-parent: "TOC 2";
|
645
655
|
mso-style-next: Normal;
|
646
656
|
margin-top: 0cm;
|
@@ -663,6 +673,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
663
673
|
|
664
674
|
span.MsoFootnoteReference {
|
665
675
|
mso-style-priority: 99;
|
676
|
+
mso-style-name: "Footnote Reference";
|
666
677
|
vertical-align: super; }
|
667
678
|
|
668
679
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {
|
@@ -139,6 +139,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
139
139
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
140
140
|
{mso-style-noshow:yes;
|
141
141
|
mso-style-unhide:no;
|
142
|
+
mso-style-name:"Comment Text";
|
142
143
|
margin:0cm;
|
143
144
|
margin-bottom:.0001pt;
|
144
145
|
mso-pagination:widow-orphan;
|
@@ -342,6 +343,7 @@ h1
|
|
342
343
|
{mso-style-priority:1;
|
343
344
|
mso-style-unhide:no;
|
344
345
|
mso-style-qformat:yes;
|
346
|
+
mso-style-name:"Heading 1";
|
345
347
|
mso-style-link:"Heading 1 Char";
|
346
348
|
mso-style-next:Normal;
|
347
349
|
margin-top:13.5pt;
|
@@ -425,6 +427,7 @@ h2
|
|
425
427
|
{mso-style-priority:2;
|
426
428
|
mso-style-unhide:no;
|
427
429
|
mso-style-qformat:yes;
|
430
|
+
mso-style-name:"Heading 2";
|
428
431
|
mso-style-parent:"Heading 1";
|
429
432
|
mso-style-link:"Heading 2 Char";
|
430
433
|
mso-style-next:Normal;
|
@@ -452,7 +455,8 @@ h3
|
|
452
455
|
{mso-style-priority:3;
|
453
456
|
mso-style-unhide:no;
|
454
457
|
mso-style-qformat:yes;
|
455
|
-
mso-style-
|
458
|
+
mso-style-name:"Heading 3";
|
459
|
+
mso-style-parent:"Heading 2";
|
456
460
|
mso-style-link:"Heading 3 Char";
|
457
461
|
mso-style-next:Normal;
|
458
462
|
margin-top:3.0pt;
|
@@ -478,6 +482,7 @@ h4
|
|
478
482
|
{mso-style-priority:4;
|
479
483
|
mso-style-unhide:no;
|
480
484
|
mso-style-qformat:yes;
|
485
|
+
mso-style-name:"Heading 4";
|
481
486
|
mso-style-parent:"Heading 3";
|
482
487
|
mso-style-link:"Heading 4 Char";
|
483
488
|
mso-style-next:Normal;
|
@@ -504,6 +509,7 @@ h5
|
|
504
509
|
{mso-style-priority:5;
|
505
510
|
mso-style-unhide:no;
|
506
511
|
mso-style-qformat:yes;
|
512
|
+
mso-style-name:"Heading 5";
|
507
513
|
mso-style-parent:"Heading 4";
|
508
514
|
mso-style-link:"Heading 5 Char";
|
509
515
|
mso-style-next:Normal;
|
@@ -530,6 +536,7 @@ h6
|
|
530
536
|
{mso-style-priority:6;
|
531
537
|
mso-style-unhide:no;
|
532
538
|
mso-style-qformat:yes;
|
539
|
+
mso-style-name:"Heading 6";
|
533
540
|
mso-style-parent:"Heading 5";
|
534
541
|
mso-style-link:"Heading 6 Char";
|
535
542
|
mso-style-next:Normal;
|
@@ -555,6 +562,7 @@ h6
|
|
555
562
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
556
563
|
{mso-style-priority:39;
|
557
564
|
mso-style-unhide:no;
|
565
|
+
mso-style-name:"TOC 1";
|
558
566
|
mso-style-next:Normal;
|
559
567
|
margin-top:6.0pt;
|
560
568
|
margin-right:25.0pt;
|
@@ -577,6 +585,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
|
|
577
585
|
{mso-style-noshow:yes;
|
578
586
|
mso-style-priority:39;
|
579
587
|
mso-style-unhide:no;
|
588
|
+
mso-style-name:"TOC 2";
|
580
589
|
mso-style-parent:"TOC 1";
|
581
590
|
mso-style-next:Normal;
|
582
591
|
margin-top:0cm;
|
@@ -600,6 +609,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
600
609
|
{mso-style-noshow:yes;
|
601
610
|
mso-style-priority:39;
|
602
611
|
mso-style-unhide:no;
|
612
|
+
mso-style-name:"TOC 3";
|
603
613
|
mso-style-parent:"TOC 2";
|
604
614
|
mso-style-next:Normal;
|
605
615
|
margin-top:0cm;
|
@@ -621,6 +631,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
621
631
|
mso-bidi-font-weight:normal;}
|
622
632
|
span.MsoFootnoteReference
|
623
633
|
{mso-style-priority:99;
|
634
|
+
mso-style-name:"Footnote Reference";
|
624
635
|
vertical-align:super;}
|
625
636
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
|
626
637
|
{mso-style-noshow:yes;
|
@@ -161,6 +161,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
161
161
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
|
162
162
|
mso-style-noshow: yes;
|
163
163
|
mso-style-unhide: no;
|
164
|
+
mso-style-name: "Comment Text";
|
164
165
|
margin-top: 8.0pt;
|
165
166
|
margin-right: 0cm;
|
166
167
|
margin-bottom: 0cm;
|
@@ -470,6 +471,7 @@ h1 {
|
|
470
471
|
mso-style-priority: 1;
|
471
472
|
mso-style-unhide: no;
|
472
473
|
mso-style-qformat: yes;
|
474
|
+
mso-style-name: "Heading 1";
|
473
475
|
mso-style-link: "Heading 1 Char";
|
474
476
|
mso-style-next: Normal;
|
475
477
|
margin-top: 18.0pt;
|
@@ -539,6 +541,7 @@ h1.Annex
|
|
539
541
|
mso-style-priority: 2;
|
540
542
|
mso-style-unhide: no;
|
541
543
|
mso-style-qformat: yes;
|
544
|
+
mso-style-name: "Heading 2";
|
542
545
|
mso-style-parent: "Heading 1";
|
543
546
|
mso-style-link: "Heading 2 Char";
|
544
547
|
mso-style-next: Normal;
|
@@ -568,7 +571,8 @@ h3 {
|
|
568
571
|
mso-style-priority: 3;
|
569
572
|
mso-style-unhide: no;
|
570
573
|
mso-style-qformat: yes;
|
571
|
-
mso-style-
|
574
|
+
mso-style-name: "Heading 3";
|
575
|
+
mso-style-parent: "Heading 2";
|
572
576
|
mso-style-link: "Heading 3 Char";
|
573
577
|
mso-style-next: Normal;
|
574
578
|
margin-top: 2.0pt;
|
@@ -594,6 +598,7 @@ h4 {
|
|
594
598
|
mso-style-priority: 4;
|
595
599
|
mso-style-unhide: no;
|
596
600
|
mso-style-qformat: yes;
|
601
|
+
mso-style-name: "Heading 4";
|
597
602
|
mso-style-parent: "Heading 3";
|
598
603
|
mso-style-link: "Heading 4 Char";
|
599
604
|
mso-style-next: Normal;
|
@@ -620,6 +625,7 @@ h5 {
|
|
620
625
|
mso-style-priority: 5;
|
621
626
|
mso-style-unhide: no;
|
622
627
|
mso-style-qformat: yes;
|
628
|
+
mso-style-name: "Heading 5";
|
623
629
|
mso-style-parent: "Heading 4";
|
624
630
|
mso-style-link: "Heading 5 Char";
|
625
631
|
mso-style-next: Normal;
|
@@ -645,6 +651,7 @@ h6 {
|
|
645
651
|
mso-style-priority: 6;
|
646
652
|
mso-style-unhide: no;
|
647
653
|
mso-style-qformat: yes;
|
654
|
+
mso-style-name: "Heading 6";
|
648
655
|
mso-style-parent: "Heading 5";
|
649
656
|
mso-style-link: "Heading 6 Char";
|
650
657
|
mso-style-next: Normal;
|
@@ -674,6 +681,7 @@ h6 {
|
|
674
681
|
p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
675
682
|
mso-style-priority: 39;
|
676
683
|
mso-style-unhide: no;
|
684
|
+
mso-style-name: "TOC 1";
|
677
685
|
mso-style-next: Normal;
|
678
686
|
margin-top: 8.0pt;
|
679
687
|
margin-right: 0cm;
|
@@ -693,6 +701,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2 {
|
|
693
701
|
mso-style-noshow: yes;
|
694
702
|
mso-style-priority: 39;
|
695
703
|
mso-style-unhide: no;
|
704
|
+
mso-style-name: "TOC 2";
|
696
705
|
mso-style-parent: "TOC 1";
|
697
706
|
mso-style-next: Normal;
|
698
707
|
mso-pagination: widow-orphan;
|
@@ -714,6 +723,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
714
723
|
mso-style-noshow: yes;
|
715
724
|
mso-style-priority: 39;
|
716
725
|
mso-style-unhide: no;
|
726
|
+
mso-style-name: "TOC 3";
|
717
727
|
mso-style-parent: "TOC 2";
|
718
728
|
mso-style-next: Normal;
|
719
729
|
margin-top: 8.0pt;
|
@@ -732,6 +742,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
732
742
|
|
733
743
|
span.MsoFootnoteReference {
|
734
744
|
mso-style-priority: 99;
|
745
|
+
mso-style-name: "Footnote Reference";
|
735
746
|
vertical-align: super; }
|
736
747
|
|
737
748
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {
|
@@ -147,6 +147,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
|
|
147
147
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
148
148
|
{mso-style-noshow:yes;
|
149
149
|
mso-style-unhide:no;
|
150
|
+
mso-style-name:"Comment Text";
|
150
151
|
margin-top:8.0pt;
|
151
152
|
margin-right:0cm;
|
152
153
|
margin-bottom:0cm;
|
@@ -438,6 +439,7 @@ h1
|
|
438
439
|
{mso-style-priority:1;
|
439
440
|
mso-style-unhide:no;
|
440
441
|
mso-style-qformat:yes;
|
442
|
+
mso-style-name:"Heading 1";
|
441
443
|
mso-style-link:"Heading 1 Char";
|
442
444
|
mso-style-next:Normal;
|
443
445
|
margin-top:18.0pt;
|
@@ -506,6 +508,7 @@ h1.Annex
|
|
506
508
|
{mso-style-priority:2;
|
507
509
|
mso-style-unhide:no;
|
508
510
|
mso-style-qformat:yes;
|
511
|
+
mso-style-name:"Heading 2";
|
509
512
|
mso-style-parent:"Heading 1";
|
510
513
|
mso-style-link:"Heading 2 Char";
|
511
514
|
mso-style-next:Normal;
|
@@ -535,7 +538,8 @@ h3
|
|
535
538
|
{mso-style-priority:3;
|
536
539
|
mso-style-unhide:no;
|
537
540
|
mso-style-qformat:yes;
|
538
|
-
mso-style-
|
541
|
+
mso-style-name:"Heading 3";
|
542
|
+
mso-style-parent:"Heading 2";
|
539
543
|
mso-style-link:"Heading 3 Char";
|
540
544
|
mso-style-next:Normal;
|
541
545
|
margin-top:2.0pt;
|
@@ -560,6 +564,7 @@ h4
|
|
560
564
|
{mso-style-priority:4;
|
561
565
|
mso-style-unhide:no;
|
562
566
|
mso-style-qformat:yes;
|
567
|
+
mso-style-name:"Heading 4";
|
563
568
|
mso-style-parent:"Heading 3";
|
564
569
|
mso-style-link:"Heading 4 Char";
|
565
570
|
mso-style-next:Normal;
|
@@ -585,6 +590,7 @@ h5
|
|
585
590
|
{mso-style-priority:5;
|
586
591
|
mso-style-unhide:no;
|
587
592
|
mso-style-qformat:yes;
|
593
|
+
mso-style-name:"Heading 5";
|
588
594
|
mso-style-parent:"Heading 4";
|
589
595
|
mso-style-link:"Heading 5 Char";
|
590
596
|
mso-style-next:Normal;
|
@@ -609,6 +615,7 @@ h6
|
|
609
615
|
{mso-style-priority:6;
|
610
616
|
mso-style-unhide:no;
|
611
617
|
mso-style-qformat:yes;
|
618
|
+
mso-style-name:"Heading 6";
|
612
619
|
mso-style-parent:"Heading 5";
|
613
620
|
mso-style-link:"Heading 6 Char";
|
614
621
|
mso-style-next:Normal;
|
@@ -637,6 +644,7 @@ h6
|
|
637
644
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
638
645
|
{mso-style-priority:39;
|
639
646
|
mso-style-unhide:no;
|
647
|
+
mso-style-name:"TOC 1";
|
640
648
|
mso-style-next:Normal;
|
641
649
|
margin-top:8.0pt;
|
642
650
|
margin-right:0cm;
|
@@ -655,6 +663,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
|
|
655
663
|
{mso-style-noshow:yes;
|
656
664
|
mso-style-priority:39;
|
657
665
|
mso-style-unhide:no;
|
666
|
+
mso-style-name:"TOC 2";
|
658
667
|
mso-style-parent:"TOC 1";
|
659
668
|
mso-style-next:Normal;
|
660
669
|
mso-pagination:widow-orphan;
|
@@ -675,6 +684,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
675
684
|
{mso-style-noshow:yes;
|
676
685
|
mso-style-priority:39;
|
677
686
|
mso-style-unhide:no;
|
687
|
+
mso-style-name:"TOC 3";
|
678
688
|
mso-style-parent:"TOC 2";
|
679
689
|
mso-style-next:Normal;
|
680
690
|
margin-top:8.0pt;
|
@@ -692,6 +702,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
692
702
|
mso-bidi-font-weight:normal;}
|
693
703
|
span.MsoFootnoteReference
|
694
704
|
{mso-style-priority:99;
|
705
|
+
mso-style-name:"Footnote Reference";
|
695
706
|
vertical-align:super;}
|
696
707
|
p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
|
697
708
|
{mso-style-noshow:yes;
|
@@ -1658,6 +1658,8 @@
|
|
1658
1658
|
|
1659
1659
|
<title-list-figures lang="en">List of Figures</title-list-figures>
|
1660
1660
|
|
1661
|
+
<title-table-figures lang="en">Table of Figures</title-table-figures>
|
1662
|
+
|
1661
1663
|
<title-list-recommendations lang="en">List of Recommendations</title-list-recommendations>
|
1662
1664
|
|
1663
1665
|
<title-acknowledgements lang="en">Acknowledgements</title-acknowledgements>
|
@@ -1987,6 +1989,11 @@
|
|
1987
1989
|
|
1988
1990
|
|
1989
1991
|
|
1992
|
+
</xsl:attribute-set><xsl:attribute-set name="table-note-name-style">
|
1993
|
+
|
1994
|
+
|
1995
|
+
|
1996
|
+
|
1990
1997
|
</xsl:attribute-set><xsl:attribute-set name="note-p-style">
|
1991
1998
|
|
1992
1999
|
|
@@ -3119,9 +3126,8 @@
|
|
3119
3126
|
|
3120
3127
|
<!-- Table's note name (NOTE, for example) -->
|
3121
3128
|
|
3122
|
-
<fo:inline padding-right="2mm">
|
3129
|
+
<fo:inline padding-right="2mm" xsl:use-attribute-sets="table-note-name-style">
|
3123
3130
|
|
3124
|
-
|
3125
3131
|
|
3126
3132
|
|
3127
3133
|
|
@@ -3749,6 +3755,8 @@
|
|
3749
3755
|
<xsl:if test="$font-size != ''">
|
3750
3756
|
<xsl:attribute name="font-size">
|
3751
3757
|
<xsl:choose>
|
3758
|
+
<xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
|
3759
|
+
<xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
|
3752
3760
|
<xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
|
3753
3761
|
<xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
|
3754
3762
|
</xsl:choose>
|
@@ -4556,6 +4564,7 @@
|
|
4556
4564
|
<xsl:otherwise>
|
4557
4565
|
<fo:block xsl:use-attribute-sets="image-style">
|
4558
4566
|
|
4567
|
+
|
4559
4568
|
<xsl:variable name="src">
|
4560
4569
|
<xsl:call-template name="image_src"/>
|
4561
4570
|
</xsl:variable>
|
@@ -4922,7 +4931,7 @@
|
|
4922
4931
|
<xsl:text> </xsl:text>
|
4923
4932
|
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']/text()" mode="contents" priority="2">
|
4924
4933
|
<xsl:value-of select="."/>
|
4925
|
-
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']
|
4934
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure' or local-name() = 'table' or local-name() = 'permission' or local-name() = 'recommendation' or local-name() = 'requirement']/*[local-name() = 'name']//text()" mode="bookmarks" priority="2">
|
4926
4935
|
<xsl:value-of select="."/>
|
4927
4936
|
</xsl:template><xsl:template match="node()" mode="contents">
|
4928
4937
|
<xsl:apply-templates mode="contents"/>
|
@@ -5015,41 +5024,72 @@
|
|
5015
5024
|
|
5016
5025
|
|
5017
5026
|
|
5018
|
-
|
5019
|
-
|
5020
|
-
|
5021
|
-
|
5027
|
+
|
5028
|
+
|
5029
|
+
|
5030
|
+
|
5031
|
+
|
5032
|
+
<xsl:variable name="list_of_tables_">
|
5033
|
+
<xsl:for-each select="//*[local-name() = 'table'][@id and *[local-name() = 'name'] and contains(*[local-name() = 'name'], '—')]">
|
5034
|
+
<table id="{@id}"><xsl:apply-templates select="*[local-name() = 'name']" mode="bookmarks"/></table>
|
5035
|
+
</xsl:for-each>
|
5036
|
+
</xsl:variable>
|
5037
|
+
<xsl:variable name="list_of_tables" select="xalan:nodeset($list_of_tables_)"/>
|
5038
|
+
|
5039
|
+
<xsl:variable name="list_of_figures_">
|
5040
|
+
<xsl:for-each select="//*[local-name() = 'figure'][@id and *[local-name() = 'name'] and contains(*[local-name() = 'name'], '—')]">
|
5041
|
+
<figure id="{@id}"><xsl:apply-templates select="*[local-name() = 'name']" mode="bookmarks"/></figure>
|
5042
|
+
</xsl:for-each>
|
5043
|
+
</xsl:variable>
|
5044
|
+
<xsl:variable name="list_of_figures" select="xalan:nodeset($list_of_figures_)"/>
|
5045
|
+
|
5046
|
+
<xsl:if test="$list_of_tables//table or $list_of_figures/figure or //*[local-name() = 'table'][.//*[local-name() = 'p'][@class = 'RecommendationTitle']]">
|
5047
|
+
<fo:bookmark internal-destination="empty_bookmark">
|
5048
|
+
<fo:bookmark-title>—————</fo:bookmark-title>
|
5049
|
+
</fo:bookmark>
|
5050
|
+
</xsl:if>
|
5051
|
+
|
5052
|
+
<xsl:if test="$list_of_tables//table">
|
5053
|
+
<fo:bookmark internal-destination="empty_bookmark" starting-state="hide"> <!-- {$list_of_tables//table[1]/@id} -->
|
5054
|
+
<fo:bookmark-title>
|
5055
|
+
<xsl:call-template name="getTitle">
|
5056
|
+
<xsl:with-param name="name" select="'title-list-tables'"/>
|
5057
|
+
</xsl:call-template>
|
5058
|
+
</fo:bookmark-title>
|
5059
|
+
<xsl:for-each select="$list_of_tables//table">
|
5022
5060
|
<fo:bookmark internal-destination="{@id}">
|
5023
|
-
<fo:bookmark-title><xsl:
|
5061
|
+
<fo:bookmark-title><xsl:value-of select="."/></fo:bookmark-title>
|
5024
5062
|
</fo:bookmark>
|
5025
5063
|
</xsl:for-each>
|
5026
|
-
</fo:bookmark>
|
5064
|
+
</fo:bookmark>
|
5027
5065
|
</xsl:if>
|
5028
|
-
|
5029
|
-
|
5030
|
-
|
5031
|
-
<xsl:if test="//*[local-name() = 'table'][@id and *[local-name() = 'name']]">
|
5032
|
-
<fo:bookmark internal-destination="{//*[local-name() = 'table'][@id and *[local-name() = 'name']][1]/@id}" starting-state="hide">
|
5066
|
+
|
5067
|
+
<xsl:if test="$list_of_figures//figure">
|
5068
|
+
<fo:bookmark internal-destination="empty_bookmark" starting-state="hide"> <!-- {$list_of_figures//figure[1]/@id} -->
|
5033
5069
|
<fo:bookmark-title>
|
5034
|
-
|
5035
|
-
<xsl:
|
5036
|
-
|
5037
|
-
|
5070
|
+
|
5071
|
+
<xsl:call-template name="getTitle">
|
5072
|
+
<xsl:with-param name="name" select="'title-list-figures'"/>
|
5073
|
+
</xsl:call-template>
|
5074
|
+
|
5075
|
+
|
5038
5076
|
</fo:bookmark-title>
|
5039
|
-
<xsl:for-each select="
|
5077
|
+
<xsl:for-each select="$list_of_figures//figure">
|
5040
5078
|
<fo:bookmark internal-destination="{@id}">
|
5041
|
-
<fo:bookmark-title><xsl:
|
5079
|
+
<fo:bookmark-title><xsl:value-of select="."/></fo:bookmark-title>
|
5042
5080
|
</fo:bookmark>
|
5043
5081
|
</xsl:for-each>
|
5044
|
-
</fo:bookmark>
|
5082
|
+
</fo:bookmark>
|
5045
5083
|
</xsl:if>
|
5046
|
-
|
5047
|
-
|
5048
|
-
|
5049
|
-
|
5084
|
+
|
5085
|
+
|
5050
5086
|
<xsl:if test="//*[local-name() = 'table'][.//*[local-name() = 'p'][@class = 'RecommendationTitle']]">
|
5051
|
-
<fo:bookmark internal-destination="{//*[local-name() = 'table'][.//*[local-name() = 'p'][@class = 'RecommendationTitle']][1]/@id}
|
5052
|
-
<fo:bookmark-title>
|
5087
|
+
<fo:bookmark internal-destination="empty_bookmark" starting-state="hide"> <!-- {//*[local-name() = 'table'][.//*[local-name() = 'p'][@class = 'RecommendationTitle']][1]/@id} -->
|
5088
|
+
<fo:bookmark-title>
|
5089
|
+
<xsl:call-template name="getTitle">
|
5090
|
+
<xsl:with-param name="name" select="'title-list-recommendations'"/>
|
5091
|
+
</xsl:call-template>
|
5092
|
+
</fo:bookmark-title>
|
5053
5093
|
<xsl:for-each select="//*[local-name() = 'table'][.//*[local-name() = 'p'][@class = 'RecommendationTitle']]">
|
5054
5094
|
<xsl:variable name="table_id" select="@id"/>
|
5055
5095
|
<fo:bookmark internal-destination="{@id}">
|
@@ -5057,8 +5097,7 @@
|
|
5057
5097
|
</fo:bookmark>
|
5058
5098
|
</xsl:for-each>
|
5059
5099
|
</fo:bookmark>
|
5060
|
-
|
5061
|
-
</xsl:if>
|
5100
|
+
</xsl:if>
|
5062
5101
|
|
5063
5102
|
|
5064
5103
|
|
@@ -5256,12 +5295,16 @@
|
|
5256
5295
|
<xsl:if test="$font-size != ''">
|
5257
5296
|
<xsl:attribute name="font-size">
|
5258
5297
|
<xsl:choose>
|
5298
|
+
<xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
|
5299
|
+
<xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
|
5259
5300
|
<xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
|
5260
5301
|
<xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
|
5261
5302
|
</xsl:choose>
|
5262
5303
|
</xsl:attribute>
|
5263
5304
|
</xsl:if>
|
5264
5305
|
|
5306
|
+
|
5307
|
+
|
5265
5308
|
<xsl:apply-templates/>
|
5266
5309
|
</fo:block>
|
5267
5310
|
|
@@ -5617,6 +5660,7 @@
|
|
5617
5660
|
</xsl:choose>
|
5618
5661
|
</xsl:template><xsl:template match="*[local-name() = 'termsource']" name="termsource">
|
5619
5662
|
<fo:block xsl:use-attribute-sets="termsource-style">
|
5663
|
+
|
5620
5664
|
<!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
|
5621
5665
|
<xsl:variable name="termsource_text">
|
5622
5666
|
<xsl:apply-templates/>
|