Skip to content

Commit

Permalink
propagate filename into asciidoctor processing; metanorma/metanorma-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Oct 24, 2018
1 parent e31073a commit ee3b26b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/metanorma/unece/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def version
"Metanorma::Unece #{Metanorma::Unece::VERSION}"
end

def input_to_isodoc(file)
Metanorma::Input::Asciidoc.new.process(file, @asciidoctor_backend)
def input_to_isodoc(file, filename)
Metanorma::Input::Asciidoc.new.process(file, filename, @asciidoctor_backend)
end

def output(isodoc_node, outname, format, options={})
Expand Down

0 comments on commit ee3b26b

Please sign in to comment.