asciidoctor-latex 1.5.0.3.dev → 1.5.0.4.dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +28 -5
  3. data/README.adoc +48 -23
  4. data/Rakefile +2 -1
  5. data/data/asciidoc_tex_macros.tex +86 -3
  6. data/data/extras.css +73 -1
  7. data/data/preamble_article.tex +15 -6
  8. data/data/preamble_book.tex +25 -9
  9. data/examples/README.adoc +341 -9
  10. data/examples/README.html +915 -0
  11. data/examples/math_article.adoc +46 -46
  12. data/examples/xref-equations.adoc +1 -2
  13. data/lib/asciidoctor-latex/click.css +2 -0
  14. data/lib/asciidoctor-latex/click.js +6 -0
  15. data/lib/asciidoctor-latex/jquery.js +4 -0
  16. data/lib/asciidoctor-latex/preamble_processor.rb +18 -0
  17. data/lib/asciidoctor/latex/click_block.rb +7 -4
  18. data/lib/asciidoctor/latex/converter.rb +75 -29
  19. data/lib/asciidoctor/latex/core_ext/utility.rb +55 -0
  20. data/lib/asciidoctor/latex/css.rb +50 -0
  21. data/lib/asciidoctor/latex/environment_block.rb +13 -6
  22. data/lib/asciidoctor/latex/inject_html.rb +2 -1
  23. data/lib/asciidoctor/latex/node_processors.rb +329 -152
  24. data/lib/asciidoctor/latex/prepend_processor.rb +1 -0
  25. data/lib/asciidoctor/latex/tex_postprocessor.rb +8 -3
  26. data/lib/asciidoctor/latex/tex_preprocessor.rb +31 -9
  27. data/lib/asciidoctor/latex/version.rb +1 -1
  28. data/test/examples/adoc/ampersand.adoc +2 -0
  29. data/test/examples/adoc/block_olist.adoc +58 -0
  30. data/test/examples/adoc/block_ulist.adoc +42 -0
  31. data/test/examples/adoc/box.adoc +35 -1
  32. data/test/examples/adoc/chem.adoc +8 -0
  33. data/test/examples/adoc/click_plain.adoc +24 -0
  34. data/test/examples/adoc/dlist.adoc +15 -0
  35. data/test/examples/adoc/env2.adoc +57 -0
  36. data/test/examples/adoc/env_joke.adoc +12 -0
  37. data/test/examples/adoc/env_plain.adoc +10 -0
  38. data/test/examples/adoc/eq-latex.adoc +39 -0
  39. data/test/examples/adoc/eq.adoc +18 -0
  40. data/test/examples/adoc/eq.tex +28 -0
  41. data/test/examples/adoc/eqalign.adoc +19 -6
  42. data/test/examples/adoc/eqalign.tex +25 -0
  43. data/test/examples/adoc/eqno-latex.adoc +120 -0
  44. data/test/examples/adoc/extras.adoc +14 -0
  45. data/test/examples/adoc/hypertarget.adoc +29 -0
  46. data/test/examples/adoc/image.adoc +7 -0
  47. data/test/examples/adoc/newEnvironments.tex +0 -0
  48. data/test/examples/adoc/table.adoc +6 -0
  49. data/test/examples/adoc/table.tex +10 -0
  50. data/test/examples/adoc/tex_pathologies.adoc +30 -0
  51. data/test/examples/html/env.html +147 -0
  52. data/test/examples/html/equations.html +14 -0
  53. data/test/examples/tex/ampersand.tex +2 -0
  54. data/test/examples/tex/block_admonition.tex +20 -0
  55. data/test/examples/tex/block_audio.tex +7 -0
  56. data/test/examples/tex/block_colist.tex +23 -0
  57. data/test/examples/tex/block_dlist.tex +117 -0
  58. data/test/examples/tex/block_example.tex +20 -0
  59. data/test/examples/tex/block_floating_title.tex +20 -0
  60. data/test/examples/tex/block_image.tex +46 -0
  61. data/test/examples/tex/block_listing.tex +59 -0
  62. data/test/examples/tex/block_literal.tex +28 -0
  63. data/test/examples/tex/block_olist.tex +119 -0
  64. data/test/examples/tex/block_open.tex +22 -0
  65. data/test/examples/tex/block_outline.tex +25 -0
  66. data/test/examples/tex/block_page_break.tex +4 -0
  67. data/test/examples/tex/block_paragraph.tex +13 -0
  68. data/test/examples/tex/block_pass.tex +3 -0
  69. data/test/examples/tex/block_preamble.tex +15 -0
  70. data/test/examples/tex/block_quote.tex +51 -0
  71. data/test/examples/tex/block_sidebar.tex +21 -0
  72. data/test/examples/tex/block_stem.tex +19 -0
  73. data/test/examples/tex/block_table.tex +188 -0
  74. data/test/examples/tex/block_thematic_break.tex +1 -0
  75. data/test/examples/tex/block_toc.tex +27 -0
  76. data/test/examples/tex/block_ulist.tex +96 -0
  77. data/test/examples/tex/block_verse.tex +39 -0
  78. data/test/examples/tex/block_video.tex +15 -0
  79. data/test/examples/tex/box.tex +25 -0
  80. data/test/examples/tex/chem.tex +7 -0
  81. data/test/examples/tex/click_plain.tex +25 -0
  82. data/test/examples/tex/dlist.tex +17 -0
  83. data/test/examples/tex/document.tex +25 -0
  84. data/test/examples/tex/embedded.tex +7 -0
  85. data/test/examples/tex/env.tex +7 -7
  86. data/test/examples/tex/env2.tex +29 -0
  87. data/test/examples/tex/env_joke.tex +9 -0
  88. data/test/examples/tex/env_plain.tex +7 -0
  89. data/test/examples/tex/eq-latex.tex +49 -0
  90. data/test/examples/tex/eq.tex +9 -0
  91. data/test/examples/tex/eqalign.tex +23 -0
  92. data/test/examples/tex/eqno-latex.tex +237 -0
  93. data/test/examples/tex/exponent1.tex +2 -0
  94. data/test/examples/tex/exponent2.tex +4 -0
  95. data/test/examples/tex/extras.tex +13 -0
  96. data/test/examples/tex/hypertarget.tex +25 -0
  97. data/test/examples/tex/image.tex +4 -0
  98. data/test/examples/tex/inline_anchor.tex +25 -0
  99. data/test/examples/tex/inline_break.tex +7 -0
  100. data/test/examples/tex/inline_button.tex +1 -0
  101. data/test/examples/tex/inline_callout.tex +4 -0
  102. data/test/examples/tex/inline_footnote.tex +9 -0
  103. data/test/examples/tex/inline_image.tex +25 -0
  104. data/test/examples/tex/inline_kbd.tex +3 -0
  105. data/test/examples/tex/inline_menu.tex +5 -0
  106. data/test/examples/tex/inline_quoted.tex +63 -0
  107. data/test/examples/tex/line_break.tex +4 -0
  108. data/test/examples/tex/listing.tex +10 -0
  109. data/test/examples/tex/literal.tex +42 -0
  110. data/test/examples/tex/macro_underscore.tex +6 -0
  111. data/test/examples/tex/math.tex +8 -0
  112. data/test/examples/tex/open_block.tex +10 -0
  113. data/test/examples/tex/page_break.tex +4 -0
  114. data/test/examples/tex/pass.tex +3 -0
  115. data/test/examples/tex/section.tex +51 -0
  116. data/test/examples/tex/sections.tex +13 -0
  117. data/test/examples/tex/table.tex +10 -0
  118. data/test/examples/tex/tex_pathologies.tex +26 -0
  119. data/test/examples/tex/zero.tex +1 -1
  120. metadata +188 -26
  121. data/examples/box.adoc +0 -16
  122. data/examples/chem.adoc +0 -17
  123. data/examples/eq-alignment.adoc +0 -5
  124. data/examples/eq-block.adoc +0 -60
  125. data/test/examples/adoc/admonition.adoc +0 -11
  126. data/test_jc/admonition.adoc +0 -4
  127. data/test_jc/click.adoc +0 -7
  128. data/test_jc/env.adoc +0 -31
  129. data/test_jc/example.adoc +0 -17
  130. data/test_jc/floating_title.adoc +0 -15
  131. data/test_jc/image.adoc +0 -84
  132. data/test_jc/images/frog.jpg +0 -0
  133. data/test_jc/images/red_frog.jpeg +0 -0
  134. data/test_jc/images/yellow_frog.jpeg +0 -0
  135. data/test_jc/listing.adoc +0 -9
  136. data/test_jc/lists.adoc +0 -20
  137. data/test_jc/math.adoc +0 -10
  138. data/test_jc/preamble.adoc +0 -14
  139. data/test_jc/section-numbered.adoc +0 -9
  140. data/test_jc/section.adoc +0 -7
  141. data/test_jc/sidebar.adoc +0 -61
  142. data/test_jc/verse.adoc +0 -15
