Rakefile in asciidoctor-latex-1.5.0.11.dev vs Rakefile in asciidoctor-latex-1.5.0.12.dev
- old
+ new
@@ -39,15 +39,17 @@
namespace :generate do
DocTest::GeneratorTask.new(:latex) do |t|
t.converter_opts[:backend_name] = :latex
+ t.converter_opts[:dialect] = :latex
t.output_suite = DocTest::Latex::ExamplesSuite.new(examples_path: 'test/examples/tex')
t.examples_path.unshift 'test/examples/adoc' # extra input examples
end
DocTest::GeneratorTask.new(:html) do |t|
t.converter_opts[:backend_name] = :html
+ t.converter_opts[:dialect] = :latex
t.output_suite = DocTest::HTML::ExamplesSuite.new(examples_path: 'test/examples/html')
t.examples_path = ['test/examples/asciidoc-html'] # input examples
end
end
rescue LoadError => e