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.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +10 -0
- data/README.adoc +24 -26
- data/Rakefile +2 -0
- data/doc/Asciidoctor/Block.html +235 -153
- data/doc/Asciidoctor/Converter/Html5Converter.html +3 -3
- data/doc/Asciidoctor/Document.html +2 -2
- data/doc/Asciidoctor/Inline.html +75 -75
- data/doc/Asciidoctor/LaTeX.html +5 -5
- data/doc/Asciidoctor/LaTeX/Chem.html +2 -2
- data/doc/Asciidoctor/LaTeX/ChemInlineMacro.html +2 -2
- data/doc/Asciidoctor/LaTeX/ClickBlock.html +2 -2
- data/doc/Asciidoctor/LaTeX/ClickStyleInsert.html +2 -2
- data/doc/Asciidoctor/LaTeX/Converter.html +19 -19
- data/doc/Asciidoctor/LaTeX/Dollar.html +2 -2
- data/doc/Asciidoctor/LaTeX/EntToUni.html +2 -2
- data/doc/Asciidoctor/LaTeX/EnvironmentBlock.html +2 -2
- data/doc/Asciidoctor/LaTeX/HTMLPostprocessor.html +2 -2
- data/doc/Asciidoctor/LaTeX/Html5ConverterExtensions.html +315 -235
- data/doc/Asciidoctor/LaTeX/InjectHTML.html +2 -2
- data/doc/Asciidoctor/LaTeX/MacroInsert.html +2 -2
- data/doc/Asciidoctor/LaTeX/TeXBlock.html +2 -2
- data/doc/Asciidoctor/LaTeX/TeXPostProcess.html +48 -48
- data/doc/Asciidoctor/LaTeX/TeXPreprocessor.html +2 -2
- data/doc/Asciidoctor/LaTeX/TexPostprocessor.html +2 -2
- data/doc/Asciidoctor/List.html +2 -2
- data/doc/Asciidoctor/Section.html +2 -2
- data/doc/Asciidoctor/Table.html +24 -24
- data/doc/PreambleProcessor.html +2 -2
- data/doc/String.html +2 -2
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +2 -2
- data/doc/file.README.html +68 -32
- data/doc/index.html +68 -32
- data/doc/method_list.html +91 -73
- data/doc/top-level-namespace.html +2 -2
- data/lib/asciidoctor/latex/converter.rb +3 -1
- data/lib/asciidoctor/latex/version.rb +1 -1
- data/test/examples/asciidoc-html/env.adoc +1 -1
- data/test/html_test.rb +1 -1
- data/test/latex_test.rb +1 -1
- data/try-out/quote.adoc +18 -0
- metadata +4 -3
@@ -126,9 +126,9 @@
|
|
126
126
|
</div>
|
127
127
|
|
128
128
|
<div id="footer">
|
129
|
-
Generated on Tue
|
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
|
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
|
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
|
data/try-out/quote.adoc
ADDED
@@ -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.
|
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-
|
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.
|
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
|