git-scribe 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/.gitignore +1 -0
  2. data/Rakefile +31 -0
  3. data/SPEC.asciidoc +126 -0
  4. data/TODO.txt +29 -0
  5. data/bin/git-scribe +2 -1
  6. data/docbook-xsl/.CatalogManager.properties.example +61 -0
  7. data/docbook-xsl/.urilist +1 -0
  8. data/git-scribe.gemspec +32 -0
  9. data/lib/git-scribe.rb +21 -315
  10. data/lib/git-scribe/check.rb +60 -0
  11. data/lib/git-scribe/cli.rb +84 -0
  12. data/lib/git-scribe/generate.rb +222 -0
  13. data/lib/git-scribe/init.rb +16 -0
  14. data/lib/git-scribe/version.rb +3 -0
  15. data/template/.gitignore +1 -0
  16. data/template/.gitscribe +5 -0
  17. data/test/check_test.rb +12 -0
  18. data/test/gen_test.rb +78 -0
  19. data/test/init_test.rb +36 -0
  20. data/test/test_helper.rb +44 -0
  21. metadata +49 -161
  22. data/example/book/big.asc +0 -5604
  23. data/example/book/holmes.asc +0 -12983
  24. data/example/output/META-INF/container.xml +0 -6
  25. data/example/output/OEBPS/ar01s02.html +0 -15
  26. data/example/output/OEBPS/ar01s03.html +0 -3
  27. data/example/output/OEBPS/content.opf +0 -21
  28. data/example/output/OEBPS/index.html +0 -5
  29. data/example/output/OEBPS/toc.ncx +0 -37
  30. data/example/output/a_case_of_identity.html +0 -725
  31. data/example/output/a_example_appendix.html +0 -63
  32. data/example/output/a_migration_notes.html +0 -95
  33. data/example/output/apa.html +0 -20
  34. data/example/output/apb.html +0 -6
  35. data/example/output/apc.html +0 -24
  36. data/example/output/apd.html +0 -30
  37. data/example/output/ape.html +0 -26
  38. data/example/output/apf.html +0 -9
  39. data/example/output/apg.html +0 -42
  40. data/example/output/aph.html +0 -89
  41. data/example/output/ar01s02.html +0 -12
  42. data/example/output/ar01s03.html +0 -34
  43. data/example/output/ar01s04.html +0 -77
  44. data/example/output/ar01s05.html +0 -272
  45. data/example/output/ar01s06.html +0 -35
  46. data/example/output/ar01s07.html +0 -105
  47. data/example/output/ar01s08.html +0 -33
  48. data/example/output/ar01s09.html +0 -12
  49. data/example/output/ar01s10.html +0 -14
  50. data/example/output/ar01s11.html +0 -34
  51. data/example/output/ar01s12.html +0 -63
  52. data/example/output/ar01s13.html +0 -156
  53. data/example/output/ar01s14.html +0 -330
  54. data/example/output/ar01s15.html +0 -22
  55. data/example/output/ar01s16.html +0 -27
  56. data/example/output/ar01s17.html +0 -94
  57. data/example/output/ar01s18.html +0 -359
  58. data/example/output/ar01s19.html +0 -373
  59. data/example/output/ar01s20.html +0 -27
  60. data/example/output/ar01s21.html +0 -33
  61. data/example/output/ar01s22.html +0 -351
  62. data/example/output/ar01s23.html +0 -21
  63. data/example/output/ar01s24.html +0 -69
  64. data/example/output/ar01s25.html +0 -60
  65. data/example/output/ar01s26.html +0 -217
  66. data/example/output/ar01s27.html +0 -88
  67. data/example/output/ar01s28.html +0 -237
  68. data/example/output/ar01s29.html +0 -68
  69. data/example/output/ar01s30.html +0 -154
  70. data/example/output/ar01s31.html +0 -6
  71. data/example/output/ar01s32.html +0 -22
  72. data/example/output/ar01s33.html +0 -209
  73. data/example/output/asciidoc_backends.html +0 -190
  74. data/example/output/asciidoc_document_types.html +0 -131
  75. data/example/output/attribute_entries.html +0 -185
  76. data/example/output/attribute_lists.html +0 -157
  77. data/example/output/attribute_references.html +0 -414
  78. data/example/output/attributelist_element.html +0 -143
  79. data/example/output/b_packager_notes.html +0 -68
  80. data/example/output/bi01.html +0 -18
  81. data/example/output/big.asc +0 -5604
  82. data/example/output/block_element_definitions.html +0 -448
  83. data/example/output/block_titles.html +0 -83
  84. data/example/output/blockid_element.html +0 -80
  85. data/example/output/book.asc +0 -5604
  86. data/example/output/book.epub +0 -0
  87. data/example/output/book.fo +0 -3788
  88. data/example/output/book.html +0 -8793
  89. data/example/output/book.xml +0 -8265
  90. data/example/output/c_asciidoc_safe_mode.html +0 -105
  91. data/example/output/callouts.html +0 -214
  92. data/example/output/catalog +0 -10
  93. data/example/output/colophon.html +0 -397
  94. data/example/output/configuration_files.html +0 -672
  95. data/example/output/converting_docbook_to_other_file_formats.html +0 -324
  96. data/example/output/d_using_asciidoc_with_non-english_languages.html +0 -107
  97. data/example/output/delimited_blocks.html +0 -455
  98. data/example/output/document_attributes.html +0 -95
  99. data/example/output/document_processing.html +0 -116
  100. data/example/output/document_structure.html +0 -493
  101. data/example/output/e_vim_syntax_highlighter.html +0 -111
  102. data/example/output/example_bibliography.html +0 -82
  103. data/example/output/example_colophon.html +0 -58
  104. data/example/output/example_glossary.html +0 -73
  105. data/example/output/example_index.html +0 -108
  106. data/example/output/f_attribute_options.html +0 -129
  107. data/example/output/filters.html +0 -179
  108. data/example/output/footnotes.html +0 -103
  109. data/example/output/g_diagnostics.html +0 -148
  110. data/example/output/generating_plain_text_files.html +0 -68
  111. data/example/output/getting_started.html +0 -87
  112. data/example/output/glossary.html +0 -95
  113. data/example/output/go01.html +0 -24
  114. data/example/output/h_backend_attributes.html +0 -308
  115. data/example/output/help_commands.html +0 -96
  116. data/example/output/holmes.asc +0 -12983
  117. data/example/output/image/octocat_professor.png +0 -0
  118. data/example/output/include/hello.c +0 -10
  119. data/example/output/index.html +0 -656
  120. data/example/output/indexes.html +0 -104
  121. data/example/output/intrinsic_attributes.html +0 -165
  122. data/example/output/ix01.html +0 -3
  123. data/example/output/lists.html +0 -666
  124. data/example/output/macros.html +0 -737
  125. data/example/output/manpage_documents.html +0 -124
  126. data/example/output/master.css +0 -281
  127. data/example/output/mathematical_formulas.html +0 -125
  128. data/example/output/page.html +0 -60
  129. data/example/output/paragraphs.html +0 -192
  130. data/example/output/pr01.html +0 -3
  131. data/example/output/source_code_highlighting.html +0 -59
  132. data/example/output/stylesheets/handbookish-quirks.css +0 -0
  133. data/example/output/stylesheets/handbookish.css +0 -233
  134. data/example/output/tables.html +0 -797
  135. data/example/output/text_formatting.html +0 -273
  136. data/example/output/the_adventure_of_the_beryl_coronet.html +0 -968
  137. data/example/output/the_adventure_of_the_blue_carbuncle.html +0 -825
  138. data/example/output/the_adventure_of_the_copper_beeches.html +0 -998
  139. data/example/output/the_adventure_of_the_engineer_s_thumb.html +0 -851
  140. data/example/output/the_adventure_of_the_noble_bachelor.html +0 -861
  141. data/example/output/the_adventure_of_the_speckled_band.html +0 -1015
  142. data/example/output/the_boscombe_valley_mystery.html +0 -974
  143. data/example/output/the_first_chapter.html +0 -110
  144. data/example/output/the_five_orange_pips.html +0 -776
  145. data/example/output/the_man_with_the_twisted_lip.html +0 -946
  146. data/example/output/the_red-headed_league.html +0 -950
  147. data/example/output/the_second_chapter.html +0 -95
  148. data/example/output/the_third_chapter.html +0 -58
  149. data/example/output/tips_and_tricks.html +0 -452
  150. data/example/output/title.html +0 -120
  151. data/example/output/titles.html +0 -126
