asciidoctor-latex 1.5.0.2.dev → 1.5.0.3.dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +17 -0
  3. data/README.adoc +18 -4
  4. data/doc/Asciidoctor.html +131 -0
  5. data/doc/Asciidoctor/Block.html +1700 -0
  6. data/doc/Asciidoctor/Converter/Html5Converter.html +120 -0
  7. data/doc/Asciidoctor/Document.html +327 -0
  8. data/doc/Asciidoctor/Inline.html +594 -0
  9. data/doc/Asciidoctor/LaTeX.html +167 -0
  10. data/doc/Asciidoctor/LaTeX/Chem.html +210 -0
  11. data/doc/Asciidoctor/LaTeX/ChemInlineMacro.html +194 -0
  12. data/doc/Asciidoctor/LaTeX/ClickBlock.html +344 -0
  13. data/doc/Asciidoctor/LaTeX/ClickStyleInsert.html +283 -0
  14. data/doc/Asciidoctor/LaTeX/Converter.html +321 -0
  15. data/doc/Asciidoctor/LaTeX/Dollar.html +203 -0
  16. data/doc/Asciidoctor/LaTeX/EntToUni.html +194 -0
  17. data/doc/Asciidoctor/LaTeX/EnvironmentBlock.html +420 -0
  18. data/doc/Asciidoctor/LaTeX/HTMLPostprocessor.html +204 -0
  19. data/doc/Asciidoctor/LaTeX/Html5ConverterExtensions.html +905 -0
  20. data/doc/Asciidoctor/LaTeX/InjectHTML.html +192 -0
  21. data/doc/Asciidoctor/LaTeX/MacroInsert.html +300 -0
  22. data/doc/Asciidoctor/LaTeX/TeXBlock.html +644 -0
  23. data/doc/Asciidoctor/LaTeX/TeXPostProcess.html +504 -0
  24. data/doc/Asciidoctor/LaTeX/TeXPreprocessor.html +287 -0
  25. data/doc/Asciidoctor/LaTeX/TexPostprocessor.html +209 -0
  26. data/doc/Asciidoctor/List.html +483 -0
  27. data/doc/Asciidoctor/Section.html +219 -0
  28. data/doc/Asciidoctor/Table.html +227 -0
  29. data/doc/PreambleProcessor.html +202 -0
  30. data/doc/String.html +587 -0
  31. data/doc/_index.html +382 -0
  32. data/doc/class_list.html +58 -0
  33. data/doc/css/common.css +1 -0
  34. data/doc/css/full_list.css +57 -0
  35. data/doc/css/style.css +339 -0
  36. data/doc/file.LICENSE.html +96 -0
  37. data/doc/file.README.html +335 -0
  38. data/doc/file.manual.html +479 -0
  39. data/doc/file_list.html +63 -0
  40. data/doc/frames.html +26 -0
  41. data/doc/index.html +335 -0
  42. data/doc/js/app.js +219 -0
  43. data/doc/js/full_list.js +181 -0
  44. data/doc/js/jquery.js +4 -0
  45. data/doc/method_list.html +549 -0
  46. data/doc/top-level-namespace.html +114 -0
  47. data/lib/asciidoctor/latex/converter.rb +2 -4
  48. data/lib/asciidoctor/latex/tex_preprocessor.rb +19 -4
  49. data/lib/asciidoctor/latex/version.rb +1 -1
  50. data/test/examples/adoc/exponent1.adoc +2 -0
  51. data/test/examples/adoc/exponent2.adoc +4 -0
  52. data/test/examples/adoc/macro_underscore.adoc +5 -0
  53. data/test/examples/adoc/math.adoc +2 -2
  54. metadata +51 -29
  55. data/rspec/README.adoc +0 -45
  56. data/rspec/a.rb +0 -79
  57. data/rspec/b.rb +0 -111
  58. data/rspec/c.rb +0 -121
  59. data/rspec/data/tex1 +0 -65
  60. data/rspec/data/tex2 +0 -5
  61. data/rspec/data/tex2.expect +0 -5
  62. data/rspec/transform.rb +0 -36
  63. data/spec/README.adoc +0 -45
  64. data/spec/a.rb +0 -79
  65. data/spec/b.rb +0 -111
  66. data/spec/c.rb +0 -121
  67. data/spec/data/foo +0 -1
  68. data/spec/data/lorem +0 -1
  69. data/spec/data/tex1 +0 -65
  70. data/spec/data/tex2 +0 -5
  71. data/spec/data/tex2.expect +0 -5
  72. data/spec/transform.rb +0 -36