@@ -0,0 +1,2 @@
1
+ %== .expnent1 ==%
2
+ $(a^2)^3 = 1$
@@ -0,0 +1,4 @@
1
+ %== .exponent2 ==%
2
+ \[
3
+ (a^2)^3 = 1
4
+ \]
@@ -0,0 +1,13 @@
1
+ This is test
2
+ Of whether — Yes,
3
+ Whether, perhaps, and maybe,
4
+ But certainly not,
5
+ not, not indeed!
6
+ Lines can be formattted just the way we
7
+ Please!
8
+
9
+
10
+ \begin{center}
11
+ This text should be centered.
12
+
13
+ \end{center}
@@ -0,0 +1,25 @@
1
+ %== .sections ==%
2
+ \hypertarget{_section_aa}{\section*{Section AA}}
3
+ But I must explain to you how all this mistaken
4
+ idea of denouncing pleasure and praising pain
5
+ was born and I will give you a complete account
6
+ of the system, and expound the actual teachings
7
+ of the great explorer of the truth, the
8
+ master-builder of human happiness. No one
9
+ rejects, dislikes, or avoids pleasure itself,
10
+ because it is pleasure, but because those who
11
+ do not know how to pursue pleasure rationally
12
+ encounter consequences that are extremely
13
+ painful. Nor again is there anyone who loves
14
+ or pursues or desires to obtain pain of itself,
15
+ because it is pain, but because occasionally
16
+ circumstances occur in which toil and pain can
17
+ procure him some great pleasure. To take a trivial
18
+ example, which of us ever undertakes laborious
19
+ physical exercise, except to obtain some
20
+ advantage from it? But who has any right
21
+ to find fault with a man who chooses to
22
+ enjoy a pleasure that has no
23
+ annoying consequences, or one who avoids
24
+ a pain that produces no resultant pleasure?
25
+ I refer you to \hyperlink{_section_aa}{Section AA}.
@@ -0,0 +1,4 @@
1
+ %== .image ==%
2
+ \begin{figure}[h]{}
3
+ \centering\includegraphics[width=2.0truein]{sunset.jpg}
4
+ \end{figure}
@@ -0,0 +1,25 @@
1
+ %== .basic ==%
2
+ \href{http://www.asciidoctor.org}{http://www.asciidoctor.org}
3
+
4
+ %== .basic_with_text ==%
5
+ \href{irc://irc.freenode.org/#asciidoctor}{Asciidoctor IRC channel}
6
+
7
+ %== .basic_with_target_blank ==%
8
+ \href{view-source:asciidoctor.org}{Asciidoctor homepage}
9
+
10
+ %== .basic_with_role ==%
11
+ \href{http://discuss.asciidoctor.org/}{\textbf{mailing list}}
12
+
13
+ %== .xref ==%
14
+ The section \hyperlink{page-break}{} describes how to add a page break.
15
+
16
+ %== .xref_with_text ==%
17
+ The section \hyperlink{page-break}{} describes how to add a page break.
18
+
19
+ %== .xref_resolved_text ==%
20
+ Refer to \hyperlink{_section_a}{Section A}.
21
+ \section*{Section A}
22
+ \hypertarget{_section_a}{}
23
+
24
+ %== .bibref ==%
25
+ Andy Hunt & Dave Thomas. The Pragmatic Programmer
@@ -0,0 +1,7 @@
1
+ %== .plus_sign ==%
2
+ Rubies are red, \\
3
+ Topazes are blue.
4
+
5
+ %== .hardbreaks ==%
6
+ Ruby is red. \\
7
+ Java is black.
@@ -0,0 +1 @@
1
+ %== .basic ==%
@@ -0,0 +1,4 @@
1
+ %== .basic ==%
2
+ \begin{verbatim}
3
+ "Hello world!"
4
+ \end{verbatim}
@@ -0,0 +1,9 @@
1
+ %== .basic ==%
2
+ Apocalyptic party.\footnote{The double hail-and-rainbow level makes my toes tingle.}
3
+
4
+ %== .xref ==%
5
+ A bold statement.\footnote{Opinions are my own.}
6
+ Another outrageous statement.\footnote{Opinions are my own.}
7
+
8
+ %== .xref_unresolved ==%
9
+ A bold statement.\footnote{foobar}
@@ -0,0 +1,25 @@
1
+ %== .image ==%
2
+
3
+ %== .image_with_alt_text ==%
4
+
5
+ %== .image_with_dimensions ==%
6
+
7
+ %== .image_with_float ==%
8
+
9
+ %== .image_with_link ==%
10
+
11
+ %== .image_with_role ==%
12
+
13
+ %== .icon ==%
14
+
15
+ %== .icon_with_dimensions ==%
16
+
17
+ %== .icon_with_float ==%
18
+
19
+ %== .icon_with_link ==%
20
+
21
+ %== .icon_with_title ==%
22
+
23
+ %== .icon_with_role ==%
24
+
25
+ %== .icon_no_icons ==%
@@ -0,0 +1,3 @@
1
+ %== .basic ==%
2
+
3
+ %== .keyseq ==%
@@ -0,0 +1,5 @@
1
+ %== .menu ==%
2
+
3
+ %== .menuitem ==%
4
+
5
+ %== .submenu ==%
@@ -0,0 +1,63 @@
1
+ %== .basic ==%
2
+
3
+ %== .emphasis ==%
4
+ \emph{chunky bacon}
5
+
6
+ %== .emphasis_with_role ==%
7
+ \emph{chunky bacon}
8
+
9
+ %== .strong ==%
10
+ \textbf{chunky bacon}
11
+
12
+ %== .strong_with_role ==%
13
+ \textbf{chunky bacon}
14
+
15
+ %== .monospaced ==%
16
+ {\tt hello world!}
17
+
18
+ %== .monospaced_with_role ==%
19
+ {\tt hello world!}
20
+
21
+ %== .superscript ==%
22
+ ${}^{super}$chunky bacon
23
+
24
+ %== .superscript_with_role ==%
25
+ ${}^{super}$chunky bacon
26
+
27
+ %== .subscript ==%
28
+ ${}_{sub}$chunky bacon
29
+
30
+ %== .subscript_with_role ==%
31
+ ${}_{sub}$chunky bacon
32
+
33
+ %== .mark ==%
34
+ \colorbox{yellow}{ chunky bacon}
35
+
36
+ %== .double ==%
37
+ ``chunky bacon''
38
+
39
+ %== .double_with_role ==%
40
+ ``chunky bacon''
41
+
42
+ %== .single ==%
43
+ `chunky bacon'
44
+
45
+ %== .single_with_role ==%
46
+ `chunky bacon'
47
+
48
+ %== .latexmath ==%
49
+ C = \alpha + \beta Y^{\gamma} + \epsilon
50
+
51
+ %== .latexmath2 ==%
52
+ $C = \alpha + \beta Y^{\gamma} + \epsilon$
53
+
54
+ %== .with_id ==%
55
+ \emph{chunky bacon}
56
+
57
+ %== .mixed_monospace_bold_italic ==%
58
+ {\tt \textbf{\emph{monospace bold italic phrase}}} and le{\tt \textbf{\emph{tt}}}ers
59
+
60
+ %== .asciimath ==%
61
+ <div class="paragraph">
62
+ <p>sqrt(4) = 2</p>
63
+ </div>
@@ -0,0 +1,4 @@
1
+ %== .line_break ==%
2
+ Roses are red, \\
3
+ Daisies are white, \\
4
+ But all need the light.
@@ -0,0 +1,10 @@
1
+ %== .listing ==%
2
+ \begin{verbatim}
3
+ sum = 0
4
+ k = 1
5
+ 100.times do
6
+ sum += 1.0/k
7
+ k += 1
8
+ end
9
+ puts sum
10
+ \end{verbatim}
@@ -0,0 +1,42 @@
1
+ %== .literas ==%
2
+ \begin{verbatim}
3
+ This
4
+ is
5
+ a test of
6
+ whether
7
+ it realy
8
+ works!
9
+ \end{verbatim}
10
+ \begin{verbatim}
11
+ ....
12
+ This
13
+ is also
14
+ \end{verbatim}
15
+ \begin{verbatim}
16
+ a test of
17
+ whether
18
+ \end{verbatim}
19
+ \begin{verbatim}
20
+ it realy
21
+ works!
22
+ \end{verbatim}
23
+ \begin{verbatim}
24
+ \end{verbatim}
25
+
26
+ %== .literal ==%
27
+ \begin{verbatim}
28
+ This
29
+ is
30
+ a test of
31
+ whether
32
+ it realy
33
+ works!
34
+ \end{verbatim}
35
+ \begin{verbatim}
36
+ This
37
+ is also
38
+ a test of
39
+ whether
40
+ it realy
41
+ works!
42
+ \end{verbatim}
@@ -0,0 +1,6 @@
1
+ %== .macro_underscore ==%
2
+ \subsection*{Underscore use bug}
3
+ \hypertarget{_underscore_use_bug}{\begin{quotation}}
4
+ \begin{quotation}
5
+ This is a quote which uses a MACRO_NAME to trigger a bug
6
+ \end{quotation}
@@ -0,0 +1,8 @@
1
+ %== .math ==%
2
+ Some geometry
3
+ $a^2 + b^2 = c^2$
4
+ Some finance: that theorem costs \$100!
5
+ An integral:
6
+ \[
7
+ \int_0^1 x^n dx = \frac{1}{n+1}
8
+ \]
@@ -0,0 +1,10 @@
1
+ %== .open_block ==%
2
+ This is an anonymous
3
+ open block.
4
+ End of story.
5
+ \begin{verbatim}
6
+ This is an anonymous
7
+ open block masquerading
8
+ a listing block.
9
+ End of story.
10
+ \end{verbatim}
@@ -0,0 +1,4 @@
1
+ %== .page_break ==%
2
+ Fee, fie
3
+ \vfill\eject
4
+ fo, fum!
@@ -0,0 +1,3 @@
1
+ %== .pass ==%
2
+ <<< is normally a page break.
3
+ But now it isn’t.
@@ -0,0 +1,51 @@
1
+ %== .level1 ==%
2
+ \hypertarget{_section_level_1}{\section*{Section Level 1}}
3
+
4
+ %== .level2 ==%
5
+ \hypertarget{_section_level_2}{\subsection*{Section Level 2}}
6
+
7
+ %== .level3 ==%
8
+ \hypertarget{_section_level_3}{\subsubsection*{Section Level 3}}
9
+
10
+ %== .level4 ==%
11
+ \hypertarget{_section_level_4}{\paragraph*{Section Level 4}}
12
+
13
+ %== .level5 ==%
14
+ \hypertarget{_section_level_5}{\*{Section Level 5}}
15
+
16
+ %== .max_nesting ==%
17
+ \hypertarget{_section_level_1}{\section*{Section Level 1}}
18
+ \hypertarget{_section_level_2}{\subsection*{Section Level 2}}
19
+ \hypertarget{_section_level_3}{\subsubsection*{Section Level 3}}
20
+ \hypertarget{_section_level_4}{\paragraph*{Section Level 4}}
21
+ \hypertarget{_section_level_5}{\*{Section Level 5}}
22
+ \hypertarget{_section_level_2}{\subsection*{Section Level 2}}
23
+
24
+ %== .with_custom_id ==%
25
+ \hypertarget{_section_title}{\section*{Section Title}}
26
+
27
+ %== .with_roles ==%
28
+ \hypertarget{_section_title}{\section*{Section Title}}
29
+
30
+ %== .sectanchors ==%
31
+ \hypertarget{_title_with_anchor}{\section*{Title with anchor}}
32
+
33
+ %== .sectlinks ==%
34
+ \hypertarget{_linked_title}{\section*{Linked title}}
35
+
36
+ %== .numbered ==%
37
+ \hypertarget{_introduction_to_asciidoctor}{\section{Introduction to Asciidoctor}}
38
+ \hypertarget{_quick_starts}{\section{Quick Starts}}
39
+ \hypertarget{_usage}{\subsection{Usage}}
40
+ \hypertarget{_using_the_command_line_interface}{\subsubsection{Using the Command Line Interface}}
41
+ \hypertarget{_processing_your_content}{\paragraph{Processing Your Content}}
42
+ \hypertarget{_syntax}{\subsection{Syntax}}
43
+ \hypertarget{_terms_and_concepts}{\section{Terms and Concepts}}
44
+
45
+ %== .numbered_sectnumlevels_1 ==%
46
+ \hypertarget{_introduction_to_asciidoctor}{\section{Introduction to Asciidoctor}}
47
+ \hypertarget{_quick_starts}{\section{Quick Starts}}
48
+ \hypertarget{_usage}{\subsection{Usage}}
49
+ \hypertarget{_using_the_command_line_interface}{\subsubsection{Using the Command Line Interface}}
50
+ \hypertarget{_syntax}{\subsection{Syntax}}
51
+ \hypertarget{_terms_and_concepts}{\section{Terms and Concepts}}
@@ -0,0 +1,13 @@
1
+ %== .sections ==%
2
+ \hypertarget{_section}{\section*{Section}}
3
+ \hypertarget{_going_down_farther — subsection}{\subsection*{Going down farther — subsection}}
4
+ \hypertarget{_and_farther_still_…​}{\subsubsection*{And farther still …​}}
5
+ \hypertarget{_yikes!_we_have_hit_bottom!!}{\paragraph*{Yikes! We have hit bottom!!}}
6
+ \hypertarget{_section}{\section{Section}}
7
+ \hypertarget{_going_down_farther — subsection}{\subsection{Going down farther — subsection}}
8
+ \hypertarget{_and_farther_still_…​}{\subsubsection{And farther still …​}}
9
+ \hypertarget{_yikes!_we_have_hit_bottom!!}{\paragraph{Yikes! We have hit bottom!!}}
10
+ \hypertarget{_section}{\section*{Section}}
11
+ \hypertarget{_going_down_farther — subsection}{\subsection*{Going down farther — subsection}}
12
+ \hypertarget{_and_farther_still_…​}{\subsubsection*{And farther still …​}}
13
+ \hypertarget{_yikes!_we_have_hit_bottom!!}{\paragraph*{Yikes! We have hit bottom!!}}
@@ -0,0 +1,10 @@
1
+ %== .table ==%
2
+ \begin{center}
3
+ \begin{tabular}{|c|c|}
4
+ \hline
5
+ Eggs & one dozen \\
6
+ Potatoes & nine pounds \\
7
+ Milks & three quarts \\
8
+ \hline
9
+ \end{tabular}
10
+ \end{center}
@@ -0,0 +1,26 @@
1
+ $\Delta = \set{\text{0, roots of $g$}}$
2
+
3
+
4
+ $2s^{-1/2}\arctan\left(\frac{x-s}{s}\right)^{1/2}$
5
+
6
+
7
+ $x^{1/2}(x-1)^{1/2}(x-s)^{3/2}$
8
+
9
+
10
+ $f'(x) = s(s-1) O$+
11
+
12
+
13
+ \begin{equation*}
14
+ a_g(s) \frac{ d^g }{ds^g}[\omega(s)] + \cdots +
15
+ ba_1(s) \frac{ d }{ds}[\omega(s)] +
16
+ a_0(s) [\omega(s)] = 0
17
+ \end{equation*}
18
+
19
+ \begin{equation*}
20
+ \begin{split}
21
+ \omega(s) = x^{-1/2}(x-1)^{-1/2}(x-s)^{-1/2} dx \\
22
+ \omega'(s) = \frac{1}{2} x^{-1/2}(x-1)^{-1/2}(x-s)^{-3/2} dx \\
23
+ \omega'(s) = \frac{3}{4} x^{-1/2}(x-1)^{-1/2}(x-s)^{-5/2} dx
24
+ \end{split}
25
+ \end{equation*}
26
+
@@ -1,3 +1,3 @@
1
1
  %== .zero ==%
2
- \section*{Zero}
2
+ \hypertarget{_zero}{\section*{Zero}}
3
3
  This is a test.
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.3.dev
4
+ version: 1.5.0.4.dev
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Carlson
@@ -10,13 +10,16 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-19 00:00:00.000000000 Z
13
+ date: 2015-07-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: asciidoctor
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.5'
22
+ - - ">="
20
23
  - !ruby/object:Gem::Version
21
24
  version: 1.5.2
22
25
  type: :runtime
@@ -24,6 +27,9 @@ dependencies:
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
29
  - - "~>"
30
+ - !ruby/object:Gem::Version
31
+ version: '1.5'
32
+ - - ">="
27
33
  - !ruby/object:Gem::Version
28
34
  version: 1.5.2
29
35
  - !ruby/object:Gem::Dependency
@@ -143,13 +149,10 @@ files:
143
149
  - doc/method_list.html
144
150
  - doc/top-level-namespace.html
145
151
  - examples/README.adoc
146
- - examples/box.adoc
147
- - examples/chem.adoc
152
+ - examples/README.html
148
153
  - examples/click.adoc
149
154
  - examples/code.adoc
150
155
  - examples/env.adoc
151
- - examples/eq-alignment.adoc
152
- - examples/eq-block.adoc
153
156
  - examples/eq-latex.adoc
154
157
  - examples/eq-stem.adoc
155
158
  - examples/eqno-latex.adoc
@@ -158,11 +161,17 @@ files:
158
161
  - examples/theorem-latex.adoc
159
162
  - examples/xref-equations.adoc
160
163
  - lib/asciidoctor-latex.rb
164
+ - lib/asciidoctor-latex/click.css
165
+ - lib/asciidoctor-latex/click.js
166
+ - lib/asciidoctor-latex/jquery.js
167
+ - lib/asciidoctor-latex/preamble_processor.rb
161
168
  - lib/asciidoctor/latex.rb
162
169
  - lib/asciidoctor/latex/chem.rb
163
170
  - lib/asciidoctor/latex/click_block.rb
164
171
  - lib/asciidoctor/latex/converter.rb
165
172
  - lib/asciidoctor/latex/core_ext/colored_string.rb
173
+ - lib/asciidoctor/latex/core_ext/utility.rb
174
+ - lib/asciidoctor/latex/css.rb
166
175
  - lib/asciidoctor/latex/dollar.rb
167
176
  - lib/asciidoctor/latex/ent_to_uni.rb
168
177
  - lib/asciidoctor/latex/environment_block.rb
@@ -176,48 +185,116 @@ files:
176
185
  - lib/asciidoctor/latex/tex_postprocessor.rb
177
186
  - lib/asciidoctor/latex/tex_preprocessor.rb
178
187
  - lib/asciidoctor/latex/version.rb
179
- - test/examples/adoc/admonition.adoc
188
+ - test/examples/adoc/ampersand.adoc
189
+ - test/examples/adoc/block_olist.adoc
190
+ - test/examples/adoc/block_ulist.adoc
180
191
  - test/examples/adoc/box.adoc
192
+ - test/examples/adoc/chem.adoc
193
+ - test/examples/adoc/click_plain.adoc
194
+ - test/examples/adoc/dlist.adoc
181
195
  - test/examples/adoc/env.adoc
196
+ - test/examples/adoc/env2.adoc
197
+ - test/examples/adoc/env_joke.adoc
198
+ - test/examples/adoc/env_plain.adoc
199
+ - test/examples/adoc/eq-latex.adoc
182
200
  - test/examples/adoc/eq.adoc
201
+ - test/examples/adoc/eq.tex
183
202
  - test/examples/adoc/eqalign.adoc
203
+ - test/examples/adoc/eqalign.tex
204
+ - test/examples/adoc/eqno-latex.adoc
184
205
  - test/examples/adoc/exponent1.adoc
185
206
  - test/examples/adoc/exponent2.adoc
207
+ - test/examples/adoc/extras.adoc
208
+ - test/examples/adoc/hypertarget.adoc
209
+ - test/examples/adoc/image.adoc
186
210
  - test/examples/adoc/line_break.adoc
187
211
  - test/examples/adoc/listing.adoc
188
212
  - test/examples/adoc/literal.adoc
189
213
  - test/examples/adoc/macro_underscore.adoc
190
214
  - test/examples/adoc/math.adoc
215
+ - test/examples/adoc/newEnvironments.tex
191
216
  - test/examples/adoc/open_block.adoc
192
217
  - test/examples/adoc/page_break.adoc
193
218
  - test/examples/adoc/pass.adoc
194
219
  - test/examples/adoc/sections.adoc
220
+ - test/examples/adoc/table.adoc
221
+ - test/examples/adoc/table.tex
222
+ - test/examples/adoc/tex_pathologies.adoc
195
223
  - test/examples/adoc/zero.adoc
196
224
  - test/examples/asciidoc-html/env.adoc
197
225
  - test/examples/asciidoc-html/equations.adoc
226
+ - test/examples/html/env.html
227
+ - test/examples/html/equations.html
228
+ - test/examples/tex/ampersand.tex
229
+ - test/examples/tex/block_admonition.tex
230
+ - test/examples/tex/block_audio.tex
231
+ - test/examples/tex/block_colist.tex
232
+ - test/examples/tex/block_dlist.tex
233
+ - test/examples/tex/block_example.tex
234
+ - test/examples/tex/block_floating_title.tex
235
+ - test/examples/tex/block_image.tex
236
+ - test/examples/tex/block_listing.tex
237
+ - test/examples/tex/block_literal.tex
238
+ - test/examples/tex/block_olist.tex
239
+ - test/examples/tex/block_open.tex
240
+ - test/examples/tex/block_outline.tex
241
+ - test/examples/tex/block_page_break.tex
242
+ - test/examples/tex/block_paragraph.tex
243
+ - test/examples/tex/block_pass.tex
244
+ - test/examples/tex/block_preamble.tex
245
+ - test/examples/tex/block_quote.tex
246
+ - test/examples/tex/block_sidebar.tex
247
+ - test/examples/tex/block_stem.tex
248
+ - test/examples/tex/block_table.tex
249
+ - test/examples/tex/block_thematic_break.tex
250
+ - test/examples/tex/block_toc.tex
251
+ - test/examples/tex/block_ulist.tex
252
+ - test/examples/tex/block_verse.tex
253
+ - test/examples/tex/block_video.tex
254
+ - test/examples/tex/box.tex
255
+ - test/examples/tex/chem.tex
256
+ - test/examples/tex/click_plain.tex
257
+ - test/examples/tex/dlist.tex
258
+ - test/examples/tex/document.tex
259
+ - test/examples/tex/embedded.tex
198
260
  - test/examples/tex/env.tex
261
+ - test/examples/tex/env2.tex
262
+ - test/examples/tex/env_joke.tex
263
+ - test/examples/tex/env_plain.tex
264
+ - test/examples/tex/eq-latex.tex
199
265
  - test/examples/tex/eq.tex
266
+ - test/examples/tex/eqalign.tex
267
+ - test/examples/tex/eqno-latex.tex
268
+ - test/examples/tex/exponent1.tex
269
+ - test/examples/tex/exponent2.tex
270
+ - test/examples/tex/extras.tex
271
+ - test/examples/tex/hypertarget.tex
272
+ - test/examples/tex/image.tex
273
+ - test/examples/tex/inline_anchor.tex
274
+ - test/examples/tex/inline_break.tex
275
+ - test/examples/tex/inline_button.tex
276
+ - test/examples/tex/inline_callout.tex
277
+ - test/examples/tex/inline_footnote.tex
278
+ - test/examples/tex/inline_image.tex
279
+ - test/examples/tex/inline_kbd.tex
280
+ - test/examples/tex/inline_menu.tex
281
+ - test/examples/tex/inline_quoted.tex
282
+ - test/examples/tex/line_break.tex
283
+ - test/examples/tex/listing.tex
284
+ - test/examples/tex/literal.tex
285
+ - test/examples/tex/macro_underscore.tex
286
+ - test/examples/tex/math.tex
287
+ - test/examples/tex/open_block.tex
288
+ - test/examples/tex/page_break.tex
289
+ - test/examples/tex/pass.tex
290
+ - test/examples/tex/section.tex
291
+ - test/examples/tex/sections.tex
292
+ - test/examples/tex/table.tex
293
+ - test/examples/tex/tex_pathologies.tex
200
294
  - test/examples/tex/zero.tex
201
295
  - test/html_test.rb
202
296
  - test/latex_test.rb
203
297
  - test/test_helper.rb
204
- - test_jc/admonition.adoc
205
- - test_jc/click.adoc
206
- - test_jc/env.adoc
207
- - test_jc/example.adoc
208
- - test_jc/floating_title.adoc
209
- - test_jc/image.adoc
210
- - test_jc/images/frog.jpg
211
- - test_jc/images/red_frog.jpeg
212
- - test_jc/images/yellow_frog.jpeg
213
- - test_jc/listing.adoc
214
- - test_jc/lists.adoc
215
- - test_jc/math.adoc
216
- - test_jc/preamble.adoc
217
- - test_jc/section-numbered.adoc
218
- - test_jc/section.adoc
219
- - test_jc/sidebar.adoc
220
- - test_jc/verse.adoc
221
298
  homepage: https://github.com/asciidoctor/asciidoctor-latex
222
299
  licenses:
223
300
  - MIT
@@ -238,32 +315,117 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
315
  version: 1.3.1
239
316
  requirements: []
240
317
  rubyforge_project:
241
- rubygems_version: 2.4.2
318
+ rubygems_version: 2.4.8
242
319
  signing_key:
243
320
  specification_version: 4
244
321
  summary: Converts AsciiDoc documents to LaTeX, provides LaTeX extensions to Asciidoc
245
322
  test_files:
246
- - test/examples/adoc/admonition.adoc
323
+ - test/examples/adoc/ampersand.adoc
324
+ - test/examples/adoc/block_olist.adoc
325
+ - test/examples/adoc/block_ulist.adoc
247
326
  - test/examples/adoc/box.adoc
327
+ - test/examples/adoc/chem.adoc
328
+ - test/examples/adoc/click_plain.adoc
329
+ - test/examples/adoc/dlist.adoc
248
330
  - test/examples/adoc/env.adoc
331
+ - test/examples/adoc/env2.adoc
332
+ - test/examples/adoc/env_joke.adoc
333
+ - test/examples/adoc/env_plain.adoc
334
+ - test/examples/adoc/eq-latex.adoc
249
335
  - test/examples/adoc/eq.adoc
336
+ - test/examples/adoc/eq.tex
250
337
  - test/examples/adoc/eqalign.adoc
338
+ - test/examples/adoc/eqalign.tex
339
+ - test/examples/adoc/eqno-latex.adoc
251
340
  - test/examples/adoc/exponent1.adoc
252
341
  - test/examples/adoc/exponent2.adoc
342
+ - test/examples/adoc/extras.adoc
343
+ - test/examples/adoc/hypertarget.adoc
344
+ - test/examples/adoc/image.adoc
253
345
  - test/examples/adoc/line_break.adoc
254
346
  - test/examples/adoc/listing.adoc
255
347
  - test/examples/adoc/literal.adoc
256
348
  - test/examples/adoc/macro_underscore.adoc
257
349
  - test/examples/adoc/math.adoc
350
+ - test/examples/adoc/newEnvironments.tex
258
351
  - test/examples/adoc/open_block.adoc
259
352
  - test/examples/adoc/page_break.adoc
260
353
  - test/examples/adoc/pass.adoc
261
354
  - test/examples/adoc/sections.adoc
355
+ - test/examples/adoc/table.adoc
356
+ - test/examples/adoc/table.tex
357
+ - test/examples/adoc/tex_pathologies.adoc
262
358
  - test/examples/adoc/zero.adoc
263
359
  - test/examples/asciidoc-html/env.adoc
264
360
  - test/examples/asciidoc-html/equations.adoc
361
+ - test/examples/html/env.html
362
+ - test/examples/html/equations.html
363
+ - test/examples/tex/ampersand.tex
364
+ - test/examples/tex/block_admonition.tex
365
+ - test/examples/tex/block_audio.tex
366
+ - test/examples/tex/block_colist.tex
367
+ - test/examples/tex/block_dlist.tex
368
+ - test/examples/tex/block_example.tex
369
+ - test/examples/tex/block_floating_title.tex
370
+ - test/examples/tex/block_image.tex
371
+ - test/examples/tex/block_listing.tex
372
+ - test/examples/tex/block_literal.tex
373
+ - test/examples/tex/block_olist.tex
374
+ - test/examples/tex/block_open.tex
375
+ - test/examples/tex/block_outline.tex
376
+ - test/examples/tex/block_page_break.tex
377
+ - test/examples/tex/block_paragraph.tex
378
+ - test/examples/tex/block_pass.tex
379
+ - test/examples/tex/block_preamble.tex
380
+ - test/examples/tex/block_quote.tex
381
+ - test/examples/tex/block_sidebar.tex
382
+ - test/examples/tex/block_stem.tex
383
+ - test/examples/tex/block_table.tex
384
+ - test/examples/tex/block_thematic_break.tex
385
+ - test/examples/tex/block_toc.tex
386
+ - test/examples/tex/block_ulist.tex
387
+ - test/examples/tex/block_verse.tex
388
+ - test/examples/tex/block_video.tex
389
+ - test/examples/tex/box.tex
390
+ - test/examples/tex/chem.tex
391
+ - test/examples/tex/click_plain.tex
392
+ - test/examples/tex/dlist.tex
393
+ - test/examples/tex/document.tex
394
+ - test/examples/tex/embedded.tex
265
395
  - test/examples/tex/env.tex
396
+ - test/examples/tex/env2.tex
397
+ - test/examples/tex/env_joke.tex
398
+ - test/examples/tex/env_plain.tex
399
+ - test/examples/tex/eq-latex.tex
266
400
  - test/examples/tex/eq.tex
401
+ - test/examples/tex/eqalign.tex
402
+ - test/examples/tex/eqno-latex.tex
403
+ - test/examples/tex/exponent1.tex
404
+ - test/examples/tex/exponent2.tex
405
+ - test/examples/tex/extras.tex
406
+ - test/examples/tex/hypertarget.tex
407
+ - test/examples/tex/image.tex
408
+ - test/examples/tex/inline_anchor.tex
409
+ - test/examples/tex/inline_break.tex
410
+ - test/examples/tex/inline_button.tex
411
+ - test/examples/tex/inline_callout.tex
412
+ - test/examples/tex/inline_footnote.tex
413
+ - test/examples/tex/inline_image.tex
414
+ - test/examples/tex/inline_kbd.tex
415
+ - test/examples/tex/inline_menu.tex
416
+ - test/examples/tex/inline_quoted.tex
417
+ - test/examples/tex/line_break.tex
418
+ - test/examples/tex/listing.tex
419
+ - test/examples/tex/literal.tex
420
+ - test/examples/tex/macro_underscore.tex
421
+ - test/examples/tex/math.tex
422
+ - test/examples/tex/open_block.tex
423
+ - test/examples/tex/page_break.tex
424
+ - test/examples/tex/pass.tex
425
+ - test/examples/tex/section.tex
426
+ - test/examples/tex/sections.tex
427
+ - test/examples/tex/table.tex
428
+ - test/examples/tex/tex_pathologies.tex
267
429
  - test/examples/tex/zero.tex
268
430
  - test/html_test.rb
269
431
  - test/latex_test.rb