asciidoctor-latex 1.5.0.dev
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.adoc +22 -0
- data/README.adoc +213 -0
- data/Rakefile +55 -0
- data/bin/asciidoctor-latex +22 -0
- data/data/asciidoc_tex_macros.tex +42 -0
- data/data/preamble_article.tex +45 -0
- data/data/preamble_book.tex +44 -0
- data/lib/asciidoctor-latex.rb +1 -0
- data/lib/asciidoctor/latex.rb +8 -0
- data/lib/asciidoctor/latex/chem.rb +24 -0
- data/lib/asciidoctor/latex/click_block.rb +121 -0
- data/lib/asciidoctor/latex/converter.rb +358 -0
- data/lib/asciidoctor/latex/core_ext/colored_string.rb +35 -0
- data/lib/asciidoctor/latex/dollar.rb +28 -0
- data/lib/asciidoctor/latex/ent_to_uni.rb +17 -0
- data/lib/asciidoctor/latex/environment_block.rb +190 -0
- data/lib/asciidoctor/latex/inject_html.rb +49 -0
- data/lib/asciidoctor/latex/inline_macros.rb +20 -0
- data/lib/asciidoctor/latex/macro_insert.rb +49 -0
- data/lib/asciidoctor/latex/node_processors.rb +695 -0
- data/lib/asciidoctor/latex/prepend_processor.rb +36 -0
- data/lib/asciidoctor/latex/preprocess.rb +37 -0
- data/lib/asciidoctor/latex/tex_block.rb +108 -0
- data/lib/asciidoctor/latex/tex_postprocessor.rb +44 -0
- data/lib/asciidoctor/latex/tex_preprocessor.rb +65 -0
- data/lib/asciidoctor/latex/version.rb +5 -0
- data/manual.adoc +285 -0
- data/rake/cacert.pem +3894 -0
- data/rake/jdk_helper.rb +105 -0
- data/rake/tar-licence +19 -0
- data/rake/tar.rb +38 -0
- data/rspec/README.adoc +45 -0
- data/rspec/a.rb +79 -0
- data/rspec/b.rb +111 -0
- data/rspec/c.rb +121 -0
- data/rspec/data/tex1 +65 -0
- data/rspec/data/tex2 +5 -0
- data/rspec/data/tex2.expect +5 -0
- data/rspec/transform.rb +36 -0
- data/spec/README.adoc +45 -0
- data/spec/a.rb +79 -0
- data/spec/b.rb +111 -0
- data/spec/c.rb +121 -0
- data/spec/data/foo +1 -0
- data/spec/data/lorem +1 -0
- data/spec/data/tex1 +65 -0
- data/spec/data/tex2 +5 -0
- data/spec/data/tex2.expect +5 -0
- data/spec/transform.rb +36 -0
- data/test/examples/adoc/env.adoc +16 -0
- data/test/examples/adoc/eq.adoc +12 -0
- data/test/examples/adoc/zero.adoc +3 -0
- data/test/examples/asciidoc-html/block_open.adoc +17 -0
- data/test/examples/tex/env.tex +132 -0
- data/test/examples/tex/eq.tex +132 -0
- data/test/examples/tex/zero.tex +121 -0
- data/test/html_test.rb +8 -0
- data/test/latex_test.rb +8 -0
- data/test/test_helper.rb +4 -0
- data/test_jc/admonition.adoc +4 -0
- data/test_jc/click.adoc +7 -0
- data/test_jc/env.adoc +31 -0
- data/test_jc/example.adoc +17 -0
- data/test_jc/floating_title.adoc +15 -0
- data/test_jc/image.adoc +84 -0
- data/test_jc/images/frog.jpg +0 -0
- data/test_jc/images/red_frog.jpeg +0 -0
- data/test_jc/images/yellow_frog.jpeg +0 -0
- data/test_jc/listing.adoc +9 -0
- data/test_jc/lists.adoc +20 -0
- data/test_jc/math.adoc +10 -0
- data/test_jc/preamble.adoc +14 -0
- data/test_jc/section-numbered.adoc +9 -0
- data/test_jc/section.adoc +7 -0
- data/test_jc/sidebar.adoc +61 -0
- data/test_jc/verse.adoc +15 -0
- data/try-out/README.adoc +348 -0
- data/try-out/click.adoc +108 -0
- data/try-out/code.adoc +122 -0
- data/try-out/env.adoc +139 -0
- data/try-out/eq-latex.adoc +37 -0
- data/try-out/eq-stem.adoc +41 -0
- data/try-out/eqno-latex.adoc +120 -0
- data/try-out/math_article.adoc +138 -0
- data/try-out/pyth-stem.adoc +52 -0
- data/try-out/theorem-latex.adoc +50 -0
- data/try-out/xref-equations.adoc +28 -0
- metadata +210 -0
@@ -0,0 +1,120 @@
|
|
1
|
+
== Numbered Equations
|
2
|
+
|
3
|
+
|
4
|
+
The environment `[env.equation]` is automatically
|
5
|
+
numbered by default, as in the examples below.
|
6
|
+
|
7
|
+
|
8
|
+
[env.equation]
|
9
|
+
--
|
10
|
+
a^3 + b^3 = c^3
|
11
|
+
--
|
12
|
+
|
13
|
+
|
14
|
+
[env.equation]
|
15
|
+
--
|
16
|
+
\int_0^1 x^n dx = \frac{1}{n}
|
17
|
+
--
|
18
|
+
|
19
|
+
Here is how the first equation is done:
|
20
|
+
----
|
21
|
+
[env.equation]
|
22
|
+
--
|
23
|
+
a^3 + b^3 = c^3
|
24
|
+
--
|
25
|
+
----
|
26
|
+
|
27
|
+
=== Some more equations
|
28
|
+
|
29
|
+
.Pythagorean theorem
|
30
|
+
[env.equation#pyth]
|
31
|
+
--
|
32
|
+
a^2 + b^2 = c^2
|
33
|
+
--
|
34
|
+
|
35
|
+
A Fourier series:
|
36
|
+
|
37
|
+
[env.equation#fourier]
|
38
|
+
--
|
39
|
+
f(z) = \sum_{n=-\infty}^\infty e^{2\pi i n z }.
|
40
|
+
--
|
41
|
+
|
42
|
+
|
43
|
+
A matrix:
|
44
|
+
[env.equation#eq-matrix]
|
45
|
+
--
|
46
|
+
M = \left(
|
47
|
+
\begin{matrix}
|
48
|
+
1 & 2 \\
|
49
|
+
3 & 4
|
50
|
+
\end{matrix}
|
51
|
+
\right)
|
52
|
+
--
|
53
|
+
|
54
|
+
|
55
|
+
=== Titles
|
56
|
+
|
57
|
+
Equations can take a title:
|
58
|
+
|
59
|
+
.Fundamental theorem of calculus
|
60
|
+
[env.equation]
|
61
|
+
--
|
62
|
+
\frac{d}{dx} \int_a^x f(t) dt = f(x)
|
63
|
+
--
|
64
|
+
|
65
|
+
We wrote this:
|
66
|
+
|
67
|
+
----
|
68
|
+
|
69
|
+
.Fundamental theorem of calculus
|
70
|
+
[env.equation]
|
71
|
+
--
|
72
|
+
\frac{d}{dx} \int_a^x f(t) dt = f(x)
|
73
|
+
--
|
74
|
+
----
|
75
|
+
|
76
|
+
=== Suppressing numbering
|
77
|
+
|
78
|
+
Numbering can be suppresed on a per-item basis.
|
79
|
+
This gives a "bare" equation.
|
80
|
+
|
81
|
+
|
82
|
+
[env.equation%no-number ]
|
83
|
+
--
|
84
|
+
M = \left[
|
85
|
+
\begin{array}{ c c }
|
86
|
+
1 & 2 \\
|
87
|
+
3 & 4
|
88
|
+
\end{array} \right]
|
89
|
+
--
|
90
|
+
|
91
|
+
We wrote `[env.equation%no-number]`.
|
92
|
+
If numbering is suppressed but a title is present,
|
93
|
+
the title is displayed.
|
94
|
+
|
95
|
+
.Symmetric matrix
|
96
|
+
[env.equation%no-number]
|
97
|
+
--
|
98
|
+
M = \left[
|
99
|
+
\begin{array}{ c c }
|
100
|
+
1 & 2 \\
|
101
|
+
-2 & 5
|
102
|
+
\end{array} \right]
|
103
|
+
--
|
104
|
+
|
105
|
+
Here is the source:
|
106
|
+
|
107
|
+
----
|
108
|
+
.Symmetric matrix
|
109
|
+
[env.equation%no-number]
|
110
|
+
--
|
111
|
+
M = \left[
|
112
|
+
\begin{array}{ c c }
|
113
|
+
1 & 2 \\
|
114
|
+
-2 & 5
|
115
|
+
\end{array} \right]
|
116
|
+
--
|
117
|
+
----
|
118
|
+
|
119
|
+
|
120
|
+
Note: In <<eq-matrix>> we defined a matrix.
|
@@ -0,0 +1,138 @@
|
|
1
|
+
:numbered:
|
2
|
+
:latex:
|
3
|
+
|
4
|
+
== A Short Math Article
|
5
|
+
|
6
|
+
++++
|
7
|
+
\(
|
8
|
+
%% Blackboard bold
|
9
|
+
|
10
|
+
\def\NN{\mathbb{N}}
|
11
|
+
\def\QQ{\mathbb{Q}}
|
12
|
+
\def\RR{\mathbb{R}}
|
13
|
+
\def\ZZ{\mathbb{Z}}
|
14
|
+
|
15
|
+
%% Arrows, sets, etc.
|
16
|
+
\newcommand{\set}[1]{ \{\,#1\, \} }
|
17
|
+
\newcommand{\sett}[2]{ \{\,#1\, \mid\, #2\, \} }
|
18
|
+
\newcommand{\Set}[1]{ \Big\{\,#1\, \Big\} }
|
19
|
+
\newcommand{\Sett}[2]{ \Big\{\,#1\, \Big\vert\; #2\, \Big\} }
|
20
|
+
\newcommand{\mapright}[1]{\ \smash{ \mathop{\longrightarrow}\limits^{#1}}\ }
|
21
|
+
\)
|
22
|
+
++++
|
23
|
+
|
24
|
+
This "article" is a demonstration of how one can write
|
25
|
+
mathematics in Noteshare. Use arbitrary LaTeX inside
|
26
|
+
the traditional dollar sign, bracket delimiters, and a form
|
27
|
+
of the LaTeX environment. Equation
|
28
|
+
numbering and cross-referencing is supported, as is the numbered
|
29
|
+
theorem environment.footnote:[We are working on a prototype
|
30
|
+
asciidoctor-to-latex converter. At the present moment it is
|
31
|
+
adequate to convert this file into LaTeX. Stay tuned!]
|
32
|
+
|
33
|
+
[quote]
|
34
|
+
--
|
35
|
+
_Observe the footnote reference in the previous paragraph.
|
36
|
+
The footnote is *way*at the bottom. However, you can click on
|
37
|
+
it it reference it._
|
38
|
+
--
|
39
|
+
|
40
|
+
|
41
|
+
=== Pythagorean triples
|
42
|
+
|
43
|
+
One of the first real pieces of mathematics we
|
44
|
+
learn is this:
|
45
|
+
|
46
|
+
[env.theorem#th-pyth]
|
47
|
+
--
|
48
|
+
_Let $a$, $b$, and $c$ be the sides of a right triangle,
|
49
|
+
where $c$ is the hypotenuse. Then $a^2 + b^2 = c^2$._
|
50
|
+
--
|
51
|
+
|
52
|
+
The Pythagorean theorem suggests an equation,
|
53
|
+
[env.equation#eq-pyth]
|
54
|
+
--
|
55
|
+
x^2 + y^2 = z^2
|
56
|
+
--
|
57
|
+
If we demand that the unknowns be integers,
|
58
|
+
then this is a _Diophantine equation_. We all
|
59
|
+
know one solution, to equation <<eq-pyth>>, the
|
60
|
+
3-4-5 triangle. However, there are many
|
61
|
+
more, in fact, infinitely many. One
|
62
|
+
way of generating more solutions is to rescale existing ones.
|
63
|
+
Thus 6-8-10 is a solution. However,
|
64
|
+
what is interesting is that there are infinitely
|
65
|
+
many _dissimilar solutions_. One is 5-12-13.
|
66
|
+
Quite remarkably, there is a clay tablet (Plympton 322) from
|
67
|
+
Mesopotamia, dated to about 1800 BC, that
|
68
|
+
contains a list of 15 such
|
69
|
+
"Pythagorean triples." See http://en.wikipedia.org/wiki/Plimpton_322[Wikipedia].
|
70
|
+
|
71
|
+
It is unlikely
|
72
|
+
that the Babylonian mathematicians, despite
|
73
|
+
their sophistication and skill, knew that
|
74
|
+
equation <<eq-pyth>>
|
75
|
+
has infinitely many solutions. This fact is
|
76
|
+
equivalent to the statement that the unit circle
|
77
|
+
centered at the origin has infinitely many points
|
78
|
+
with rational coordinates.
|
79
|
+
|
80
|
+
For more information on Pythagorean triplets, see
|
81
|
+
http://en.wikipedia.org/wiki/Pythagorean_triple[Wikipedia].
|
82
|
+
|
83
|
+
=== Another result from ancient times
|
84
|
+
|
85
|
+
[env.theorem#th-primes]
|
86
|
+
--
|
87
|
+
_There are infinitely many primes._
|
88
|
+
--
|
89
|
+
|
90
|
+
.Proof
|
91
|
+
--
|
92
|
+
Suppose that there are only finitely many primes, say
|
93
|
+
$p_1, p_2, \ldots, p_N$. Let
|
94
|
+
--
|
95
|
+
|
96
|
+
[env.equation#eq-infprimes]
|
97
|
+
--
|
98
|
+
Q = p_1p_2 \cdots p_N + 1
|
99
|
+
--
|
100
|
+
|
101
|
+
This number is is greater than the greatest prime, $p_N$.
|
102
|
+
Therefore it is composite, and therefore it is divisible
|
103
|
+
by $p_i$ for some $i$. But the remainder of $Q$ upon
|
104
|
+
division by $p_i$ is 1, a contradiction. *Q.E.D.*
|
105
|
+
|
106
|
+
|
107
|
+
=== The work of Fermat
|
108
|
+
|
109
|
+
Let us consider <<th-pyth>> once again. Pierre Fermat asked whether
|
110
|
+
this family of Diophantine equations $x^d + y^d = z^d$, where
|
111
|
+
parameter $d$ is greater than two, have any other than the obvious
|
112
|
+
solutions, e.g., $x, y, z = 1, 0 ,1$ where one variable is zero.
|
113
|
+
Fermat conjectured that the answer
|
114
|
+
was no, and he wrote in the margin of Diophantus' treatise that
|
115
|
+
he had a marvelous proof of this fact, alas, too long to fit int he
|
116
|
+
space available. More than 300 years later, Andrew Wiles, using
|
117
|
+
techniques developed only in the twentieth century, gave a proof of
|
118
|
+
the theorem of Fermat.
|
119
|
+
|
120
|
+
=== The work of Georg Cantor
|
121
|
+
|
122
|
+
Georg Cantor introduced the notion of _set_, e.g.,
|
123
|
+
[env.equation#eq-set-integers]
|
124
|
+
--
|
125
|
+
\NN = \set{ \text{integers} }
|
126
|
+
= \set{ 1, 2, 3, \ldots }
|
127
|
+
--
|
128
|
+
|
129
|
+
Story to be continued ...
|
130
|
+
|
131
|
+
However, let's check that our cross-references work. We learned
|
132
|
+
about the Pythagorean formula <<eq-pyth>>, and the
|
133
|
+
number of solutions it has in <<th-pyth>>. We also
|
134
|
+
learned in <<th-primes>> that prime numbers
|
135
|
+
are quite abundant in Nature: there are infinitely many of them.
|
136
|
+
Our last, incomplete section, featuring the set of integers <<eq-set-integers>>,
|
137
|
+
is devoted to the work of Georg Cantor.
|
138
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
== Diophantine Equations
|
2
|
+
|
3
|
+
|
4
|
+
The Pythagorean theorem states that
|
5
|
+
if stem:[a] and stem:[a] are the altitude
|
6
|
+
and base of a right triangle,
|
7
|
+
then
|
8
|
+
stem:[a^2 + b^2 = c^2],
|
9
|
+
where $c$ is the hypotenuse.
|
10
|
+
It was known in ancient times
|
11
|
+
that $a,b,c = 3,4,5$ are the
|
12
|
+
sides of a right triangle.
|
13
|
+
This example leads to the
|
14
|
+
question of whether the
|
15
|
+
"Pythagorean equation"
|
16
|
+
has other solutions.
|
17
|
+
The answer is, _yes indeed_,
|
18
|
+
as the result below asserts.
|
19
|
+
|
20
|
+
|
21
|
+
[env.theorem%pyth-eq]
|
22
|
+
--
|
23
|
+
The equation
|
24
|
+
[stem]
|
25
|
+
++++
|
26
|
+
a^2 + b^2 = c^2
|
27
|
+
++++
|
28
|
+
has infinitely many non-proportional
|
29
|
+
integer solutions.
|
30
|
+
--
|
31
|
+
|
32
|
+
|
33
|
+
It is natural to ask about solutions
|
34
|
+
to analogue of the Pythagorean
|
35
|
+
equation, but with exponent
|
36
|
+
higher than two. Pierre Fermat
|
37
|
+
considered this problem and arrived
|
38
|
+
at the following conclusion.
|
39
|
+
|
40
|
+
[env.theorem#mu%fermat-eq]
|
41
|
+
--
|
42
|
+
The only solution in the integers
|
43
|
+
of the equation
|
44
|
+
\[
|
45
|
+
a^3 + b^3 = c^3
|
46
|
+
\]
|
47
|
+
are the obvious ones in which one
|
48
|
+
of the variables is zero.
|
49
|
+
--
|
50
|
+
|
51
|
+
These results constitute the
|
52
|
+
foundation of the subject of Diophantine equations.
|
@@ -0,0 +1,50 @@
|
|
1
|
+
== Diophantine Equations
|
2
|
+
|
3
|
+
|
4
|
+
The Pythagorean theorem states that
|
5
|
+
if $a$ and $b$ are the altitude
|
6
|
+
and base of a right triangle,
|
7
|
+
then
|
8
|
+
$a^2 + b^2 = c^2$,
|
9
|
+
where $c$ is the hypotenuse.
|
10
|
+
It was known in ancient times
|
11
|
+
that $a,b,c = 3,4,5$ are the
|
12
|
+
sides of a right triangle.
|
13
|
+
This example leads to the
|
14
|
+
question of whether the
|
15
|
+
"Pythagorean equation"
|
16
|
+
has other solutions.
|
17
|
+
The answer is, _yes indeed_,
|
18
|
+
as the result below asserts.
|
19
|
+
|
20
|
+
|
21
|
+
[env.theorem%pythag-eq]
|
22
|
+
--
|
23
|
+
The equation
|
24
|
+
\[
|
25
|
+
a^2 + b^2 = c^2
|
26
|
+
\]
|
27
|
+
has infinitely many non-proportional
|
28
|
+
integer solutions.
|
29
|
+
--
|
30
|
+
|
31
|
+
It is natural to ask about solutions
|
32
|
+
to analogue of the Pythagorean
|
33
|
+
equation, but with exponent
|
34
|
+
higher than two. Pierre Fermat
|
35
|
+
considered this problem and arrived
|
36
|
+
at the following conclusion.
|
37
|
+
|
38
|
+
[env.theorem#mu%fermat-eq]
|
39
|
+
--
|
40
|
+
The only solution in the integers
|
41
|
+
of the equation
|
42
|
+
\[
|
43
|
+
a^3 + b^3 = c^3
|
44
|
+
\]
|
45
|
+
are the obvious ones in which one
|
46
|
+
of the variables is zero.
|
47
|
+
--
|
48
|
+
|
49
|
+
These results constitute the
|
50
|
+
foundation of the subject of Diophantine equations.
|
@@ -0,0 +1,28 @@
|
|
1
|
+
== This is a test
|
2
|
+
|
3
|
+
To read today: http://nytimes.com[New York Times]
|
4
|
+
|
5
|
+
|
6
|
+
[env.equation#qq]
|
7
|
+
--
|
8
|
+
a^2 + b^2 = c^2
|
9
|
+
--
|
10
|
+
|
11
|
+
|
12
|
+
Equation <<qq>> is very important. (Please see last line of this document for further information)
|
13
|
+
|
14
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non dapibus ex. Duis et aliquam leo. Maecenas convallis quam in justo dictum, quis auctor leo lacinia. Vestibulum tincidunt mauris at ullamcorper cursus. Integer pharetra sem quam, quis tincidunt dolor suscipit commodo. Duis eu arcu sit amet est lobortis dictum facilisis vitae arcu. Vivamus arcu neque, interdum eu aliquam sodales, dictum id ex. Mauris et velit eu risus eleifend finibus et a ligula. Nulla et scelerisque ipsum. Sed placerat efficitur dui et egestas. Aenean elementum diam tortor, quis condimentum erat sodales a. Integer consequat ultrices massa sed dictum. Mauris bibendum quam turpis, ac faucibus enim faucibus et.
|
15
|
+
|
16
|
+
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In vel tincidunt justo. Nulla ac rhoncus massa, at iaculis metus. Duis scelerisque purus elit, et finibus velit vehicula in. In et erat tempus, vulputate sapien ut, facilisis elit. Vestibulum pretium turpis et scelerisque eleifend. Suspendisse vitae mollis lectus. Maecenas sit amet augue eu lacus dignissim volutpat vitae quis nisi.
|
17
|
+
|
18
|
+
Sed sollicitudin, mi vel dapibus imperdiet, lacus orci dignissim ex, quis rhoncus felis lacus id nulla. Duis erat nulla, tincidunt et risus eu, imperdiet consectetur est. Ut eu purus congue nulla aliquam volutpat nec vel enim. Suspendisse pellentesque ante efficitur lectus fermentum porttitor. Pellentesque sodales vitae lacus id bibendum. Mauris rutrum gravida velit, non ullamcorper enim dictum ullamcorper. Nulla vel volutpat metus. Duis ac nunc ac arcu maximus facilisis quis posuere felis. Maecenas tincidunt imperdiet ullamcorper. Vestibulum at pellentesque mi, id tempus mi. Vestibulum suscipit sapien quis ligula interdum maximus. Nullam tincidunt pretium commodo.
|
19
|
+
|
20
|
+
Fusce porta cursus justo quis feugiat. Phasellus vel hendrerit velit. Nulla finibus, lorem sit amet interdum interdum, elit lacus ornare nibh, eget vestibulum lacus mauris in ipsum. Nam sollicitudin enim sed erat congue, id tempus diam hendrerit. Nullam aliquam nulla ac felis ornare bibendum. Nunc vitae ligula tempor, fringilla nisi eu, convallis arcu. Mauris nulla lectus, finibus porttitor pretium quis, pharetra euismod libero. Nunc et lobortis est. Sed molestie, velit nec tempor aliquam, libero sem vulputate urna, a lobortis mauris felis ut mauris. Nullam ut tempus nunc. Phasellus hendrerit sagittis fermentum. Donec finibus, lectus ut convallis venenatis, felis augue tempor lectus, at dapibus mi erat id est. Nullam id velit vitae velit congue semper. Maecenas vitae ipsum vitae enim fringilla laoreet. Pellentesque posuere laoreet tortor id volutpat. Aliquam sem nunc, suscipit porttitor pulvinar at, ultricies tincidunt felis.
|
21
|
+
|
22
|
+
Proin ac blandit magna, vel ultrices magna. Suspendisse non ligula lobortis, faucibus lorem et, mattis justo. Donec lobortis consequat augue ac euismod. Morbi in turpis risus. Ut eu tincidunt arcu. Donec suscipit, neque sit amet tincidunt tristique, lacus augue malesuada lectus, hendrerit mattis leo augue vel sapien. Aliquam ultrices nulla sed rutrum facilisis. Ut bibendum hendrerit fringilla.
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
The first section is <<This is a test>>
|
27
|
+
|
28
|
+
The professor harrumphed and said: I repeat, equation <<qq>> is very important.
|
metadata
ADDED
@@ -0,0 +1,210 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: asciidoctor-latex
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.5.0.dev
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Carlson
|
8
|
+
- Dan Allen
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: asciidoctor
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 1.5.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 1.5.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: htmlentities
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '4.3'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '4.3'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '10.0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '10.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: yard
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0.8'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.8'
|
70
|
+
description: An extension for Asciidoctor that converts AsciiDoc documents to LaTeX
|
71
|
+
and provides LaTeX extensions to Asciidoc.
|
72
|
+
email: jxxcarlson@mac.com
|
73
|
+
executables:
|
74
|
+
- asciidoctor-latex
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files: []
|
77
|
+
files:
|
78
|
+
- LICENSE.adoc
|
79
|
+
- README.adoc
|
80
|
+
- Rakefile
|
81
|
+
- bin/asciidoctor-latex
|
82
|
+
- data/asciidoc_tex_macros.tex
|
83
|
+
- data/preamble_article.tex
|
84
|
+
- data/preamble_book.tex
|
85
|
+
- lib/asciidoctor-latex.rb
|
86
|
+
- lib/asciidoctor/latex.rb
|
87
|
+
- lib/asciidoctor/latex/chem.rb
|
88
|
+
- lib/asciidoctor/latex/click_block.rb
|
89
|
+
- lib/asciidoctor/latex/converter.rb
|
90
|
+
- lib/asciidoctor/latex/core_ext/colored_string.rb
|
91
|
+
- lib/asciidoctor/latex/dollar.rb
|
92
|
+
- lib/asciidoctor/latex/ent_to_uni.rb
|
93
|
+
- lib/asciidoctor/latex/environment_block.rb
|
94
|
+
- lib/asciidoctor/latex/inject_html.rb
|
95
|
+
- lib/asciidoctor/latex/inline_macros.rb
|
96
|
+
- lib/asciidoctor/latex/macro_insert.rb
|
97
|
+
- lib/asciidoctor/latex/node_processors.rb
|
98
|
+
- lib/asciidoctor/latex/prepend_processor.rb
|
99
|
+
- lib/asciidoctor/latex/preprocess.rb
|
100
|
+
- lib/asciidoctor/latex/tex_block.rb
|
101
|
+
- lib/asciidoctor/latex/tex_postprocessor.rb
|
102
|
+
- lib/asciidoctor/latex/tex_preprocessor.rb
|
103
|
+
- lib/asciidoctor/latex/version.rb
|
104
|
+
- manual.adoc
|
105
|
+
- rake/cacert.pem
|
106
|
+
- rake/jdk_helper.rb
|
107
|
+
- rake/tar-licence
|
108
|
+
- rake/tar.rb
|
109
|
+
- rspec/README.adoc
|
110
|
+
- rspec/a.rb
|
111
|
+
- rspec/b.rb
|
112
|
+
- rspec/c.rb
|
113
|
+
- rspec/data/tex1
|
114
|
+
- rspec/data/tex2
|
115
|
+
- rspec/data/tex2.expect
|
116
|
+
- rspec/transform.rb
|
117
|
+
- spec/README.adoc
|
118
|
+
- spec/a.rb
|
119
|
+
- spec/b.rb
|
120
|
+
- spec/c.rb
|
121
|
+
- spec/data/foo
|
122
|
+
- spec/data/lorem
|
123
|
+
- spec/data/tex1
|
124
|
+
- spec/data/tex2
|
125
|
+
- spec/data/tex2.expect
|
126
|
+
- spec/transform.rb
|
127
|
+
- test/examples/adoc/env.adoc
|
128
|
+
- test/examples/adoc/eq.adoc
|
129
|
+
- test/examples/adoc/zero.adoc
|
130
|
+
- test/examples/asciidoc-html/block_open.adoc
|
131
|
+
- test/examples/tex/env.tex
|
132
|
+
- test/examples/tex/eq.tex
|
133
|
+
- test/examples/tex/zero.tex
|
134
|
+
- test/html_test.rb
|
135
|
+
- test/latex_test.rb
|
136
|
+
- test/test_helper.rb
|
137
|
+
- test_jc/admonition.adoc
|
138
|
+
- test_jc/click.adoc
|
139
|
+
- test_jc/env.adoc
|
140
|
+
- test_jc/example.adoc
|
141
|
+
- test_jc/floating_title.adoc
|
142
|
+
- test_jc/image.adoc
|
143
|
+
- test_jc/images/frog.jpg
|
144
|
+
- test_jc/images/red_frog.jpeg
|
145
|
+
- test_jc/images/yellow_frog.jpeg
|
146
|
+
- test_jc/listing.adoc
|
147
|
+
- test_jc/lists.adoc
|
148
|
+
- test_jc/math.adoc
|
149
|
+
- test_jc/preamble.adoc
|
150
|
+
- test_jc/section-numbered.adoc
|
151
|
+
- test_jc/section.adoc
|
152
|
+
- test_jc/sidebar.adoc
|
153
|
+
- test_jc/verse.adoc
|
154
|
+
- try-out/README.adoc
|
155
|
+
- try-out/click.adoc
|
156
|
+
- try-out/code.adoc
|
157
|
+
- try-out/env.adoc
|
158
|
+
- try-out/eq-latex.adoc
|
159
|
+
- try-out/eq-stem.adoc
|
160
|
+
- try-out/eqno-latex.adoc
|
161
|
+
- try-out/math_article.adoc
|
162
|
+
- try-out/pyth-stem.adoc
|
163
|
+
- try-out/theorem-latex.adoc
|
164
|
+
- try-out/xref-equations.adoc
|
165
|
+
homepage: https://github.com/asciidoctor/asciidoctor-latex
|
166
|
+
licenses:
|
167
|
+
- MIT
|
168
|
+
metadata: {}
|
169
|
+
post_install_message:
|
170
|
+
rdoc_options: []
|
171
|
+
require_paths:
|
172
|
+
- lib
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '2.0'
|
178
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">"
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 1.3.1
|
183
|
+
requirements: []
|
184
|
+
rubyforge_project:
|
185
|
+
rubygems_version: 2.4.2
|
186
|
+
signing_key:
|
187
|
+
specification_version: 4
|
188
|
+
summary: Converts AsciiDoc documents to LaTeX, provides LaTeX extensions to Asciidoc
|
189
|
+
test_files:
|
190
|
+
- spec/README.adoc
|
191
|
+
- spec/a.rb
|
192
|
+
- spec/b.rb
|
193
|
+
- spec/c.rb
|
194
|
+
- spec/data/foo
|
195
|
+
- spec/data/lorem
|
196
|
+
- spec/data/tex1
|
197
|
+
- spec/data/tex2
|
198
|
+
- spec/data/tex2.expect
|
199
|
+
- spec/transform.rb
|
200
|
+
- test/examples/adoc/env.adoc
|
201
|
+
- test/examples/adoc/eq.adoc
|
202
|
+
- test/examples/adoc/zero.adoc
|
203
|
+
- test/examples/asciidoc-html/block_open.adoc
|
204
|
+
- test/examples/tex/env.tex
|
205
|
+
- test/examples/tex/eq.tex
|
206
|
+
- test/examples/tex/zero.tex
|
207
|
+
- test/html_test.rb
|
208
|
+
- test/latex_test.rb
|
209
|
+
- test/test_helper.rb
|
210
|
+
has_rdoc: yard
|