asciidoctor-m3d 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +9 -1
- data/asciidoctor-m3d.gemspec +2 -2
- data/lib/asciidoctor/m3d/biblio.rng +253 -48
- data/lib/asciidoctor/m3d/html/htmlstyle.scss +4 -0
- data/lib/asciidoctor/m3d/html/m3d.scss +14 -6
- data/lib/asciidoctor/m3d/isodoc.rng +9 -3
- data/lib/asciidoctor/m3d/isostandard.rng +1 -1
- data/lib/asciidoctor/m3d/version.rb +1 -1
- data/lib/isodoc/m3d/html/m3d.scss +1 -1
- data/lib/isodoc/m3d/m3dwordconvert.rb +4 -2
- data/lib/metanorma/m3d/processor.rb +4 -2
- metadata +7 -8
- data/Gemfile.lock +0 -257
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fc3703757601c52c0293d4b0e892a064dd4901c0c1a69a2951f3b7bfad52cbf
|
4
|
+
data.tar.gz: ca2a3e4ec89a9336d4fd6d7871a925ba2d3cfabea687e845394fccf4111055e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6d3888561a821afc1ca18d9042d3e25ba87fa45e5451520f72bdf8c1ae8c58e114adf43217a406d8470a1a18eba3a96fe1d3a9395ddfca89af1cb6feed4a394
|
7
|
+
data.tar.gz: 405ff3bb3f0f51f4330d4b318b7fd42ddc775e898d0c23b5cff01f95b9ddbf95fcc75c74a17b78fdf99958bbb9199ae97b09297c0cb4fc093e2e8dab9a4910e3
|
data/.travis.yml
CHANGED
data/asciidoctor-m3d.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
DESCRIPTION
|
17
17
|
|
18
18
|
spec.homepage = "https://github.com/riboseinc/asciidoctor-m3d"
|
19
|
-
spec.license = "
|
19
|
+
spec.license = "BSD-2-Clause"
|
20
20
|
|
21
21
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
22
22
|
f.match(%r{^(test|spec|features)/})
|
@@ -49,5 +49,5 @@ Gem::Specification.new do |spec|
|
|
49
49
|
spec.add_development_dependency "rubocop", "~> 0.50"
|
50
50
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
51
51
|
spec.add_development_dependency "timecop", "~> 0.9"
|
52
|
-
spec.add_development_dependency "metanorma"
|
52
|
+
spec.add_development_dependency "metanorma", "~> 0.2.5"
|
53
53
|
end
|
@@ -37,7 +37,7 @@
|
|
37
37
|
<define name="edition">
|
38
38
|
<a:documentation>ISO-15924: Latn</a:documentation>
|
39
39
|
<element name="edition">
|
40
|
-
<
|
40
|
+
<text/>
|
41
41
|
</element>
|
42
42
|
</define>
|
43
43
|
<define name="LocalizedString">
|
@@ -102,9 +102,12 @@
|
|
102
102
|
<attribute name="type">
|
103
103
|
<choice>
|
104
104
|
<value>author</value>
|
105
|
-
<value>
|
105
|
+
<value>performer</value>
|
106
106
|
<value>publisher</value>
|
107
|
-
<
|
107
|
+
<value>editor</value>
|
108
|
+
<value>adapter</value>
|
109
|
+
<value>translator</value>
|
110
|
+
<value>distributor</value>
|
108
111
|
</choice>
|
109
112
|
</attribute>
|
110
113
|
</optional>
|
@@ -145,18 +148,26 @@
|
|
145
148
|
</define>
|
146
149
|
<define name="fullname">
|
147
150
|
<element name="name">
|
151
|
+
<choice>
|
152
|
+
<group>
|
153
|
+
<zeroOrMore>
|
154
|
+
<ref name="prefix"/>
|
155
|
+
</zeroOrMore>
|
156
|
+
<zeroOrMore>
|
157
|
+
<ref name="forename"/>
|
158
|
+
</zeroOrMore>
|
159
|
+
<zeroOrMore>
|
160
|
+
<ref name="initial"/>
|
161
|
+
</zeroOrMore>
|
162
|
+
<ref name="surname"/>
|
163
|
+
<zeroOrMore>
|
164
|
+
<ref name="addition"/>
|
165
|
+
</zeroOrMore>
|
166
|
+
</group>
|
167
|
+
<ref name="completeName"/>
|
168
|
+
</choice>
|
148
169
|
<zeroOrMore>
|
149
|
-
<ref name="
|
150
|
-
</zeroOrMore>
|
151
|
-
<zeroOrMore>
|
152
|
-
<ref name="forename"/>
|
153
|
-
</zeroOrMore>
|
154
|
-
<zeroOrMore>
|
155
|
-
<ref name="initial"/>
|
156
|
-
</zeroOrMore>
|
157
|
-
<ref name="surname"/>
|
158
|
-
<zeroOrMore>
|
159
|
-
<ref name="addition"/>
|
170
|
+
<ref name="biblionote"/>
|
160
171
|
</zeroOrMore>
|
161
172
|
</element>
|
162
173
|
</define>
|
@@ -185,6 +196,11 @@
|
|
185
196
|
<ref name="LocalizedString"/>
|
186
197
|
</element>
|
187
198
|
</define>
|
199
|
+
<define name="completeName">
|
200
|
+
<element name="completename">
|
201
|
+
<ref name="LocalizedString"/>
|
202
|
+
</element>
|
203
|
+
</define>
|
188
204
|
<define name="affiliation">
|
189
205
|
<element name="affiliation">
|
190
206
|
<optional>
|
@@ -209,6 +225,9 @@
|
|
209
225
|
<define name="organization">
|
210
226
|
<element name="organization">
|
211
227
|
<ref name="orgname"/>
|
228
|
+
<optional>
|
229
|
+
<ref name="subdivision"/>
|
230
|
+
</optional>
|
212
231
|
<optional>
|
213
232
|
<ref name="abbreviation"/>
|
214
233
|
</optional>
|
@@ -228,6 +247,11 @@
|
|
228
247
|
<ref name="LocalizedString"/>
|
229
248
|
</element>
|
230
249
|
</define>
|
250
|
+
<define name="subdivision">
|
251
|
+
<element name="subdivision">
|
252
|
+
<ref name="LocalizedString"/>
|
253
|
+
</element>
|
254
|
+
</define>
|
231
255
|
<define name="abbreviation">
|
232
256
|
<element name="abbreviation">
|
233
257
|
<ref name="LocalizedString"/>
|
@@ -346,19 +370,21 @@
|
|
346
370
|
</define>
|
347
371
|
<define name="locality">
|
348
372
|
<element name="locality">
|
349
|
-
|
350
|
-
<attribute name="type">
|
351
|
-
<ref name="LocalityType"/>
|
352
|
-
</attribute>
|
353
|
-
<ref name="referenceFrom"/>
|
354
|
-
<optional>
|
355
|
-
<ref name="referenceTo"/>
|
356
|
-
</optional>
|
373
|
+
<ref name="BibItemLocality"/>
|
357
374
|
</element>
|
358
375
|
</define>
|
376
|
+
<define name="BibItemLocality">
|
377
|
+
<attribute name="type">
|
378
|
+
<ref name="LocalityType"/>
|
379
|
+
</attribute>
|
380
|
+
<ref name="referenceFrom"/>
|
381
|
+
<optional>
|
382
|
+
<ref name="referenceTo"/>
|
383
|
+
</optional>
|
384
|
+
</define>
|
359
385
|
<define name="LocalityType">
|
360
386
|
<data type="string">
|
361
|
-
<param name="pattern">section|clause|part|paragraph|chapter|page|whole|table|annex|figure|note|example|locality:[a-zA-Z0-9_]+</param>
|
387
|
+
<param name="pattern">section|clause|part|paragraph|chapter|page|whole|table|annex|figure|note|example|volume|issue|locality:[a-zA-Z0-9_]+</param>
|
362
388
|
</data>
|
363
389
|
</define>
|
364
390
|
<define name="referenceFrom">
|
@@ -398,6 +424,18 @@
|
|
398
424
|
<value>techreport</value>
|
399
425
|
<value>standard</value>
|
400
426
|
<value>unpublished</value>
|
427
|
+
<value>map</value>
|
428
|
+
<value>electronic resource</value>
|
429
|
+
<value>audiovisual</value>
|
430
|
+
<value>film</value>
|
431
|
+
<value>video</value>
|
432
|
+
<value>broadcast</value>
|
433
|
+
<value>graphic work</value>
|
434
|
+
<value>music</value>
|
435
|
+
<value>patent</value>
|
436
|
+
<value>inbook</value>
|
437
|
+
<value>incollection</value>
|
438
|
+
<value>inproceedings</value>
|
401
439
|
</choice>
|
402
440
|
</define>
|
403
441
|
<define name="BibliographicItem">
|
@@ -442,20 +480,41 @@
|
|
442
480
|
<optional>
|
443
481
|
<ref name="status"/>
|
444
482
|
</optional>
|
445
|
-
<
|
483
|
+
<optional>
|
446
484
|
<ref name="copyright"/>
|
447
|
-
</
|
485
|
+
</optional>
|
448
486
|
<zeroOrMore>
|
449
487
|
<ref name="docrelation"/>
|
450
488
|
</zeroOrMore>
|
489
|
+
<zeroOrMore>
|
490
|
+
<ref name="series"/>
|
491
|
+
</zeroOrMore>
|
492
|
+
<optional>
|
493
|
+
<ref name="medium"/>
|
494
|
+
</optional>
|
495
|
+
<zeroOrMore>
|
496
|
+
<ref name="bplace"/>
|
497
|
+
</zeroOrMore>
|
498
|
+
<zeroOrMore>
|
499
|
+
<ref name="extent"/>
|
500
|
+
</zeroOrMore>
|
501
|
+
<zeroOrMore>
|
502
|
+
<ref name="accesslocation"/>
|
503
|
+
</zeroOrMore>
|
504
|
+
<optional>
|
505
|
+
<ref name="bclassification"/>
|
506
|
+
</optional>
|
507
|
+
<optional>
|
508
|
+
<ref name="validity"/>
|
509
|
+
</optional>
|
451
510
|
</define>
|
452
511
|
<define name="btitle">
|
453
512
|
<element name="title">
|
454
|
-
<ref name="
|
513
|
+
<ref name="TypedTitleString"/>
|
455
514
|
</element>
|
456
515
|
</define>
|
457
516
|
<define name="bsource">
|
458
|
-
<element name="
|
517
|
+
<element name="uri">
|
459
518
|
<ref name="TypedUri"/>
|
460
519
|
</element>
|
461
520
|
</define>
|
@@ -464,17 +523,68 @@
|
|
464
523
|
<ref name="FormattedString"/>
|
465
524
|
</element>
|
466
525
|
</define>
|
467
|
-
<define name="
|
468
|
-
<element name="
|
469
|
-
<
|
526
|
+
<define name="validity">
|
527
|
+
<element name="validity">
|
528
|
+
<optional>
|
529
|
+
<ref name="validityBegins"/>
|
530
|
+
</optional>
|
531
|
+
<optional>
|
532
|
+
<ref name="validityEnds"/>
|
533
|
+
</optional>
|
534
|
+
<optional>
|
535
|
+
<ref name="validityRevision"/>
|
536
|
+
</optional>
|
537
|
+
</element>
|
538
|
+
</define>
|
539
|
+
<define name="validityBegins">
|
540
|
+
<element name="validityBegins">
|
541
|
+
<data type="dateTime"/>
|
542
|
+
</element>
|
543
|
+
</define>
|
544
|
+
<define name="validityEnds">
|
545
|
+
<element name="validityEnds">
|
546
|
+
<data type="dateTime"/>
|
470
547
|
</element>
|
471
548
|
</define>
|
549
|
+
<define name="validityRevision">
|
550
|
+
<element name="revision">
|
551
|
+
<data type="dateTime"/>
|
552
|
+
</element>
|
553
|
+
</define>
|
554
|
+
<define name="TypedTitleString">
|
555
|
+
<optional>
|
556
|
+
<attribute name="type">
|
557
|
+
<ref name="TitleType"/>
|
558
|
+
</attribute>
|
559
|
+
</optional>
|
560
|
+
<ref name="FormattedString"/>
|
561
|
+
</define>
|
562
|
+
<define name="TitleType">
|
563
|
+
<choice>
|
564
|
+
<value>alternative</value>
|
565
|
+
<value>original</value>
|
566
|
+
<value>unofficial</value>
|
567
|
+
<value>subtitle</value>
|
568
|
+
<value>main</value>
|
569
|
+
</choice>
|
570
|
+
</define>
|
472
571
|
<define name="TypedUri">
|
473
572
|
<optional>
|
474
573
|
<attribute name="type"/>
|
475
574
|
</optional>
|
476
575
|
<data type="anyURI"/>
|
477
576
|
</define>
|
577
|
+
<define name="DateType">
|
578
|
+
<optional>
|
579
|
+
<attribute name="text"/>
|
580
|
+
</optional>
|
581
|
+
<optional>
|
582
|
+
<choice>
|
583
|
+
<data type="gYear"/>
|
584
|
+
<data type="date"/>
|
585
|
+
</choice>
|
586
|
+
</optional>
|
587
|
+
</define>
|
478
588
|
<define name="bdate">
|
479
589
|
<element name="date">
|
480
590
|
<attribute name="type">
|
@@ -487,9 +597,10 @@
|
|
487
597
|
<value>confirmed</value>
|
488
598
|
<value>updated</value>
|
489
599
|
<value>issued</value>
|
600
|
+
<value>transmitted</value>
|
601
|
+
<value>copied</value>
|
490
602
|
</choice>
|
491
603
|
</attribute>
|
492
|
-
<!-- ( ( bfrom, bto? ) | date_on ) -->
|
493
604
|
<choice>
|
494
605
|
<group>
|
495
606
|
<element name="from">
|
@@ -516,35 +627,126 @@
|
|
516
627
|
</choice>
|
517
628
|
</element>
|
518
629
|
</define>
|
519
|
-
<define name="
|
520
|
-
<element name="
|
630
|
+
<define name="docidentifier">
|
631
|
+
<element name="docidentifier">
|
632
|
+
<optional>
|
633
|
+
<attribute name="type"/>
|
634
|
+
</optional>
|
635
|
+
<text/>
|
636
|
+
</element>
|
637
|
+
</define>
|
638
|
+
<define name="bclassification">
|
639
|
+
<element name="classification">
|
640
|
+
<optional>
|
641
|
+
<attribute name="type"/>
|
642
|
+
</optional>
|
643
|
+
<text/>
|
644
|
+
</element>
|
645
|
+
</define>
|
646
|
+
<define name="bplace">
|
647
|
+
<element name="place">
|
648
|
+
<text/>
|
649
|
+
</element>
|
650
|
+
</define>
|
651
|
+
<define name="medium">
|
652
|
+
<element name="medium">
|
653
|
+
<optional>
|
654
|
+
<ref name="form"/>
|
655
|
+
</optional>
|
656
|
+
<optional>
|
657
|
+
<ref name="size"/>
|
658
|
+
</optional>
|
659
|
+
<optional>
|
660
|
+
<ref name="scale"/>
|
661
|
+
</optional>
|
662
|
+
</element>
|
663
|
+
</define>
|
664
|
+
<define name="form">
|
665
|
+
<element name="form">
|
666
|
+
<text/>
|
667
|
+
</element>
|
668
|
+
</define>
|
669
|
+
<define name="size">
|
670
|
+
<element name="size">
|
671
|
+
<text/>
|
672
|
+
</element>
|
673
|
+
</define>
|
674
|
+
<define name="scale">
|
675
|
+
<element name="scale">
|
676
|
+
<text/>
|
677
|
+
</element>
|
678
|
+
</define>
|
679
|
+
<define name="accesslocation">
|
680
|
+
<element name="accesslocation">
|
681
|
+
<text/>
|
682
|
+
</element>
|
683
|
+
</define>
|
684
|
+
<define name="extent">
|
685
|
+
<element name="extent">
|
686
|
+
<ref name="BibItemLocality"/>
|
687
|
+
</element>
|
688
|
+
</define>
|
689
|
+
<define name="series">
|
690
|
+
<element name="series">
|
691
|
+
<optional>
|
692
|
+
<attribute name="type">
|
693
|
+
<choice>
|
694
|
+
<value>main</value>
|
695
|
+
<value>alt</value>
|
696
|
+
</choice>
|
697
|
+
</attribute>
|
698
|
+
</optional>
|
521
699
|
<choice>
|
522
|
-
<
|
523
|
-
<
|
700
|
+
<ref name="btitle"/>
|
701
|
+
<ref name="formattedref"/>
|
524
702
|
</choice>
|
703
|
+
<ref name="bplace"/>
|
704
|
+
<ref name="seriesorganization"/>
|
705
|
+
<optional>
|
706
|
+
<ref name="abbreviation"/>
|
707
|
+
</optional>
|
708
|
+
<optional>
|
709
|
+
<ref name="seriesfrom"/>
|
710
|
+
</optional>
|
711
|
+
<optional>
|
712
|
+
<ref name="seriesto"/>
|
713
|
+
</optional>
|
714
|
+
<optional>
|
715
|
+
<ref name="seriesnumber"/>
|
716
|
+
</optional>
|
717
|
+
<optional>
|
718
|
+
<ref name="seriespartnumber"/>
|
719
|
+
</optional>
|
525
720
|
</element>
|
526
721
|
</define>
|
527
|
-
<define name="
|
528
|
-
<element name="
|
722
|
+
<define name="seriesorganization">
|
723
|
+
<element name="organization">
|
724
|
+
<text/>
|
725
|
+
</element>
|
726
|
+
</define>
|
727
|
+
<define name="seriesfrom">
|
728
|
+
<element name="from">
|
529
729
|
<choice>
|
730
|
+
<data type="dateTime"/>
|
530
731
|
<data type="gYear"/>
|
531
|
-
<data type="date"/>
|
532
732
|
</choice>
|
533
733
|
</element>
|
534
734
|
</define>
|
535
|
-
<define name="
|
536
|
-
<element name="
|
735
|
+
<define name="seriesto">
|
736
|
+
<element name="to">
|
537
737
|
<choice>
|
738
|
+
<data type="dateTime"/>
|
538
739
|
<data type="gYear"/>
|
539
|
-
<data type="date"/>
|
540
740
|
</choice>
|
541
741
|
</element>
|
542
742
|
</define>
|
543
|
-
<define name="
|
544
|
-
<element name="
|
545
|
-
<
|
546
|
-
|
547
|
-
|
743
|
+
<define name="seriesnumber">
|
744
|
+
<element name="number">
|
745
|
+
<text/>
|
746
|
+
</element>
|
747
|
+
</define>
|
748
|
+
<define name="seriespartnumber">
|
749
|
+
<element name="partnumber">
|
548
750
|
<text/>
|
549
751
|
</element>
|
550
752
|
</define>
|
@@ -586,17 +788,20 @@
|
|
586
788
|
<element name="relation">
|
587
789
|
<attribute name="type">
|
588
790
|
<choice>
|
589
|
-
<value>parent</value>
|
590
|
-
<value>child</value>
|
591
791
|
<value>obsoletes</value>
|
592
792
|
<value>updates</value>
|
593
793
|
<value>updatedBy</value>
|
594
794
|
<value>complements</value>
|
595
795
|
<value>derivedFrom</value>
|
796
|
+
<value>translatedFrom</value>
|
596
797
|
<value>adoptedFrom</value>
|
597
798
|
<value>equivalent</value>
|
598
799
|
<value>identical</value>
|
599
800
|
<value>nonequivalent</value>
|
801
|
+
<value>includedIn</value>
|
802
|
+
<value>includes</value>
|
803
|
+
<value>instance</value>
|
804
|
+
<value>partOf</value>
|
600
805
|
</choice>
|
601
806
|
</attribute>
|
602
807
|
<element name="bibitem">
|
@@ -520,13 +520,21 @@ div.coverpage_warning
|
|
520
520
|
font-size:10.0pt;
|
521
521
|
}
|
522
522
|
div.example {
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
523
|
+
margin-left:70.9pt;
|
524
|
+
text-indent:-70.9pt;
|
525
|
+
}
|
526
|
+
p.example, li.example, div.example, td.example, td.example p
|
527
|
+
{ margin:0in;
|
528
|
+
margin-bottom:.0001pt;
|
529
|
+
mso-pagination:none;
|
530
|
+
font-size:10.0pt;
|
531
|
+
font-family:$bodyfont;}
|
532
|
+
span.note_label, span.example_label, td.example_label, td.note_label
|
533
|
+
{
|
534
|
+
font-size: 10.0pt;
|
535
|
+
font-family:$bodyfont;
|
529
536
|
}
|
537
|
+
|
530
538
|
table.dl
|
531
539
|
{margin-top:0cm;
|
532
540
|
margin-right:0cm;
|
@@ -888,12 +888,18 @@
|
|
888
888
|
</attribute>
|
889
889
|
<optional>
|
890
890
|
<attribute name="width">
|
891
|
-
<
|
891
|
+
<choice>
|
892
|
+
<data type="int"/>
|
893
|
+
<value>auto</value>
|
894
|
+
</choice>
|
892
895
|
</attribute>
|
893
896
|
</optional>
|
894
897
|
<optional>
|
895
898
|
<attribute name="height">
|
896
|
-
<
|
899
|
+
<choice>
|
900
|
+
<data type="int"/>
|
901
|
+
<value>auto</value>
|
902
|
+
</choice>
|
897
903
|
</attribute>
|
898
904
|
</optional>
|
899
905
|
</element>
|
@@ -998,7 +1004,7 @@
|
|
998
1004
|
<ref name="formattedref"/>
|
999
1005
|
</optional>
|
1000
1006
|
<zeroOrMore>
|
1001
|
-
<ref name="
|
1007
|
+
<ref name="bsource"/>
|
1002
1008
|
</zeroOrMore>
|
1003
1009
|
<zeroOrMore>
|
1004
1010
|
<ref name="docidentifier"/>
|
@@ -15,7 +15,7 @@ p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode
|
|
15
15
|
mso-fareast-font-family:Calibri;
|
16
16
|
mso-bidi-font-family:"Courier New";
|
17
17
|
mso-ansi-language:EN-GB;}
|
18
|
-
p.Biblio, li.Biblio, div.Biblio
|
18
|
+
p.Biblio, li.Biblio, div.Biblio, p.NormRef, li.NormRef, div.NormRef
|
19
19
|
{mso-style-unhide:no;
|
20
20
|
mso-style-qformat:yes;
|
21
21
|
mso-style-parent:"";
|
@@ -57,7 +57,9 @@ module IsoDoc
|
|
57
57
|
info docxml, div2
|
58
58
|
div2.p { |p| p << " " } # placeholder
|
59
59
|
end
|
60
|
-
body.br **{ clear: "all", style: "page-break-before:auto;mso-break-type:section-break;" }
|
60
|
+
# body.br **{ clear: "all", style: "page-break-before:auto;mso-break-type:section-break;" }
|
61
|
+
# apparently that was not intended: enforce page break between ToC and body
|
62
|
+
section_break(body)
|
61
63
|
end
|
62
64
|
|
63
65
|
def title(isoxml, _out)
|
@@ -81,7 +83,7 @@ module IsoDoc
|
|
81
83
|
h1 = to_xhtml_fragment(h.dup)
|
82
84
|
h1.traverse do |x|
|
83
85
|
x.replace(" ") if x.name == "span" &&
|
84
|
-
/mso-tab-count/.match
|
86
|
+
/mso-tab-count/.match(x["style"])
|
85
87
|
x.remove if x.name == "span" && x["class"] == "MsoCommentReference"
|
86
88
|
x.remove if x.name == "a" && x["epub:type"] == "footnote"
|
87
89
|
x.replace(x.children) if x.name == "a"
|
@@ -11,10 +11,10 @@ module Metanorma
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def output_formats
|
14
|
-
|
14
|
+
super.merge(
|
15
15
|
html: "html",
|
16
16
|
doc: "doc"
|
17
|
-
|
17
|
+
)
|
18
18
|
end
|
19
19
|
|
20
20
|
def version
|
@@ -31,6 +31,8 @@ module Metanorma
|
|
31
31
|
IsoDoc::M3d::HtmlConvert.new(options).convert(outname, isodoc_node)
|
32
32
|
when :doc
|
33
33
|
IsoDoc::M3d::WordConvert.new(options).convert(outname, isodoc_node)
|
34
|
+
else
|
35
|
+
super
|
34
36
|
end
|
35
37
|
end
|
36
38
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-m3d
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -322,16 +322,16 @@ dependencies:
|
|
322
322
|
name: metanorma
|
323
323
|
requirement: !ruby/object:Gem::Requirement
|
324
324
|
requirements:
|
325
|
-
- - "
|
325
|
+
- - "~>"
|
326
326
|
- !ruby/object:Gem::Version
|
327
|
-
version:
|
327
|
+
version: 0.2.5
|
328
328
|
type: :development
|
329
329
|
prerelease: false
|
330
330
|
version_requirements: !ruby/object:Gem::Requirement
|
331
331
|
requirements:
|
332
|
-
- - "
|
332
|
+
- - "~>"
|
333
333
|
- !ruby/object:Gem::Version
|
334
|
-
version:
|
334
|
+
version: 0.2.5
|
335
335
|
description: |
|
336
336
|
asciidoctor-m3d lets you write M3AAWG Documents (M3D) in AsciiDoc syntax.
|
337
337
|
|
@@ -346,7 +346,6 @@ files:
|
|
346
346
|
- ".travis.yml"
|
347
347
|
- CODE_OF_CONDUCT.md
|
348
348
|
- Gemfile
|
349
|
-
- Gemfile.lock
|
350
349
|
- LICENSE
|
351
350
|
- README.adoc
|
352
351
|
- Rakefile
|
@@ -392,7 +391,7 @@ files:
|
|
392
391
|
- lib/metanorma/m3d/processor.rb
|
393
392
|
homepage: https://github.com/riboseinc/asciidoctor-m3d
|
394
393
|
licenses:
|
395
|
-
-
|
394
|
+
- BSD-2-Clause
|
396
395
|
metadata: {}
|
397
396
|
post_install_message:
|
398
397
|
rdoc_options: []
|
data/Gemfile.lock
DELETED
@@ -1,257 +0,0 @@
|
|
1
|
-
GIT
|
2
|
-
remote: https://github.com/riboseinc/asciidoctor-iso
|
3
|
-
revision: e06e2d75dbe3a7969c2973582155ec52f3afc4b2
|
4
|
-
specs:
|
5
|
-
asciidoctor-iso (0.9.0)
|
6
|
-
asciidoctor (~> 1.5.7)
|
7
|
-
iso-bib-item (~> 0.1.6)
|
8
|
-
isobib (~> 0.1.6)
|
9
|
-
isodoc (>= 0.8)
|
10
|
-
ruby-jing
|
11
|
-
|
12
|
-
GIT
|
13
|
-
remote: https://github.com/riboseinc/html2doc
|
14
|
-
revision: ae15cfc0a4c8ebeb74193a8aa4a7884938a08434
|
15
|
-
specs:
|
16
|
-
html2doc (0.8.0)
|
17
|
-
asciimath
|
18
|
-
htmlentities (~> 4.3.4)
|
19
|
-
image_size
|
20
|
-
mime-types
|
21
|
-
nokogiri
|
22
|
-
ruby-xslt
|
23
|
-
thread_safe
|
24
|
-
uuidtools
|
25
|
-
|
26
|
-
GIT
|
27
|
-
remote: https://github.com/riboseinc/isodoc
|
28
|
-
revision: 601c1870fea386cb54fd8b2f112f680f71bd58a3
|
29
|
-
specs:
|
30
|
-
isodoc (0.8)
|
31
|
-
asciimath
|
32
|
-
html2doc (>= 0.7.1)
|
33
|
-
htmlentities (~> 4.3.4)
|
34
|
-
image_size
|
35
|
-
liquid
|
36
|
-
mime-types
|
37
|
-
nokogiri
|
38
|
-
roman-numerals
|
39
|
-
ruby-xslt
|
40
|
-
sass
|
41
|
-
thread_safe
|
42
|
-
uuidtools
|
43
|
-
|
44
|
-
PATH
|
45
|
-
remote: .
|
46
|
-
specs:
|
47
|
-
asciidoctor-m3d (0.3.1)
|
48
|
-
asciidoctor (~> 1.5.7)
|
49
|
-
asciidoctor-iso (>= 0.9.0)
|
50
|
-
asciimath
|
51
|
-
htmlentities (~> 4.3.4)
|
52
|
-
image_size
|
53
|
-
isodoc (>= 0.8.0)
|
54
|
-
mime-types
|
55
|
-
nokogiri
|
56
|
-
ruby-jing
|
57
|
-
ruby-xslt
|
58
|
-
thread_safe
|
59
|
-
uuidtools
|
60
|
-
|
61
|
-
GEM
|
62
|
-
remote: https://rubygems.org/
|
63
|
-
specs:
|
64
|
-
algoliasearch (1.23.2)
|
65
|
-
httpclient (~> 2.8, >= 2.8.3)
|
66
|
-
json (>= 1.5.1)
|
67
|
-
asciidoctor (1.5.7.1)
|
68
|
-
asciidoctor-csand (0.3.0)
|
69
|
-
asciidoctor (~> 1.5.7)
|
70
|
-
asciidoctor-iso (>= 0.9.0)
|
71
|
-
asciimath
|
72
|
-
htmlentities (~> 4.3.4)
|
73
|
-
image_size
|
74
|
-
isodoc (>= 0.8.0)
|
75
|
-
mime-types
|
76
|
-
nokogiri
|
77
|
-
ruby-jing
|
78
|
-
ruby-xslt
|
79
|
-
thread_safe
|
80
|
-
uuidtools
|
81
|
-
asciidoctor-csd (0.4.0)
|
82
|
-
asciidoctor-iso (>= 0.9.0)
|
83
|
-
isodoc (>= 0.8.0)
|
84
|
-
asciidoctor-gb (0.3.0)
|
85
|
-
asciidoctor-iso (>= 0.9.0)
|
86
|
-
isodoc (>= 0.8.0)
|
87
|
-
twitter_cldr
|
88
|
-
asciidoctor-rfc (0.9.0)
|
89
|
-
asciidoctor (~> 1.5.7)
|
90
|
-
htmlentities (~> 4.3.4)
|
91
|
-
nokogiri
|
92
|
-
ruby-jing
|
93
|
-
thread_safe
|
94
|
-
asciidoctor-rsd (0.3.1)
|
95
|
-
asciidoctor (~> 1.5.7)
|
96
|
-
asciidoctor-iso (>= 0.8.0)
|
97
|
-
asciimath
|
98
|
-
htmlentities (~> 4.3.4)
|
99
|
-
image_size
|
100
|
-
isodoc (>= 0.7.0)
|
101
|
-
mime-types
|
102
|
-
nokogiri
|
103
|
-
ruby-jing
|
104
|
-
ruby-xslt
|
105
|
-
thread_safe
|
106
|
-
uuidtools
|
107
|
-
asciimath (1.0.4)
|
108
|
-
ast (2.4.0)
|
109
|
-
byebug (9.1.0)
|
110
|
-
camertron-eprun (1.1.1)
|
111
|
-
cldr-plurals-runtime-rb (1.0.1)
|
112
|
-
coderay (1.1.2)
|
113
|
-
diff-lcs (1.3)
|
114
|
-
docile (1.3.1)
|
115
|
-
duplicate (1.1.1)
|
116
|
-
equivalent-xml (0.6.0)
|
117
|
-
nokogiri (>= 1.4.3)
|
118
|
-
ffi (1.9.25)
|
119
|
-
formatador (0.2.5)
|
120
|
-
guard (2.14.2)
|
121
|
-
formatador (>= 0.2.4)
|
122
|
-
listen (>= 2.7, < 4.0)
|
123
|
-
lumberjack (>= 1.0.12, < 2.0)
|
124
|
-
nenv (~> 0.1)
|
125
|
-
notiffany (~> 0.0)
|
126
|
-
pry (>= 0.9.12)
|
127
|
-
shellany (~> 0.0)
|
128
|
-
thor (>= 0.18.1)
|
129
|
-
guard-compat (1.2.1)
|
130
|
-
guard-rspec (4.7.3)
|
131
|
-
guard (~> 2.1)
|
132
|
-
guard-compat (~> 1.1)
|
133
|
-
rspec (>= 2.99.0, < 4.0)
|
134
|
-
htmlentities (4.3.4)
|
135
|
-
httpclient (2.8.3)
|
136
|
-
image_size (2.0.0)
|
137
|
-
iso-bib-item (0.1.8)
|
138
|
-
duplicate
|
139
|
-
isoics (~> 0.1.6)
|
140
|
-
nokogiri
|
141
|
-
isobib (0.1.7)
|
142
|
-
algoliasearch
|
143
|
-
iso-bib-item (~> 0.1.2)
|
144
|
-
isoics (0.1.6)
|
145
|
-
jaro_winkler (1.5.1)
|
146
|
-
json (2.1.0)
|
147
|
-
liquid (4.0.0)
|
148
|
-
listen (3.1.5)
|
149
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
150
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
151
|
-
ruby_dep (~> 1.2)
|
152
|
-
lumberjack (1.0.13)
|
153
|
-
metanorma (0.2.2)
|
154
|
-
asciidoctor-csand (>= 0.3.0)
|
155
|
-
asciidoctor-csd (>= 0.4.0)
|
156
|
-
asciidoctor-gb (>= 0.3.0)
|
157
|
-
asciidoctor-iso (>= 0.9.0)
|
158
|
-
asciidoctor-m3d (>= 0.3.1)
|
159
|
-
asciidoctor-rfc (>= 0.9.0)
|
160
|
-
asciidoctor-rsd (>= 0.3.0)
|
161
|
-
isodoc (>= 0.8.0)
|
162
|
-
method_source (0.9.0)
|
163
|
-
mime-types (3.1)
|
164
|
-
mime-types-data (~> 3.2015)
|
165
|
-
mime-types-data (3.2016.0521)
|
166
|
-
mini_portile2 (2.3.0)
|
167
|
-
nenv (0.3.0)
|
168
|
-
nokogiri (1.8.3)
|
169
|
-
mini_portile2 (~> 2.3.0)
|
170
|
-
notiffany (0.1.1)
|
171
|
-
nenv (~> 0.1)
|
172
|
-
shellany (~> 0.0)
|
173
|
-
optout (0.0.2)
|
174
|
-
parallel (1.12.1)
|
175
|
-
parser (2.5.1.0)
|
176
|
-
ast (~> 2.4.0)
|
177
|
-
powerpack (0.1.2)
|
178
|
-
pry (0.11.3)
|
179
|
-
coderay (~> 1.1.0)
|
180
|
-
method_source (~> 0.9.0)
|
181
|
-
rainbow (3.0.0)
|
182
|
-
rake (12.3.1)
|
183
|
-
rb-fsevent (0.10.3)
|
184
|
-
rb-inotify (0.9.10)
|
185
|
-
ffi (>= 0.5.0, < 2)
|
186
|
-
roman-numerals (0.3.0)
|
187
|
-
rspec (3.7.0)
|
188
|
-
rspec-core (~> 3.7.0)
|
189
|
-
rspec-expectations (~> 3.7.0)
|
190
|
-
rspec-mocks (~> 3.7.0)
|
191
|
-
rspec-core (3.7.1)
|
192
|
-
rspec-support (~> 3.7.0)
|
193
|
-
rspec-expectations (3.7.0)
|
194
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
195
|
-
rspec-support (~> 3.7.0)
|
196
|
-
rspec-mocks (3.7.0)
|
197
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
198
|
-
rspec-support (~> 3.7.0)
|
199
|
-
rspec-support (3.7.1)
|
200
|
-
rubocop (0.57.2)
|
201
|
-
jaro_winkler (~> 1.5.1)
|
202
|
-
parallel (~> 1.10)
|
203
|
-
parser (>= 2.5)
|
204
|
-
powerpack (~> 0.1)
|
205
|
-
rainbow (>= 2.2.2, < 4.0)
|
206
|
-
ruby-progressbar (~> 1.7)
|
207
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
208
|
-
ruby-jing (0.0.1)
|
209
|
-
optout (>= 0.0.2)
|
210
|
-
ruby-progressbar (1.9.0)
|
211
|
-
ruby-xslt (0.9.10)
|
212
|
-
ruby_dep (1.5.0)
|
213
|
-
sass (3.5.6)
|
214
|
-
sass-listen (~> 4.0.0)
|
215
|
-
sass-listen (4.0.0)
|
216
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
217
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
218
|
-
shellany (0.0.1)
|
219
|
-
simplecov (0.16.1)
|
220
|
-
docile (~> 1.1)
|
221
|
-
json (>= 1.8, < 3)
|
222
|
-
simplecov-html (~> 0.10.0)
|
223
|
-
simplecov-html (0.10.2)
|
224
|
-
thor (0.20.0)
|
225
|
-
thread_safe (0.3.6)
|
226
|
-
timecop (0.9.1)
|
227
|
-
twitter_cldr (4.4.3)
|
228
|
-
camertron-eprun
|
229
|
-
cldr-plurals-runtime-rb (~> 1.0)
|
230
|
-
tzinfo
|
231
|
-
tzinfo (1.2.5)
|
232
|
-
thread_safe (~> 0.1)
|
233
|
-
unicode-display_width (1.4.0)
|
234
|
-
uuidtools (2.1.5)
|
235
|
-
|
236
|
-
PLATFORMS
|
237
|
-
ruby
|
238
|
-
|
239
|
-
DEPENDENCIES
|
240
|
-
asciidoctor-iso!
|
241
|
-
asciidoctor-m3d!
|
242
|
-
bundler (~> 1.15)
|
243
|
-
byebug (~> 9.1)
|
244
|
-
equivalent-xml (~> 0.6)
|
245
|
-
guard (~> 2.14)
|
246
|
-
guard-rspec (~> 4.7)
|
247
|
-
html2doc!
|
248
|
-
isodoc!
|
249
|
-
metanorma
|
250
|
-
rake (~> 12.0)
|
251
|
-
rspec (~> 3.6)
|
252
|
-
rubocop (~> 0.50)
|
253
|
-
simplecov (~> 0.15)
|
254
|
-
timecop (~> 0.9)
|
255
|
-
|
256
|
-
BUNDLED WITH
|
257
|
-
1.16.2
|