asciidoctor-latex 1.5.0.11.dev → 1.5.0.12.dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +10 -0
  3. data/README.adoc +24 -26
  4. data/Rakefile +2 -0
  5. data/doc/Asciidoctor/Block.html +235 -153
  6. data/doc/Asciidoctor/Converter/Html5Converter.html +3 -3
  7. data/doc/Asciidoctor/Document.html +2 -2
  8. data/doc/Asciidoctor/Inline.html +75 -75
  9. data/doc/Asciidoctor/LaTeX.html +5 -5
  10. data/doc/Asciidoctor/LaTeX/Chem.html +2 -2
  11. data/doc/Asciidoctor/LaTeX/ChemInlineMacro.html +2 -2
  12. data/doc/Asciidoctor/LaTeX/ClickBlock.html +2 -2
  13. data/doc/Asciidoctor/LaTeX/ClickStyleInsert.html +2 -2
  14. data/doc/Asciidoctor/LaTeX/Converter.html +19 -19
  15. data/doc/Asciidoctor/LaTeX/Dollar.html +2 -2
  16. data/doc/Asciidoctor/LaTeX/EntToUni.html +2 -2
  17. data/doc/Asciidoctor/LaTeX/EnvironmentBlock.html +2 -2
  18. data/doc/Asciidoctor/LaTeX/HTMLPostprocessor.html +2 -2
  19. data/doc/Asciidoctor/LaTeX/Html5ConverterExtensions.html +315 -235
  20. data/doc/Asciidoctor/LaTeX/InjectHTML.html +2 -2
  21. data/doc/Asciidoctor/LaTeX/MacroInsert.html +2 -2
  22. data/doc/Asciidoctor/LaTeX/TeXBlock.html +2 -2
  23. data/doc/Asciidoctor/LaTeX/TeXPostProcess.html +48 -48
  24. data/doc/Asciidoctor/LaTeX/TeXPreprocessor.html +2 -2
  25. data/doc/Asciidoctor/LaTeX/TexPostprocessor.html +2 -2
  26. data/doc/Asciidoctor/List.html +2 -2
  27. data/doc/Asciidoctor/Section.html +2 -2
  28. data/doc/Asciidoctor/Table.html +24 -24
  29. data/doc/PreambleProcessor.html +2 -2
  30. data/doc/String.html +2 -2
  31. data/doc/class_list.html +1 -1
  32. data/doc/file.LICENSE.html +2 -2
  33. data/doc/file.README.html +68 -32
  34. data/doc/index.html +68 -32
  35. data/doc/method_list.html +91 -73
  36. data/doc/top-level-namespace.html +2 -2
  37. data/lib/asciidoctor/latex/converter.rb +3 -1
  38. data/lib/asciidoctor/latex/version.rb +1 -1
  39. data/test/examples/asciidoc-html/env.adoc +1 -1
  40. data/test/html_test.rb +1 -1
  41. data/test/latex_test.rb +1 -1
  42. data/try-out/quote.adoc +18 -0
  43. metadata +4 -3
@@ -126,9 +126,9 @@
126
126
  </div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Tue May 3 13:31:55 2016 by
129
+ Generated on Tue Jun 7 05:32:25 2016 by
130
130
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
- 0.8.7.6 (ruby-2.3.0).
131
+ 0.8.7.6 (ruby-2.2.3).
132
132
  </div>
133
133
 
134
134
  </body>
@@ -508,10 +508,12 @@ module Asciidoctor::LaTeX
508
508
  end
509
509
 
510
510
  if ['latex'].include? document.attributes['dialect']
511
+
511
512
  docinfo_processor CSSDocinfoProcessor
512
513
 
513
514
  preprocessor TeXPreprocessor unless document.attributes['preprocess'] == 'no'
514
- preprocessor MacroInsert if (File.exist? 'macros.tex' and document.basebackend? 'html' and document.attributes['include_macros'] == 'yes')
515
+ # preprocessor MacroInsert if (File.exist? 'macros.tex' and document.basebackend? 'html' and document.attributes['include_macros'] == 'yes')
516
+ preprocessor MacroInsert if (File.exist? 'macros.tex')
515
517
 
516
518
  inline_macro ChemInlineMacro
517
519
  inline_macro GlossInlineMacro
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module LaTeX
3
- VERSION = '1.5.0.11.dev'
3
+ VERSION = '1.5.0.12.dev'
4
4
  end
5
5
  end
@@ -99,5 +99,5 @@ Buurem lok medes, nor. Paat for deng zu locnoop.
99
99
  [env.jsxgraph, width=200, height=200]
100
100
  --
