lib/asciidoctor/m3d/converter.rb in asciidoctor-m3d-0.3.3 vs lib/asciidoctor/m3d/converter.rb in asciidoctor-m3d-0.3.4

- old
+ new

@@ -131,14 +131,10 @@ content_validate(doc) schema_validate(formattedstr_strip(doc.dup), File.join(File.dirname(__FILE__), "m3d.rng")) end - def html_doc_path(file) - File.join(File.dirname(__FILE__), File.join("html", file)) - end - def literal(node) noko do |xml| xml.figure **id_attr(node) do |f| figure_title(node, f) f.pre node.lines.join("\n") @@ -164,10 +160,14 @@ headerfont: node.attr("header-font"), monospacefont: node.attr("monospace-font"), titlefont: node.attr("title-font"), i18nyaml: node.attr("i18nyaml"), scope: node.attr("scope"), + htmlstylesheet: node.attr("htmlstylesheet"), + htmlcoverpage: node.attr("htmlcoverpage"), + htmlintropage: node.attr("htmlintropage"), + scripts: node.attr("scripts"), ) end def word_converter(node) IsoDoc::M3d::WordConvert.new( @@ -176,9 +176,16 @@ headerfont: node.attr("header-font"), monospacefont: node.attr("monospace-font"), titlefont: node.attr("title-font"), i18nyaml: node.attr("i18nyaml"), scope: node.attr("scope"), + wordstylesheet: node.attr("wordstylesheet"), + standardstylesheet: node.attr("standardstylesheet"), + header: node.attr("header"), + wordcoverpage: node.attr("wordcoverpage"), + wordintropage: node.attr("wordintropage"), + ulstyle: node.attr("ulstyle"), + olstyle: node.attr("olstyle"), ) end def inline_quoted(node) noko do |xml|