metanorma-m3d 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa5fb7e55885855c5a70ea3bba3b6e623effee1b6e293e1692ca6c4438b4faa6
4
- data.tar.gz: 17d89b5221d09b681323630ed9347cd47c37372c45d874f8c000bf25892d2bd3
3
+ metadata.gz: 30df42e555b35d457646503608db2e4f67ba0bc63d00199ea0a50af214876513
4
+ data.tar.gz: 44b1db3b3aa09934b058d991edbe413f274e5074a53daea822e023a4c9da2be8
5
5
  SHA512:
6
- metadata.gz: 4ba75765b002aa5b9db0ce56ab8766f7c6689fc97b8c135916bd9c01388f87a6269b585d9fd7f17ad6e3fc83d8f09277aca51899044d464c7007820ff509d00e
7
- data.tar.gz: a08aea9c50f24c6d8297a4454f5bee7d5da3791b8529a78f8007678e2dd0983e5d06cfd65b61359b42b0bc7952fabc148a4dd76a8dc65ad5c5d8c80494de2d29
6
+ metadata.gz: dbdfb18d70b86fed27b6336dfac5c809a483cee655b36e46d838ef54ea4513b87a828ba67f0eb51d37e6826b1e137df3527a6d2aa1ce81b5e4904ea5c087331f
7
+ data.tar.gz: 525d3f6f20176a010d21411329eb62a7c64114eaa0f2a718a23666ea0a6784ee72a982fdb426a709f9737c0ab7266b320d251c2318e91e8ddb29410eac15d7af
@@ -1,9 +1,10 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <include href="biblio.rng"/>
4
- <start>
5
- <ref name="document"/>
6
- </start>
3
+ <include href="biblio.rng">
4
+ <start>
5
+ <ref name="document"/>
6
+ </start>
7
+ </include>
7
8
  <define name="document">
8
9
  <element name="document">
9
10
  <optional>
@@ -33,6 +33,9 @@
33
33
  <param name="pattern">([\+\-]?\d{4})((-?)((0[1-9]|1[0-2])((-?)([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6]))))?</param>
34
34
  </data>
35
35
  </define>
36
+ <start>
37
+ <ref name="relaton_collection"/>
38
+ </start>
36
39
  <define name="status">
37
40
  <element name="status">
38
41
  <ref name="stage"/>
@@ -8,12 +8,12 @@ module IsoDoc
8
8
  @meta = Metadata.new(lang, script, labels)
9
9
  end
10
10
 
11
- def add_image(filenames)
12
- filenames.each do |filename|
13
- FileUtils.cp html_doc_path(filename), File.join(@localdir, filename)
14
- @files_to_delete << File.join(@localdir, filename)
15
- end
16
- end
11
+ #def add_image(filenames)
12
+ #filenames.each do |filename|
13
+ #FileUtils.cp html_doc_path(filename), File.join(@localdir, filename)
14
+ #@files_to_delete << File.join(@localdir, filename)
15
+ #end
16
+ #end
17
17
 
18
18
  def annex_name(annex, name, div)
19
19
  div.h1 **{ class: "Annex" } do |t|
@@ -138,7 +138,7 @@ background:#E0E0E0'><o:p>&nbsp;</o:p></span></p>
138
138
 
139
139
  <div style='mso-element:header' id=fh1>
140
140
 
141
- <p class=MsoHeader><img width="323" height="39" src="logo.jpg"></img>
141
+ <p class=MsoHeader><img width="323" height="39" src="{{ logo_word }}"></img>
142
142
  <!--[if gte vml 1]><v:line id="_x0000_s2049" alt=""
143
143
  style='position:absolute;flip:y;z-index:251659264;mso-wrap-style:none;
144
144
  mso-wrap-edited:f;mso-width-percent:0;mso-height-percent:0;
@@ -16,7 +16,7 @@
16
16
  <div class="coverpage">
17
17
  <div class="wrapper-top">
18
18
 
19
- <div class="coverpage-logo"> <img src="m3-logo.png" alt="m3 logo"/> </div>
19
+ <div class="coverpage-logo"> <img src="{{ logo_html }}" alt="m3 logo"/> </div>
20
20
  <div class="coverpage-doc-identity">
21
21
  <div class="doc-number">
22
22
  <span class="docnumber">{{ docnumber }}</span>
@@ -511,10 +511,6 @@ table.dl
511
511
  margin-right:0cm;
512
512
  margin-bottom:11.0pt;
513
513
  margin-left:20.15pt;}
514
- ol
515
- {margin-bottom:0cm;}
516
- ul
517
- {margin-bottom:0cm;}
518
514
  table.MsoISOTable
519
515
  {mso-style-name:"Table ISO";
520
516
  mso-tstyle-rowband-size:0;
@@ -535,8 +531,6 @@ table.MsoISOTable
535
531
  mso-border-insidev:.75pt solid windowtext;
536
532
  font-size:10.0pt;
537
533
  font-family:$bodyfont;}
538
- table.MsoISOTable tr
539
- {page-break-inside:avoid;}
540
534
  table.MsoISOTable th
