diff --git a/lib/isodoc/convert.rb b/lib/isodoc/convert.rb index 30e219e3..bd65bb6c 100644 --- a/lib/isodoc/convert.rb +++ b/lib/isodoc/convert.rb @@ -110,7 +110,9 @@ def convert_init(file, input_filename, debug) end def preprocess_xslt(docxml) - extract_preprocess_xslt(docxml).each do |x| + sheets = extract_preprocess_xslt(docxml) + warn "Preprocessing XSLT: #{@format}..." + sheets.each do |x| docxml = Nokogiri::XSLT(x).transform(docxml) end docxml @@ -131,8 +133,9 @@ def convert_i18n_init(docxml) convert_i18n_init1(docxml) i18n_init(@lang, @script, @locale) @reqt_models = requirements_processor - .new({ default: "default", lang: @lang, script: @script, locale: @locale, - labels: @i18n.get, modspecidentifierbase: @modspecidentifierbase }) + .new({ default: "default", lang: @lang, script: @script, + locale: @locale, labels: @i18n.get, + modspecidentifierbase: @modspecidentifierbase }) end def convert_i18n_init1(docxml)