@@ -1,111 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
- <link rel="stylesheet" href="master.css" type="text/css" />
6
- <title>E. Vim Syntax Highlighter</title>
7
- </head>
8
-
9
- <body>
10
- <div class="nav" id="navheader">
11
- <table width="100%">
12
- <tr><td width="33%" align="left">
13
-
14
- <a href="d_using_asciidoc_with_non-english_languages.html">Prev</a><br/>
15
- D. Using AsciiDoc with non-English Languages
16
-
17
- </td><td width="33%" align="center">
18
-
19
- <a href="index.html">Home</a><br/>
20
- <strong>AsciiDoc User Guide</strong>
21
-
22
- </td><td width="33%" align="right">
23
-
24
- <a href="f_attribute_options.html">Next</a><br/>
25
- F. Attribute Options
26
-
27
- </td></tr>
28
- </table>
29
- </div>
30
-
31
- <hr/>
32
-
33
- <div class="content">
34
- <div class="appendix" lang="en" xml:lang="en">
35
- <div class="titlepage"><div><div><h2 class="title">
36
- <a id="_vim_syntax_highlighter"></a>E. Vim Syntax Highlighter</h2></div></div></div>
37
- <p>Syntax highlighting is incredibly useful, in addition to making
38
- reading AsciiDoc documents much easier syntax highlighting also helps
39
- you catch AsciiDoc syntax errors as you write your documents.</p>
40
- <p>The AsciiDoc <code class="literal">./vim/</code> distribution directory contains Vim syntax
41
- highlighter and filetype detection scripts for AsciiDoc. Syntax
42
- highlighting makes it much easier to spot AsciiDoc syntax errors.</p>
43
- <p>If Vim is installed on your system the AsciiDoc installer
44
- (<code class="literal">install.sh</code>) will automatically install the vim scripts in the Vim
45
- global configuration directory (<code class="literal">/etc/vim</code>).</p>
46
- <p>You can also turn on syntax highlighting by adding the following line
47
- to the end of you AsciiDoc source files:</p>
48
- <pre class="literallayout">// vim: set syntax=asciidoc:</pre>
49
- <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
50
- <h3 class="title">Tip</h3>
51
- <p>Bold fonts are often easier to read, use the Vim <code class="literal">:set
52
- background=dark</code> command to set bold bright fonts.</p>
53
- </div>
54
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
55
- <h3 class="title">Note</h3>
56
- <p>There are a number of alternative syntax highlighters for
57
- various editors listed on the <a class="ulink" href="http://www.methods.co.nz/asciidoc/" target="_top">AsciiDoc website</a>.</p>
58
- </div>
59
- <div class="section" lang="en" xml:lang="en">
60
- <div class="titlepage"><div><div><h3 class="title">
61
- <a id="_limitations"></a>Limitations</h3></div></div></div>
62
- <p>The current implementation does a reasonable job but on occasions gets
63
- things wrong:</p>
64
- <div class="itemizedlist"><ul type="disc">
65
- <li>
66
- Nested quoted text formatting is highlighted according to the outer
67
- format.
68
- </li>
69
- <li>
70
- If a closing Example Block delimiter is sometimes mistaken for a
71
- title underline. A workaround is to insert a blank line before the
72
- closing delimiter.
73
- </li>
74
- <li>
75
- Lines within a paragraph starting with equals characters may be
76
- highlighted as single-line titles.
77
- </li>
78
- <li>
79
- Lines within a paragraph beginning with a period may be highlighted
80
- as block titles.
81
- </li>
82
- </ul></div>
83
- </div>
84
- </div>
85
-
86
- </div>
87
-
88
- <hr/>
89
-
90
- <div class="nav" id="navfooter">
91
- <table width="100%">
92
- <tr><td width="33%" align="left">
93
-
94
- <a href="d_using_asciidoc_with_non-english_languages.html">Prev</a><br/>
95
- D. Using AsciiDoc with non-English Languages
96
-
97
- </td><td width="33%" align="center">
98
-
99
- <a href="index.html">Home</a><br/>
100
- AsciiDoc User Guide
101
-
102
- </td><td width="33%" align="right">
103
-
104
- <a href="f_attribute_options.html">Next</a><br/>
105
- F. Attribute Options
106
-
107
- </td></tr>
108
- </table>
109
- </div>
110
- </body>
111
- </html>
@@ -1,82 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
- <link rel="stylesheet" href="stylesheets/handbookish.css" type="text/css" />
6
- <title>Page Example Bibliography</title>
7
- </head>
8
-
9
- <body>
10
- <table width="100%">
11
- <tr><td width="33%" align="left">
12
-
13
- <a href="a_example_appendix.html">Prev</a><br/>
14
- A. Example Appendix
15
-
16
- </td><td width="33%" align="center">
17
-
18
- <a href="index.html">Home</a><br/>
19
-
20
- </td><td width="33%" align="right">
21
-
22
- <a href="example_glossary.html">Next</a><br/>
23
- Example Glossary
24
-
25
- </td></tr>
26
- </table>
27
-
28
- <hr/>
29
-
30
- <div class="bibliography">
31
- <div class="titlepage"><div><div><h2 class="title">
32
- <a id="_example_bibliography"></a>Example Bibliography</h2></div></div></div>
33
- <p>The bibliography list is a style of AsciiDoc bulleted list.</p>
34
- <div class="bibliomixed">
35
- <a id="id36112814"></a><p class="bibliomixed">
36
- <span class="bibliomisc">
37
- <a id="taoup"></a>[taoup] Eric Steven Raymond. <span class="emphasis"><em>The Art of Unix
38
- Programming</em></span>. Addison-Wesley. ISBN 0-13-142901-9.
39
- </span>
40
- </p>
41
- </div>
42
- <div class="bibliomixed">
43
- <a id="id36112828"></a><p class="bibliomixed">
44
- <span class="bibliomisc">
45
- <a id="walsh-muellner"></a>[walsh-muellner] Norman Walsh &amp; Leonard Muellner.
46
- <span class="emphasis"><em>DocBook - The Definitive Guide</em></span>. O’Reilly &amp; Associates. 1999.
47
- ISBN 1-56592-580-7.
48
- </span>
49
- </p>
50
- </div>
51
- <div class="bibliomixed">
52
- <a id="id36112842"></a><p class="bibliomixed">
53
- <span class="bibliomisc">
54
- <a id="abc2003"></a>[abc2003] Gall Anonim. <span class="emphasis"><em>An article</em></span>, Whatever. 2003.
55
- </span>
56
- </p>
57
- </div>
58
- </div>
59
-
60
-
61
- <hr/>
62
-
63
- <table width="100%">
64
- <tr><td width="33%" align="left">
65
-
66
- <a href="a_example_appendix.html">Prev</a><br/>
67
- A. Example Appendix
68
-
69
- </td><td width="33%" align="center">
70
-
71
- <a href="index.html">Home</a><br/>
72
-
73
- </td><td width="33%" align="right">
74
-
75
- <a href="example_glossary.html">Next</a><br/>
76
- Example Glossary
77
-
78
- </td></tr>
79
- </table>
80
-
81
- </body>
82
- </html>
@@ -1,58 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
- <link rel="stylesheet" href="stylesheets/handbookish.css" type="text/css" />
6
- <title>Page Example Colophon</title>
7
- </head>
8
-
9
- <body>
10
- <table width="100%">
11
- <tr><td width="33%" align="left">
12
-
13
- <a href="example_glossary.html">Prev</a><br/>
14
- Example Glossary
15
-
16
- </td><td width="33%" align="center">
17
-
18
- <a href="index.html">Home</a><br/>
19
-
20
- </td><td width="33%" align="right">
21
-
22
- <a href="example_index.html">Next</a><br/>
23
- Example Index
24
-
25
- </td></tr>
26
- </table>
27
-
28
- <hr/>
29
-
30
- <div class="section" lang="en" xml:lang="en">
31
- <div class="titlepage"><div><div><h2 class="title" style="clear: both">
32
- <a id="_example_colophon"></a>Example Colophon</h2></div></div></div>
33
- <p>Text at the end of a book describing facts about its production.</p>
34
- </div>
35
-
36
-
37
- <hr/>
38
-
39
- <table width="100%">
40
- <tr><td width="33%" align="left">
41
-
42
- <a href="example_glossary.html">Prev</a><br/>
43
- Example Glossary
44
-
45
- </td><td width="33%" align="center">
46
-
47
- <a href="index.html">Home</a><br/>
48
-
49
- </td><td width="33%" align="right">
50
-
51
- <a href="example_index.html">Next</a><br/>
52
- Example Index
53
-
54
- </td></tr>
55
- </table>
56
-
57
- </body>
58
- </html>
@@ -1,73 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
- <link rel="stylesheet" href="stylesheets/handbookish.css" type="text/css" />
6
- <title>Page Example Glossary</title>
7
- </head>
8
-
9
- <body>
10
- <table width="100%">
11
- <tr><td width="33%" align="left">
12
-
13
- <a href="example_bibliography.html">Prev</a><br/>
14
- Example Bibliography
15
-
16
- </td><td width="33%" align="center">
17
-
18
- <a href="index.html">Home</a><br/>
19
-
20
- </td><td width="33%" align="right">
21
-
22
- <a href="example_colophon.html">Next</a><br/>
23
- Example Colophon
24
-
25
- </td></tr>
26
- </table>
27
-
28
- <hr/>
29
-
30
- <div class="glossary">
31
- <div class="titlepage"><div><div><h2 class="title">
32
- <a id="_example_glossary"></a>Example Glossary</h2></div></div></div>
33
- <p>Glossaries are optional. Glossaries entries are an example of a style
34
- of AsciiDoc labeled lists.</p>
35
- <dl>
36
- <dt>
37
- A glossary term
38
- </dt>
39
- <dd><p>
40
- The corresponding (indented) definition.
41
- </p></dd>
42
- <dt>
43
- A second glossary term
44
- </dt>
45
- <dd><p>
46
- The corresponding (indented) definition.
47
- </p></dd>
48
- </dl>
49
- </div>
50
-
51
-
52
- <hr/>
53
-
54
- <table width="100%">
55
- <tr><td width="33%" align="left">
56
-
57
- <a href="example_bibliography.html">Prev</a><br/>
58
- Example Bibliography
59
-
60
- </td><td width="33%" align="center">
61
-
62
- <a href="index.html">Home</a><br/>
63
-
64
- </td><td width="33%" align="right">
65
-
66
- <a href="example_colophon.html">Next</a><br/>
67
- Example Colophon
68
-
69
- </td></tr>
70
- </table>
71
-
72
- </body>
73
- </html>
@@ -1,108 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
- <link rel="stylesheet" href="stylesheets/handbookish.css" type="text/css" />
6
- <title>Page Example Index</title>
7
- </head>
8
-
9
- <body>
10
- <table width="100%">
11
- <tr><td width="33%" align="left">
12
-
13
- <a href="example_colophon.html">Prev</a><br/>
14
- Example Colophon
15
-
16
- </td><td width="33%" align="center">
17
-
18
- <a href="index.html">Home</a><br/>
19
-
20
- </td><td width="33%" align="right">
21
-
22
- </td></tr>
23
- </table>
24
-
25
- <hr/>
26
-
27
- <div class="index">
28
- <div class="titlepage"><div><div><h2 class="title">
29
- <a id="_example_index"></a>Example Index</h2></div></div></div>
30
- <div class="index">
31
- <div class="indexdiv">
32
- <h3>B</h3>
33
- <dl>
34
- <dt>Bengal Tiger, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
35
- </dt>
36
- <dt>Big cats</dt>
37
- <dd><dl>
38
- <dt>Lions, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
39
- </dt>
40
- <dt>Tigers</dt>
41
- <dd><dl>
42
- <dt>Bengal Tiger, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
43
- </dt>
44
- <dt>Siberian Tiger, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
45
- </dt>
46
- </dl></dd>
47
- </dl></dd>
48
- </dl>
49
- </div>
50
- <div class="indexdiv">
51
- <h3>E</h3>
52
- <dl><dt>Example index entry, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
53
- </dt></dl>
54
- </div>
55
- <div class="indexdiv">
56
- <h3>L</h3>
57
- <dl><dt>Lions, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
58
- </dt></dl>
59
- </div>
60
- <div class="indexdiv">
61
- <h3>M</h3>
62
- <dl><dt>monkeys, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
63
- </dt></dl>
64
- </div>
65
- <div class="indexdiv">
66
- <h3>S</h3>
67
- <dl>
68
- <dt>Second example index entry, <a class="indexterm" href="the_second_chapter.html">The Second Chapter</a>
69
- </dt>
70
- <dt>Siberian Tiger, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
71
- </dt>
72
- </dl>
73
- </div>
74
- <div class="indexdiv">
75
- <h3>T</h3>
76
- <dl>
77
- <dt>Tigers</dt>
78
- <dd><dl>
79
- <dt>Bengal Tiger, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
80
- </dt>
81
- <dt>Siberian Tiger, <a class="indexterm" href="the_first_chapter.html">The First Chapter</a>
82
- </dt>
83
- </dl></dd>
84
- </dl>
85
- </div>
86
- </div>
87
- </div>
88
-
89
-
90
- <hr/>
91
-
92
- <table width="100%">
93
- <tr><td width="33%" align="left">
94
-
95
- <a href="example_colophon.html">Prev</a><br/>
96
- Example Colophon
97
-
98
- </td><td width="33%" align="center">
99
-
100
- <a href="index.html">Home</a><br/>
101
-
102
- </td><td width="33%" align="right">
103
-
104
- </td></tr>
105
- </table>
106
-
107
- </body>
108
- </html>
@@ -1,129 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
- <link rel="stylesheet" href="master.css" type="text/css" />
6
- <title>F. Attribute Options</title>
7
- </head>
8
-
9
- <body>
10
- <div class="nav" id="navheader">
11
- <table width="100%">
12
- <tr><td width="33%" align="left">
13
-
14
- <a href="e_vim_syntax_highlighter.html">Prev</a><br/>
15
- E. Vim Syntax Highlighter
16
-
17
- </td><td width="33%" align="center">
18
-
19
- <a href="index.html">Home</a><br/>
20
- <strong>AsciiDoc User Guide</strong>
21
-
22
- </td><td width="33%" align="right">
23
-
24
- <a href="g_diagnostics.html">Next</a><br/>
25
- G. Diagnostics
26
-
27
- </td></tr>
28
- </table>
29
- </div>
30
-
31
- <hr/>
32
-
33
- <div class="content">
34
- <div class="appendix" lang="en" xml:lang="en">
35
- <div class="titlepage"><div><div><h2 class="title">
36
- <a id="X74"></a>F. Attribute Options</h2></div></div></div>
37
- <p>Here is the list of predefined <a class="link" href="attribute_lists.html#X75" title="Options attribute">attribute list options</a>:</p>
38
- <div class="informaltable"><table border="1">
39
- <colgroup>
40
- <col>
41
- <col>
42
- <col>
43
- <col>
44
- </colgroup>
45
- <thead><tr>
46
- <th align="left" valign="top">Option</th>
47
- <th align="left" valign="top">Backends</th>
48
- <th align="left" valign="top">AsciiDoc Elements</th>
49
- <th align="left" valign="top">Description</th>
50
- </tr></thead>
51
- <tbody>
52
- <tr>
53
- <td align="left" valign="top"><p><span class="emphasis"><em>autowidth</em></span></p></td>
54
- <td align="left" valign="top"><p>xhtml11,html4</p></td>
55
- <td align="left" valign="top"><p>table</p></td>
56
- <td align="left" valign="top"><p>The column widths are determined by the browser, not the AsciiDoc
57
- <span class="emphasis"><em>cols</em></span> attribute. If there is no <span class="emphasis"><em>width</em></span> attribute the table width is
58
- also left up to the browser.</p></td>
59
- </tr>
60
- <tr>
61
- <td align="left" valign="top"><p><span class="emphasis"><em>breakable, unbreakable</em></span></p></td>
62
- <td align="left" valign="top"><p>docbook (XSL/FO)</p></td>
63
- <td align="left" valign="top"><p>table, example, block image</p></td>
64
- <td align="left" valign="top"><p>The <span class="emphasis"><em>breakable</em></span> options allows block elements to break across page
65
- boundaries; <span class="emphasis"><em>unbreakable</em></span> attempts to keep the block element together
66
- on a single page. If neither option is specified the default XSL
67
- stylesheet behavior prevails.</p></td>
68
- </tr>
69
- <tr>
70
- <td align="left" valign="top"><p><span class="emphasis"><em>compact</em></span></p></td>
71
- <td align="left" valign="top"><p>docbook, xhtml11</p></td>
72
- <td align="left" valign="top"><p>bulleted list, numbered list</p></td>
73
- <td align="left" valign="top"><p>Minimizes vertical space in the list</p></td>
74
- </tr>
75
- <tr>
76
- <td align="left" valign="top"><p><span class="emphasis"><em>footer</em></span></p></td>
77
- <td align="left" valign="top"><p>docbook, xhtml11, html4</p></td>
78
- <td align="left" valign="top"><p>table</p></td>
79
- <td align="left" valign="top"><p>The last row of the table is rendered as a footer.</p></td>
80
- </tr>
81
- <tr>
82
- <td align="left" valign="top"><p><span class="emphasis"><em>header</em></span></p></td>
83
- <td align="left" valign="top"><p>docbook, xhtml11, html4</p></td>
84
- <td align="left" valign="top"><p>table</p></td>
85
- <td align="left" valign="top"><p>The first row of the table is rendered as a header.</p></td>
86
- </tr>
87
- <tr>
88
- <td align="left" valign="top"><p><span class="emphasis"><em>pgwide</em></span></p></td>
89
- <td align="left" valign="top"><p>docbook (XSL/FO)</p></td>
90
- <td align="left" valign="top"><p>table, block image, horizontal labeled list</p></td>
91
- <td align="left" valign="top"><p>Specifies that the element should be rendered across the full text
92
- width of the page irrespective of the current indentation.</p></td>
93
- </tr>
94
- <tr>
95
- <td align="left" valign="top"><p><span class="emphasis"><em>strong</em></span></p></td>
96
- <td align="left" valign="top"><p>xhtml11,html4</p></td>
97
- <td align="left" valign="top"><p>labeled lists</p></td>
98
- <td align="left" valign="top"><p>Emboldens label text.</p></td>
99
- </tr>
100
- </tbody>
101
- </table></div>
102
- </div>
103
-
104
- </div>
105
-
106
- <hr/>
107
-
108
- <div class="nav" id="navfooter">
109
- <table width="100%">
110
- <tr><td width="33%" align="left">
111
-
112
- <a href="e_vim_syntax_highlighter.html">Prev</a><br/>
113
- E. Vim Syntax Highlighter
114
-
115
- </td><td width="33%" align="center">
116
-
117
- <a href="index.html">Home</a><br/>
118
- AsciiDoc User Guide
119
-
120
- </td><td width="33%" align="right">
121
-
122
- <a href="g_diagnostics.html">Next</a><br/>
123
- G. Diagnostics
124
-
125
- </td></tr>
126
- </table>
127
- </div>
128
- </body>
129
- </html>