101
101
  var board = JXG.JSXGraph.initBoard('box',
102
- {boundingbox: [-10, 10, 10, -10], axis:true});
102
+ {boundingbox: [-10, 10, 10, -10], axis:true});
103
103
  --
data/test/html_test.rb CHANGED
@@ -3,6 +3,6 @@ require 'test_helper'
3
3
  DocTest.examples_path = ['test/examples/html', 'test/examples/asciidoc-html']
4
4
 
5
5
  class HtmlTest < DocTest::Test
6
- converter_opts backend_name: 'html'
6
+ converter_opts backend_name: 'html', 'dialect': 'latex'
7
7
  generate_tests! DocTest::HTML::ExamplesSuite
8
8
  end
data/test/latex_test.rb CHANGED
@@ -3,6 +3,6 @@ require 'test_helper'
3
3
  DocTest.examples_path.unshift 'test/examples/tex', 'test/examples/adoc'
4
4
 
5
5
  class LatexTest < DocTest::Test
6
- converter_opts backend_name: 'latex'
6
+ converter_opts backend_name: 'latex', dialect: 'latex'
7
7
  generate_tests! DocTest::Latex::ExamplesSuite
8
8
  end
@@ -0,0 +1,18 @@
1
+ == quote environment
2
+
3
+ This document illustrates the use of quote environments.
4
+
5
+ === Normal quote
6
+
7
+ [quote]
8
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nec orci sit amet sem viverra egestas in et tellus. Curabitur tellus tellus, eleifend a nunc sit amet, scelerisque mollis massa. Morbi ut quam mi. Pellentesque cursus hendrerit odio, id imperdiet sapien accumsan a. Cras aliquam, lacus id venenatis imperdiet, est neque tristique est, eu euismod nulla ligula eu nisi. Phasellus non nulla consectetur diam tristique tempor at sed mauris. Duis efficitur placerat dolor, quis egestas leo dapibus non. Sed magna turpis, venenatis et ornare quis, pellentesque vitae nisi. Aenean a neque ante. Sed ultricies aliquet varius. In hac habitasse platea dictumst.
9
+
10
+ === Attributed quote
11
+
12
+ [quote, Lorem Ipsum]
13
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nec orci sit amet sem viverra egestas in et tellus. Curabitur tellus tellus, eleifend a nunc sit amet, scelerisque mollis massa. Morbi ut quam mi. Pellentesque cursus hendrerit odio, id imperdiet sapien accumsan a. Cras aliquam, lacus id venenatis imperdiet, est neque tristique est, eu euismod nulla ligula eu nisi. Phasellus non nulla consectetur diam tristique tempor at sed mauris. Duis efficitur placerat dolor, quis egestas leo dapibus non. Sed magna turpis, venenatis et ornare quis, pellentesque vitae nisi. Aenean a neque ante. Sed ultricies aliquet varius. In hac habitasse platea dictumst.
14
+
15
+ === Attributed quote with title
16
+
17
+ [quote, Lorem Ipsum, All the facts]
18
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nec orci sit amet sem viverra egestas in et tellus. Curabitur tellus tellus, eleifend a nunc sit amet, scelerisque mollis massa. Morbi ut quam mi. Pellentesque cursus hendrerit odio, id imperdiet sapien accumsan a. Cras aliquam, lacus id venenatis imperdiet, est neque tristique est, eu euismod nulla ligula eu nisi. Phasellus non nulla consectetur diam tristique tempor at sed mauris. Duis efficitur placerat dolor, quis egestas leo dapibus non. Sed magna turpis, venenatis et ornare quis, pellentesque vitae nisi. Aenean a neque ante. Sed ultricies aliquet varius. In hac habitasse platea dictumst.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-latex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.11.dev
4
+ version: 1.5.0.12.dev
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Carlson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-05-31 00:00:00.000000000 Z
13
+ date: 2016-06-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: asciidoctor
@@ -298,6 +298,7 @@ files:
298
298
  - test/html_test.rb
299
299
  - test/latex_test.rb
300
300
  - test/test_helper.rb
301
+ - try-out/quote.adoc
301
302
  homepage: https://github.com/asciidoctor/asciidoctor-latex
302
303
  licenses:
303
304
  - MIT
@@ -318,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
319
  version: 1.3.1
319
320
  requirements: []
320
321
  rubyforge_project:
321
- rubygems_version: 2.6.2
322
+ rubygems_version: 2.4.5.1
322
323
  signing_key:
323
324
  specification_version: 4
324
325
  summary: Converts AsciiDoc documents to LaTeX, provides LaTeX extensions to Asciidoc