From 570ba4a4d6a9fec357e2d385332ce4849bbeecc1 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Tue, 17 Oct 2023 22:19:40 +1100 Subject: [PATCH] propagate output formats to isodoc so Presentation XML processing is aware of them: https://github.com/metanorma/metanorma-bsi/issues/446 --- Gemfile.devel | 4 ++++ lib/metanorma/standoc/processor.rb | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 Gemfile.devel diff --git a/Gemfile.devel b/Gemfile.devel new file mode 100644 index 00000000..335eccbf --- /dev/null +++ b/Gemfile.devel @@ -0,0 +1,4 @@ +gem "metanorma", git: "https://github.com/metanorma/metanorma", branch: "fix/propagate_output_formats" + + + diff --git a/lib/metanorma/standoc/processor.rb b/lib/metanorma/standoc/processor.rb index 84b94ec8..e1770510 100644 --- a/lib/metanorma/standoc/processor.rb +++ b/lib/metanorma/standoc/processor.rb @@ -31,10 +31,6 @@ def html_path(file) file) end - def options_preprocess(options) - options[:output_formats] = output_formats - end - def output(isodoc_node, inname, outname, format, options = {}) options_preprocess(options) case format