Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Apr 20, 2020
1 parent 2672abe commit 281aacb
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
29 changes: 28 additions & 1 deletion lib/asciidoctor/iec/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,23 @@
<ref name="paragraph"/>
</element>
</define>
<define name="TextElement" combine="choice">
<ref name="concept"/>
</define>
</include>
<!-- end overrides -->
<define name="concept">
<element name="concept">
<optional>
<attribute name="term"/>
</optional>
<choice>
<ref name="eref"/>
<ref name="xref"/>
<ref name="termref"/>
</choice>
</element>
</define>
<define name="BasicBlock" combine="choice">
<choice>
<ref name="requirement"/>
Expand Down Expand Up @@ -911,14 +926,26 @@
</define>
<define name="origin">
<element name="origin">
<ref name="erefType"/>
<choice>
<ref name="erefType"/>
<ref name="termref"/>
</choice>
</element>
</define>
<define name="modification">
<element name="modification">
<ref name="paragraph"/>
</element>
</define>
<define name="termref">
<element name="termref">
<attribute name="base"/>
<attribute name="target"/>
<optional>
<text/>
</optional>
</element>
</define>
<define name="structuredidentifier">
<element name="structuredidentifier">
<optional>
Expand Down
4 changes: 4 additions & 0 deletions lib/metanorma/iec/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

module Metanorma
module Iec
def self.pdf_fonts
["Arial", "Times New Roman", "HanSans", "Courier"]
end

class Processor < Metanorma::Processor

def initialize
Expand Down

0 comments on commit 281aacb

Please sign in to comment.