lib/metanorma/ietf/processor.rb in metanorma-ietf-3.2.2 vs lib/metanorma/ietf/processor.rb in metanorma-ietf-3.2.3
- old
+ new
@@ -56,9 +56,10 @@
" the command `xml2rfc` is not found in path."
end
end
def output(isodoc_node, inname, outname, format, options = {})
+ options_preprocess(options)
case format
when :rfc
outname ||= inname.sub(/\.xml$/, ".rfc.xml")
RfcConvert.new(options).convert(inname, isodoc_node, nil, outname)
@done_rfc = true