@@ -0,0 +1,204 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Asciidoctor::LaTeX::HTMLPostprocessor
8
+
9
+ &mdash; Asciidoctor LaTeX Documentation
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!Asciidoctor/LaTeX/HTMLPostprocessor.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../_index.html">Index (H)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../Asciidoctor.html" title="Asciidoctor (module)">Asciidoctor</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../LaTeX.html" title="Asciidoctor::LaTeX (module)">LaTeX</a></span></span>
36
+ &raquo;
37
+ <span class="title">HTMLPostprocessor</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: Asciidoctor::LaTeX::HTMLPostprocessor
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Extensions::Postprocessor</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Extensions::Postprocessor</li>
82
+
83
+ <li class="next">Asciidoctor::LaTeX::HTMLPostprocessor</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/asciidoctor/latex/tex_postprocessor.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <h2>
113
+ Instance Method Summary
114
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
115
+ </h2>
116
+
117
+ <ul class="summary">
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#process-instance_method" title="#process (instance method)">- (Object) <strong>process</strong>(document, output) </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ <span class="summary_desc"><div class='inline'></div></span>
137
+
138
+ </li>
139
+
140
+
141
+ </ul>
142
+
143
+
144
+
145
+
146
+
147
+ <div id="instance_method_details" class="method_details_list">
148
+ <h2>Instance Method Details</h2>
149
+
150
+
151
+ <div class="method_details first">
152
+ <h3 class="signature first" id="process-instance_method">
153
+
154
+ - (<tt>Object</tt>) <strong>process</strong>(document, output)
155
+
156
+
157
+
158
+
159
+
160
+ </h3><table class="source_code">
161
+ <tr>
162
+ <td>
163
+ <pre class="lines">
164
+
165
+
166
+ 34
167
+ 35
168
+ 36
169
+ 37
170
+ 38
171
+ 39
172
+ 40
173
+ 41
174
+ 42</pre>
175
+ </td>
176
+ <td>
177
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/tex_postprocessor.rb', line 34</span>
178
+
179
+ <span class='kw'>def</span> <span class='id identifier rubyid_process'>process</span> <span class='id identifier rubyid_document'>document</span><span class='comma'>,</span> <span class='id identifier rubyid_output'>output</span>
180
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='id identifier rubyid_output'>output</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\DOLLOD</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\$</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
181
+ <span class='comment'># match_data = output.match /%%(.*)%%/
182
+ </span> <span class='comment'># if match_data
183
+ </span> <span class='comment'># output = output.gsub(match_data[0], match_data[1])
184
+ </span> <span class='comment'># end
185
+ </span> <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='id identifier rubyid_output'>output</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>DOLLOD</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>$</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
186
+ <span class='id identifier rubyid_output'>output</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>!!!BACKSLASH</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\\</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
187
+ <span class='kw'>end</span></pre>
188
+ </td>
189
+ </tr>
190
+ </table>
191
+ </div>
192
+
193
+ </div>
194
+
195
+ </div>
196
+
197
+ <div id="footer">
198
+ Generated on Sun Apr 19 18:37:45 2015 by
199
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
200
+ 0.8.7.6 (ruby-2.1.2).
201
+ </div>
202
+
203
+ </body>
204
+ </html>
@@ -0,0 +1,905 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: Asciidoctor::LaTeX::Html5ConverterExtensions
8
+
9
+ &mdash; Asciidoctor LaTeX Documentation
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!Asciidoctor/LaTeX/Html5ConverterExtensions.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../_index.html">Index (H)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../Asciidoctor.html" title="Asciidoctor (module)">Asciidoctor</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../LaTeX.html" title="Asciidoctor::LaTeX (module)">LaTeX</a></span></span>
36
+ &raquo;
37
+ <span class="title">Html5ConverterExtensions</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Module: Asciidoctor::LaTeX::Html5ConverterExtensions
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">lib/asciidoctor/latex/converter.rb</dd>
83
+
84
+ </dl>
85
+ <div class="clear"></div>
86
+
87
+ <h2>Overview</h2><div class="docstring">
88
+ <div class="discussion">
89
+
90
+ <p>code for Html5ConverterExtension &amp; its insertion template by
91
+ @mojavelinux</p>
92
+
93
+
94
+ </div>
95
+ </div>
96
+ <div class="tags">
97
+
98
+
99
+ </div>
100
+ <h2>Constant Summary</h2>
101
+
102
+ <dl class="constants">
103
+
104
+ <dt id="ENV_CSS-constant" class="">ENV_CSS =
105
+
106
+ </dt>
107
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++&lt;div style=&#39;line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em&#39;&gt;+++</span><span class='tstring_end'>&quot;</span></span></pre></dd>
108
+
109
+ <dt id="DIV_END-constant" class="">DIV_END =
110
+
111
+ </dt>
112
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;/div&gt;+++</span><span class='tstring_end'>&#39;</span></span></pre></dd>
113
+
114
+ <dt id="TABLE_ROW_END-constant" class="">TABLE_ROW_END =
115
+
116
+ </dt>
117
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;/tr&gt;&lt;/table&gt;+++</span><span class='tstring_end'>&#39;</span></span></pre></dd>
118
+
119
+ </dl>
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ <h2>
130
+ Instance Method Summary
131
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
132
+ </h2>
133
+
134
+ <ul class="summary">
135
+
136
+ <li class="public ">
137
+ <span class="summary_signature">
138
+
139
+ <a href="#click-instance_method" title="#click (instance method)">- (Object) <strong>click</strong>(node) </a>
140
+
141
+
142
+
143
+ </span>
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+ <span class="summary_desc"><div class='inline'></div></span>
154
+
155
+ </li>
156
+
157
+
158
+ <li class="public ">
159
+ <span class="summary_signature">
160
+
161
+ <a href="#environment-instance_method" title="#environment (instance method)">- (Object) <strong>environment</strong>(node) </a>
162
+
163
+
164
+
165
+ </span>
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <span class="summary_desc"><div class='inline'>
176
+ <p>Dispatches a handler for the <em>node</em> (`NODE`) based on its role.</p>
177
+ </div></span>
178
+
179
+ </li>
180
+
181
+
182
+ <li class="public ">
183
+ <span class="summary_signature">
184
+
185
+ <a href="#handle_chem-instance_method" title="#handle_chem (instance method)">- (Object) <strong>handle_chem</strong>(node) </a>
186
+
187
+
188
+
189
+ </span>
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+ <span class="summary_desc"><div class='inline'></div></span>
200
+
201
+ </li>
202
+
203
+
204
+ <li class="public ">
205
+ <span class="summary_signature">
206
+
207
+ <a href="#handle_default-instance_method" title="#handle_default (instance method)">- (Object) <strong>handle_default</strong>(node) </a>
208
+
209
+
210
+
211
+ </span>
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+ <span class="summary_desc"><div class='inline'></div></span>
222
+
223
+ </li>
224
+
225
+
226
+ <li class="public ">
227
+ <span class="summary_signature">
228
+
229
+ <a href="#handle_equation-instance_method" title="#handle_equation (instance method)">- (Object) <strong>handle_equation</strong>(node) </a>
230
+
231
+
232
+
233
+ </span>
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+ <span class="summary_desc"><div class='inline'></div></span>
244
+
245
+ </li>
246
+
247
+
248
+ <li class="public ">
249
+ <span class="summary_signature">
250
+
251
+ <a href="#handle_equation_align-instance_method" title="#handle_equation_align (instance method)">- (Object) <strong>handle_equation_align</strong>(node) </a>
252
+
253
+
254
+
255
+ </span>
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+ <span class="summary_desc"><div class='inline'></div></span>
266
+
267
+ </li>
268
+
269
+
270
+ <li class="public ">
271
+ <span class="summary_signature">
272
+
273
+ <a href="#handle_jsxgraph-instance_method" title="#handle_jsxgraph (instance method)">- (Object) <strong>handle_jsxgraph</strong>(node) </a>
274
+
275
+
276
+
277
+ </span>
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+ <span class="summary_desc"><div class='inline'></div></span>
288
+
289
+ </li>
290
+
291
+
292
+ <li class="public ">
293
+ <span class="summary_signature">
294
+
295
+ <a href="#handle_null-instance_method" title="#handle_null (instance method)">- (Object) <strong>handle_null</strong>(node) </a>
296
+
297
+
298
+
299
+ </span>
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+ <span class="summary_desc"><div class='inline'></div></span>
310
+
311
+ </li>
312
+
313
+
314
+ <li class="public ">
315
+ <span class="summary_signature">
316
+
317
+ <a href="#info-instance_method" title="#info (instance method)">- (Object) <strong>info</strong>(node) </a>
318
+
319
+
320
+
321
+ </span>
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+ <span class="summary_desc"><div class='inline'></div></span>
332
+
333
+ </li>
334
+
335
+
336
+ <li class="public ">
337
+ <span class="summary_signature">
338
+
339
+ <a href="#inline_anchor-instance_method" title="#inline_anchor (instance method)">- (Object) <strong>inline_anchor</strong>(node) </a>
340
+
341
+
342
+
343
+ </span>
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+ <span class="summary_desc"><div class='inline'></div></span>
354
+
355
+ </li>
356
+
357
+
358
+ </ul>
359
+
360
+
361
+
362
+
363
+ <div id="instance_method_details" class="method_details_list">
364
+ <h2>Instance Method Details</h2>
365
+
366
+
367
+ <div class="method_details first">
368
+ <h3 class="signature first" id="click-instance_method">
369
+
370
+ - (<tt>Object</tt>) <strong>click</strong>(node)
371
+
372
+
373
+
374
+
375
+
376
+ </h3><table class="source_code">
377
+ <tr>
378
+ <td>
379
+ <pre class="lines">
380
+
381
+
382
+ 191
383
+ 192
384
+ 193
385
+ 194
386
+ 195
387
+ 196</pre>
388
+ </td>
389
+ <td>
390
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 191</span>
391
+
392
+ <span class='kw'>def</span> <span class='id identifier rubyid_click'>click</span> <span class='id identifier rubyid_node'>node</span>
393
+
394
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='const'>ENV_CSS</span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='const'>DIV_END</span><span class='rbracket'>]</span>
395
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>roles</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_roles'>roles</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>click</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> </span><span class='tstring_end'>&#39;</span></span>
396
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span> <span class='id identifier rubyid_node'>node</span>
397
+ <span class='kw'>end</span></pre>
398
+ </td>
399
+ </tr>
400
+ </table>
401
+ </div>
402
+
403
+ <div class="method_details ">
404
+ <h3 class="signature " id="environment-instance_method">
405
+
406
+ - (<tt>Object</tt>) <strong>environment</strong>(node)
407
+
408
+
409
+
410
+
411
+
412
+ </h3><div class="docstring">
413
+ <div class="discussion">
414
+
415
+ <p>Dispatches a handler for the <em>node</em> (`NODE`) based on its role.</p>
416
+
417
+
418
+ </div>
419
+ </div>
420
+ <div class="tags">
421
+
422
+
423
+ </div><table class="source_code">
424
+ <tr>
425
+ <td>
426
+ <pre class="lines">
427
+
428
+
429
+ 168
430
+ 169
431
+ 170
432
+ 171
433
+ 172
434
+ 173
435
+ 174
436
+ 175
437
+ 176
438
+ 177
439
+ 178
440
+ 179
441
+ 180
442
+ 181
443
+ 182
444
+ 183
445
+ 184
446
+ 185
447
+ 186
448
+ 187
449
+ 188
450
+ 189</pre>
451
+ </td>
452
+ <td>
453
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 168</span>
454
+
455
+ <span class='kw'>def</span> <span class='id identifier rubyid_environment'>environment</span> <span class='id identifier rubyid_node'>node</span>
456
+
457
+ <span class='id identifier rubyid_attrs'>attrs</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span>
458
+
459
+ <span class='kw'>case</span> <span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>role</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
460
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>box</span><span class='tstring_end'>&#39;</span></span>
461
+ <span class='id identifier rubyid_handle_null'>handle_null</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
462
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>equation</span><span class='tstring_end'>&#39;</span></span>
463
+ <span class='id identifier rubyid_handle_equation'>handle_equation</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
464
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>equationalign</span><span class='tstring_end'>&#39;</span></span>
465
+ <span class='id identifier rubyid_handle_equation_align'>handle_equation_align</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
466
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>chem</span><span class='tstring_end'>&#39;</span></span>
467
+ <span class='id identifier rubyid_handle_chem'>handle_chem</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
468
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>jsxgraph</span><span class='tstring_end'>&#39;</span></span>
469
+ <span class='id identifier rubyid_handle_jsxgraph'>handle_jsxgraph</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
470
+ <span class='kw'>else</span>
471
+ <span class='id identifier rubyid_handle_default'>handle_default</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
472
+ <span class='kw'>end</span>
473
+
474
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>roles</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_roles'>roles</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>environment</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> </span><span class='tstring_end'>&#39;</span></span>
475
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span> <span class='id identifier rubyid_node'>node</span>
476
+ <span class='kw'>end</span></pre>
477
+ </td>
478
+ </tr>
479
+ </table>
480
+ </div>
481
+
482
+ <div class="method_details ">
483
+ <h3 class="signature " id="handle_chem-instance_method">
484
+
485
+ - (<tt>Object</tt>) <strong>handle_chem</strong>(node)
486
+
487
+
488
+
489
+
490
+
491
+ </h3><table class="source_code">
492
+ <tr>
493
+ <td>
494
+ <pre class="lines">
495
+
496
+
497
+ 264
498
+ 265
499
+ 266
500
+ 267
501
+ 268
502
+ 269
503
+ 270
504
+ 271
505
+ 272</pre>
506
+ </td>
507
+ <td>
508
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 264</span>
509
+
510
+ <span class='kw'>def</span> <span class='id identifier rubyid_handle_chem'>handle_chem</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
511
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_title'>title</span> <span class='op'>=</span> <span class='kw'>nil</span>
512
+ <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>&lt;td style=&quot;text-align:right&quot;&gt;</span><span class='tstring_end'>&#39;</span></span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_caption'>caption</span><span class='embexpr_end'>}</span><span class='tstring_content'>) &lt;/td&gt;</span><span class='tstring_end'>&quot;</span></span>
513
+ <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_number_part'>number_part</span><span class='embexpr_end'>}</span><span class='tstring_content'> +++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
514
+ <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;td style=&quot;width:100%;&quot;&gt;+++</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> \\[\\ce{</span><span class='tstring_end'>&#39;</span></span> <span class='op'>+</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>}\\] </span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;/td&gt;+++</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
515
+ <span class='id identifier rubyid_table_style'>table_style</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>class=&quot;zero&quot; style=&quot;width:100%; border-collapse:collapse; border:0&quot;</span><span class='tstring_end'>&#39;</span></span>
516
+ <span class='id identifier rubyid_row_style'>row_style</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>class=&quot;zero&quot; style=&quot;border-collapse: collapse; border:0; font-size: 10pt; &quot;</span><span class='tstring_end'>&#39;</span></span>
517
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++&lt;table </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_table_style'>table_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;&lt;tr </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_row_style'>row_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;+++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>+</span> <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>+</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;/tr&gt;&lt;/table&gt;+++</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
518
+ <span class='kw'>end</span></pre>
519
+ </td>
520
+ </tr>
521
+ </table>
522
+ </div>
523
+
524
+ <div class="method_details ">
525
+ <h3 class="signature " id="handle_default-instance_method">
526
+
527
+ - (<tt>Object</tt>) <strong>handle_default</strong>(node)
528
+
529
+
530
+
531
+
532
+
533
+ </h3><table class="source_code">
534
+ <tr>
535
+ <td>
536
+ <pre class="lines">
537
+
538
+
539
+ 306
540
+ 307
541
+ 308</pre>
542
+ </td>
543
+ <td>
544
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 306</span>
545
+
546
+ <span class='kw'>def</span> <span class='id identifier rubyid_handle_default'>handle_default</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
547
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='const'>ENV_CSS</span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='const'>DIV_END</span><span class='rbracket'>]</span>
548
+ <span class='kw'>end</span></pre>
549
+ </td>
550
+ </tr>
551
+ </table>
552
+ </div>
553
+
554
+ <div class="method_details ">
555
+ <h3 class="signature " id="handle_equation-instance_method">
556
+
557
+ - (<tt>Object</tt>) <strong>handle_equation</strong>(node)
558
+
559
+
560
+
561
+
562
+
563
+ </h3><table class="source_code">
564
+ <tr>
565
+ <td>
566
+ <pre class="lines">
567
+
568
+
569
+ 233
570
+ 234
571
+ 235
572
+ 236
573
+ 237
574
+ 238
575
+ 239
576
+ 240
577
+ 241
578
+ 242
579
+ 243
580
+ 244
581
+ 245
582
+ 246</pre>
583
+ </td>
584
+ <td>
585
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 233</span>
586
+
587
+ <span class='kw'>def</span> <span class='id identifier rubyid_handle_equation'>handle_equation</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
588
+ <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>options</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
589
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_title'>title</span> <span class='op'>=</span> <span class='kw'>nil</span>
590
+ <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>&lt;td style=&quot;text-align:right&quot;&gt;</span><span class='tstring_end'>&#39;</span></span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_caption'>caption</span><span class='embexpr_end'>}</span><span class='tstring_content'>) &lt;/td&gt;</span><span class='tstring_end'>&quot;</span></span>
591
+ <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_number_part'>number_part</span><span class='embexpr_end'>}</span><span class='tstring_content'> +++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
592
+ <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;td style=&quot;width:100%&quot;;&gt;+++</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\\[</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\\]</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;/td&gt;+++</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
593
+ <span class='id identifier rubyid_table_style'>table_style</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>style=&quot;width:100%; border-collapse:collapse;border:0&quot; class=&quot;zero&quot; </span><span class='tstring_end'>&#39;</span></span>
594
+ <span class='id identifier rubyid_row_style'>row_style</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>style=&quot;border-collapse: collapse; border:0; font-size: 12pt; &quot;</span><span class='tstring_end'>&#39;</span></span>
595
+ <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>numbered</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
596
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++&lt;table </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_table_style'>table_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;&lt;tr </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_row_style'>row_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;+++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>+</span> <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='const'>TABLE_ROW_END</span><span class='rbracket'>]</span>
597
+ <span class='kw'>else</span>
598
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++&lt;table </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_table_style'>table_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;&lt;tr </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_row_style'>row_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;+++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='const'>TABLE_ROW_END</span><span class='rbracket'>]</span>
599
+ <span class='kw'>end</span>
600
+ <span class='kw'>end</span></pre>
601
+ </td>
602
+ </tr>
603
+ </table>
604
+ </div>
605
+
606
+ <div class="method_details ">
607
+ <h3 class="signature " id="handle_equation_align-instance_method">
608
+
609
+ - (<tt>Object</tt>) <strong>handle_equation_align</strong>(node)
610
+
611
+
612
+
613
+
614
+
615
+ </h3><table class="source_code">
616
+ <tr>
617
+ <td>
618
+ <pre class="lines">
619
+
620
+
621
+ 248
622
+ 249
623
+ 250
624
+ 251
625
+ 252
626
+ 253
627
+ 254
628
+ 255
629
+ 256
630
+ 257
631
+ 258
632
+ 259
633
+ 260
634
+ 261
635
+ 262</pre>
636
+ </td>
637
+ <td>
638
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 248</span>
639
+
640
+ <span class='kw'>def</span> <span class='id identifier rubyid_handle_equation_align'>handle_equation_align</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
641
+ <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>options</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
642
+ <span class='id identifier rubyid_attrs'>attrs</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span>
643
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_title'>title</span> <span class='op'>=</span> <span class='kw'>nil</span>
644
+ <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>&lt;td style=&quot;text-align:right&quot;&gt;</span><span class='tstring_end'>&#39;</span></span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_caption'>caption</span><span class='embexpr_end'>}</span><span class='tstring_content'>) &lt;/td&gt;</span><span class='tstring_end'>&quot;</span></span>
645
+ <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_number_part'>number_part</span><span class='embexpr_end'>}</span><span class='tstring_content'> +++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
646
+ <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;td style=&quot;width:100%&quot;;&gt;+++</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\\[\\begin{split}</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>\\end{split}\\]</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>+++&lt;/td&gt;+++</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
647
+ <span class='id identifier rubyid_table_style'>table_style</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>style=&quot;width:100%; border-collapse:collapse;border:0&quot; class=&quot;zero&quot; </span><span class='tstring_end'>&#39;</span></span>
648
+ <span class='id identifier rubyid_row_style'>row_style</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>style=&quot;border-collapse: collapse; border:0; font-size: 12pt; &quot;</span><span class='tstring_end'>&#39;</span></span>
649
+ <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>numbered</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
650
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++&lt;table </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_table_style'>table_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;&lt;tr </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_row_style'>row_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;+++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>+</span> <span class='id identifier rubyid_number_part'>number_part</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='const'>TABLE_ROW_END</span><span class='rbracket'>]</span>
651
+ <span class='kw'>else</span>
652
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>+++&lt;table </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_table_style'>table_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;&lt;tr </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_row_style'>row_style</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;+++</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='id identifier rubyid_equation_part'>equation_part</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='const'>TABLE_ROW_END</span><span class='rbracket'>]</span>
653
+ <span class='kw'>end</span>
654
+ <span class='kw'>end</span></pre>
655
+ </td>
656
+ </tr>
657
+ </table>
658
+ </div>
659
+
660
+ <div class="method_details ">
661
+ <h3 class="signature " id="handle_jsxgraph-instance_method">
662
+
663
+ - (<tt>Object</tt>) <strong>handle_jsxgraph</strong>(node)
664
+
665
+
666
+
667
+
668
+
669
+ </h3><table class="source_code">
670
+ <tr>
671
+ <td>
672
+ <pre class="lines">
673
+
674
+
675
+ 274
676
+ 275
677
+ 276
678
+ 277
679
+ 278
680
+ 279
681
+ 280
682
+ 281
683
+ 282
684
+ 283
685
+ 284
686
+ 285
687
+ 286
688
+ 287
689
+ 288
690
+ 289
691
+ 290
692
+ 291
693
+ 292
694
+ 293
695
+ 294
696
+ 295
697
+ 296
698
+ 297
699
+ 298
700
+ 299
701
+ 300</pre>
702
+ </td>
703
+ <td>
704
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 274</span>
705
+
706
+ <span class='kw'>def</span> <span class='id identifier rubyid_handle_jsxgraph'>handle_jsxgraph</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
707
+ <span class='id identifier rubyid_attrs'>attrs</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span>
708
+ <span class='kw'>if</span> <span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>box</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='kw'>nil</span>
709
+ <span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>box</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>box</span><span class='tstring_end'>&#39;</span></span>
710
+ <span class='kw'>end</span>
711
+ <span class='kw'>if</span> <span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>width</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='kw'>nil</span>
712
+ <span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>width</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>450</span>
713
+ <span class='kw'>end</span>
714
+ <span class='kw'>if</span> <span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>height</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='kw'>nil</span>
715
+ <span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>height</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>450</span>
716
+ <span class='kw'>end</span>
717
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n+++\n</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
718
+ <span class='comment'># line_array += [&quot;&lt;link rel=&#39;stylesheet&#39; type=&#39;text/css&#39; href=&#39;jsxgraph.css&#39; /&gt;&quot;]
719
+ </span>
720
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;link rel=&#39;stylesheet&#39; type=&#39;text/css&#39; href=&#39;http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css&#39; /&gt;</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
721
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>&lt;script type=&quot;text/javascript&quot; src=&quot;//cdnjs.cloudflare.com/ajax/libs/jsxgraph/0.99.3/jsxgraphcore.js&quot;&gt;&lt;/script&gt;</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
722
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;script src=&#39;http://jsxgraph.uni-bayreuth.de/distrib/GeonextReader.js&#39; type=&#39;text/javascript&#39;&gt;&lt;/script&gt;</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
723
+ <span class='comment'># line_array += [&#39;&lt;div id=&quot;box&quot; class=&quot;jxgbox&quot; style=&quot;width:500px; height:500px;&quot;&gt;&lt;/div&gt;&#39;]
724
+ </span> <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;div id=&#39;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>box</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>&#39; class=&#39;jxgbox&#39; style=&#39;width:</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>width</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>px; height:</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attrs'>attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>height</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>px;&#39;&gt;&lt;/div&gt;</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
725
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>&lt;script type=&quot;text/javascript&quot;&gt;</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
726
+
727
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span>
728
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>&lt;/script&gt;</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
729
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>&lt;br/&gt;</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
730
+ <span class='id identifier rubyid_line_array'>line_array</span> <span class='op'>+=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n+++\n</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
731
+ <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span> <span class='op'>=</span> <span class='id identifier rubyid_line_array'>line_array</span>
732
+ <span class='kw'>end</span></pre>
733
+ </td>
734
+ </tr>
735
+ </table>
736
+ </div>
737
+
738
+ <div class="method_details ">
739
+ <h3 class="signature " id="handle_null-instance_method">
740
+
741
+ - (<tt>Object</tt>) <strong>handle_null</strong>(node)
742
+
743
+
744
+
745
+
746
+
747
+ </h3><table class="source_code">
748
+ <tr>
749
+ <td>
750
+ <pre class="lines">
751
+
752
+
753
+ 302
754
+ 303
755
+ 304</pre>
756
+ </td>
757
+ <td>
758
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 302</span>
759
+
760
+ <span class='kw'>def</span> <span class='id identifier rubyid_handle_null'>handle_null</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
761
+
762
+ <span class='kw'>end</span></pre>
763
+ </td>
764
+ </tr>
765
+ </table>
766
+ </div>
767
+
768
+ <div class="method_details ">
769
+ <h3 class="signature " id="info-instance_method">
770
+
771
+ - (<tt>Object</tt>) <strong>info</strong>(node)
772
+
773
+
774
+
775
+
776
+
777
+ </h3><table class="source_code">
778
+ <tr>
779
+ <td>
780
+ <pre class="lines">
781
+
782
+
783
+ 160
784
+ 161
785
+ 162
786
+ 163
787
+ 164</pre>
788
+ </td>
789
+ <td>
790
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 160</span>
791
+
792
+ <span class='kw'>def</span> <span class='id identifier rubyid_info'>info</span> <span class='id identifier rubyid_node'>node</span>
793
+
794
+ <span class='id identifier rubyid_warn'>warn</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n HTMLConverter, node: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_node_name'>node_name</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_red'>red</span> <span class='kw'>if</span> <span class='gvar'>$VERBOSE</span>
795
+
796
+ <span class='kw'>end</span></pre>
797
+ </td>
798
+ </tr>
799
+ </table>
800
+ </div>
801
+
802
+ <div class="method_details ">
803
+ <h3 class="signature " id="inline_anchor-instance_method">
804
+
805
+ - (<tt>Object</tt>) <strong>inline_anchor</strong>(node)
806
+
807
+
808
+
809
+
810
+
811
+ </h3><table class="source_code">
812
+ <tr>
813
+ <td>
814
+ <pre class="lines">
815
+
816
+
817
+ 198
818
+ 199
819
+ 200
820
+ 201
821
+ 202
822
+ 203
823
+ 204
824
+ 205
825
+ 206
826
+ 207
827
+ 208
828
+ 209
829
+ 210
830
+ 211
831
+ 212
832
+ 213
833
+ 214
834
+ 215
835
+ 216
836
+ 217
837
+ 218
838
+ 219
839
+ 220
840
+ 221
841
+ 222
842
+ 223
843
+ 224
844
+ 225
845
+ 226
846
+ 227
847
+ 228
848
+ 229
849
+ 230
850
+ 231</pre>
851
+ </td>
852
+ <td>
853
+ <pre class="code"><span class="info file"># File 'lib/asciidoctor/latex/converter.rb', line 198</span>
854
+
855
+ <span class='kw'>def</span> <span class='id identifier rubyid_inline_anchor'>inline_anchor</span> <span class='id identifier rubyid_node'>node</span>
856
+
857
+ <span class='kw'>case</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
858
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>xref</span><span class='tstring_end'>&#39;</span></span>
859
+ <span class='id identifier rubyid_refid'>refid</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>refid</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
860
+ <span class='kw'>if</span> <span class='id identifier rubyid_refid'>refid</span> <span class='kw'>and</span> <span class='id identifier rubyid_refid'>refid</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>_</span><span class='tstring_end'>&#39;</span></span>
861
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;a href=\#</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_refid'>refid</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_refid'>refid</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>_</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'> </span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/a&gt;</span><span class='tstring_end'>&quot;</span></span>
862
+ <span class='kw'>else</span>
863
+ <span class='id identifier rubyid_refs'>refs</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_parent'>parent</span><span class='period'>.</span><span class='id identifier rubyid_document'>document</span><span class='period'>.</span><span class='id identifier rubyid_references'>references</span><span class='lbracket'>[</span><span class='symbol'>:ids</span><span class='rbracket'>]</span>
864
+ <span class='comment'># FIXME: the next line is HACKISH (and it crashes the app when refs[refid]) is nil)
865
+ </span> <span class='comment'># FIXME: and with the fix for nil results is even more hackish
866
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_refs'>refs</span><span class='lbracket'>[</span><span class='id identifier rubyid_refid'>refid</span><span class='rbracket'>]</span>
867
+ <span class='id identifier rubyid_reftext'>reftext</span> <span class='op'>=</span> <span class='id identifier rubyid_refs'>refs</span><span class='lbracket'>[</span><span class='id identifier rubyid_refid'>refid</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
868
+ <span class='id identifier rubyid_reftext'>reftext</span> <span class='op'>=</span> <span class='id identifier rubyid_reftext'>reftext</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>:.*</span><span class='regexp_end'>/</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
869
+ <span class='kw'>if</span> <span class='id identifier rubyid_refid'>refid</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\Aeq-</span><span class='regexp_end'>/</span></span>
870
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;span&gt;&lt;a href=\#</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_refid'>refid</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;equation </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_reftext'>reftext</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/a&gt;&lt;/span&gt;</span><span class='tstring_end'>&quot;</span></span>
871
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_refid'>refid</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\Aformula-</span><span class='regexp_end'>/</span></span>
872
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;span&gt;&lt;a href=\#</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_refid'>refid</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;formula </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_reftext'>reftext</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/a&gt;&lt;/span&gt;</span><span class='tstring_end'>&quot;</span></span>
873
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_refid'>refid</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\Areaction-</span><span class='regexp_end'>/</span></span>
874
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;span&gt;&lt;a href=\#</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_refid'>refid</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;reaction </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_reftext'>reftext</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/a&gt;&lt;/span&gt;</span><span class='tstring_end'>&quot;</span></span>
875
+ <span class='kw'>else</span>
876
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;span&gt;&lt;a href=\#</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_refid'>refid</span><span class='embexpr_end'>}</span><span class='tstring_content'> style=&#39;text-decoration:none&#39;&gt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_reftext'>reftext</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/a&gt;&lt;/span&gt;</span><span class='tstring_end'>&quot;</span></span>
877
+ <span class='kw'>end</span>
878
+ <span class='kw'>else</span>
879
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>ERROR: refs[refid] was nil</span><span class='tstring_end'>&#39;</span></span>
880
+ <span class='kw'>end</span>
881
+ <span class='kw'>end</span>
882
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>link</span><span class='tstring_end'>&#39;</span></span>
883
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt;a href=</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_target'>target</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/a&gt;</span><span class='tstring_end'>&quot;</span></span>
884
+ <span class='kw'>else</span>
885
+ <span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>FOOBAR</span><span class='tstring_end'>&#39;</span></span>
886
+ <span class='kw'>end</span>
887
+ <span class='id identifier rubyid_output'>output</span>
888
+ <span class='kw'>end</span></pre>
889
+ </td>
890
+ </tr>
891
+ </table>
892
+ </div>
893
+
894
+ </div>
895
+
896
+ </div>
897
+
898
+ <div id="footer">
899
+ Generated on Sun Apr 19 18:37:45 2015 by
900
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
901
+ 0.8.7.6 (ruby-2.1.2).
902
+ </div>
903
+
904
+ </body>
905
+ </html>