541
535
  {border:solid windowtext 1pt;
542
536
  mso-border-alt:solid windowtext 1pt;
@@ -563,19 +557,10 @@ table.MsoTableGrid
563
557
  mso-pagination:widow-orphan;
564
558
  font-size:10.0pt;
565
559
  font-family:$bodyfont;}
566
- td { page-break-inside:avoid; }
567
- tr { page-break-after:avoid; }
568
- span.stem
569
- {font-family:"Cambria Math",serif;
570
- mso-ascii-font-family:"Cambria Math";
571
- font-style:italic;}
572
560
  div.formula
573
561
  {tab-stops:right 487.45pt;}
574
562
  body
575
563
  {tab-interval:36.0pt;}
576
- dt
577
- {page-break-inside:avoid;
578
- page-break-after:avoid}
579
564
  .coverpage_docnumber
580
565
  {text-align:right;
581
566
  font-size:14.0pt;
@@ -1051,106 +1051,43 @@ div.colophon
1051
1051
  margin-left:162.0pt;
1052
1052
  text-indent:-18.0pt;}
1053
1053
 
1054
- p.ListContLevel1, li.ListContLevel1, div.ListContLevel1
1055
- {mso-style-priority:34;
1056
- margin-top:0cm;
1057
- margin-left:18.0pt;
1058
- margin-right:0cm;
1059
- margin-bottom:12.0pt;
1060
- mso-pagination:widow-orphan;
1061
- font-size:11.0pt;
1062
- font-family:$bodyfont;
1063
- mso-ansi-language:EN-AU;
1064
- mso-fareast-language:EN-US;}
1065
- p.ListContLevel2, li.ListContLevel2, div.ListContLevel2
1066
- {mso-style-priority:34;
1067
- margin-top:0cm;
1068
- margin-left:36.0pt;
1069
- margin-right:0cm;
1070
- margin-bottom:12.0pt;
1071
- mso-pagination:widow-orphan;
1072
- font-size:11.0pt;
1073
- font-family:$bodyfont;
1074
- mso-ansi-language:EN-AU;
1075
- mso-fareast-language:EN-US;}
1076
- p.ListContLevel3, li.ListContLevel3, div.ListContLevel3
1077
- {mso-style-priority:34;
1078
- margin-top:0cm;
1079
- margin-left:54.0pt;
1080
- margin-right:0cm;
1081
- margin-bottom:12.0pt;
1082
- mso-pagination:widow-orphan;
1083
- font-size:11.0pt;
1084
- font-family:$bodyfont;
1085
- mso-ansi-language:EN-AU;
1086
- mso-fareast-language:EN-US;}
1087
- p.ListContLevel4, li.ListContLevel4, div.ListContLevel4
1088
- {mso-style-priority:34;
1089
- margin-top:0cm;
1090
- margin-left:72.0pt;
1091
- margin-right:0cm;
1092
- margin-bottom:12.0pt;
1093
- mso-pagination:widow-orphan;
1094
- font-size:11.0pt;
1095
- font-family:$bodyfont;
1096
- mso-ansi-language:EN-AU;
1097
- mso-fareast-language:EN-US;}
1098
- p.ListContLevel5, li.ListContLevel5, div.ListContLevel5
1099
- {mso-style-priority:34;
1100
- margin-top:0cm;
1101
- margin-left:90.0pt;
1102
- margin-right:0cm;
1103
- margin-bottom:12.0pt;
1104
- mso-pagination:widow-orphan;
1105
- font-size:11.0pt;
1106
- font-family:$bodyfont;
1107
- mso-ansi-language:EN-AU;
1108
- mso-fareast-language:EN-US;}
1109
- p.ListContLevel6, li.ListContLevel6, div.ListContLevel6
1110
- {mso-style-priority:34;
1111
- margin-top:0cm;
1112
- margin-left:108.0pt;
1113
- margin-right:0cm;
1114
- margin-bottom:12.0pt;
1115
- mso-pagination:widow-orphan;
1116
- font-size:11.0pt;
1117
- font-family:$bodyfont;
1118
- mso-ansi-language:EN-AU;
1119
- mso-fareast-language:EN-US;}
1120
- p.ListContLevel7, li.ListContLevel7, div.ListContLevel7
1121
- {mso-style-priority:34;
1122
- margin-top:0cm;
1123
- margin-left:126.0pt;
1124
- margin-right:0cm;
1125
- margin-bottom:12.0pt;
1126
- mso-pagination:widow-orphan;
1127
- font-size:11.0pt;
1128
- font-family:$bodyfont;
1129
- mso-ansi-language:EN-AU;
1130
- mso-fareast-language:EN-US;}
1131
- p.ListContLevel8, li.ListContLevel8, div.ListContLevel8
1132
- {mso-style-priority:34;
1133
- margin-top:0cm;
1134
- margin-left:144.0pt;
1135
- margin-right:0cm;
1136
- margin-bottom:12.0pt;
1137
- mso-pagination:widow-orphan;
1138
- font-size:11.0pt;
1139
- font-family:$bodyfont;
1140
- mso-ansi-language:EN-AU;
1141
- mso-fareast-language:EN-US;}
1142
- p.ListContLevel9, li.ListContLevel9, div.ListContLevel9
1143
- {mso-style-priority:34;
1144
- margin-top:0cm;
1145
- margin-left:162.0pt;
1146
- margin-right:0cm;
1147
- margin-bottom:12.0pt;
1148
- mso-pagination:widow-orphan;
1149
- font-size:11.0pt;
1150
- font-family:$bodyfont;
1151
- mso-ansi-language:EN-AU;
1152
- mso-fareast-language:EN-US;}
1153
-
1054
+ div.ListContLevel1
1055
+ {mso-style-priority:34;
1056
+ margin-left:18.0pt;
1057
+ margin-right:0cm;}
1058
+ div.ListContLevel2
1059
+ {mso-style-priority:34;
1060
+ margin-top:0cm;
1061
+ margin-left:36.0pt;
1062
+ margin-right:0cm;}
1063
+ div.ListContLevel3
1064
+ {mso-style-priority:34;
1065
+ margin-left:54.0pt;
1066
+ margin-right:0cm;}
1067
+ div.ListContLevel4
1068
+ {mso-style-priority:34;
1069
+ margin-left:72.0pt;
1070
+ margin-right:0cm;}
1071
+ div.ListContLevel5
1072
+ {mso-style-priority:34;
1073
+ margin-left:90.0pt;
1074
+ margin-right:0cm;}
1075
+ div.ListContLevel6
1076
+ {mso-style-priority:34;
1077
+ margin-left:108.0pt;
1078
+ margin-right:0cm;}
1079
+ div.ListContLevel7
1080
+ {mso-style-priority:34;
1081
+ margin-left:126.0pt;
1082
+ margin-right:0cm;}
1083
+ div.ListContLevel8
1084
+ {mso-style-priority:34;
1085
+ margin-left:144.0pt;
1086
+ margin-right:0cm;}
1087
+ div.ListContLevel9
1088
+ {mso-style-priority:34;
1089
+ margin-left:162.0pt;
1090
+ margin-right:0cm;}
1154
1091
 
