asciidoctor-latex 1.5.0.5.dev → 1.5.0.7.dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/asciidoc_tex_macros.tex +3 -1
- data/data/extras.css +125 -5
- data/doc/Asciidoctor.html +19 -4
- data/doc/Asciidoctor/Block.html +1074 -426
- data/doc/Asciidoctor/Converter/Html5Converter.html +28 -4
- data/doc/Asciidoctor/Document.html +73 -89
- data/doc/Asciidoctor/Inline.html +154 -134
- data/doc/Asciidoctor/LaTeX.html +5 -5
- data/doc/Asciidoctor/LaTeX/Chem.html +2 -2
- data/doc/Asciidoctor/LaTeX/ChemInlineMacro.html +7 -5
- data/doc/Asciidoctor/LaTeX/ClickBlock.html +13 -7
- data/doc/Asciidoctor/LaTeX/ClickStyleInsert.html +10 -9
- data/doc/Asciidoctor/LaTeX/Converter.html +33 -22
- data/doc/Asciidoctor/LaTeX/Dollar.html +2 -2
- data/doc/Asciidoctor/LaTeX/EntToUni.html +2 -2
- data/doc/Asciidoctor/LaTeX/EnvironmentBlock.html +26 -12
- data/doc/Asciidoctor/LaTeX/HTMLPostprocessor.html +15 -9
- data/doc/Asciidoctor/LaTeX/Html5ConverterExtensions.html +701 -180
- data/doc/Asciidoctor/LaTeX/InjectHTML.html +3 -3
- data/doc/Asciidoctor/LaTeX/MacroInsert.html +2 -2
- data/doc/Asciidoctor/LaTeX/TeXBlock.html +2 -2
- data/doc/Asciidoctor/LaTeX/TeXPostProcess.html +49 -49
- data/doc/Asciidoctor/LaTeX/TeXPreprocessor.html +93 -22
- data/doc/Asciidoctor/LaTeX/TexPostprocessor.html +8 -4
- data/doc/Asciidoctor/List.html +54 -116
- data/doc/Asciidoctor/Section.html +23 -19
- data/doc/Asciidoctor/Table.html +25 -25
- data/doc/PreambleProcessor.html +2 -2
- data/doc/String.html +257 -4
- data/doc/_index.html +54 -5
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +2 -2
- data/doc/file.README.html +113 -51
- data/doc/file_list.html +3 -0
- data/doc/index.html +113 -51
- data/doc/method_list.html +253 -55
- data/doc/top-level-namespace.html +25 -4
- data/lib/asciidoctor/latex/converter.rb +171 -45
- data/lib/asciidoctor/latex/{css.rb → css_doc_info.rb} +0 -0
- data/lib/asciidoctor/latex/environment_block.rb +137 -0
- data/lib/asciidoctor/latex/inject_html.rb +25 -13
- data/lib/asciidoctor/latex/inline_macros.rb +44 -2
- data/lib/asciidoctor/latex/macro_preprocessor.rb +28 -0
- data/lib/asciidoctor/latex/node_processors.rb +23 -2
- data/lib/asciidoctor/latex/sectnumoffset-treeprocessor.rb +43 -0
- data/lib/asciidoctor/latex/tex_postprocessor.rb +1 -1
- data/lib/asciidoctor/latex/tex_preprocessor.rb +2 -2
- data/lib/asciidoctor/latex/version.rb +1 -1
- data/spec/make_index_spec.rb +104 -0
- data/test/examples/tex/block_preamble.tex +0 -4
- metadata +8 -4
data/doc/_index.html
CHANGED
@@ -70,6 +70,9 @@
|
|
70
70
|
<li class="r2"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></li>
|
71
71
|
|
72
72
|
|
73
|
+
<li class="r1"><a href="file.tech-report.html" title="tech-report">tech-report</a></li>
|
74
|
+
|
75
|
+
|
73
76
|
</ul>
|
74
77
|
|
75
78
|
<div class="clear"></div>
|
@@ -115,6 +118,11 @@
|
|
115
118
|
<li class="letter">C</li>
|
116
119
|
<ul>
|
117
120
|
|
121
|
+
<li>
|
122
|
+
<span class='object_link'><a href="CSSDocinfoProcessor.html" title="CSSDocinfoProcessor (class)">CSSDocinfoProcessor</a></span>
|
123
|
+
|
124
|
+
</li>
|
125
|
+
|
118
126
|
<li>
|
119
127
|
<span class='object_link'><a href="Asciidoctor/LaTeX/Chem.html" title="Asciidoctor::LaTeX::Chem (class)">Chem</a></span>
|
120
128
|
|
@@ -194,6 +202,28 @@
|
|
194
202
|
|
195
203
|
</li>
|
196
204
|
|
205
|
+
<li>
|
206
|
+
<span class='object_link'><a href="Asciidoctor/LaTeX/EnvironmentBlock2.html" title="Asciidoctor::LaTeX::EnvironmentBlock2 (class)">EnvironmentBlock2</a></span>
|
207
|
+
|
208
|
+
<small>(Asciidoctor::LaTeX)</small>
|
209
|
+
|
210
|
+
</li>
|
211
|
+
|
212
|
+
</ul>
|
213
|
+
</ul>
|
214
|
+
|
215
|
+
|
216
|
+
<ul id="alpha_G" class="alpha">
|
217
|
+
<li class="letter">G</li>
|
218
|
+
<ul>
|
219
|
+
|
220
|
+
<li>
|
221
|
+
<span class='object_link'><a href="Asciidoctor/LaTeX/GlossInlineMacro.html" title="Asciidoctor::LaTeX::GlossInlineMacro (class)">GlossInlineMacro</a></span>
|
222
|
+
|
223
|
+
<small>(Asciidoctor::LaTeX)</small>
|
224
|
+
|
225
|
+
</li>
|
226
|
+
|
197
227
|
</ul>
|
198
228
|
</ul>
|
199
229
|
|
@@ -227,10 +257,20 @@
|
|
227
257
|
</ul>
|
228
258
|
|
229
259
|
|
260
|
+
</td><td valign='top' width="33%">
|
261
|
+
|
262
|
+
|
230
263
|
<ul id="alpha_I" class="alpha">
|
231
264
|
<li class="letter">I</li>
|
232
265
|
<ul>
|
233
266
|
|
267
|
+
<li>
|
268
|
+
<span class='object_link'><a href="Asciidoctor/LaTeX/IndexTermInlineMacro.html" title="Asciidoctor::LaTeX::IndexTermInlineMacro (class)">IndexTermInlineMacro</a></span>
|
269
|
+
|
270
|
+
<small>(Asciidoctor::LaTeX)</small>
|
271
|
+
|
272
|
+
</li>
|
273
|
+
|
234
274
|
<li>
|
235
275
|
<span class='object_link'><a href="Asciidoctor/LaTeX/InjectHTML.html" title="Asciidoctor::LaTeX::InjectHTML (class)">InjectHTML</a></span>
|
236
276
|
|
@@ -249,9 +289,6 @@
|
|
249
289
|
</ul>
|
250
290
|
|
251
291
|
|
252
|
-
</td><td valign='top' width="33%">
|
253
|
-
|
254
|
-
|
255
292
|
<ul id="alpha_L" class="alpha">
|
256
293
|
<li class="letter">L</li>
|
257
294
|
<ul>
|
@@ -285,6 +322,13 @@
|
|
285
322
|
|
286
323
|
</li>
|
287
324
|
|
325
|
+
<li>
|
326
|
+
<span class='object_link'><a href="Asciidoctor/LaTeX/MacroPreprocessor.html" title="Asciidoctor::LaTeX::MacroPreprocessor (class)">MacroPreprocessor</a></span>
|
327
|
+
|
328
|
+
<small>(Asciidoctor::LaTeX)</small>
|
329
|
+
|
330
|
+
</li>
|
331
|
+
|
288
332
|
</ul>
|
289
333
|
</ul>
|
290
334
|
|
@@ -361,6 +405,11 @@
|
|
361
405
|
|
362
406
|
</li>
|
363
407
|
|
408
|
+
<li>
|
409
|
+
<span class='object_link'><a href="TexUtilities.html" title="TexUtilities (module)">TexUtilities</a></span>
|
410
|
+
|
411
|
+
</li>
|
412
|
+
|
364
413
|
</ul>
|
365
414
|
</ul>
|
366
415
|
|
@@ -373,9 +422,9 @@
|
|
373
422
|
</div>
|
374
423
|
|
375
424
|
<div id="footer">
|
376
|
-
Generated on
|
425
|
+
Generated on Tue May 3 13:31:55 2016 by
|
377
426
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
378
|
-
0.8.7.6 (ruby-2.
|
427
|
+
0.8.7.6 (ruby-2.3.0).
|
379
428
|
</div>
|
380
429
|
|
381
430
|
</body>
|
data/doc/class_list.html
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
<ul id="full_list" class="class">
|
52
52
|
<li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
|
53
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="Asciidoctor.html" title="Asciidoctor (module)">Asciidoctor</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Asciidoctor/Block.html" title="Asciidoctor::Block (class)">Block</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Document.html" title="Asciidoctor::Document (class)">Document</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Inline.html" title="Asciidoctor::Inline (class)">Inline</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Asciidoctor/LaTeX.html" title="Asciidoctor::LaTeX (module)">LaTeX</a></span><small class='search_info'>Asciidoctor</small></li><ul><li><span class='object_link'><a href="Asciidoctor/LaTeX/Chem.html" title="Asciidoctor::LaTeX::Chem (class)">Chem</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/ChemInlineMacro.html" title="Asciidoctor::LaTeX::ChemInlineMacro (class)">ChemInlineMacro</a></span> < InlineMacroProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/ClickBlock.html" title="Asciidoctor::LaTeX::ClickBlock (class)">ClickBlock</a></span> < BlockProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/ClickStyleInsert.html" title="Asciidoctor::LaTeX::ClickStyleInsert (class)">ClickStyleInsert</a></span> < Preprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/Converter.html" title="Asciidoctor::LaTeX::Converter (class)">Converter</a></span> < Object<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/Dollar.html" title="Asciidoctor::LaTeX::Dollar (class)">Dollar</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/EntToUni.html" title="Asciidoctor::LaTeX::EntToUni (class)">EntToUni</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/EnvironmentBlock.html" title="Asciidoctor::LaTeX::EnvironmentBlock (class)">EnvironmentBlock</a></span> < BlockProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/HTMLPostprocessor.html" title="Asciidoctor::LaTeX::HTMLPostprocessor (class)">HTMLPostprocessor</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/Html5ConverterExtensions.html" title="Asciidoctor::LaTeX::Html5ConverterExtensions (module)">Html5ConverterExtensions</a></span><small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/InjectHTML.html" title="Asciidoctor::LaTeX::InjectHTML (class)">InjectHTML</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/MacroInsert.html" title="Asciidoctor::LaTeX::MacroInsert (class)">MacroInsert</a></span> < Preprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TeXBlock.html" title="Asciidoctor::LaTeX::TeXBlock (module)">TeXBlock</a></span><small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TeXPostProcess.html" title="Asciidoctor::LaTeX::TeXPostProcess (module)">TeXPostProcess</a></span><small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TeXPreprocessor.html" title="Asciidoctor::LaTeX::TeXPreprocessor (class)">TeXPreprocessor</a></span> < Preprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TexPostprocessor.html" title="Asciidoctor::LaTeX::TexPostprocessor (class)">TexPostprocessor</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li></ul><li><span class='object_link'><a href="Asciidoctor/List.html" title="Asciidoctor::List (class)">List</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Section.html" title="Asciidoctor::Section (class)">Section</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Table.html" title="Asciidoctor::Table (class)">Table</a></span> < Object<small class='search_info'>Asciidoctor</small></li></ul><li><span class='object_link'><a href="Asciidoctor/Converter/Html5Converter.html" title="Asciidoctor::Converter::Html5Converter (class)">Asciidoctor::Converter::Html5Converter</a></span> < Object<small class='search_info'>Asciidoctor::Converter</small></li><li><span class='object_link'><a href="PreambleProcessor.html" title="PreambleProcessor (class)">PreambleProcessor</a></span> < IncludeProcessor<small class='search_info'>Top Level Namespace</small></li><li><span class='object_link'><a href="String.html" title="String (class)">String</a></span> < Object<small class='search_info'>Top Level Namespace</small></li>
|
53
|
+
<li><a class='toggle'></a> <span class='object_link'><a href="Asciidoctor.html" title="Asciidoctor (module)">Asciidoctor</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Asciidoctor/Block.html" title="Asciidoctor::Block (class)">Block</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Document.html" title="Asciidoctor::Document (class)">Document</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Inline.html" title="Asciidoctor::Inline (class)">Inline</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Asciidoctor/LaTeX.html" title="Asciidoctor::LaTeX (module)">LaTeX</a></span><small class='search_info'>Asciidoctor</small></li><ul><li><span class='object_link'><a href="Asciidoctor/LaTeX/Chem.html" title="Asciidoctor::LaTeX::Chem (class)">Chem</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/ChemInlineMacro.html" title="Asciidoctor::LaTeX::ChemInlineMacro (class)">ChemInlineMacro</a></span> < InlineMacroProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/ClickBlock.html" title="Asciidoctor::LaTeX::ClickBlock (class)">ClickBlock</a></span> < BlockProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/ClickStyleInsert.html" title="Asciidoctor::LaTeX::ClickStyleInsert (class)">ClickStyleInsert</a></span> < Preprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/Converter.html" title="Asciidoctor::LaTeX::Converter (class)">Converter</a></span> < Object<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/Dollar.html" title="Asciidoctor::LaTeX::Dollar (class)">Dollar</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/EntToUni.html" title="Asciidoctor::LaTeX::EntToUni (class)">EntToUni</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/EnvironmentBlock.html" title="Asciidoctor::LaTeX::EnvironmentBlock (class)">EnvironmentBlock</a></span> < BlockProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/EnvironmentBlock2.html" title="Asciidoctor::LaTeX::EnvironmentBlock2 (class)">EnvironmentBlock2</a></span> < BlockProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/GlossInlineMacro.html" title="Asciidoctor::LaTeX::GlossInlineMacro (class)">GlossInlineMacro</a></span> < InlineMacroProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/HTMLPostprocessor.html" title="Asciidoctor::LaTeX::HTMLPostprocessor (class)">HTMLPostprocessor</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/Html5ConverterExtensions.html" title="Asciidoctor::LaTeX::Html5ConverterExtensions (module)">Html5ConverterExtensions</a></span><small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/IndexTermInlineMacro.html" title="Asciidoctor::LaTeX::IndexTermInlineMacro (class)">IndexTermInlineMacro</a></span> < InlineMacroProcessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/InjectHTML.html" title="Asciidoctor::LaTeX::InjectHTML (class)">InjectHTML</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/MacroInsert.html" title="Asciidoctor::LaTeX::MacroInsert (class)">MacroInsert</a></span> < Preprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/MacroPreprocessor.html" title="Asciidoctor::LaTeX::MacroPreprocessor (class)">MacroPreprocessor</a></span> < Preprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TeXBlock.html" title="Asciidoctor::LaTeX::TeXBlock (module)">TeXBlock</a></span><small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TeXPostProcess.html" title="Asciidoctor::LaTeX::TeXPostProcess (module)">TeXPostProcess</a></span><small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TeXPreprocessor.html" title="Asciidoctor::LaTeX::TeXPreprocessor (class)">TeXPreprocessor</a></span> < Preprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li><li><span class='object_link'><a href="Asciidoctor/LaTeX/TexPostprocessor.html" title="Asciidoctor::LaTeX::TexPostprocessor (class)">TexPostprocessor</a></span> < Postprocessor<small class='search_info'>Asciidoctor::LaTeX</small></li></ul><li><span class='object_link'><a href="Asciidoctor/List.html" title="Asciidoctor::List (class)">List</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Section.html" title="Asciidoctor::Section (class)">Section</a></span> < Object<small class='search_info'>Asciidoctor</small></li><li><span class='object_link'><a href="Asciidoctor/Table.html" title="Asciidoctor::Table (class)">Table</a></span> < Object<small class='search_info'>Asciidoctor</small></li></ul><li><span class='object_link'><a href="Asciidoctor/Converter/Html5Converter.html" title="Asciidoctor::Converter::Html5Converter (class)">Asciidoctor::Converter::Html5Converter</a></span> < Object<small class='search_info'>Asciidoctor::Converter</small></li><li><span class='object_link'><a href="CSSDocinfoProcessor.html" title="CSSDocinfoProcessor (class)">CSSDocinfoProcessor</a></span> < DocinfoProcessor<small class='search_info'>Top Level Namespace</small></li><li><span class='object_link'><a href="PreambleProcessor.html" title="PreambleProcessor (class)">PreambleProcessor</a></span> < IncludeProcessor<small class='search_info'>Top Level Namespace</small></li><li><span class='object_link'><a href="String.html" title="String (class)">String</a></span> < Object<small class='search_info'>Top Level Namespace</small></li><li><span class='object_link'><a href="TexUtilities.html" title="TexUtilities (module)">TexUtilities</a></span><small class='search_info'>Top Level Namespace</small></li>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</div>
|
data/doc/file.LICENSE.html
CHANGED
@@ -87,9 +87,9 @@ THE SOFTWARE.</code></pre>
|
|
87
87
|
</div></div></div>
|
88
88
|
|
89
89
|
<div id="footer">
|
90
|
-
Generated on
|
90
|
+
Generated on Tue May 3 13:31:55 2016 by
|
91
91
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
92
|
-
0.8.7.6 (ruby-2.
|
92
|
+
0.8.7.6 (ruby-2.3.0).
|
93
93
|
</div>
|
94
94
|
|
95
95
|
</body>
|
data/doc/file.README.html
CHANGED
@@ -61,7 +61,44 @@
|
|
61
61
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
|
-
<div id="content"><div id='filecontents'><div class="
|
64
|
+
<div id="content"><div id='filecontents'><div id="toc" class="toc">
|
65
|
+
<div id="toctitle">Table of Contents</div>
|
66
|
+
<ul class="sectlevel1">
|
67
|
+
<li><a href="#_purpose">1. Purpose</a></li>
|
68
|
+
<li><a href="#_installation">2. Installation</a>
|
69
|
+
<ul class="sectlevel2">
|
70
|
+
<li><a href="#_from_rubygems">2.1. From Rubygems</a></li>
|
71
|
+
<li><a href="#_from_github">2.2. From GitHub</a></li>
|
72
|
+
</ul>
|
73
|
+
</li>
|
74
|
+
<li><a href="#_commands">3. Commands</a>
|
75
|
+
<ul class="sectlevel2">
|
76
|
+
<li><a href="#_macro_files">3.1. Macro files</a></li>
|
77
|
+
<li><a href="#_switches">3.2. Switches</a></li>
|
78
|
+
</ul>
|
79
|
+
</li>
|
80
|
+
<li><a href="#_document_format">4. Document format</a></li>
|
81
|
+
<li><a href="#_asciidoc_latex_environments">5. Asciidoc-LaTeX environments</a></li>
|
82
|
+
<li><a href="#_click_blocks">6. Click blocks</a></li>
|
83
|
+
</ul>
|
84
|
+
</div>
|
85
|
+
<div id="preamble">
|
86
|
+
<div class="sectionbody">
|
87
|
+
<div class="admonitionblock note">
|
88
|
+
<table>
|
89
|
+
<tr>
|
90
|
+
<td class="icon">
|
91
|
+
<div class="title">Note</div>
|
92
|
+
</td>
|
93
|
+
<td class="content">
|
94
|
+
CHANGELOG.adoc has been added to this repo.
|
95
|
+
</td>
|
96
|
+
</tr>
|
97
|
+
</table>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<div class="sect1">
|
65
102
|
<h2 id="_purpose">1. Purpose</h2>
|
66
103
|
<div class="sectionbody">
|
67
104
|
<div class="paragraph">
|
@@ -70,19 +107,21 @@ for the Asciidoc markup language
|
|
70
107
|
that closely parallels LaTeX. The
|
71
108
|
Asciidoctor-LaTeX converter renders documents written
|
72
109
|
in this extended markup language into both HTML
|
73
|
-
and LaTeX.<
|
110
|
+
and LaTeX.<sup class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnote_1" title="View footnote.">1</a>]</sup></p>
|
74
111
|
</div>
|
75
112
|
<div class="paragraph">
|
76
113
|
<p>Below, we descibe the main
|
77
114
|
features of Asciidoc-LaTeX. However, since
|
78
|
-
|
115
|
+
it will not render in GitHub, you
|
79
116
|
are encouraged to view this write-up:
|
80
117
|
<a href=https://vschool.s3.amazonaws.com/manuscripts/372.html>Asciidoc-LaTeX</a>.
|
81
|
-
For more information on using , please consult the
|
118
|
+
For more information on using Asciidoc-LaTeX, please consult the
|
82
119
|
<a href=http://www.noteshare.io/book/asciidoctor-latex-manual>Asciidoctor-LaTeX manual</a>.
|
83
120
|
For more information on conversion of Asciidoc-LaTeX
|
84
|
-
documents to
|
85
|
-
this repository
|
121
|
+
documents to LaTeX, see the file <code>tech-report.adoc</code> in
|
122
|
+
this repository or consult the
|
123
|
+
<a href=https://vschool.s3.amazonaws.com/manuscripts/389.html>online version</a>,
|
124
|
+
which has a table of contents.</p>
|
86
125
|
</div>
|
87
126
|
<div class="paragraph">
|
88
127
|
<p>Asciidoctor-LaTeX is developed by James Carlson, Jakub Jirutka, and Dan Allen.</p>
|
@@ -93,11 +132,11 @@ this repository.</p>
|
|
93
132
|
<h2 id="_installation">2. Installation</h2>
|
94
133
|
<div class="sectionbody">
|
95
134
|
<div class="sect2">
|
96
|
-
<h3 id="
|
135
|
+
<h3 id="_from_rubygems">2.1. From Rubygems</h3>
|
97
136
|
<div class="paragraph">
|
98
|
-
<p>
|
137
|
+
<p>The development release, currenty 1.5.0.3.dev, is at
|
99
138
|
<a href=https://rubygems.org/gems/asciidoctor-latex>RubyGems.org</a>
|
100
|
-
|
139
|
+
Beta alert!</p>
|
101
140
|
</div>
|
102
141
|
</div>
|
103
142
|
<div class="sect2">
|
@@ -117,7 +156,57 @@ $ gem install *.gem</code></pre>
|
|
117
156
|
</div>
|
118
157
|
</div>
|
119
158
|
<div class="sect1">
|
120
|
-
<h2 id="
|
159
|
+
<h2 id="_commands">3. Commands</h2>
|
160
|
+
<div class="sectionbody">
|
161
|
+
<div class="paragraph">
|
162
|
+
<p>Asciidoc math files can be rendered</p>
|
163
|
+
</div>
|
164
|
+
<div class="dlist">
|
165
|
+
<dl>
|
166
|
+
<dt class="hdlist1">Render as HTML</dt>
|
167
|
+
<dd>
|
168
|
+
<p>Use <code>$ asciidoctor-latex -b html foo.adoc</code> to produce <code>foo.html</code>.
|
169
|
+
With this command the Asciidoc-LaTeX syntax and extensions will be rendered.</p>
|
170
|
+
</dd>
|
171
|
+
<dt class="hdlist1">Render as LaTeX</dt>
|
172
|
+
<dd>
|
173
|
+
<p>Use <code>$ asciidoctor-latex foo.adoc</code>
|
174
|
+
to produce <code>foo.tex</code>.</p>
|
175
|
+
</dd>
|
176
|
+
</dl>
|
177
|
+
</div>
|
178
|
+
<div class="sect2">
|
179
|
+
<h3 id="_macro_files">3.1. Macro files</h3>
|
180
|
+
<div class="paragraph">
|
181
|
+
<p>The contents of a file named <code>macros.tex</code> will
|
182
|
+
read and used by <code>asciidoctor-latex</code>
|
183
|
+
if it is in the same directory as the file
|
184
|
+
being rendered. This is the case regardless
|
185
|
+
of the output format — HTML or tex.</p>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<div class="sect2">
|
189
|
+
<h3 id="_switches">3.2. Switches</h3>
|
190
|
+
<div class="dlist">
|
191
|
+
<dl>
|
192
|
+
<dt class="hdlist1">asciidoctor-latex -a header=no foo.adoc</dt>
|
193
|
+
<dd>
|
194
|
+
<p>Use a minimal header for the generated tex file.</p>
|
195
|
+
</dd>
|
196
|
+
</dl>
|
197
|
+
</div>
|
198
|
+
<div class="paragraph">
|
199
|
+
<p>Asciidoctor-LaTeX’s default form at is <code>:latexmath</code>.
|
200
|
+
To use <code>:stem</code>, put the text <code>:stem:</code>
|
201
|
+
in your file. To turn the switch
|
202
|
+
on and set it to <code>latexmath</code>, say
|
203
|
+
instead of <code>stem:latexmth</code>.</p>
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
<div class="sect1">
|
209
|
+
<h2 id="_document_format">4. Document format</h2>
|
121
210
|
<div class="sectionbody">
|
122
211
|
<div class="paragraph">
|
123
212
|
<p>Asciidoctor supports two closely-related
|
@@ -140,7 +229,7 @@ You will need to express dollar-denominated
|
|
140
229
|
currency using
|
141
230
|
escaped dollar signs, as
|
142
231
|
in the sentence, "He paid $100 for that
|
143
|
-
|
232
|
+
theorem." In AsciiMath, one writes
|
144
233
|
<code>stem:[ a^2 + b^2 = c^2 ]</code>
|
145
234
|
and</p>
|
146
235
|
</div>
|
@@ -155,7 +244,7 @@ and</p>
|
|
155
244
|
</div>
|
156
245
|
</div>
|
157
246
|
<div class="sect1">
|
158
|
-
<h2 id="_asciidoc_latex_environments">
|
247
|
+
<h2 id="_asciidoc_latex_environments">5. Asciidoc-LaTeX environments</h2>
|
159
248
|
<div class="sectionbody">
|
160
249
|
<div class="paragraph">
|
161
250
|
<p>Asciidoc-LaTeX supports an <code>env</code> construct that maps to LaTeX environments.
|
@@ -179,13 +268,16 @@ Environments can contain in-line and display mathematics, e.g.,</p>
|
|
179
268
|
--
|
180
269
|
A two-by-two matrix is invertible if
|
181
270
|
its determinant is nonzero, i.e., if
|
271
|
+
+++
|
182
272
|
\[
|
183
273
|
\left|\begin{matrix}
|
184
274
|
a & b \\
|
185
275
|
c & d
|
186
276
|
\end{matrix}\right| \ne 0
|
187
277
|
\]
|
188
|
-
|
278
|
+
+++
|
279
|
+
|
280
|
+
This result extends to pass:[\(n\times n\)] matrices.
|
189
281
|
--</code></pre>
|
190
282
|
</div>
|
191
283
|
</div>
|
@@ -197,9 +289,9 @@ of <code>[env.NAME]</code>, Thus,one can write</p>
|
|
197
289
|
<div class="content">
|
198
290
|
<pre class="code ruby"><code class="ruby">[env.definition]
|
199
291
|
--
|
200
|
-
An integer
|
201
|
-
|
202
|
-
than
|
292
|
+
An integer pass:[\(n\)] is *prime* if (a) it is not
|
293
|
+
pass:[\(\pm 1\)] and (b) it has no divisors other
|
294
|
+
than pass:[\(\pm 1\)] and pass:[\(\pm n\)].
|
203
295
|
--</code></pre>
|
204
296
|
</div>
|
205
297
|
</div>
|
@@ -231,7 +323,7 @@ for a drink. The lawyer said ...
|
|
231
323
|
</div>
|
232
324
|
</div>
|
233
325
|
<div class="paragraph">
|
234
|
-
<p>then referencing it later as <code>
|
326
|
+
<p>then referencing it later as <code><a href="#mathjoke1">[mathjoke1]</a></code>.</p>
|
235
327
|
</div>
|
236
328
|
<div class="paragraph">
|
237
329
|
<p>Certain environments receive special treatment.
|
@@ -261,7 +353,7 @@ V & = \frac{4}{3} \pi r^3
|
|
261
353
|
</div>
|
262
354
|
</div>
|
263
355
|
<div class="sect1">
|
264
|
-
<h2 id="_click_blocks">
|
356
|
+
<h2 id="_click_blocks">6. Click blocks</h2>
|
265
357
|
<div class="sectionbody">
|
266
358
|
<div class="paragraph">
|
267
359
|
<p>Click blocks are similar to <code>[env]</code> blocks exceptiipoo that the body of
|
@@ -288,47 +380,17 @@ for more information.</p>
|
|
288
380
|
</div>
|
289
381
|
</div>
|
290
382
|
</div>
|
291
|
-
<div class="sect1">
|
292
|
-
<h2 id="_commands_for_rendering">6. Commands for rendering</h2>
|
293
|
-
<div class="sectionbody">
|
294
|
-
<div class="paragraph">
|
295
|
-
<p>Asciidoc math files can be rendered</p>
|
296
|
-
</div>
|
297
|
-
<div class="ulist">
|
298
|
-
<ul>
|
299
|
-
<li>
|
300
|
-
<p>as HTML. Use <code>$ asciidoctor-latex -b html foo.adoc</code> to produce <code>foo.html</code>.
|
301
|
-
With this command the Asciidoc-LaTeX syntax and extensions will be rendered.</p>
|
302
|
-
</li>
|
303
|
-
<li>
|
304
|
-
<p>as LaTeX. Use <code>$ asciidoctor-latex foo.adoc</code>
|
305
|
-
to produce <code>foo.tex</code>.</p>
|
306
|
-
</li>
|
307
|
-
</ul>
|
308
|
-
</div>
|
309
|
-
</div>
|
310
|
-
</div>
|
311
|
-
<div class="sect1">
|
312
|
-
<h2 id="_switches">7. Switches</h2>
|
313
|
-
<div class="sectionbody">
|
314
|
-
<div class="paragraph">
|
315
|
-
<p>Switch <code>:stem:</code> processing on by puttinng the text <code>:stem:</code>
|
316
|
-
in your file. To turn the switch on and set it to <code>latexmath</code>, say
|
317
|
-
instead of <code>stem:latexmth</code>.</p>
|
318
|
-
</div>
|
319
|
-
</div>
|
320
|
-
</div>
|
321
383
|
<div id="footnotes">
|
322
384
|
<hr>
|
323
385
|
<div class="footnote" id="_footnote_1">
|
324
|
-
<a href="#_footnoteref_1">1</a
|
386
|
+
<a href="#_footnoteref_1">1</a>. Many, but not all Asciidoc language features are covered by this release.
|
325
387
|
</div>
|
326
388
|
</div></div></div>
|
327
389
|
|
328
390
|
<div id="footer">
|
329
|
-
Generated on
|
391
|
+
Generated on Tue May 3 13:31:55 2016 by
|
330
392
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
331
|
-
0.8.7.6 (ruby-2.
|
393
|
+
0.8.7.6 (ruby-2.3.0).
|
332
394
|
</div>
|
333
395
|
|
334
396
|
</body>
|
data/doc/file_list.html
CHANGED
@@ -57,6 +57,9 @@
|
|
57
57
|
<li class="r2"><span class="object_link"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></a></li>
|
58
58
|
|
59
59
|
|
60
|
+
<li class="r1"><span class="object_link"><a href="file.tech-report.html" title="tech-report">tech-report</a></a></li>
|
61
|
+
|
62
|
+
|
60
63
|
</ul>
|
61
64
|
</div>
|
62
65
|
</body>
|
data/doc/index.html
CHANGED
@@ -61,7 +61,44 @@
|
|
61
61
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
|
-
<div id="content"><div id='filecontents'><div class="
|
64
|
+
<div id="content"><div id='filecontents'><div id="toc" class="toc">
|
65
|
+
<div id="toctitle">Table of Contents</div>
|
66
|
+
<ul class="sectlevel1">
|
67
|
+
<li><a href="#_purpose">1. Purpose</a></li>
|
68
|
+
<li><a href="#_installation">2. Installation</a>
|
69
|
+
<ul class="sectlevel2">
|
70
|
+
<li><a href="#_from_rubygems">2.1. From Rubygems</a></li>
|
71
|
+
<li><a href="#_from_github">2.2. From GitHub</a></li>
|
72
|
+
</ul>
|
73
|
+
</li>
|
74
|
+
<li><a href="#_commands">3. Commands</a>
|
75
|
+
<ul class="sectlevel2">
|
76
|
+
<li><a href="#_macro_files">3.1. Macro files</a></li>
|
77
|
+
<li><a href="#_switches">3.2. Switches</a></li>
|
78
|
+
</ul>
|
79
|
+
</li>
|
80
|
+
<li><a href="#_document_format">4. Document format</a></li>
|
81
|
+
<li><a href="#_asciidoc_latex_environments">5. Asciidoc-LaTeX environments</a></li>
|
82
|
+
<li><a href="#_click_blocks">6. Click blocks</a></li>
|
83
|
+
</ul>
|
84
|
+
</div>
|
85
|
+
<div id="preamble">
|
86
|
+
<div class="sectionbody">
|
87
|
+
<div class="admonitionblock note">
|
88
|
+
<table>
|
89
|
+
<tr>
|
90
|
+
<td class="icon">
|
91
|
+
<div class="title">Note</div>
|
92
|
+
</td>
|
93
|
+
<td class="content">
|
94
|
+
CHANGELOG.adoc has been added to this repo.
|
95
|
+
</td>
|
96
|
+
</tr>
|
97
|
+
</table>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<div class="sect1">
|
65
102
|
<h2 id="_purpose">1. Purpose</h2>
|
66
103
|
<div class="sectionbody">
|
67
104
|
<div class="paragraph">
|
@@ -70,19 +107,21 @@ for the Asciidoc markup language
|
|
70
107
|
that closely parallels LaTeX. The
|
71
108
|
Asciidoctor-LaTeX converter renders documents written
|
72
109
|
in this extended markup language into both HTML
|
73
|
-
and LaTeX.<
|
110
|
+
and LaTeX.<sup class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnote_1" title="View footnote.">1</a>]</sup></p>
|
74
111
|
</div>
|
75
112
|
<div class="paragraph">
|
76
113
|
<p>Below, we descibe the main
|
77
114
|
features of Asciidoc-LaTeX. However, since
|
78
|
-
|
115
|
+
it will not render in GitHub, you
|
79
116
|
are encouraged to view this write-up:
|
80
117
|
<a href=https://vschool.s3.amazonaws.com/manuscripts/372.html>Asciidoc-LaTeX</a>.
|
81
|
-
For more information on using , please consult the
|
118
|
+
For more information on using Asciidoc-LaTeX, please consult the
|
82
119
|
<a href=http://www.noteshare.io/book/asciidoctor-latex-manual>Asciidoctor-LaTeX manual</a>.
|
83
120
|
For more information on conversion of Asciidoc-LaTeX
|
84
|
-
documents to
|
85
|
-
this repository
|
121
|
+
documents to LaTeX, see the file <code>tech-report.adoc</code> in
|
122
|
+
this repository or consult the
|
123
|
+
<a href=https://vschool.s3.amazonaws.com/manuscripts/389.html>online version</a>,
|
124
|
+
which has a table of contents.</p>
|
86
125
|
</div>
|
87
126
|
<div class="paragraph">
|
88
127
|
<p>Asciidoctor-LaTeX is developed by James Carlson, Jakub Jirutka, and Dan Allen.</p>
|
@@ -93,11 +132,11 @@ this repository.</p>
|
|
93
132
|
<h2 id="_installation">2. Installation</h2>
|
94
133
|
<div class="sectionbody">
|
95
134
|
<div class="sect2">
|
96
|
-
<h3 id="
|
135
|
+
<h3 id="_from_rubygems">2.1. From Rubygems</h3>
|
97
136
|
<div class="paragraph">
|
98
|
-
<p>
|
137
|
+
<p>The development release, currenty 1.5.0.3.dev, is at
|
99
138
|
<a href=https://rubygems.org/gems/asciidoctor-latex>RubyGems.org</a>
|
100
|
-
|
139
|
+
Beta alert!</p>
|
101
140
|
</div>
|
102
141
|
</div>
|
103
142
|
<div class="sect2">
|
@@ -117,7 +156,57 @@ $ gem install *.gem</code></pre>
|
|
117
156
|
</div>
|
118
157
|
</div>
|
119
158
|
<div class="sect1">
|
120
|
-
<h2 id="
|
159
|
+
<h2 id="_commands">3. Commands</h2>
|
160
|
+
<div class="sectionbody">
|
161
|
+
<div class="paragraph">
|
162
|
+
<p>Asciidoc math files can be rendered</p>
|
163
|
+
</div>
|
164
|
+
<div class="dlist">
|
165
|
+
<dl>
|
166
|
+
<dt class="hdlist1">Render as HTML</dt>
|
167
|
+
<dd>
|
168
|
+
<p>Use <code>$ asciidoctor-latex -b html foo.adoc</code> to produce <code>foo.html</code>.
|
169
|
+
With this command the Asciidoc-LaTeX syntax and extensions will be rendered.</p>
|
170
|
+
</dd>
|
171
|
+
<dt class="hdlist1">Render as LaTeX</dt>
|
172
|
+
<dd>
|
173
|
+
<p>Use <code>$ asciidoctor-latex foo.adoc</code>
|
174
|
+
to produce <code>foo.tex</code>.</p>
|
175
|
+
</dd>
|
176
|
+
</dl>
|
177
|
+
</div>
|
178
|
+
<div class="sect2">
|
179
|
+
<h3 id="_macro_files">3.1. Macro files</h3>
|
180
|
+
<div class="paragraph">
|
181
|
+
<p>The contents of a file named <code>macros.tex</code> will
|
182
|
+
read and used by <code>asciidoctor-latex</code>
|
183
|
+
if it is in the same directory as the file
|
184
|
+
being rendered. This is the case regardless
|
185
|
+
of the output format — HTML or tex.</p>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<div class="sect2">
|
189
|
+
<h3 id="_switches">3.2. Switches</h3>
|
190
|
+
<div class="dlist">
|
191
|
+
<dl>
|
192
|
+
<dt class="hdlist1">asciidoctor-latex -a header=no foo.adoc</dt>
|
193
|
+
<dd>
|
194
|
+
<p>Use a minimal header for the generated tex file.</p>
|
195
|
+
</dd>
|
196
|
+
</dl>
|
197
|
+
</div>
|
198
|
+
<div class="paragraph">
|
199
|
+
<p>Asciidoctor-LaTeX’s default form at is <code>:latexmath</code>.
|
200
|
+
To use <code>:stem</code>, put the text <code>:stem:</code>
|
201
|
+
in your file. To turn the switch
|
202
|
+
on and set it to <code>latexmath</code>, say
|
203
|
+
instead of <code>stem:latexmth</code>.</p>
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
<div class="sect1">
|
209
|
+
<h2 id="_document_format">4. Document format</h2>
|
121
210
|
<div class="sectionbody">
|
122
211
|
<div class="paragraph">
|
123
212
|
<p>Asciidoctor supports two closely-related
|
@@ -140,7 +229,7 @@ You will need to express dollar-denominated
|
|
140
229
|
currency using
|
141
230
|
escaped dollar signs, as
|
142
231
|
in the sentence, "He paid $100 for that
|
143
|
-
|
232
|
+
theorem." In AsciiMath, one writes
|
144
233
|
<code>stem:[ a^2 + b^2 = c^2 ]</code>
|
145
234
|
and</p>
|
146
235
|
</div>
|
@@ -155,7 +244,7 @@ and</p>
|
|
155
244
|
</div>
|
156
245
|
</div>
|
157
246
|
<div class="sect1">
|
158
|
-
<h2 id="_asciidoc_latex_environments">
|
247
|
+
<h2 id="_asciidoc_latex_environments">5. Asciidoc-LaTeX environments</h2>
|
159
248
|
<div class="sectionbody">
|
160
249
|
<div class="paragraph">
|
161
250
|
<p>Asciidoc-LaTeX supports an <code>env</code> construct that maps to LaTeX environments.
|
@@ -179,13 +268,16 @@ Environments can contain in-line and display mathematics, e.g.,</p>
|
|
179
268
|
--
|
180
269
|
A two-by-two matrix is invertible if
|
181
270
|
its determinant is nonzero, i.e., if
|
271
|
+
+++
|
182
272
|
\[
|
183
273
|
\left|\begin{matrix}
|
184
274
|
a & b \\
|
185
275
|
c & d
|
186
276
|
\end{matrix}\right| \ne 0
|
187
277
|
\]
|
188
|
-
|
278
|
+
+++
|
279
|
+
|
280
|
+
This result extends to pass:[\(n\times n\)] matrices.
|
189
281
|
--</code></pre>
|
190
282
|
</div>
|
191
283
|
</div>
|
@@ -197,9 +289,9 @@ of <code>[env.NAME]</code>, Thus,one can write</p>
|
|
197
289
|
<div class="content">
|
198
290
|
<pre class="code ruby"><code class="ruby">[env.definition]
|
199
291
|
--
|
200
|
-
An integer
|
201
|
-
|
202
|
-
than
|
292
|
+
An integer pass:[\(n\)] is *prime* if (a) it is not
|
293
|
+
pass:[\(\pm 1\)] and (b) it has no divisors other
|
294
|
+
than pass:[\(\pm 1\)] and pass:[\(\pm n\)].
|
203
295
|
--</code></pre>
|
204
296
|
</div>
|
205
297
|
</div>
|
@@ -231,7 +323,7 @@ for a drink. The lawyer said ...
|
|
231
323
|
</div>
|
232
324
|
</div>
|
233
325
|
<div class="paragraph">
|
234
|
-
<p>then referencing it later as <code>
|
326
|
+
<p>then referencing it later as <code><a href="#mathjoke1">[mathjoke1]</a></code>.</p>
|
235
327
|
</div>
|
236
328
|
<div class="paragraph">
|
237
329
|
<p>Certain environments receive special treatment.
|
@@ -261,7 +353,7 @@ V & = \frac{4}{3} \pi r^3
|
|
261
353
|
</div>
|
262
354
|
</div>
|
263
355
|
<div class="sect1">
|
264
|
-
<h2 id="_click_blocks">
|
356
|
+
<h2 id="_click_blocks">6. Click blocks</h2>
|
265
357
|
<div class="sectionbody">
|
266
358
|
<div class="paragraph">
|
267
359
|
<p>Click blocks are similar to <code>[env]</code> blocks exceptiipoo that the body of
|
@@ -288,47 +380,17 @@ for more information.</p>
|
|
288
380
|
</div>
|
289
381
|
</div>
|
290
382
|
</div>
|
291
|
-
<div class="sect1">
|
292
|
-
<h2 id="_commands_for_rendering">6. Commands for rendering</h2>
|
293
|
-
<div class="sectionbody">
|
294
|
-
<div class="paragraph">
|
295
|
-
<p>Asciidoc math files can be rendered</p>
|
296
|
-
</div>
|
297
|
-
<div class="ulist">
|
298
|
-
<ul>
|
299
|
-
<li>
|
300
|
-
<p>as HTML. Use <code>$ asciidoctor-latex -b html foo.adoc</code> to produce <code>foo.html</code>.
|
301
|
-
With this command the Asciidoc-LaTeX syntax and extensions will be rendered.</p>
|
302
|
-
</li>
|
303
|
-
<li>
|
304
|
-
<p>as LaTeX. Use <code>$ asciidoctor-latex foo.adoc</code>
|
305
|
-
to produce <code>foo.tex</code>.</p>
|
306
|
-
</li>
|
307
|
-
</ul>
|
308
|
-
</div>
|
309
|
-
</div>
|
310
|
-
</div>
|
311
|
-
<div class="sect1">
|
312
|
-
<h2 id="_switches">7. Switches</h2>
|
313
|
-
<div class="sectionbody">
|
314
|
-
<div class="paragraph">
|
315
|
-
<p>Switch <code>:stem:</code> processing on by puttinng the text <code>:stem:</code>
|
316
|
-
in your file. To turn the switch on and set it to <code>latexmath</code>, say
|
317
|
-
instead of <code>stem:latexmth</code>.</p>
|
318
|
-
</div>
|
319
|
-
</div>
|
320
|
-
</div>
|
321
383
|
<div id="footnotes">
|
322
384
|
<hr>
|
323
385
|
<div class="footnote" id="_footnote_1">
|
324
|
-
<a href="#_footnoteref_1">1</a
|
386
|
+
<a href="#_footnoteref_1">1</a>. Many, but not all Asciidoc language features are covered by this release.
|
325
387
|
</div>
|
326
388
|
</div></div></div>
|
327
389
|
|
328
390
|
<div id="footer">
|
329
|
-
Generated on
|
391
|
+
Generated on Tue May 3 13:31:55 2016 by
|
330
392
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
331
|
-
0.8.7.6 (ruby-2.
|
393
|
+
0.8.7.6 (ruby-2.3.0).
|
332
394
|
</div>
|
333
395
|
|
334
396
|
</body>
|