1155
1092
  table.MsoNormalTable
1156
1093
  {mso-style-name:"Table Normal";
@@ -1165,12 +1102,6 @@ table.MsoNormalTable
1165
1102
  mso-pagination:widow-orphan;
1166
1103
  font-size:10.0pt;
1167
1104
  font-family:$bodyfont;}
1168
- br.section
1169
- {page-break-before:always;
1170
- mso-break-type:section-break;}
1171
- br.pagebreak
1172
- {page-break-before:always;
1173
- mso-special-character:line-break;}
1174
1105
  ol
1175
1106
  {margin-bottom:0cm;
1176
1107
  margin-left:18pt;}
@@ -11,10 +11,10 @@ module IsoDoc
11
11
  super
12
12
  end
13
13
 
14
- def convert1(docxml, filename, dir)
15
- add_image(%w(logo.jpg m3-logo.png))
16
- super
17
- end
14
+ #def convert1(docxml, filename, dir)
15
+ # add_image(%w(logo.jpg m3-logo.png))
16
+ # super
17
+ #end
18
18
 
19
19
  def default_fonts(options)
20
20
  {
@@ -7,6 +7,11 @@ module IsoDoc
7
7
  class Metadata < IsoDoc::Metadata
8
8
  def initialize(lang, script, labels)
9
9
  super
10
+ here = File.dirname(__FILE__)
11
+ set(:logo_html,
12
+ File.expand_path(File.join(here, "html", "m3-logo.png")))
13
+ set(:logo_word,
14
+ File.expand_path(File.join(here, "html", "logo.jpg")))
10
15
  end
11
16
 
12
17
  def title(isoxml, _out)
@@ -11,10 +11,10 @@ module IsoDoc
11
11
  super
12
12
  end
13
13
 
14
- def convert1(docxml, filename, dir)
15
- add_image(%w(logo.jpg m3-logo.png))
16
- super
17
- end
14
+ #def convert1(docxml, filename, dir)
15
+ #add_image(%w(logo.jpg m3-logo.png))
16
+ #super
17
+ #end
18
18
 
19
19
  def default_fonts(options)
20
20
  {
@@ -12,10 +12,10 @@ module IsoDoc
12
12
  super
13
13
  end
14
14
 
15
- def convert1(docxml, filename, dir)
16
- FileUtils.cp html_doc_path("logo.jpg"), File.join(@localdir, "logo.jpg")
17
- super
18
- end
15
+ #def convert1(docxml, filename, dir)
16
+ #FileUtils.cp html_doc_path("logo.jpg"), File.join(@localdir, "logo.jpg")
17
+ #super
18
+ #end
19
19
 
20
20
  def default_fonts(options)
21
21
  {
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module M3d
3
- VERSION = "1.3.6"
3
+ VERSION = "1.3.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-m3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-08 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciimath