sisu 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. checksums.yaml +7 -0
  2. data/bin/sisu +367 -0
  3. data/bin/sisugem +367 -0
  4. data/data/sisu/image/arrow_next_red.png +0 -0
  5. data/data/sisu/image/arrow_prev_red.png +0 -0
  6. data/data/sisu/image/arrow_up_red.png +0 -0
  7. data/data/sisu/image/b_bluebell.png +0 -0
  8. data/data/sisu/image/b_doc.png +0 -0
  9. data/data/sisu/image/b_epub.png +0 -0
  10. data/data/sisu/image/b_home.png +0 -0
  11. data/data/sisu/image/b_info.png +0 -0
  12. data/data/sisu/image/b_odf.png +0 -0
  13. data/data/sisu/image/b_pdf.png +0 -0
  14. data/data/sisu/image/b_search.png +0 -0
  15. data/data/sisu/image/b_toc.png +0 -0
  16. data/data/sisu/image/bullet_08.png +0 -0
  17. data/data/sisu/image/bullet_09.png +0 -0
  18. data/data/sisu/image/bullet_10.png +0 -0
  19. data/data/sisu/image/bullet_11.png +0 -0
  20. data/data/sisu/image/bullet_12.png +0 -0
  21. data/data/sisu/image/bullet_doc.png +0 -0
  22. data/data/sisu/image/bullet_red.png +0 -0
  23. data/data/sisu/image/dot_clear.png +0 -0
  24. data/data/sisu/image/dot_white.png +0 -0
  25. data/data/sisu/image/gplv3.png +0 -0
  26. data/data/sisu/image/gplv3_free_software.png +0 -0
  27. data/data/sisu/image/next.png +0 -0
  28. data/data/sisu/image/previous.png +0 -0
  29. data/data/sisu/image/rb7.ico +0 -0
  30. data/data/sisu/image/sisu.png +0 -0
  31. data/data/sisu/image/toctoc.png +0 -0
  32. data/data/sisu/version.yml +5 -0
  33. data/lib/sisu.rb +94 -0
  34. data/lib/sisu/air.rb +80 -0
  35. data/lib/sisu/ao.rb +590 -0
  36. data/lib/sisu/ao_character_check.rb +102 -0
  37. data/lib/sisu/ao_composite.rb +286 -0
  38. data/lib/sisu/ao_doc_objects.rb +565 -0
  39. data/lib/sisu/ao_doc_str.rb +2269 -0
  40. data/lib/sisu/ao_endnotes.rb +136 -0
  41. data/lib/sisu/ao_expand_insertions.rb +514 -0
  42. data/lib/sisu/ao_hash_digest.rb +174 -0
  43. data/lib/sisu/ao_idx.rb +422 -0
  44. data/lib/sisu/ao_images.rb +187 -0
  45. data/lib/sisu/ao_metadata.rb +86 -0
  46. data/lib/sisu/ao_misc_arrange.rb +207 -0
  47. data/lib/sisu/ao_numbering.rb +720 -0
  48. data/lib/sisu/ao_persist.rb +194 -0
  49. data/lib/sisu/ao_references.rb +502 -0
  50. data/lib/sisu/ao_syntax.rb +640 -0
  51. data/lib/sisu/cgi.rb +84 -0
  52. data/lib/sisu/cgi_pgsql.rb +270 -0
  53. data/lib/sisu/cgi_sql_common.rb +986 -0
  54. data/lib/sisu/cgi_sqlite.rb +244 -0
  55. data/lib/sisu/conf.rb +287 -0
  56. data/lib/sisu/constants.rb +388 -0
  57. data/lib/sisu/css.rb +3484 -0
  58. data/lib/sisu/db_columns.rb +1997 -0
  59. data/lib/sisu/db_create.rb +689 -0
  60. data/lib/sisu/db_dbi.rb +90 -0
  61. data/lib/sisu/db_drop.rb +207 -0
  62. data/lib/sisu/db_import.rb +877 -0
  63. data/lib/sisu/db_indexes.rb +146 -0
  64. data/lib/sisu/db_load_tuple.rb +323 -0
  65. data/lib/sisu/db_remove.rb +182 -0
  66. data/lib/sisu/db_select.rb +230 -0
  67. data/lib/sisu/db_sqltxt.rb +173 -0
  68. data/lib/sisu/db_tests.rb +114 -0
  69. data/lib/sisu/dbi.rb +166 -0
  70. data/lib/sisu/dbi_discrete.rb +206 -0
  71. data/lib/sisu/digests.rb +306 -0
  72. data/lib/sisu/dp.rb +1606 -0
  73. data/lib/sisu/dp_identify_markup.rb +161 -0
  74. data/lib/sisu/dp_make.rb +668 -0
  75. data/lib/sisu/embedded.rb +149 -0
  76. data/lib/sisu/errors.rb +84 -0
  77. data/lib/sisu/generic_parts.rb +131 -0
  78. data/lib/sisu/git.rb +277 -0
  79. data/lib/sisu/html.rb +775 -0
  80. data/lib/sisu/html_concordance.rb +391 -0
  81. data/lib/sisu/html_format.rb +1348 -0
  82. data/lib/sisu/html_harvest.rb +109 -0
  83. data/lib/sisu/html_harvest_author_format.rb +111 -0
  84. data/lib/sisu/html_harvest_authors.rb +466 -0
  85. data/lib/sisu/html_harvest_topics.rb +893 -0
  86. data/lib/sisu/html_lite_shared.rb +324 -0
  87. data/lib/sisu/html_manifest.rb +1032 -0
  88. data/lib/sisu/html_minitoc.rb +230 -0
  89. data/lib/sisu/html_parts.rb +437 -0
  90. data/lib/sisu/html_persist.rb +237 -0
  91. data/lib/sisu/html_promo.rb +440 -0
  92. data/lib/sisu/html_scroll.rb +235 -0
  93. data/lib/sisu/html_segments.rb +716 -0
  94. data/lib/sisu/html_shared.rb +62 -0
  95. data/lib/sisu/html_table.rb +64 -0
  96. data/lib/sisu/html_tune.rb +301 -0
  97. data/lib/sisu/hub.rb +277 -0
  98. data/lib/sisu/hub_actions.rb +1122 -0
  99. data/lib/sisu/hub_loop_markup_files.rb +170 -0
  100. data/lib/sisu/hub_options.rb +1695 -0
  101. data/lib/sisu/i18n.rb +702 -0
  102. data/lib/sisu/manpage.rb +377 -0
  103. data/lib/sisu/manpage_format.rb +85 -0
  104. data/lib/sisu/object_munge.rb +307 -0
  105. data/lib/sisu/prog_text_translation.rb +1702 -0
  106. data/lib/sisu/qrcode.rb +754 -0
  107. data/lib/sisu/relaxng.rb +1153 -0
  108. data/lib/sisu/remote.rb +246 -0
  109. data/lib/sisu/rexml.rb +148 -0
  110. data/lib/sisu/se.rb +158 -0
  111. data/lib/sisu/se_cleanoutput.rb +145 -0
  112. data/lib/sisu/se_clear.rb +105 -0
  113. data/lib/sisu/se_createsite.rb +273 -0
  114. data/lib/sisu/se_css.rb +221 -0
  115. data/lib/sisu/se_date.rb +92 -0
  116. data/lib/sisu/se_db.rb +214 -0
  117. data/lib/sisu/se_envcall.rb +326 -0
  118. data/lib/sisu/se_file_op.rb +2758 -0
  119. data/lib/sisu/se_filemap.rb +247 -0
  120. data/lib/sisu/se_get_init.rb +238 -0
  121. data/lib/sisu/se_hub_particulars.rb +234 -0
  122. data/lib/sisu/se_info_env.rb +2179 -0
  123. data/lib/sisu/se_info_port.rb +70 -0
  124. data/lib/sisu/se_info_system.rb +202 -0
  125. data/lib/sisu/se_load.rb +108 -0
  126. data/lib/sisu/se_processing.rb +659 -0
  127. data/lib/sisu/se_programs.rb +394 -0
  128. data/lib/sisu/se_remotes.rb +553 -0
  129. data/lib/sisu/se_standardise_lang.rb +176 -0
  130. data/lib/sisu/se_version.rb +174 -0
  131. data/lib/sisu/shared_images.rb +137 -0
  132. data/lib/sisu/shared_markup_alt.rb +336 -0
  133. data/lib/sisu/shared_metadata.rb +1361 -0
  134. data/lib/sisu/shared_sem.rb +156 -0
  135. data/lib/sisu/sisu_thor_lib.rb +407 -0
  136. data/lib/sisu/sitemaps.rb +224 -0
  137. data/lib/sisu/src_kdissert_share.rb +102 -0
  138. data/lib/sisu/src_po4a_share.rb +309 -0
  139. data/lib/sisu/src_po4a_shelf.rb +1217 -0
  140. data/lib/sisu/src_po4a_shelf_set.rb +297 -0
  141. data/lib/sisu/src_po4a_sst_ao_sst.rb +893 -0
  142. data/lib/sisu/src_po4a_sst_ao_sst_set.rb +284 -0
  143. data/lib/sisu/src_po4a_sstm.rb +135 -0
  144. data/lib/sisu/src_shared.rb +347 -0
  145. data/lib/sisu/src_sisupod_make.rb +171 -0
  146. data/lib/sisu/src_sisupod_sstm.rb +109 -0
  147. data/lib/sisu/sst_convert_markup.rb +323 -0
  148. data/lib/sisu/sst_do_inline_footnotes.rb +440 -0
  149. data/lib/sisu/sst_from_xml.rb +178 -0
  150. data/lib/sisu/sst_identify_markup.rb +482 -0
  151. data/lib/sisu/sst_to_s_xml_sax.rb +471 -0
  152. data/lib/sisu/termsheet.rb +163 -0
  153. data/lib/sisu/texinfo.rb +430 -0
  154. data/lib/sisu/texinfo_format.rb +541 -0
  155. data/lib/sisu/texpdf.rb +1162 -0
  156. data/lib/sisu/texpdf_format.rb +1689 -0
  157. data/lib/sisu/texpdf_parts.rb +235 -0
  158. data/lib/sisu/txt_asciidoc.rb +354 -0
  159. data/lib/sisu/txt_asciidoc_decorate.rb +207 -0
  160. data/lib/sisu/txt_markdown.rb +389 -0
  161. data/lib/sisu/txt_markdown_decorate.rb +207 -0
  162. data/lib/sisu/txt_orgmode.rb +376 -0
  163. data/lib/sisu/txt_orgmode_decorate.rb +186 -0
  164. data/lib/sisu/txt_output.rb +86 -0
  165. data/lib/sisu/txt_plain.rb +410 -0
  166. data/lib/sisu/txt_plain_decorate.rb +189 -0
  167. data/lib/sisu/txt_read.rb +109 -0
  168. data/lib/sisu/txt_rst.rb +371 -0
  169. data/lib/sisu/txt_rst_decorate.rb +186 -0
  170. data/lib/sisu/txt_shared.rb +241 -0
  171. data/lib/sisu/txt_textile.rb +367 -0
  172. data/lib/sisu/txt_textile_decorate.rb +186 -0
  173. data/lib/sisu/update.rb +141 -0
  174. data/lib/sisu/urls.rb +696 -0
  175. data/lib/sisu/utils.rb +232 -0
  176. data/lib/sisu/utils_composite.rb +115 -0
  177. data/lib/sisu/utils_response.rb +114 -0
  178. data/lib/sisu/utils_screen_text_color.rb +472 -0
  179. data/lib/sisu/utils_spell.rb +99 -0
  180. data/lib/sisu/webrick.rb +191 -0
  181. data/lib/sisu/wikispeak.rb +375 -0
  182. data/lib/sisu/xhtml.rb +472 -0
  183. data/lib/sisu/xhtml_epub2.rb +890 -0
  184. data/lib/sisu/xhtml_epub2_concordance.rb +322 -0
  185. data/lib/sisu/xhtml_epub2_format.rb +2272 -0
  186. data/lib/sisu/xhtml_epub2_persist.rb +278 -0
  187. data/lib/sisu/xhtml_epub2_segments.rb +599 -0
  188. data/lib/sisu/xhtml_epub2_tune.rb +330 -0
  189. data/lib/sisu/xhtml_parts.rb +183 -0
  190. data/lib/sisu/xhtml_shared.rb +62 -0
  191. data/lib/sisu/xhtml_table.rb +97 -0
  192. data/lib/sisu/xml_docbook5.rb +376 -0
  193. data/lib/sisu/xml_dom.rb +624 -0
  194. data/lib/sisu/xml_fictionbook2.rb +389 -0
  195. data/lib/sisu/xml_format.rb +865 -0
  196. data/lib/sisu/xml_md_oai_pmh_dc.rb +229 -0
  197. data/lib/sisu/xml_odf_odt.rb +887 -0
  198. data/lib/sisu/xml_odf_odt_format.rb +674 -0
  199. data/lib/sisu/xml_parts.rb +191 -0
  200. data/lib/sisu/xml_persist.rb +126 -0
  201. data/lib/sisu/xml_sax.rb +521 -0
  202. data/lib/sisu/xml_scaffold_structure_collapsed.rb +198 -0
  203. data/lib/sisu/xml_scaffold_structure_sisu.rb +201 -0
  204. data/lib/sisu/xml_shared.rb +665 -0
  205. data/lib/sisu/xml_tables.rb +261 -0
  206. data/lib/sisu/zap.rb +90 -0
  207. metadata +251 -0
@@ -0,0 +1,388 @@
1
+ # encoding: utf-8
2
+ =begin
3
+
4
+ * Name: SiSU
5
+
6
+ ** Description: documents, structuring, processing, publishing, search
7
+ *** constants, system environment, resource control and configuration details
8
+
9
+ ** Author: Ralph Amissah
10
+ <ralph@amissah.com>
11
+ <ralph.amissah@gmail.com>
12
+
13
+ ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
15
+ All Rights Reserved.
16
+
17
+ ** License: GPL 3 or later:
18
+
19
+ SiSU, a framework for document structuring, publishing and search
20
+
21
+ Copyright (C) Ralph Amissah
22
+
23
+ This program is free software: you can redistribute it and/or modify it
24
+ under the terms of the GNU General Public License as published by the Free
25
+ Software Foundation, either version 3 of the License, or (at your option)
26
+ any later version.
27
+
28
+ This program is distributed in the hope that it will be useful, but WITHOUT
29
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
30
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
31
+ more details.
32
+
33
+ You should have received a copy of the GNU General Public License along with
34
+ this program. If not, see <http://www.gnu.org/licenses/>.
35
+
36
+ If you have Internet connection, the latest version of the GPL should be
37
+ available at these locations:
38
+ <http://www.fsf.org/licensing/licenses/gpl.html>
39
+ <http://www.gnu.org/licenses/gpl.html>
40
+
41
+ <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
42
+
43
+ ** SiSU uses:
44
+ * Standard SiSU markup syntax,
45
+ * Standard SiSU meta-markup syntax, and the
46
+ * Standard SiSU object citation numbering and system
47
+
48
+ ** Hompages:
49
+ <http://www.jus.uio.no/sisu>
50
+ <http://www.sisudoc.org>
51
+
52
+ ** Git
53
+ <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
+ <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/constants.rb;hb=HEAD>
55
+
56
+ =end
57
+ #Ax,Xx,Mx,Rx,Hx,Dx,Px,Ep,Db,Gt,Tex=Array.new(11){{}}
58
+ YEAR='2014'
59
+ Sfx={
60
+ txt: '.txt',
61
+ txt_textile: '.textile',
62
+ txt_asciidoc: '.ad',
63
+ txt_markdown: '.md',
64
+ txt_rst: '.rst',
65
+ txt_orgmode: '.org',
66
+ html: '.html',
67
+ xhtml: '.xhtml',
68
+ xml: '.xml',
69
+ xml_sax: '.sax.xml',
70
+ xml_dom: '.dom.xml',
71
+ xml_scaffold: '.scaffold.xml',
72
+ xml_scaffold_structure_sisu: '.scaffold.sisu.xml',
73
+ xml_scaffold_structure_collapse: '.scaffold.collapse.xml',
74
+ xml_docbook: '.docbook.xml',
75
+ xml_docbook_article: '.article.docbook.xml',
76
+ xml_docbook_book: '.book.docbook.xml',
77
+ xml_fictionbook: '.fb2',
78
+ epub: '.epub',
79
+ epub_xhtml: '.xhtml',
80
+ odt: '.odt',
81
+ pdf: '.pdf',
82
+ manpage: '.1',
83
+ info: '.info',
84
+ texinfo: '.texinfo',
85
+ sql: '.sql.db',
86
+ }
87
+ Ax={
88
+ tab: "\t",
89
+ comment: '%',
90
+ spaces: ' ',
91
+ }
92
+ Xx={
93
+ protect: '☞',
94
+ split: '✠',
95
+ segment: 'Ф',
96
+ relative_path: '☼',
97
+ html_relative2: '※※',
98
+ html_relative1: '※',
99
+ }
100
+ Mx={
101
+ segname_prefix_auto_num_extract: 'c',
102
+ segname_prefix_auto_num_provide: 's',
103
+ segname_prefix_auto_num_other: 'x',
104
+ ocn_id_char: '', #'o', now as before; remove for html5
105
+ note: 'note_',
106
+ note_ref: 'noteref_',
107
+ note_astx: 'note_astx_',
108
+ note_ref_astx: 'noteref_astx_',
109
+ note_plus: 'note_plus_',
110
+ note_ref_plus: 'noteref_plus_',
111
+ meta_o: '〔@', meta_c: '〕',
112
+ lv_o_0: 0,
113
+ lv_o_1: 1,
114
+ lv_o_2: 2,
115
+ lv_o_3: 3,
116
+ lv_o_4: 4,
117
+ lv_o_5: 5,
118
+ lv_o_6: 6,
119
+ lv_o_7: 7,
120
+ lv_o_8: 8,
121
+ lv_o_9: 9,
122
+ lv_o: '〔', lv_c: '〕',
123
+ en_a_o: '【', en_a_c: '】', #endnote Mx[:en_a_o]='~{'; Mx[:en_a_c]='}~'
124
+ en_b_o: '〖', en_b_c: '〗', #endnote Mx[:en_b_o]='~['; Mx[:en_b_c]=']~'
125
+ bl_o: '〔', bl_c: '〕', #block text mark
126
+ gr_o: '〔', gr_c: '〕', #group text mark #REPLACE & RETIRE
127
+ id_o: '〔', id_c: '〕', #object id mark
128
+ tc_o: '『', tc_c: "』", #table row mark #Mx[:tc_c]="』\n"
129
+ tc_p: '┆', #table col/misc mark
130
+ pa_o: '〔', pa_c: '〕', #affects paragraph mark
131
+ mk_o: '〔', mk_c: '〕', #generic mark
132
+ gl_o: '〔', gl_c: '〕', #glyph
133
+ fa_o: '〔', fa_o_c: '¤', fa_c_o: '¤', fa_c: '〕',
134
+ idx_o: '▩', idx_c: '▩',
135
+ nbsp: '░', #'▭ '
136
+ br_line: '╱', #lB ▌ 9612 ┘ ¶
137
+ br_nl: '╲', #lB ▌ 』 ┘
138
+ br_paragraph: '█', #FB █ 9608 # PP ∥ 8741 #▐ #'┘' #'¶' #FB █ 9608 lB ▌ 9612 RB ▐ 9616
139
+ br_obj: 'break_obj',
140
+ br_page_line: '▭',
141
+ br_page: '┼',
142
+ br_page_new: '╋',
143
+ lnk_o: '⌠', lnk_c: '⌡', #'⌈' '⌋' '⌠' '⌡' #Mx[:lnk_o: '◁'; Mx[:lnk_c: '▷' #‹ ›
144
+ url_o: '◘', url_c: '◙',
145
+ rel_o: '⌈', rel_c: '⌋',
146
+ tag_o: '⌊', tag_c: '⌉',
147
+ sm_set_o: '◢', sm_set_c: '◣',
148
+ sm_subset_o: '◢', sm_subset_c: '◣',
149
+ vline: '┆', # ¦ |
150
+ src_bold_o: '!{', src_bold_c: '}!',
151
+ src_italics_o: '/{', src_italics_c: '}/',
152
+ src_underscore_o: '_{', src_underscore_c: '}_',
153
+ src_cite_o: '"{', src_cite_c: '}"',
154
+ src_insert_o: '+{', src_insert_c: '}+',
155
+ src_strike_o: '-{', src_strike_c: '}-',
156
+ src_superscript_o: '^{', src_superscript_c: '}^',
157
+ src_subscript_o: ',{', src_subscript_c: '}',
158
+ src_hilite_o: '*{', src_hilite_c: '}*',
159
+ src_monospace_o: '#{', src_monospace_c: '}#',
160
+ srcrgx_bold_o: '\!\{', srcrgx_bold_c: '\}\!',
161
+ srcrgx_italics_o: '\/\{', srcrgx_italics_c: '\}\/',
162
+ srcrgx_underscore_o: '_\{', srcrgx_underscore_c: '\}_',
163
+ srcrgx_cite_o: '"\{', srcrgx_cite_c: '\}"',
164
+ srcrgx_insert_o: '\+\{', srcrgx_insert_c: '\}\+',
165
+ srcrgx_strike_o: '\-\{', srcrgx_strike_c: '\}\-',
166
+ srcrgx_superscript_o: '\^\{', srcrgx_superscript_c: '\}\^',
167
+ srcrgx_subscript_o: ',\{', srcrgx_subscript_c: '\},',
168
+ srcrgx_hilite_o: '\*\{', srcrgx_hilite_c: '\}\*',
169
+ srcrgx_monospace_o: '\#\{', srcrgx_monospace_c: '\}\#',
170
+ }
171
+ Mx[:fa_bold_o]= "#{Mx[:fa_o]}b#{Mx[:fa_o_c]}"
172
+ Mx[:fa_bold_c]= "#{Mx[:fa_c_o]}b#{Mx[:fa_c]}"
173
+ Mx[:fa_italics_o]= "#{Mx[:fa_o]}i#{Mx[:fa_o_c]}"
174
+ Mx[:fa_italics_c]= "#{Mx[:fa_c_o]}i#{Mx[:fa_c]}"
175
+ Mx[:fa_underscore_o]= "#{Mx[:fa_o]}u#{Mx[:fa_o_c]}"
176
+ Mx[:fa_underscore_c]= "#{Mx[:fa_c_o]}u#{Mx[:fa_c]}"
177
+ Mx[:fa_cite_o]= "#{Mx[:fa_o]}cite#{Mx[:fa_o_c]}"
178
+ Mx[:fa_cite_c]= "#{Mx[:fa_c_o]}cite#{Mx[:fa_c]}"
179
+ Mx[:fa_insert_o]= "#{Mx[:fa_o]}ins#{Mx[:fa_o_c]}"
180
+ Mx[:fa_insert_c]= "#{Mx[:fa_c_o]}ins#{Mx[:fa_c]}"
181
+ Mx[:fa_strike_o]= "#{Mx[:fa_o]}del#{Mx[:fa_o_c]}"
182
+ Mx[:fa_strike_c]= "#{Mx[:fa_c_o]}del#{Mx[:fa_c]}"
183
+ Mx[:fa_superscript_o]= "#{Mx[:fa_o]}sup#{Mx[:fa_o_c]}"
184
+ Mx[:fa_superscript_c]= "#{Mx[:fa_c_o]}sup#{Mx[:fa_c]}"
185
+ Mx[:fa_subscript_o]= "#{Mx[:fa_o]}sub#{Mx[:fa_o_c]}"
186
+ Mx[:fa_subscript_c]= "#{Mx[:fa_c_o]}sub#{Mx[:fa_c]}"
187
+ Mx[:fa_hilite_o]= "#{Mx[:fa_o]}hi#{Mx[:fa_o_c]}"
188
+ Mx[:fa_hilite_c]= "#{Mx[:fa_c_o]}hi#{Mx[:fa_c]}"
189
+ Mx[:fa_monospace_o]= "#{Mx[:fa_o]}mono#{Mx[:fa_o_c]}"
190
+ Mx[:fa_monospace_c]= "#{Mx[:fa_c_o]}mono#{Mx[:fa_c]}"
191
+ Mx[:gl_bullet]= "#{Mx[:gl_o]}●#{Mx[:gl_c]}"
192
+ Mx[:br_endnotes]= "#{Mx[:mk_o]}ENDNOTES#{Mx[:mk_c]}"
193
+ Mx[:br_eof]= "#{Mx[:mk_o]}EOF#{Mx[:mk_c]}"
194
+ Mx[:pa_non_object_dummy_heading]="#{Mx[:pa_o]}-##{Mx[:pa_c]}" #unnumbered paragraph, delete when not required [used in dummy headings, eg. for segmented html] (place marker at end of paragraph)
195
+ Mx[:pa_non_object_no_heading]="#{Mx[:pa_o]}~##{Mx[:pa_c]}" #unnumbered paragraph (place marker at end of paragraph)
196
+ Hx={
197
+ br_obj: { obj: Mx[:br_obj] }, # line sep
198
+ br_page_line: { obj: Mx[:br_page_line] }, # line across page
199
+ br_page: { obj: Mx[:br_page] }, # newpage
200
+ br_page_new: { obj: Mx[:br_page_new] }, # clearpage
201
+ }
202
+ #Mx[:sm_set_o]='∈ '; Mx[:sm_set_c]='∋ '
203
+ #Mx[:sm_subset_o]='∈ '; Mx[:sm_subset_c]='∋ '
204
+ Rx={
205
+ mx_fa_clean: /#{Mx[:fa_o]}.+?#{Mx[:fa_c]}|#{Mx[:pa_o]}.+?#{Mx[:pa_c]}|#{Mx[:mk_o]}.+?#{Mx[:mk_c]}/,
206
+ lv: /〔([0-9]):(\S*?)〕/,
207
+ lv_0: /#{Mx[:lv_o_0]}(\S*?)#{Mx[:lv_c]}/,
208
+ lv_1: /#{Mx[:lv_o_1]}(\S*?)#{Mx[:lv_c]}/,
209
+ lv_2: /#{Mx[:lv_o_2]}(\S*?)#{Mx[:lv_c]}/,
210
+ lv_3: /#{Mx[:lv_o_3]}(\S*?)#{Mx[:lv_c]}/,
211
+ lv_4: /#{Mx[:lv_o_4]}(\S*?)#{Mx[:lv_c]}/,
212
+ lv_5: /#{Mx[:lv_o_5]}(\S*?)#{Mx[:lv_c]}/,
213
+ lv_6: /#{Mx[:lv_o_6]}(\S*?)#{Mx[:lv_c]}/,
214
+ lv_7: /#{Mx[:lv_o_7]}(\S*?)#{Mx[:lv_c]}/,
215
+ lv_8: /#{Mx[:lv_o_8]}(\S*?)#{Mx[:lv_c]}/,
216
+ lv_9: /#{Mx[:lv_o_9]}(\S*?)#{Mx[:lv_c]}/,
217
+ meta: /#{Mx[:meta_o]}(\S+?)#{Mx[:meta_c]}/,
218
+ }
219
+ Dx={
220
+ ocn_o: '「', ocn_c: '」',
221
+ url_o: '‹', url_c: '›',
222
+ url_o_xml: '&lt;', url_c_xml: '&gt;',
223
+ rel_o: '‹', rel_c: '›',
224
+ lt_xml: '&lt;', gt_xml: '&gt;',
225
+ }
226
+ Tex={
227
+ backslash: "\\\\",
228
+ backslash: "\\\\",
229
+ tilde: '\\\\\\~',
230
+ }
231
+ Px={
232
+ bold_o: '*', bold_c: '*',
233
+ italics_o: '/', italics_c: '/',
234
+ underscore_o: '_', underscore_c: '_',
235
+ #emphasis_o: '*', emphasis_c: '*',
236
+ #bold_o: '!', bold_c: '!',
237
+ cite_o: '"', cite_c: '"',
238
+ insert_o: '+', insert_c: '+',
239
+ strike_o: '-', strike_c: '-',
240
+ superscript_o: '^', superscript_c: '^',
241
+ subscript_o: '[', subscript_c: ']',
242
+ hilite_o: '*', hilite_c: '*',
243
+ monospace_o: '', monospace_c: '',
244
+ lng_lst: SiSU_is.language_list?,
245
+ lng_lst_rgx: SiSU_is.language_list_regex?,
246
+ lv1: '*',
247
+ lv2: '=',
248
+ lv3: '=',
249
+ lv4: '-',
250
+ lv5: '.',
251
+ lv6: '.',
252
+ }
253
+ Px[:lng_lst_rgx]=Px[:lng_lst].join('|')
254
+ Ep={
255
+ alt: :on,
256
+ d_oebps: 'OEBPS',
257
+ d_image: 'OEBPS/image',
258
+ d_css: 'OEBPS/css',
259
+ f_ncx: 'toc.ncx',
260
+ f_opf: 'content.opf',
261
+ }
262
+ $ep=if Ep[:alt]==:on
263
+ {
264
+ o: 'opf:',
265
+ hsp: ' ',
266
+ }
267
+ else
268
+ {
269
+ o: '',
270
+ hsp: '&nbsp;',
271
+ }
272
+ end
273
+ Db={
274
+ name_prefix: "SiSU#{SiSU_is.version_major?}a_",
275
+ name_prefix_db: "sisu_#{SiSU_is.version_major?}a_",
276
+ col_title: 800,
277
+ col_title_part: 400,
278
+ col_title_edition: 10,
279
+ col_name: 600,
280
+ col_creator_misc_short: 100,
281
+ col_language: 100,
282
+ col_language_char: 6,
283
+ col_date_text: 10,
284
+ col_txt_long: 600,
285
+ col_txt_short: 200,
286
+ col_identify_hash: 256,
287
+ col_library: 30,
288
+ col_small: 16,
289
+ col_filename: 256,
290
+ col_digest: 128,
291
+ col_filesize: 10,
292
+ col_info_note: 2500,
293
+ }
294
+ Gt={
295
+ grotto: 'sisu_src',
296
+ git: 'sisu:',
297
+ src: 'src',
298
+ pods: 'pods',
299
+ sisupod: 'sisupod',
300
+ pod: 'pod',
301
+ files: 'files',
302
+ doc: 'doc',
303
+ po: 'po4a/po',
304
+ pot: 'po4a/pot',
305
+ image: 'image',
306
+ audio: 'audio',
307
+ video: 'video',
308
+ conf: 'doc/_sisu',
309
+ }
310
+ S_CONF={
311
+ header_make: 'sisu_document_make',
312
+ rc_yml: 'sisurc.yml',
313
+ }
314
+ ANSI_C={
315
+ red: "\033[#{31}m",
316
+ green: "\033[#{32}m",
317
+ yellow: "\033[#{33}m",
318
+ blue: "\033[#{34}m",
319
+ fuchsia: "\033[#{35}m",
320
+ cyan: "\033[#{36}m",
321
+ inv_red: "\033[#{41}m",
322
+ inv_green: "\033[#{42}m",
323
+ inv_yellow: "\033[#{43}m",
324
+ inv_blue: "\033[#{44}m",
325
+ inv_fuchsia: "\033[#{45}m",
326
+ inv_cyan: "\033[#{46}m",
327
+ b_red: "\033[#{91}m",
328
+ b_green: "\033[#{92}m",
329
+ b_yellow: "\033[#{93}m",
330
+ b_blue: "\033[#{94}m",
331
+ b_fuchsia: "\033[#{95}m",
332
+ b_cyan: "\033[#{96}m",
333
+ off: "\033[m"
334
+ }
335
+ DISABLE={
336
+ epub: {
337
+ internal_navigation: true,
338
+ per_section_title: true,
339
+ ncx_navpoint_unique_id: true,
340
+ },
341
+ }
342
+ DEVELOPER={
343
+ maintenance: :false,
344
+ under_construction: '_CONSTRUCTION_ZONE',
345
+ }
346
+ __END__
347
+ utils.rb
348
+ consider:
349
+ 〔comment〕
350
+ 〔links?????〕
351
+ import document?
352
+ check:
353
+ bold line
354
+
355
+ ┆┆⋮┇┊┋
356
+ 『』
357
+ 「」
358
+ 〔〕
359
+ 【】
360
+
361
+ ·
362
+ ¤
363
+ #˝ " λ Ω β α π Ѫ Ж Я Ѳ ѳ Ф ✠ ㈣
364
+ Ѳ ѳ Ф
365
+ ♩ ♭  ✠  ▭ ▬ ▪
366
+ 【】〖〗◢ ◣ ◀ ▶ ◘ ◙ « ▲ »
367
+ 《》「」
368
+ ‹ › ∗  ∴ ∷
369
+ '〔lv1〕','〔lv2〕','〔lv3〕','〔lv4〕','〔lv5〕','〔lv6〕','〔lv7〕','〔lv8〕','〔lv9〕'
370
+ '〔 Ѳ1〕','〔 Ѳ2〕','〔 Ѳ3〕','〔 Ѳ4〕','〔 Ѳ5〕','〔Ѳ6〕','〔Ѳ7〕','〔Ѳ8〕','〔Ѳ9〕'
371
+ ◁▷
372
+ ◀this is text or an image▶ http://
373
+ p __FILE__ +':'+ __LINE__.to_s
374
+ p __FILE__ + ' ' + __LINE__.to_s + ' ' + html
375
+ puts "#{__FILE__} #{__LINE__} #{o.inspect}"
376
+ puts __FILE__ + ' ' + __LINE__.to_s + '--> ' + o.inspect
377
+ puts %{-\t#{__FILE__}::#{__LINE__}::#{caller}:\n"#{name}"}
378
+ p "\t" + txt.obj + " << #{__FILE__} #{__LINE__} >>"
379
+ p (__FILE__ + ' ' + __LINE__.to_s + '--> ' + dob.inspect) if dob.is==:heading
380
+ data.each {|o| p (__FILE__ + ' ' + __LINE__.to_s + '--> ' + o.inspect) if o.is==:heading}
381
+ puts "#{__FILE__} #{__LINE__} #{para}" if @opt.act[:maintenance][:set]==:on
382
+ puts "#{__FILE__} #{__LINE__} #{t_o}" if @opt.act[:maintenance][:set]==:on
383
+ dr ┌ 9484 dR ┍ 9485 Dr ┎ 9486 DR ┏ 9487 dl ┐ 9488 dL ┑ 9489 Dl ┒ 9490 LD ┓ 9491 ur └ 9492 uR ┕ 9493 Ur ┖ 9494 UR ┗ 9495 ul ┘ 9496 uL ┙ 9497 Ul ┚ 9498 UL ┛ 9499 vr ├
384
+ dr ┌ 9484 dR ┍ 9485 Dr ┎ 9486 DR ┏ 9487 dl ┐ 9488 dL ┑ 9489 Dl ┒ 9490 LD ┓ 9491 ur └ 9492 uR ┕ 9493 Ur ┖ 9494 UR ┗ 9495 ul ┘ 9496 uL ┙ 9497 Ul ┚ 9498 UL ┛ 9499 vr ├
385
+ └ ┘
386
+ Iu ⌠ 8992 Il ⌡ <7 ⌈ 8968 >7 ⌉ 8969 7< ⌊ 8970 7> ⌋ 8971
387
+ <" 『 12302 >" 』 12303
388
+ <' 「 12300 >' 」 12301
data/lib/sisu/css.rb ADDED
@@ -0,0 +1,3484 @@
1
+ # encoding: utf-8
2
+ =begin
3
+
4
+ * Name: SiSU
5
+
6
+ ** Description: documents, structuring, processing, publishing, search
7
+ *** css stylesheets
8
+
9
+ ** Author: Ralph Amissah
10
+ <ralph@amissah.com>
11
+ <ralph.amissah@gmail.com>
12
+
13
+ ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
14
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah,
15
+ All Rights Reserved.
16
+
17
+ ** License: GPL 3 or later:
18
+
19
+ SiSU, a framework for document structuring, publishing and search
20
+
21
+ Copyright (C) Ralph Amissah
22
+
23
+ This program is free software: you can redistribute it and/or modify it
24
+ under the terms of the GNU General Public License as published by the Free
25
+ Software Foundation, either version 3 of the License, or (at your option)
26
+ any later version.
27
+
28
+ This program is distributed in the hope that it will be useful, but WITHOUT
29
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
30
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
31
+ more details.
32
+
33
+ You should have received a copy of the GNU General Public License along with
34
+ this program. If not, see <http://www.gnu.org/licenses/>.
35
+
36
+ If you have Internet connection, the latest version of the GPL should be
37
+ available at these locations:
38
+ <http://www.fsf.org/licensing/licenses/gpl.html>
39
+ <http://www.gnu.org/licenses/gpl.html>
40
+
41
+ <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
42
+
43
+ ** SiSU uses:
44
+ * Standard SiSU markup syntax,
45
+ * Standard SiSU meta-markup syntax, and the
46
+ * Standard SiSU object citation numbering and system
47
+
48
+ ** Hompages:
49
+ <http://www.jus.uio.no/sisu>
50
+ <http://www.sisudoc.org>
51
+
52
+ ** Git
53
+ <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary>
54
+ <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/css.rb;hb=HEAD>
55
+
56
+ =end
57
+ module SiSU_Style
58
+ require_relative 'se' # se.rb
59
+ require_relative 'html_parts' # html_parts.rb
60
+ class CSS_HeadInfo
61
+ def initialize(md,ft='html')
62
+ @md,@ft=md,ft
63
+ @env=SiSU_Env::InfoEnv.new('',md)
64
+ @fn_css ||=SiSU_Env::CSS_Default.new
65
+ @o_str ||=SiSU_Env::ProcessingSettings.new(md).output_dir_structure
66
+ css_copy
67
+ end
68
+ def stylesheet
69
+ def css_path
70
+ SiSU_Env::CSS_Stylesheet.new(@md)
71
+ end
72
+ def css_embed_content
73
+ @css_embed_content ||=SiSU_Style::CSS.new
74
+ end
75
+ def css_embed?
76
+ if @ft=='html' \
77
+ && @o_str.dump_or_redirect?
78
+ true
79
+ else
80
+ false
81
+ end
82
+ end
83
+ def css_embed(css)
84
+ <<-WOK
85
+ <style TYPE="text/css">
86
+ #{css}
87
+ </style>
88
+ WOK
89
+ end
90
+ def css_action
91
+ css=case @ft
92
+ when 'html'
93
+ css=css_embed_content.html
94
+ css_embed(css)
95
+ when 'xhtml'
96
+ css_path.xhtml
97
+ when 'xml_sax'
98
+ css_path.xml_sax
99
+ when 'xml_dom'
100
+ css_path.xml_dom
101
+ when 'xml_docbook'
102
+ css_path.xml_docbook
103
+ else
104
+ css_embed_content.html
105
+ end
106
+ end
107
+ def css_head
108
+ (css_embed?) \
109
+ ? css_action
110
+ : "#{css_path.html}#{css_path.html_seg}"
111
+ end
112
+ def css_head_seg
113
+ (css_embed?) \
114
+ ? css_action
115
+ : css_path.html_seg
116
+ end
117
+ def css_head_xml
118
+ css_action
119
+ end
120
+ self
121
+ end
122
+ def css_copy
123
+ if @o_str.dump_or_redirect?
124
+ css=SiSU_Style::CSS.new
125
+ if @o_str.dump?
126
+ css_pth="#{@md.opt.opt_act[:dump][:inst]}/#{@env.path.style}"
127
+ elsif @o_str.redirect?
128
+ css_pth="#{@md.opt.opt_act[:redirect][:inst]}/#{@md.fnb}/#{@env.path.style}"
129
+ end
130
+ FileUtils::mkdir_p(css_pth) unless FileTest.directory?(css_pth)
131
+ case @ft
132
+ when 'html'
133
+ style=File.new("#{css_pth}/#{@fn_css.html}",'w')
134
+ style << css.html
135
+ style.close
136
+ when 'xhtml'
137
+ style=File.new("#{css_pth}/#{@fn_css.xhtml}",'w')
138
+ style << css.xhtml
139
+ style.close
140
+ when 'xml_sax'
141
+ style=File.new("#{css_pth}/#{@fn_css.xml_sax}",'w')
142
+ style << css.xml_sax
143
+ style.close
144
+ when 'xml_dom'
145
+ style=File.new("#{css_pth}/#{@fn_css.xml_dom}",'w')
146
+ style << css.xml_dom
147
+ style.close
148
+ css_path.xml_dom
149
+ when 'xml_docbook'
150
+ style=File.new("#{css_pth}/#{@fn_css.xml_docbook}",'w')
151
+ style << css.xml_docbook
152
+ style.close
153
+ css_path.xml_docbook
154
+ end
155
+ end
156
+ end
157
+ end
158
+ class CSS
159
+ include SiSU_Parts_HTML
160
+ def fonts
161
+ the_font.set_fonts
162
+ end
163
+ def html_tables #stylesheet for css table_pages
164
+ <<WOK
165
+ /* SiSU table output stylesheet */
166
+ body {
167
+ color: black;
168
+ background: #{the_color.white};
169
+ }
170
+ p {
171
+ display: block;
172
+ line-height: 1.5;
173
+ font-family: #{the_font.set_fonts};
174
+ }
175
+ a:link {
176
+ color: #{the_color.blue_ink};
177
+ text-decoration: none;
178
+ }
179
+ a:visited {
180
+ color: #{the_color.blue_ink};
181
+ text-decoration: none;
182
+ /* background-color: #{the_color.blue_tinge}; */
183
+ }
184
+ a:hover {
185
+ color: #{the_color.black};
186
+ text-decoration: underline;
187
+ background-color: #{the_color.yellow_light};
188
+ }
189
+ a:active {
190
+ color: #{the_color.blue_ink};
191
+ text-decoration: underline;
192
+ }
193
+ WOK
194
+ end
195
+ def harvest
196
+ <<WOK
197
+ /* SiSU harvest css default stylesheet */
198
+ body {
199
+ color: black;
200
+ background: #ffffff;
201
+ background-color: #ffffff;
202
+ }
203
+ a:link {
204
+ color: #003399;
205
+ text-decoration: none;
206
+ }
207
+ a:visited {
208
+ color: #003399;
209
+ text-decoration: none;
210
+ }
211
+ a:hover {
212
+ color: #000000;
213
+ background-color: #f9f9aa;
214
+ }
215
+ a:hover img {
216
+ background-color: #ffffff;
217
+ }
218
+ a:active {
219
+ color: #003399;
220
+ text-decoration: underline;
221
+ }
222
+
223
+ .norm, .bold {
224
+ line-height: 150%;
225
+ margin-left: 1em;
226
+ margin-right: 2em;
227
+ margin-top: 10px;
228
+ margin-bottom: 0px;
229
+ text-indent: 0mm;
230
+ }
231
+ p, h0, h1, h2, h3, h4, h5, h6, h7 {
232
+ display: block;
233
+ font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman;
234
+ font-size: 100%;
235
+ font-weight: normal;
236
+ line-height: 150%;
237
+ /* text-align: justify; */
238
+ margin-left: 1em;
239
+ text-indent: 0mm;
240
+ margin-top: 2px;
241
+ margin-bottom: 2px;
242
+ margin-right: 6px;
243
+ text-align: left;
244
+ }
245
+ h1 {
246
+ font-size: 120%;
247
+ font-weight: bold;
248
+ color: white;
249
+ background: #000088;
250
+ margin-left: 0em;
251
+ }
252
+ p.work {
253
+ font-size: 80%;
254
+ margin-left: 5em;
255
+ margin-top: 0px;
256
+ margin-bottom: 0px;
257
+ margin-right: 6px;
258
+ text-align: left;
259
+ }
260
+ p.author {
261
+ font-size: 100%;
262
+ margin-left: 2em;
263
+ margin-top: 0px;
264
+ margin-bottom: 0px;
265
+ margin-right: 6px;
266
+ text-align: left;
267
+ }
268
+ p.publication {
269
+ font-size: 80%;
270
+ margin-left: 4em;
271
+ margin-top: 0px;
272
+ margin-bottom: 0px;
273
+ margin-right: 6px;
274
+ text-align: left;
275
+ }
276
+ p.letter {
277
+ font-weight: bold;
278
+ font-size: 60%;
279
+ margin-left: 1em;
280
+ margin-top: 0px;
281
+ margin-bottom: 0px;
282
+ margin-right: 6px;
283
+ text-align: left;
284
+ color: white;
285
+ background: #880000;
286
+ }
287
+ p.lev0 {
288
+ font-size: 120%;
289
+ margin-left: 1em;
290
+ color: white;
291
+ background: #000000;
292
+ }
293
+
294
+ p.lev1 {
295
+ font-size: 110%;
296
+ margin-left: 2em;
297
+ color: white;
298
+ background: #444444;
299
+ }
300
+
301
+ p.lev2 {
302
+ font-size: 100%;
303
+ margin-left: 3em;
304
+ background: #888888;
305
+ }
306
+
307
+ p.lev3 {
308
+ font-size: 90%;
309
+ margin-left: 4em;
310
+ background: #bbbbbb;
311
+ }
312
+
313
+ p.lev4 {
314
+ font-size: 80%;
315
+ margin-left: 5em;
316
+ background: #eeeeee;
317
+ }
318
+
319
+ p.lev5 {
320
+ font-size: 80%;
321
+ margin-left: 6em;
322
+ }
323
+ WOK
324
+ end
325
+ def html #stylesheet for css html pages== html.css
326
+ <<WOK
327
+ /* SiSU css default stylesheet */
328
+ body {
329
+ color: black;
330
+ background: #ffffff;
331
+ background-color: #ffffff;
332
+ }
333
+ /*
334
+ table {
335
+ margin-left: 5%;
336
+ display: block;
337
+ }
338
+ tr {
339
+ display: block;
340
+ }
341
+ th,td {
342
+ display: inline;
343
+ vertical-align: top;
344
+ }
345
+ */
346
+ a:link {
347
+ color: #003399;
348
+ text-decoration: none;
349
+ }
350
+ a:visited {
351
+ color: #003399;
352
+ text-decoration: none;
353
+ }
354
+ a:hover {
355
+ color: #000000;
356
+ background-color: #f9f9aa;
357
+ }
358
+ a:hover img {
359
+ background-color: #ffffff;
360
+ }
361
+ a:active {
362
+ color: #003399;
363
+ text-decoration: underline;
364
+ }
365
+ a.lnkocn:link {
366
+ color: #777777;
367
+ text-decoration: none;
368
+ }
369
+ a.lnkocn:visited {
370
+ color: #555555;
371
+ text-decoration: none;
372
+ }
373
+ div {
374
+ margin-left: 0;
375
+ margin-right: 0;
376
+ }
377
+ div.p {
378
+ margin-left: 5%;
379
+ margin-right: 1%;
380
+ }
381
+
382
+ #top_band {
383
+ position: absolute;
384
+ top: 0;
385
+ bottom: 80px;
386
+ width: 100%;
387
+ }
388
+ #top_band_search {
389
+ position: absolute;
390
+ top: 0px;
391
+ right: 0px;
392
+ margin-left: 75%;
393
+ width: 20%;
394
+ }
395
+ #column_left {
396
+ position: absolute;
397
+ top: 80px;
398
+ left: 0;
399
+ margin-left: 1%;
400
+ width: 20%;
401
+ }
402
+ #column_center {
403
+ position: absolute;
404
+ top: 80px;
405
+ margin-left: 20%;
406
+ width: 55%;
407
+ }
408
+ #column_right {
409
+ position: absolute;
410
+ top: 80px;
411
+ right: 0px;
412
+ margin-left: 75%;
413
+ width: 25%;
414
+ }
415
+ #pane_major {
416
+ position: absolute;
417
+ top: 0px;
418
+ left: 0;
419
+ margin-left: 0;
420
+ width: 80%;
421
+ }
422
+ #pane_minor {
423
+ position: absolute;
424
+ top: 0px;
425
+ right: 0px;
426
+ margin-left: 75%;
427
+ width: 20%;
428
+ background-color: #aaaaaa;
429
+ }
430
+
431
+ .norm, .bold, .verse, .group, .block, .alt {
432
+ line-height: 133%;
433
+ margin-left: 0em;
434
+ margin-right: 2em;
435
+ margin-top: 12px;
436
+ margin-bottom: 0px;
437
+ padding-left: 0em;
438
+ text-indent: 0em;
439
+ }
440
+ p, h0, h1, h2, h3, h4, h5, h6, h7 {
441
+ display: block;
442
+ font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman;
443
+ font-size: 100%;
444
+ font-weight: normal;
445
+ line-height: 133%;
446
+ text-align: justify;
447
+ margin-left: 0em;
448
+ margin-right: 2em;
449
+ text-indent: 0mm;
450
+ margin-top: 0.8em;
451
+ margin-bottom: 0.8em;
452
+ }
453
+
454
+ /* indent */
455
+
456
+ p.norm { }
457
+ p.i1 {padding-left: 1em;}
458
+ p.i2 {padding-left: 2em;}
459
+ p.i3 {padding-left: 3em;}
460
+ p.i4 {padding-left: 4em;}
461
+ p.i5 {padding-left: 5em;}
462
+ p.i6 {padding-left: 6em;}
463
+ p.i7 {padding-left: 7em;}
464
+ p.i8 {padding-left: 8em;}
465
+ p.i9 {padding-left: 9em;}
466
+
467
+ /* hanging indent */
468
+
469
+ p.h0i0 {
470
+ padding-left: 0em;
471
+ text-indent: 0em;
472
+ }
473
+ p.h0i1 {
474
+ padding-left: 1em;
475
+ text-indent: -1em;
476
+ }
477
+ p.h0i2 {
478
+ padding-left: 2em;
479
+ text-indent: -2em;
480
+ }
481
+ p.h0i3 {
482
+ padding-left: 3em;
483
+ text-indent: -3em;
484
+ }
485
+ p.h0i4 {
486
+ padding-left: 4em;
487
+ text-indent: -4em;
488
+ }
489
+ p.h0i5 {
490
+ padding-left: 5em;
491
+ text-indent: -5em;
492
+ }
493
+ p.h0i6 {
494
+ padding-left: 6em;
495
+ text-indent: -6em;
496
+ }
497
+ p.h0i7 {
498
+ padding-left: 7em;
499
+ text-indent: -7em;
500
+ }
501
+ p.h0i8 {
502
+ padding-left: 8em;
503
+ text-indent: -8em;
504
+ }
505
+ p.h0i9 {
506
+ padding-left: 9em;
507
+ text-indent: -9em;
508
+ }
509
+
510
+ p.h1i0 {
511
+ padding-left: 0em;
512
+ text-indent: 1em;
513
+ }
514
+ p.h1i1 {
515
+ padding-left: 1em;
516
+ text-indent: 0em;
517
+ }
518
+ p.h1i2 {
519
+ padding-left: 2em;
520
+ text-indent: -1em;
521
+ }
522
+ p.h1i3 {
523
+ padding-left: 3em;
524
+ text-indent: -2em;
525
+ }
526
+ p.h1i4 {
527
+ padding-left: 4em;
528
+ text-indent: -3em;
529
+ }
530
+ p.h1i5 {
531
+ padding-left: 5em;
532
+ text-indent: -4em;
533
+ }
534
+ p.h1i6 {
535
+ padding-left: 6em;
536
+ text-indent: -5em;
537
+ }
538
+ p.h1i7 {
539
+ padding-left: 7em;
540
+ text-indent: -6em;
541
+ }
542
+ p.h1i8 {
543
+ padding-left: 8em;
544
+ text-indent: -7em;
545
+ }
546
+ p.h1i9 {
547
+ padding-left: 9em;
548
+ text-indent: -8em;
549
+ }
550
+
551
+ p.h2i0 {
552
+ padding-left: 0em;
553
+ text-indent: 2em;
554
+ }
555
+ p.h2i1 {
556
+ padding-left: 1em;
557
+ text-indent: 1em;
558
+ }
559
+ p.h2i2 {
560
+ padding-left: 2em;
561
+ text-indent: 0em;
562
+ }
563
+ p.h2i3 {
564
+ padding-left: 3em;
565
+ text-indent: -1em;
566
+ }
567
+ p.h2i4 {
568
+ padding-left: 4em;
569
+ text-indent: -2em;
570
+ }
571
+ p.h2i5 {
572
+ padding-left: 5em;
573
+ text-indent: -3em;
574
+ }
575
+ p.h2i6 {
576
+ padding-left: 6em;
577
+ text-indent: -4em;
578
+ }
579
+ p.h2i7 {
580
+ padding-left: 7em;
581
+ text-indent: -5em;
582
+ }
583
+ p.h2i8 {
584
+ padding-left: 8em;
585
+ text-indent: -6em;
586
+ }
587
+ p.h2i9 {
588
+ padding-left: 9em;
589
+ text-indent: -7em;
590
+ }
591
+
592
+ p.h3i0 {
593
+ padding-left: 0em;
594
+ text-indent: 3em;
595
+ }
596
+ p.h3i1 {
597
+ padding-left: 1em;
598
+ text-indent: 2em;
599
+ }
600
+ p.h3i2 {
601
+ padding-left: 2em;
602
+ text-indent: 1em;
603
+ }
604
+ p.h3i3 {
605
+ padding-left: 3em;
606
+ text-indent: 0em;
607
+ }
608
+ p.h3i4 {
609
+ padding-left: 4em;
610
+ text-indent: -1em;
611
+ }
612
+ p.h3i5 {
613
+ padding-left: 5em;
614
+ text-indent: -2em;
615
+ }
616
+ p.h3i6 {
617
+ padding-left: 6em;
618
+ text-indent: -3em;
619
+ }
620
+ p.h3i7 {
621
+ padding-left: 7em;
622
+ text-indent: -4em;
623
+ }
624
+ p.h3i8 {
625
+ padding-left: 8em;
626
+ text-indent: -5em;
627
+ }
628
+ p.h3i9 {
629
+ padding-left: 9em;
630
+ text-indent: -6em;
631
+ }
632
+
633
+ p.h4i0 {
634
+ padding-left: 0em;
635
+ text-indent: 4em;
636
+ }
637
+ p.h4i1 {
638
+ padding-left: 1em;
639
+ text-indent: 3em;
640
+ }
641
+ p.h4i2 {
642
+ padding-left: 2em;
643
+ text-indent: 2em;
644
+ }
645
+ p.h4i3 {
646
+ padding-left: 3em;
647
+ text-indent: 1em;
648
+ }
649
+ p.h4i4 {
650
+ padding-left: 4em;
651
+ text-indent: 0em;
652
+ }
653
+ p.h4i5 {
654
+ padding-left: 5em;
655
+ text-indent: -1em;
656
+ }
657
+ p.h4i6 {
658
+ padding-left: 6em;
659
+ text-indent: -2em;
660
+ }
661
+ p.h4i7 {
662
+ padding-left: 7em;
663
+ text-indent: -3em;
664
+ }
665
+ p.h4i8 {
666
+ padding-left: 8em;
667
+ text-indent: -4em;
668
+ }
669
+ p.h4i9 {
670
+ padding-left: 9em;
671
+ text-indent: -5em;
672
+ }
673
+
674
+ p.h5i0 {
675
+ padding-left: 0em;
676
+ text-indent: 5em;
677
+ }
678
+ p.h5i1 {
679
+ padding-left: 1em;
680
+ text-indent: 4em;
681
+ }
682
+ p.h5i2 {
683
+ padding-left: 2em;
684
+ text-indent: 3em;
685
+ }
686
+ p.h5i3 {
687
+ padding-left: 3em;
688
+ text-indent: 2em;
689
+ }
690
+ p.h5i4 {
691
+ padding-left: 4em;
692
+ text-indent: 1em;
693
+ }
694
+ p.h5i5 {
695
+ padding-left: 5em;
696
+ text-indent: 0em;
697
+ }
698
+ p.h5i6 {
699
+ padding-left: 6em;
700
+ text-indent: -1em;
701
+ }
702
+ p.h5i7 {
703
+ padding-left: 7em;
704
+ text-indent: -2em;
705
+ }
706
+ p.h5i8 {
707
+ padding-left: 8em;
708
+ text-indent: -3em;
709
+ }
710
+ p.h5i9 {
711
+ padding-left: 9em;
712
+ text-indent: -4em;
713
+ }
714
+
715
+ p.h6i0 {
716
+ padding-left: 0em;
717
+ text-indent: 6em;
718
+ }
719
+ p.h6i1 {
720
+ padding-left: 1em;
721
+ text-indent: 5em;
722
+ }
723
+ p.h6i2 {
724
+ padding-left: 2em;
725
+ text-indent: 4em;
726
+ }
727
+ p.h6i3 {
728
+ padding-left: 3em;
729
+ text-indent: 3em;
730
+ }
731
+ p.h6i4 {
732
+ padding-left: 4em;
733
+ text-indent: 2em;
734
+ }
735
+ p.h6i5 {
736
+ padding-left: 5em;
737
+ text-indent: 1em;
738
+ }
739
+ p.h6i6 {
740
+ padding-left: 6em;
741
+ text-indent: 0em;
742
+ }
743
+ p.h6i7 {
744
+ padding-left: 7em;
745
+ text-indent: -1em;
746
+ }
747
+ p.h6i8 {
748
+ padding-left: 8em;
749
+ text-indent: -2em;
750
+ }
751
+ p.h6i9 {
752
+ padding-left: 9em;
753
+ text-indent: -3em;
754
+ }
755
+
756
+ p.h7i0 {
757
+ padding-left: 0em;
758
+ text-indent: 7em;
759
+ }
760
+ p.h7i1 {
761
+ padding-left: 1em;
762
+ text-indent: 6em;
763
+ }
764
+ p.h7i2 {
765
+ padding-left: 2em;
766
+ text-indent: 5em;
767
+ }
768
+ p.h7i3 {
769
+ padding-left: 3em;
770
+ text-indent: 4em;
771
+ }
772
+ p.h7i4 {
773
+ padding-left: 4em;
774
+ text-indent: 3em;
775
+ }
776
+ p.h7i5 {
777
+ padding-left: 5em;
778
+ text-indent: 2em;
779
+ }
780
+ p.h7i6 {
781
+ padding-left: 6em;
782
+ text-indent: 1em;
783
+ }
784
+ p.h7i7 {
785
+ padding-left: 7em;
786
+ text-indent: 0em;
787
+ }
788
+ p.h7i8 {
789
+ padding-left: 8em;
790
+ text-indent: -1em;
791
+ }
792
+ p.h7i9 {
793
+ padding-left: 9em;
794
+ text-indent: -2em;
795
+ }
796
+
797
+ p.h8i0 {
798
+ padding-left: 0em;
799
+ text-indent: 8em;
800
+ }
801
+ p.h8i1 {
802
+ padding-left: 1em;
803
+ text-indent: 7em;
804
+ }
805
+ p.h8i2 {
806
+ padding-left: 2em;
807
+ text-indent: 6em;
808
+ }
809
+ p.h8i3 {
810
+ padding-left: 3em;
811
+ text-indent: 5em;
812
+ }
813
+ p.h8i4 {
814
+ padding-left: 4em;
815
+ text-indent: 4em;
816
+ }
817
+ p.h8i5 {
818
+ padding-left: 5em;
819
+ text-indent: 3em;
820
+ }
821
+ p.h8i6 {
822
+ padding-left: 6em;
823
+ text-indent: 2em;
824
+ }
825
+ p.h8i7 {
826
+ padding-left: 7em;
827
+ text-indent: 1em;
828
+ }
829
+ p.h8i8 {
830
+ padding-left: 8em;
831
+ text-indent: 0em;
832
+ }
833
+ p.h8i9 {
834
+ padding-left: 9em;
835
+ text-indent: -1em;
836
+ }
837
+
838
+ p.h9i0 {
839
+ padding-left: 0em;
840
+ text-indent: 9em;
841
+ }
842
+ p.h9i1 {
843
+ padding-left: 1em;
844
+ text-indent: 8em;
845
+ }
846
+ p.h9i2 {
847
+ padding-left: 2em;
848
+ text-indent: 7em;
849
+ }
850
+ p.h9i3 {
851
+ padding-left: 3em;
852
+ text-indent: 6em;
853
+ }
854
+ p.h9i4 {
855
+ padding-left: 4em;
856
+ text-indent: 5em;
857
+ }
858
+ p.h9i5 {
859
+ padding-left: 5em;
860
+ text-indent: 4em;
861
+ }
862
+ p.h9i6 {
863
+ padding-left: 6em;
864
+ text-indent: 3em;
865
+ }
866
+ p.h9i7 {
867
+ padding-left: 7em;
868
+ text-indent: 2em;
869
+ }
870
+ p.h9i8 {
871
+ padding-left: 8em;
872
+ text-indent: 1em;
873
+ }
874
+ p.h9i9 {
875
+ padding-left: 9em;
876
+ text-indent: 0em;
877
+ }
878
+
879
+ p.it0 {
880
+ margin-left: 0em;
881
+ margin-top: 6px;
882
+ margin-bottom: 0px;
883
+ line-height: 100%;
884
+ }
885
+ p.it1 {
886
+ margin-left: 1em;
887
+ margin-top: 0px;
888
+ margin-bottom: 0px;
889
+ line-height: 100%;
890
+ }
891
+ p.it2 {
892
+ margin-left: 2em;
893
+ margin-top: 0px;
894
+ margin-bottom: 0px;
895
+ line-height: 100%;
896
+ }
897
+ p.it3 {
898
+ margin-left: 3em;
899
+ margin-top: 0px;
900
+ margin-bottom: 0px;
901
+ line-height: 100%;
902
+ }
903
+ p.it4 {
904
+ margin-left: 4em;
905
+ margin-top: 0px;
906
+ margin-bottom: 0px;
907
+ line-height: 100%;
908
+ }
909
+ p.it5 {
910
+ margin-left: 5em;
911
+ margin-top: 0px;
912
+ margin-bottom: 0px;
913
+ line-height: 100%;
914
+ }
915
+ p.it6 {
916
+ margin-left: 6em;
917
+ margin-top: 0px;
918
+ margin-bottom: 0px;
919
+ line-height: 100%;
920
+ }
921
+ p.it7 {
922
+ margin-left: 7em;
923
+ margin-top: 0px;
924
+ margin-bottom: 0px;
925
+ line-height: 100%;
926
+ }
927
+ p.it8 {
928
+ margin-left: 8em;
929
+ margin-top: 0px;
930
+ margin-bottom: 0px;
931
+ line-height: 100%;
932
+ }
933
+ p.it9 {
934
+ margin-left: 9em;
935
+ margin-bottom: 0px;
936
+ margin-top: 0px;
937
+ line-height: 100%;
938
+ }
939
+
940
+ p.block { }
941
+
942
+ p.group { }
943
+
944
+ p.alt { }
945
+
946
+ p.verse {
947
+ margin-bottom: 6px;
948
+ }
949
+
950
+ p.code {
951
+ font-family: inconsolata, andale mono, courier new, courier, monospace;
952
+ font-size: 90%;
953
+ text-align: left;
954
+ background-color: #eeeeee;
955
+ }
956
+
957
+ p.caption {
958
+ text-align: left;
959
+ font-size: 80%;
960
+ display: inline;
961
+ }
962
+
963
+ p.endnote {
964
+ font-size: 96%;
965
+ line-height: 120%;
966
+ text-align: left;
967
+ margin-right: 15mm;
968
+ }
969
+ p.endnote_indent {
970
+ font-size: 96%;
971
+ line-height: 120%;
972
+ text-align: left;
973
+ margin-left: 2em;
974
+ margin-right: 15mm;
975
+ }
976
+
977
+ p.center {
978
+ text-align: center;
979
+ }
980
+ p.bold {
981
+ font-weight: bold;
982
+ }
983
+ p.bold_left {
984
+ font-weight: bold;
985
+ text-align: left;
986
+ }
987
+ p.centerbold {
988
+ text-align: center;
989
+ font-weight: bold;
990
+ }
991
+ p.em {
992
+ font-weight: bold;
993
+ font-style: normal;
994
+ background: #fff3b6;
995
+ }
996
+
997
+ p.small {
998
+ font-size: 80%;
999
+ margin-top: 0px;
1000
+ margin-bottom: 0px;
1001
+ margin-right: 6px;
1002
+ text-align: left;
1003
+ }
1004
+
1005
+ .tiny, .tiny_left, .tiny_right, .tiny_center {
1006
+ font-size: 10px;
1007
+ margin-top: 0px;
1008
+ margin-bottom: 0px;
1009
+ color: #777777;
1010
+ margin-right: 6px;
1011
+ text-align: left;
1012
+ }
1013
+ p.tiny { }
1014
+ p.tiny_left {
1015
+ margin-left: 0px;
1016
+ margin-right: 0px;
1017
+ text-align: left;
1018
+ }
1019
+ p.tiny_right {
1020
+ margin-right: 1em;
1021
+ text-align: right;
1022
+ }
1023
+ p.tiny_center {
1024
+ margin-left: 0px;
1025
+ margin-right: 0px;
1026
+ text-align: center;
1027
+ }
1028
+
1029
+ p.pane, p.pane_title, p.pane_blurb, p.pane_link, p.pane_indent {
1030
+ font-size: 80%;
1031
+ margin-top: 0px;
1032
+ margin-bottom: 0px;
1033
+ margin-left: 2mm;
1034
+ margin-right: 4px;
1035
+ text-align: left;
1036
+ }
1037
+ p.pane { }
1038
+ p.pane_title {
1039
+ font-weight: bold;
1040
+ margin-bottom: 0px;
1041
+ }
1042
+ p.pane_blurb {
1043
+ font-size: 10px;
1044
+ margin-bottom: 0px;
1045
+ }
1046
+ p.pane_link {
1047
+ font-size: 10px;
1048
+ margin-bottom: 0px;
1049
+ margin-left: 4mm;
1050
+ }
1051
+ p.pane_indent {
1052
+ font-size: 10px;
1053
+ margin-bottom: 0px;
1054
+ margin-left: 4mm;
1055
+ }
1056
+
1057
+ p.concordance_word {
1058
+ line-height: 150%;
1059
+ font-weight: bold;
1060
+ display: inline;
1061
+ margin-top: 4px;
1062
+ margin-bottom: 1px;
1063
+ }
1064
+ p.concordance_count {
1065
+ font-size: 80%;
1066
+ color: #777777;
1067
+ display: inline;
1068
+ margin-left: 0em;
1069
+ }
1070
+ p.concordance_object {
1071
+ font-size: 80%;
1072
+ line-height: 120%;
1073
+ text-align: left;
1074
+ margin-left: 3em;
1075
+ margin-top: 1px;
1076
+ margin-bottom: 3px;
1077
+ }
1078
+ p.book_index_lev1 {
1079
+ line-height: 100%;
1080
+ margin-top: 4px;
1081
+ margin-bottom: 1px;
1082
+ }
1083
+ p.book_index_lev2 {
1084
+ line-height: 100%;
1085
+ text-align: left;
1086
+ margin-left: 3em;
1087
+ margin-top: 1px;
1088
+ margin-bottom: 3px;
1089
+ }
1090
+
1091
+ p.quickref {
1092
+ font-size: 10px;
1093
+ font-style: italic;
1094
+ margin-top: 0px;
1095
+ margin-bottom: 0px;
1096
+ color: #777777;
1097
+ margin-right: 5px;
1098
+ text-align: left;
1099
+ }
1100
+ p.bigref {
1101
+ font-size: 11px;
1102
+ font-weight: bold;
1103
+ margin-top: 0px;
1104
+ margin-bottom: 0px;
1105
+ color: #777777;
1106
+ margin-right: 5px;
1107
+ text-align: center;
1108
+ }
1109
+
1110
+ p.letter {
1111
+ font-weight: bold;
1112
+ font-size: 80%;
1113
+ margin-left: 0em;
1114
+ margin-top: 2px;
1115
+ margin-bottom: 2px;
1116
+ margin-right: 6px;
1117
+ text-align: left;
1118
+ color: white;
1119
+ background: #880000;
1120
+ }
1121
+
1122
+ tt {
1123
+ font-family: inconsolata, andale mono, courier new, courier, monospace;
1124
+ background-color: #eeeeee;
1125
+ }
1126
+
1127
+ label.ocn {
1128
+ width: 2%;
1129
+ float: right;
1130
+ top: 0;
1131
+ font-size: 10px;
1132
+ margin-top: 0px;
1133
+ margin-bottom: 5px;
1134
+ color: #777777;
1135
+ margin-right: 5px;
1136
+ text-align: right;
1137
+ background-color: #ffffff;
1138
+ }
1139
+
1140
+ table { }
1141
+ tr { }
1142
+ th,td {
1143
+ vertical-align: top;
1144
+ text-align: left;
1145
+ }
1146
+ th {
1147
+ font-weight: bold;
1148
+ }
1149
+
1150
+ p.left,th.left,td.left {
1151
+ text-align: left;
1152
+ }
1153
+ p.small_left,th.small_left,td.small_left {
1154
+ text-align: left;
1155
+ font-size: 80%;
1156
+ }
1157
+ p.right,th.right,td.right {
1158
+ text-align: right;
1159
+ }
1160
+
1161
+ #horizontal_links {
1162
+ background: #eeeeee;
1163
+ margin-left: 5%;
1164
+ margin-right: 5%;
1165
+ }
1166
+ #horizontal {
1167
+ margin: 0;
1168
+ padding: 0 0 0 10px;
1169
+ border-top: 1px solid #000077;
1170
+ border-bottom: 1px solid #000077;
1171
+ }
1172
+ #horizontal li {
1173
+ margin: 0 0 0 0;
1174
+ padding: 0 16px 0 0;
1175
+ display: inline;
1176
+ list-style-type: none;
1177
+ text-align: left;
1178
+ background: none;
1179
+ }
1180
+ #horizontal a {
1181
+ line-height: 12px;
1182
+ margin: 0 0 0 0;
1183
+ text-decoration: none;
1184
+ color: #000077;
1185
+ }
1186
+ #horizontal a.active, #horizontal a:hover {
1187
+ border-bottom: 2px solid #777777;
1188
+ padding-bottom: 2px;
1189
+ color: #000077;
1190
+ }
1191
+ #horizontal a:hover {
1192
+ color: #000077;
1193
+ }
1194
+
1195
+ #document_versions {
1196
+ position: absolute;
1197
+ top: 10mm;
1198
+ right: 2%;
1199
+ width: 12%;
1200
+ float: right;
1201
+ }
1202
+
1203
+ #vertical_links {
1204
+ position: absolute;
1205
+ top: 10mm;
1206
+ right: 0px;
1207
+ width: 20%;
1208
+ background: #dddddd;
1209
+ float: right;
1210
+ }
1211
+ #vertical {
1212
+ padding: 0 12px 0px 0px;
1213
+ margin-left: 2%;
1214
+ margin-right: 2%;
1215
+ }
1216
+ #vertical li {
1217
+ display: block;
1218
+ list-style-type: none;
1219
+ }
1220
+ #vertical a {
1221
+ line-height: 12px;
1222
+ text-decoration: none;
1223
+ color: #000077;
1224
+ }
1225
+ #vertical a.active, #vertical a:hover {
1226
+ border-bottom: 2px solid #777777;
1227
+ padding-bottom: 2px;
1228
+ color: #000077;
1229
+ }
1230
+
1231
+ ul, li {
1232
+ list-style-type: none;
1233
+ list-style: none;
1234
+ padding-left: 20px;
1235
+ display: block;
1236
+ font-family: verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman;
1237
+ font-weight: normal;
1238
+ line-height: 150%;
1239
+ text-align: left;
1240
+ text-indent: 0mm;
1241
+ margin-left: 1em;
1242
+ margin-right: 2em;
1243
+ margin-top: 3px;
1244
+ margin-bottom: 3px;
1245
+ }
1246
+
1247
+ li {
1248
+ background: url(../image_sys/bullet_09.png) no-repeat 0px 6px;
1249
+ }
1250
+
1251
+ ul {
1252
+ }
1253
+ li.bullet { margin-left: 1em; }
1254
+ li.i1 { margin-left: 2em; }
1255
+ li.i2 { margin-left: 3em; }
1256
+ li.i3 { margin-left: 4em; }
1257
+ li.i4 { margin-left: 5em; }
1258
+ li.i5 { margin-left: 6em; }
1259
+ li.i6 { margin-left: 7em; }
1260
+ li.i7 { margin-left: 8em; }
1261
+ li.i8 { margin-left: 9em; }
1262
+ li.i9 { margin-left: 10em; }
1263
+
1264
+ li.doc, li.ref, li.refcenter {
1265
+ margin-top: 0px;
1266
+ margin-bottom: 0px;
1267
+ margin-right: 0px;
1268
+ font-size: 8px;
1269
+ font-style: normal;
1270
+ text-align: left;
1271
+ }
1272
+ li.doc {
1273
+ background: url(../image_sys/bullet_09.png) no-repeat 0px 6px;
1274
+ padding-left: 16px;
1275
+ margin-left: 10px;
1276
+ margin-right: 0px;
1277
+ }
1278
+ li.ref {
1279
+ background: none;
1280
+ padding-left: 0;
1281
+ margin-left: 0;
1282
+ color: #777777;
1283
+ }
1284
+ li.refcenter {
1285
+ background: url(../image_sys/bullet_09.png) no-repeat 0px 6px;
1286
+ padding-left: 20px;
1287
+ margin-left: 10%;
1288
+ font-size: 9px;
1289
+ color: #777777;
1290
+ text-align: center;
1291
+ }
1292
+ li.refbold {
1293
+ list-style-type: none;
1294
+ padding-left: 16px;
1295
+ margin-left: 0;
1296
+ margin-right: 10mm;
1297
+ font-weight: bold;
1298
+ }
1299
+
1300
+ h0, h1, h2, h3, h4, h5, h6, h7 {
1301
+ font-weight: bold;
1302
+ line-height: 120%;
1303
+ text-align: left;
1304
+ margin-top: 20px;
1305
+ margin-bottom: 10px;
1306
+ }
1307
+ h4.norm, h5.norm, h6.norm, h7.norm {
1308
+ margin-top: 10px;
1309
+ margin-bottom: 0px;
1310
+ }
1311
+ h1.center, h2.center, h3.center, h4.center, h5.center, h6.center, h7.center {
1312
+ text-align: center;
1313
+ }
1314
+ h1 { font-size: 120%; }
1315
+ h2 { font-size: 115%; }
1316
+ h3 { font-size: 110%; }
1317
+ h4 { font-size: 105%; }
1318
+ h5 { font-size: 100%; }
1319
+ h6 { font-size: 100%; }
1320
+ h7 { font-size: 100%; }
1321
+ h0 { font-size: 80%; }
1322
+
1323
+ h1.i {margin-left: 2em;}
1324
+ h2.i {margin-left: 3em;}
1325
+ h3.i {margin-left: 4em;}
1326
+ h4.i {margin-left: 5em;}
1327
+ h5.i {margin-left: 6em;}
1328
+ h6.i {margin-left: 7em;}
1329
+ h7.i {margin-left: 8em;}
1330
+ h8.i {margin-left: 9em;}
1331
+ h9.i {margin-left: 10em;}
1332
+ h1.top_band {
1333
+ display: inline;
1334
+ text-align: left;
1335
+ margin-top: 0;
1336
+ margin-left: 4mm;
1337
+ text-indent: 0mm;
1338
+ font-weight: bold;
1339
+ font-size: 120%;
1340
+ }
1341
+ h2.top_band_tiny {
1342
+ font-size: 10px;
1343
+ font-weight: normal;
1344
+ margin-top: 0px;
1345
+ margin-left: 4mm;
1346
+ text-indent: 0mm;
1347
+ margin-bottom: 0px;
1348
+ color: #777777;
1349
+ margin-left: 140px;
1350
+ margin-right: 0px;
1351
+ text-align: left;
1352
+ }
1353
+
1354
+ p.top_band {
1355
+ display: inline;
1356
+ text-align: left;
1357
+ margin-top: 0;
1358
+ margin-left: 140px;
1359
+ text-indent: 0mm;
1360
+ font-weight: bold;
1361
+ font-size: 120%;
1362
+ }
1363
+ p.top_band_tiny {
1364
+ font-size: 10px;
1365
+ margin-top: 0px;
1366
+ margin-bottom: 0px;
1367
+ color: #777777;
1368
+ margin-left: 140px;
1369
+ margin-right: 0px;
1370
+ text-align: left;
1371
+ }
1372
+ p.top_band_image {
1373
+ float: left;
1374
+ display: inline;
1375
+ text-align: left;
1376
+ margin-top: 0;
1377
+ margin-left: 1mm;
1378
+ text-indent: 0mm;
1379
+ margin-right: 1mm;
1380
+ }
1381
+
1382
+ .banner, .subbanner {
1383
+ font-weight: bold;
1384
+ text-align: center;
1385
+ margin-left: 10mm;
1386
+ margin-right: 15mm;
1387
+ margin-top: 20px;
1388
+ margin-bottom: 10px;
1389
+ }
1390
+
1391
+ h1.banner {
1392
+ font-size: 120%;
1393
+ }
1394
+ h1.subbanner {
1395
+ font-size: 115%;
1396
+ }
1397
+ h2.banner {
1398
+ font-size: 110%;
1399
+ }
1400
+ h3.banner {
1401
+ color: #990000;
1402
+ font-size: 105%;
1403
+ }
1404
+ h4.banner {
1405
+ color: #ff0000;
1406
+ font-size: 100%;
1407
+ }
1408
+ h5.banner {
1409
+ }
1410
+ h6.banner {
1411
+ }
1412
+ h7.banner {
1413
+ }
1414
+
1415
+ .toc {
1416
+ font-weight: normal;
1417
+ margin-top: 6px;
1418
+ margin-bottom: 6px;
1419
+ }
1420
+ h1.toc {
1421
+ margin-left: 1em;
1422
+ font-size: 115%;
1423
+ line-height: 150%;
1424
+ }
1425
+ h2.toc {
1426
+ margin-left: 2em;
1427
+ font-size: 110%;
1428
+ line-height: 140%;
1429
+ }
1430
+ h3.toc {
1431
+ margin-left: 3em;
1432
+ font-size: 105%;
1433
+ line-height: 120%;
1434
+ }
1435
+ h4.toc {
1436
+ margin-left: 4em;
1437
+ font-size: 100%;
1438
+ line-height: 120%;
1439
+ }
1440
+ h5.toc {
1441
+ margin-left: 5em;
1442
+ font-size: 95%;
1443
+ line-height: 110%;
1444
+ }
1445
+ h6.toc {
1446
+ margin-left: 6em;
1447
+ font-size: 90%;
1448
+ line-height: 110%;
1449
+ }
1450
+ h7.toc {
1451
+ margin-left: 7em;
1452
+ font-size: 85%;
1453
+ line-height: 100%;
1454
+ }
1455
+
1456
+ .microtoc {
1457
+ margin-top: 2px;
1458
+ margin-bottom: 2px;
1459
+ }
1460
+
1461
+ h1.microtoc {
1462
+ margin-left: 0mm;
1463
+ font-size: 115%;
1464
+ }
1465
+ h2.microtoc {
1466
+ margin-left: 5mm;
1467
+ font-size: 110%;
1468
+ }
1469
+ h3.microtoc {
1470
+ margin-left: 10mm;
1471
+ font-size: 105%;
1472
+ }
1473
+ h4.microtoc {
1474
+ margin-left: 15mm;
1475
+ font-weight: normal;
1476
+ font-size: 100%;
1477
+ }
1478
+ h5.microtoc {
1479
+ margin-left: 20mm;
1480
+ font-weight: normal;
1481
+ font-size: 95%;
1482
+ }
1483
+ h6.microtoc {
1484
+ margin-left: 25mm;
1485
+ font-weight: normal;
1486
+ font-size: 90%;
1487
+ }
1488
+ h7.microtoc {
1489
+ margin-left: 30mm;
1490
+ font-weight: normal;
1491
+ font-size: 85%;
1492
+ }
1493
+
1494
+ .subtoc {
1495
+ margin-right: 34%;
1496
+ font-weight: normal;
1497
+ }
1498
+ h5.subtoc {
1499
+ margin-left: 2em;
1500
+ font-size: 80%;
1501
+ margin-top: 2px;
1502
+ margin-bottom: 2px;
1503
+ }
1504
+ h6.subtoc {
1505
+ margin-left: 3em;
1506
+ font-size: 75%;
1507
+ margin-top: 0px;
1508
+ margin-bottom: 0px;
1509
+ }
1510
+ h7.subtoc {
1511
+ margin-left: 4em;
1512
+ font-size: 70%;
1513
+ margin-top: 0px;
1514
+ margin-bottom: 0px;
1515
+ }
1516
+
1517
+ div.substance {
1518
+ width: 100%;
1519
+ background-color: #ffffff;
1520
+ }
1521
+ div.ocn {
1522
+ width: 5%;
1523
+ float: right;
1524
+ top: 0;
1525
+ background-color: #ffffff;
1526
+ }
1527
+ div.endnote {
1528
+ width: 95%;
1529
+ background-color: #fffffff;
1530
+ }
1531
+ div.toc {
1532
+ position: absolute;
1533
+ float: left;
1534
+ margin: 0;
1535
+ padding: 0;
1536
+ padding-top: 0.5em;
1537
+ border: 0;
1538
+ width: 13em;
1539
+ background-color: #eeeeee;
1540
+ margin-right:1em;
1541
+ }
1542
+ div.summary {
1543
+ margin: 0;
1544
+ padding: 0;
1545
+ border-left: 13em solid #eeeeee;
1546
+ padding-left: 1em;
1547
+ background-color: #eeeeee;
1548
+ }
1549
+ div.content, div.main_column {
1550
+ margin: 0;
1551
+ padding: 0;
1552
+ border-left: 13em solid #ffffff;
1553
+ padding-left: 1em;
1554
+ padding-right: 1em;
1555
+ }
1556
+ div.content0, div.main_column0 {
1557
+ margin: 0;
1558
+ padding: 0;
1559
+ border-left: 0% solid #ffffff;
1560
+ padding-left: 5%;
1561
+ }
1562
+ div.scroll {
1563
+ margin: 0;
1564
+ padding: 0;
1565
+ padding-left: 1em;
1566
+ padding-right: 1em;
1567
+ }
1568
+ div.content:after {
1569
+ content:' ';
1570
+ clear:both;
1571
+ display:block;
1572
+ height:0;
1573
+ overflow:hidden
1574
+ }
1575
+ div.footer {
1576
+ clear:left;
1577
+ padding: 0.5em;
1578
+ font-size: 80%;
1579
+ margin: 0;
1580
+ }
1581
+ div.toc ul {
1582
+ list-style: none;
1583
+ padding: 0;
1584
+ margin: 0;
1585
+ }
1586
+ div.toc li ul a, li ul span.currentlink
1587
+ {
1588
+ font-weight: normal;
1589
+ font-size: 90%;
1590
+ padding-left: 2em;
1591
+ background-color: #eeeeee;
1592
+ }
1593
+ div.toc a, span.currentlink{
1594
+ display:block;
1595
+ text-decoration: none;
1596
+ padding-left: 0.5em;
1597
+ color: #0000aa;
1598
+ }
1599
+ hr {
1600
+ width: 90%;
1601
+ }
1602
+
1603
+ span.currentlink {
1604
+ text-decoration: none;
1605
+ background-color: #aaaaf9;
1606
+ }
1607
+
1608
+ div.toc a:visited {
1609
+ color: #0000aa;
1610
+ }
1611
+ div.toc a:hover {
1612
+ color: #000000;
1613
+ background-color: #f9f9aa;
1614
+ }
1615
+
1616
+ .minitoc {
1617
+ font-weight: normal;
1618
+ margin-top: 2px;
1619
+ margin-bottom: 2px;
1620
+ }
1621
+ h1.minitoc, h2.minitoc, h3.minitoc {
1622
+ margin-left: 0em;
1623
+ font-weight: bold;
1624
+ text-align: left;
1625
+ font-size: 90%;
1626
+ margin-top: 4px;
1627
+ margin-bottom: 4px;
1628
+ }
1629
+ h4.minitoc {
1630
+ margin-left: 0em;
1631
+ font-size: 90%;
1632
+ }
1633
+ h5.minitoc {
1634
+ margin-left: 1em;
1635
+ font-size: 85%;
1636
+ }
1637
+ h6.minitoc {
1638
+ margin-left: 2em;
1639
+ font-size: 85%;
1640
+ }
1641
+ h7.minitoc {
1642
+ margin-left: 3em;
1643
+ font-size: 80%;
1644
+ }
1645
+ h0.minitoc {
1646
+ margin-left: 0em;
1647
+ font-size: 90%;
1648
+ }
1649
+
1650
+ h1.c, h2.c, h3.c, h4.c, h5.c, h6.c, h7.c, p.c {
1651
+ text-align: center
1652
+ }
1653
+ h1.red, h2.red, h3.red, h4.red, h5.red, h6.red, h7.red {
1654
+ text-align: center;
1655
+ color: #ff0000;
1656
+ margin-left: 5mm;
1657
+ text-indent: 5mm;
1658
+ margin-top: 30px;
1659
+ margin-bottom: 20px;
1660
+ margin-right: 15mm;
1661
+ }
1662
+ h1.ruby, h2.ruby, h3.ruby, h4.ruby, h5.ruby, h6.ruby, h7.ruby {
1663
+ text-align: center;
1664
+ color: #990000;
1665
+ margin-left: 5mm;
1666
+ text-indent: 5mm;
1667
+ margin-top: 30px;
1668
+ margin-bottom: 20px;
1669
+ margin-right: 15mm;
1670
+ }
1671
+ WOK
1672
+ end
1673
+ def homepage #stylesheet for index, home page
1674
+ <<WOK
1675
+ body {color: black; background: #{the_color.white}; margin:10px 10px 0px 10px; padding:0px;}
1676
+ p { line-height: 1.5 }
1677
+ a:link {color: #{the_color.blue_ink}; text-decoration: none; }
1678
+ a:visited {color: #{the_color.blue_ink}; text-decoration: none; }
1679
+ a:hover {color: #{the_color.black}; text-decoration: underline; background-color: #{the_color.yellow_light};}
1680
+ a:active {color: #{the_color.blue_ink}; text-decoration: underline;}
1681
+ #banner {
1682
+ background:#{the_color.white};
1683
+ }
1684
+ #column_left {
1685
+ width:25%;
1686
+ float:left;
1687
+ background:#b9d4dd;
1688
+ padding-bottom:10px;
1689
+ }
1690
+ #column_center {
1691
+ width:55%;
1692
+ float:left;
1693
+ background:#{the_color.white};
1694
+ padding-bottom:10px;
1695
+ }
1696
+ #column_right {
1697
+ width:20%;
1698
+ float:left;
1699
+ background:#b9d4dd;
1700
+ padding-bottom:10px;
1701
+ }
1702
+ p,h1,pre {
1703
+ font-family: #{the_font.set_fonts};
1704
+ margin:0px 10px 10px 10px;
1705
+ }
1706
+ h1 {
1707
+ font-size:14px;
1708
+ padding-top:10px;
1709
+ }
1710
+ #column_right p { font-size:12px}
1711
+ #banner h1 { margin:0px; padding:10px}
1712
+ WOK
1713
+ end
1714
+ def xhtml #stylesheet for xhtml
1715
+ <<WOK
1716
+ /* SiSU css xhtml & sax.xml default style */
1717
+ document {
1718
+ display: block;
1719
+ margin-left: 0mm;
1720
+ margin-right: 0mm;
1721
+ }
1722
+ head {
1723
+ display: block;
1724
+ margin-bottom: 20px;
1725
+ background-color: #dddddd;
1726
+ }
1727
+ metadata {
1728
+ display: block;
1729
+ }
1730
+ meta {
1731
+ display: inline;
1732
+ line-height: 1;
1733
+ font-size: 10px;
1734
+ color: #990000;
1735
+ margin-right: 2mm;
1736
+ margin-top: 0px;
1737
+ margin-bottom: 0px;
1738
+
1739
+ }
1740
+ data,md {
1741
+ display: inline;
1742
+ line-height: 1;
1743
+ font-size: 10px;
1744
+ color: #000099;
1745
+ margin-top: 0px;
1746
+ margin-bottom: 0px;
1747
+ }
1748
+ source_control {
1749
+ display: block;
1750
+ }
1751
+ dc {
1752
+ display: block;
1753
+ font-family: #{the_font.set_fonts};
1754
+ color: blue;
1755
+ background-color: #dddddd;
1756
+ font-weight: normal;
1757
+ text-align: justify;
1758
+ font-size: xx-small;
1759
+ line-height: 120%;
1760
+ margin-left: 5%;
1761
+ margin-right: 5mm;
1762
+ margin-top: 0px;
1763
+ margin-bottom: 0px;
1764
+ }
1765
+ sc {
1766
+ display: inline;
1767
+ color: green;
1768
+ }
1769
+ keywords,copyright {
1770
+ display: block;
1771
+ font-family: #{the_font.set_fonts};
1772
+ color: red;
1773
+ background-color: #dddddd;
1774
+ font-weight: normal;
1775
+ text-align: justify;
1776
+ font-size: xx-small;
1777
+ line-height: 120%;
1778
+ margin-left: 5%;
1779
+ margin-right: 5mm;
1780
+ margin-top: 0px;
1781
+ margin-bottom: 0px;
1782
+ }
1783
+ table {
1784
+ margin-left: 5%;
1785
+ display: block;
1786
+ }
1787
+ tr {
1788
+ display: block;
1789
+ }
1790
+ th,td {
1791
+ display: inline;
1792
+ }
1793
+ body {
1794
+ color: black;
1795
+ background: #ffffff;
1796
+ }
1797
+ a:link {
1798
+ color: #003399;
1799
+ text-decoration: none;
1800
+ }
1801
+ a:visited {
1802
+ color: #003399;
1803
+ text-decoration: none;
1804
+ /* background-color: #e3ecef; */
1805
+ }
1806
+ a:hover {
1807
+ color: #000000;
1808
+ text-decoration: underline;
1809
+ background-color: #fff3b6;
1810
+ }
1811
+ a:hover IMG {
1812
+ background-color: #ffffff;
1813
+ }
1814
+ a:active {
1815
+ color: #003399;
1816
+ text-decoration: underline;
1817
+ }
1818
+ object {
1819
+ display: block;
1820
+ margin-left: 2mm;
1821
+ margin-right: 2mm;
1822
+ margin-top: 4px;
1823
+ margin-bottom: 8px;
1824
+ }
1825
+ text,text[class|="norm"] {
1826
+ display: block;
1827
+ font-family: #{the_font.set_fonts};
1828
+ text-align: justify;
1829
+ font-weight: normal;
1830
+ font-size: 100%;
1831
+ line-height: 150%;
1832
+ margin-left: 5%;
1833
+ margin-right: 5%;
1834
+ margin-top: 2px;
1835
+ margin-bottom: 0px;
1836
+ }
1837
+ text[class|="h1"] {
1838
+ font-size: 120%;
1839
+ font-weight: bold;
1840
+ text-align: left;
1841
+ line-height: 120%;
1842
+ margin-top: 20px;
1843
+ margin-bottom: 10px;
1844
+ }
1845
+ text[class|="h2"] {
1846
+ font-weight: bold;
1847
+ font-size: 110%;
1848
+ text-align: left;
1849
+ margin-top: 20px;
1850
+ margin-bottom: 10px;
1851
+ }
1852
+ text[class|="h3"] {
1853
+ font-size: 110%;
1854
+ font-weight: bold;
1855
+ text-align: left;
1856
+ }
1857
+ text[class|="h4"] {
1858
+ font-size: 110%;
1859
+ font-weight: bold;
1860
+ text-align: left;
1861
+ }
1862
+ text[class|="h5"] {
1863
+ font-size: 110%;
1864
+ font-weight: bold;
1865
+ text-align: left;
1866
+ }
1867
+ text[class|="h6"] {
1868
+ font-size: 110%;
1869
+ font-weight: bold;
1870
+ text-align: left;
1871
+ }
1872
+ text[class|="h7"] {
1873
+ font-size: 110%;
1874
+ font-weight: bold;
1875
+ text-align: left;
1876
+ }
1877
+ text[class|="indent0"] {
1878
+ padding-left: 10%;
1879
+ }
1880
+ text[class|="indent1"] {
1881
+ padding-left: 15%;
1882
+ }
1883
+ text[class|="indent2"] {
1884
+ padding-left: 20%;
1885
+ }
1886
+ text[class|="indent3"] {
1887
+ padding-left: 25%;
1888
+ }
1889
+ text[class|="indent4"] {
1890
+ padding-left: 30%;
1891
+ }
1892
+ text[class|="indent5"] {
1893
+ padding-left: 35%;
1894
+ }
1895
+ text[class|="indent6"] {
1896
+ padding-left: 40%;
1897
+ }
1898
+ text[class|="indent7"] {
1899
+ padding-left: 45%;
1900
+ }
1901
+ text[class|="indent8"] {
1902
+ padding-left: 50%;
1903
+ }
1904
+ text[class|="indent9"] {
1905
+ padding-left: 55%;
1906
+ }
1907
+
1908
+ text[class|="hang0_indent0"] {
1909
+ padding-left: 10%;
1910
+ text-indent: 0%;
1911
+ }
1912
+ text[class|="hang0_indent1"] {
1913
+ padding-left: 15%;
1914
+ text-indent: -5%;
1915
+ }
1916
+ text[class|="hang0_indent2"] {
1917
+ padding-left: 20%;
1918
+ text-indent: -10%;
1919
+ }
1920
+ text[class|="hang0_indent3"] {
1921
+ padding-left: 25%;
1922
+ text-indent: -15%;
1923
+ }
1924
+ text[class|="hang0_indent4"] {
1925
+ padding-left: 30%;
1926
+ text-indent: -20%;
1927
+ }
1928
+ text[class|="hang0_indent5"] {
1929
+ padding-left: 35%;
1930
+ text-indent: -25%;
1931
+ }
1932
+ text[class|="hang0_indent6"] {
1933
+ padding-left: 40%;
1934
+ text-indent: -30%;
1935
+ }
1936
+ text[class|="hang0_indent7"] {
1937
+ padding-left: 45%;
1938
+ text-indent: -35%;
1939
+ }
1940
+ text[class|="hang0_indent8"] {
1941
+ padding-left: 50%;
1942
+ text-indent: -40%;
1943
+ }
1944
+ text[class|="hang0_indent9"] {
1945
+ padding-left: 55%;
1946
+ text-indent: -45%;
1947
+ }
1948
+
1949
+ text[class|="hang1_indent0"] {
1950
+ padding-left: 10%;
1951
+ text-indent: 5%;
1952
+ }
1953
+ text[class|="hang1_indent1"] {
1954
+ padding-left: 15%;
1955
+ text-indent: 0%;
1956
+ }
1957
+ text[class|="hang1_indent2"] {
1958
+ padding-left: 20%;
1959
+ text-indent: -5%;
1960
+ }
1961
+ text[class|="hang1_indent3"] {
1962
+ padding-left: 25%;
1963
+ text-indent: -10%;
1964
+ }
1965
+ text[class|="hang1_indent4"] {
1966
+ padding-left: 30%;
1967
+ text-indent: -15%;
1968
+ }
1969
+ text[class|="hang1_indent5"] {
1970
+ padding-left: 35%;
1971
+ text-indent: -20%;
1972
+ }
1973
+ text[class|="hang1_indent6"] {
1974
+ padding-left: 40%;
1975
+ text-indent: -25%;
1976
+ }
1977
+ text[class|="hang1_indent7"] {
1978
+ padding-left: 45%;
1979
+ text-indent: -30%;
1980
+ }
1981
+ text[class|="hang1_indent8"] {
1982
+ padding-left: 50%;
1983
+ text-indent: -35%;
1984
+ }
1985
+ text[class|="hang1_indent9"] {
1986
+ padding-left: 55%;
1987
+ text-indent: -40%;
1988
+ }
1989
+
1990
+ text[class|="hang2_indent0"] {
1991
+ padding-left: 10%;
1992
+ text-indent: 10%;
1993
+ }
1994
+ text[class|="hang2_indent1"] {
1995
+ padding-left: 15%;
1996
+ text-indent: 5%;
1997
+ }
1998
+ text[class|="hang2_indent2"] {
1999
+ padding-left: 20%;
2000
+ text-indent: 0%;
2001
+ }
2002
+ text[class|="hang2_indent3"] {
2003
+ padding-left: 25%;
2004
+ text-indent: -5%;
2005
+ }
2006
+ text[class|="hang2_indent4"] {
2007
+ padding-left: 30%;
2008
+ text-indent: -10%;
2009
+ }
2010
+ text[class|="hang2_indent5"] {
2011
+ padding-left: 35%;
2012
+ text-indent: -15%;
2013
+ }
2014
+ text[class|="hang2_indent6"] {
2015
+ padding-left: 40%;
2016
+ text-indent: -20%;
2017
+ }
2018
+ text[class|="hang2_indent7"] {
2019
+ padding-left: 45%;
2020
+ text-indent: -25%;
2021
+ }
2022
+ text[class|="hang2_indent8"] {
2023
+ padding-left: 50%;
2024
+ text-indent: -30%;
2025
+ }
2026
+ text[class|="hang2_indent9"] {
2027
+ padding-left: 55%;
2028
+ text-indent: -35%;
2029
+ }
2030
+
2031
+ text[class|="hang3_indent0"] {
2032
+ padding-left: 10%;
2033
+ text-indent: 15%;
2034
+ }
2035
+ text[class|="hang3_indent1"] {
2036
+ padding-left: 15%;
2037
+ text-indent: 10%;
2038
+ }
2039
+ text[class|="hang3_indent2"] {
2040
+ padding-left: 20%;
2041
+ text-indent: 5%;
2042
+ }
2043
+ text[class|="hang3_indent3"] {
2044
+ padding-left: 25%;
2045
+ text-indent: 0%;
2046
+ }
2047
+ text[class|="hang3_indent4"] {
2048
+ padding-left: 30%;
2049
+ text-indent: -5%;
2050
+ }
2051
+ text[class|="hang3_indent5"] {
2052
+ padding-left: 35%;
2053
+ text-indent: -10%;
2054
+ }
2055
+ text[class|="hang3_indent6"] {
2056
+ padding-left: 40%;
2057
+ text-indent: -15%;
2058
+ }
2059
+ text[class|="hang3_indent7"] {
2060
+ padding-left: 45%;
2061
+ text-indent: -20%;
2062
+ }
2063
+ text[class|="hang3_indent8"] {
2064
+ padding-left: 50%;
2065
+ text-indent: -25%;
2066
+ }
2067
+ text[class|="hang3_indent9"] {
2068
+ padding-left: 55%;
2069
+ text-indent: -30%;
2070
+ }
2071
+
2072
+ text[class|="hang4_indent0"] {
2073
+ padding-left: 10%;
2074
+ text-indent: 20%;
2075
+ }
2076
+ text[class|="hang4_indent1"] {
2077
+ padding-left: 15%;
2078
+ text-indent: 15%;
2079
+ }
2080
+ text[class|="hang4_indent2"] {
2081
+ padding-left: 20%;
2082
+ text-indent: 10%;
2083
+ }
2084
+ text[class|="hang4_indent3"] {
2085
+ padding-left: 25%;
2086
+ text-indent: 5%;
2087
+ }
2088
+ text[class|="hang4_indent4"] {
2089
+ padding-left: 30%;
2090
+ text-indent: 0%;
2091
+ }
2092
+ text[class|="hang4_indent5"] {
2093
+ padding-left: 35%;
2094
+ text-indent: -5%;
2095
+ }
2096
+ text[class|="hang4_indent6"] {
2097
+ padding-left: 40%;
2098
+ text-indent: -10%;
2099
+ }
2100
+ text[class|="hang4_indent7"] {
2101
+ padding-left: 45%;
2102
+ text-indent: -15%;
2103
+ }
2104
+ text[class|="hang4_indent8"] {
2105
+ padding-left: 50%;
2106
+ text-indent: -20%;
2107
+ }
2108
+ text[class|="hang4_indent9"] {
2109
+ padding-left: 55%;
2110
+ text-indent: -25%;
2111
+ }
2112
+
2113
+ text[class|="hang5_indent0"] {
2114
+ padding-left: 10%;
2115
+ text-indent: 25%;
2116
+ }
2117
+ text[class|="hang5_indent1"] {
2118
+ padding-left: 15%;
2119
+ text-indent: 20%;
2120
+ }
2121
+ text[class|="hang5_indent2"] {
2122
+ padding-left: 20%;
2123
+ text-indent: 15%;
2124
+ }
2125
+ text[class|="hang5_indent3"] {
2126
+ padding-left: 25%;
2127
+ text-indent: 10%;
2128
+ }
2129
+ text[class|="hang5_indent4"] {
2130
+ padding-left: 30%;
2131
+ text-indent: 5%;
2132
+ }
2133
+ text[class|="hang5_indent5"] {
2134
+ padding-left: 35%;
2135
+ text-indent: 0%;
2136
+ }
2137
+ text[class|="hang5_indent6"] {
2138
+ padding-left: 40%;
2139
+ text-indent: -5%;
2140
+ }
2141
+ text[class|="hang5_indent7"] {
2142
+ padding-left: 45%;
2143
+ text-indent: -10%;
2144
+ }
2145
+ text[class|="hang5_indent8"] {
2146
+ padding-left: 50%;
2147
+ text-indent: -15%;
2148
+ }
2149
+ text[class|="hang5_indent9"] {
2150
+ padding-left: 55%;
2151
+ text-indent: -20%;
2152
+ }
2153
+
2154
+ text[class|="hang6_indent0"] {
2155
+ padding-left: 10%;
2156
+ text-indent: 30%;
2157
+ }
2158
+ text[class|="hang6_indent1"] {
2159
+ padding-left: 15%;
2160
+ text-indent: 25%;
2161
+ }
2162
+ text[class|="hang6_indent2"] {
2163
+ padding-left: 20%;
2164
+ text-indent: 20%;
2165
+ }
2166
+ text[class|="hang6_indent3"] {
2167
+ padding-left: 25%;
2168
+ text-indent: 15%;
2169
+ }
2170
+ text[class|="hang6_indent4"] {
2171
+ padding-left: 30%;
2172
+ text-indent: 10%;
2173
+ }
2174
+ text[class|="hang6_indent5"] {
2175
+ padding-left: 35%;
2176
+ text-indent: 5%;
2177
+ }
2178
+ text[class|="hang6_indent6"] {
2179
+ padding-left: 40%;
2180
+ text-indent: 0%;
2181
+ }
2182
+ text[class|="hang6_indent7"] {
2183
+ padding-left: 45%;
2184
+ text-indent: -5%;
2185
+ }
2186
+ text[class|="hang6_indent8"] {
2187
+ padding-left: 50%;
2188
+ text-indent: -10%;
2189
+ }
2190
+ text[class|="hang6_indent9"] {
2191
+ padding-left: 55%;
2192
+ text-indent: -15%;
2193
+ }
2194
+
2195
+ text[class|="hang7_indent0"] {
2196
+ padding-left: 10%;
2197
+ text-indent: 35%;
2198
+ }
2199
+ text[class|="hang7_indent1"] {
2200
+ padding-left: 15%;
2201
+ text-indent: 30%;
2202
+ }
2203
+ text[class|="hang7_indent2"] {
2204
+ padding-left: 20%;
2205
+ text-indent: 25%;
2206
+ }
2207
+ text[class|="hang7_indent3"] {
2208
+ padding-left: 25%;
2209
+ text-indent: 20%;
2210
+ }
2211
+ text[class|="hang7_indent4"] {
2212
+ padding-left: 30%;
2213
+ text-indent: 15%;
2214
+ }
2215
+ text[class|="hang7_indent5"] {
2216
+ padding-left: 35%;
2217
+ text-indent: 10%;
2218
+ }
2219
+ text[class|="hang7_indent6"] {
2220
+ padding-left: 40%;
2221
+ text-indent: 5%;
2222
+ }
2223
+ text[class|="hang7_indent7"] {
2224
+ padding-left: 45%;
2225
+ text-indent: 0%;
2226
+ }
2227
+ text[class|="hang7_indent8"] {
2228
+ padding-left: 50%;
2229
+ text-indent: -5%;
2230
+ }
2231
+ text[class|="hang7_indent9"] {
2232
+ padding-left: 55%;
2233
+ text-indent: -10%;
2234
+ }
2235
+
2236
+ text[class|="hang8_indent0"] {
2237
+ padding-left: 10%;
2238
+ text-indent: 40%;
2239
+ }
2240
+ text[class|="hang8_indent1"] {
2241
+ padding-left: 15%;
2242
+ text-indent: 35%;
2243
+ }
2244
+ text[class|="hang8_indent2"] {
2245
+ padding-left: 20%;
2246
+ text-indent: 30%;
2247
+ }
2248
+ text[class|="hang8_indent3"] {
2249
+ padding-left: 25%;
2250
+ text-indent: 25%;
2251
+ }
2252
+ text[class|="hang8_indent4"] {
2253
+ padding-left: 30%;
2254
+ text-indent: 20%;
2255
+ }
2256
+ text[class|="hang8_indent5"] {
2257
+ padding-left: 35%;
2258
+ text-indent: 15%;
2259
+ }
2260
+ text[class|="hang8_indent6"] {
2261
+ padding-left: 40%;
2262
+ text-indent: 10%;
2263
+ }
2264
+ text[class|="hang8_indent7"] {
2265
+ padding-left: 45%;
2266
+ text-indent: 5%;
2267
+ }
2268
+ text[class|="hang8_indent8"] {
2269
+ padding-left: 50%;
2270
+ text-indent: 0%;
2271
+ }
2272
+ text[class|="hang8_indent9"] {
2273
+ padding-left: 55%;
2274
+ text-indent: -5%;
2275
+ }
2276
+
2277
+ text[class|="hang9_indent0"] {
2278
+ padding-left: 10%;
2279
+ text-indent: 45%;
2280
+ }
2281
+ text[class|="hang9_indent1"] {
2282
+ padding-left: 15%;
2283
+ text-indent: 40%;
2284
+ }
2285
+ text[class|="hang9_indent2"] {
2286
+ padding-left: 20%;
2287
+ text-indent: 35%;
2288
+ }
2289
+ text[class|="hang9_indent3"] {
2290
+ padding-left: 25%;
2291
+ text-indent: 30%;
2292
+ }
2293
+ text[class|="hang9_indent4"] {
2294
+ padding-left: 30%;
2295
+ text-indent: 25%;
2296
+ }
2297
+ text[class|="hang9_indent5"] {
2298
+ padding-left: 35%;
2299
+ text-indent: 20%;
2300
+ }
2301
+ text[class|="hang9_indent6"] {
2302
+ padding-left: 40%;
2303
+ text-indent: 15%;
2304
+ }
2305
+ text[class|="hang9_indent7"] {
2306
+ padding-left: 45%;
2307
+ text-indent: 10%;
2308
+ }
2309
+ text[class|="hang9_indent8"] {
2310
+ padding-left: 50%;
2311
+ text-indent: 5%;
2312
+ }
2313
+ text[class|="hang9_indent9"] {
2314
+ padding-left: 55%;
2315
+ text-indent: 0%;
2316
+ }
2317
+
2318
+ text[class|="indent_bullet"] {
2319
+ text-indent: 0%;
2320
+ }
2321
+ text[class|="indent_bullet0"] {
2322
+ text-indent: 0%;
2323
+ }
2324
+ text[class|="indent_bullet1"] {
2325
+ text-indent: 10%;
2326
+ }
2327
+ text[class|="indent_bullet2"] {
2328
+ text-indent: 15%;
2329
+ }
2330
+ text[class|="indent_bullet3"] {
2331
+ text-indent: 20%;
2332
+ }
2333
+ text[class|="indent_bullet4"] {
2334
+ text-indent: 25%;
2335
+ }
2336
+ text[class|="indent_bullet5"] {
2337
+ text-indent: 30%;
2338
+ }
2339
+ text[class|="indent_bullet6"] {
2340
+ text-indent: 35%;
2341
+ }
2342
+ text[class|="indent_bullet7"] {
2343
+ text-indent: 40%;
2344
+ }
2345
+ text[class|="indent_bullet8"] {
2346
+ text-indent: 45%;
2347
+ }
2348
+ text[class|="indent_bullet9"] {
2349
+ text-indent: 50%;
2350
+ }
2351
+ text[class|="verse"], text[class|="block"], text[class|="group"], text[class|="code"] {
2352
+ text-align: left;
2353
+ }
2354
+ ocn {
2355
+ display: block;
2356
+ text-align: right;
2357
+ vertical-align: super;
2358
+ color: #990000;
2359
+ font-size: xx-small;
2360
+ margin-right: 0mm;
2361
+ margin-top: 0px;
2362
+ margin-bottom: 0px;
2363
+ }
2364
+ named {
2365
+ display: block;
2366
+ margin-right: 0mm;
2367
+ margin-top: 0px;
2368
+ margin-bottom: 0px;
2369
+ }
2370
+ endnote {
2371
+ display: block;
2372
+ font-size: small;
2373
+ font-family: #{the_font.set_fonts};
2374
+ font-weight: normal;
2375
+ line-height: 150%;
2376
+ text-align: justify;
2377
+ margin-left: 10%;
2378
+ margin-right: 5%;
2379
+ margin-top: 4px;
2380
+ margin-bottom: 0px;
2381
+ }
2382
+ endnote_indent {
2383
+ display: block;
2384
+ font-size: small;
2385
+ font-family: #{the_font.set_fonts};
2386
+ font-weight: normal;
2387
+ line-height: 150%;
2388
+ text-align: justify;
2389
+ margin-left: 15%;
2390
+ margin-right: 5%;
2391
+ margin-top: 4px;
2392
+ margin-bottom: 0px;
2393
+ }
2394
+ en {
2395
+ font-size: xx-small;
2396
+ vertical-align: super;
2397
+ }
2398
+ i { font-style: italic; }
2399
+ b { font-style: bold; }
2400
+ u { text-decoration: underline; }
2401
+ br { display: block; }
2402
+
2403
+ text[class|="table"] {
2404
+ display: table;
2405
+ /* display: block; */
2406
+ text-align: left;
2407
+ }
2408
+
2409
+ table {
2410
+ margin-left: 0%;
2411
+ display: block;
2412
+ /* display: table; */
2413
+ width: 100%;
2414
+ }
2415
+ tr {
2416
+ display: block;
2417
+ /* display: table-row; */
2418
+ }
2419
+ th, td {
2420
+ display: table-cell;
2421
+ /* display: inline; */
2422
+ vertical-align: top;
2423
+ }
2424
+ p.left, th.left, td.left {
2425
+ text-align: left;
2426
+ }
2427
+ p.small_left, th.small_left, td.small_left {
2428
+ text-align: left;
2429
+ font-size: 80%;
2430
+ }
2431
+ p.right, th.right, td.right {
2432
+ text-align: right;
2433
+ }
2434
+
2435
+ .svg_outer {
2436
+ display: block;
2437
+ margin-bottom: 0;
2438
+ margin-left: 0;
2439
+ margin-right: 0;
2440
+ margin-top: 0;
2441
+ padding-bottom: 0;
2442
+ padding-left: 0;
2443
+ padding-right: 0;
2444
+ padding-top: 0;
2445
+ text-align: left;
2446
+ }
2447
+ .svg_inner {
2448
+ display: block;
2449
+ text-align: center;
2450
+ }
2451
+ WOK
2452
+ end
2453
+ def xml_sax #stylesheet for xml sax
2454
+ xhtml
2455
+ end
2456
+ def xml_dom #sylesheet for xml dom, work on, starts from copy of css_xhtml
2457
+ <<WOK
2458
+ /* SiSU css dom.xml default style */
2459
+ document {
2460
+ display: block;
2461
+ margin-left: 0mm;
2462
+ margin-right: 0mm;
2463
+ }
2464
+ head {
2465
+ display: block;
2466
+ margin-bottom: 20px;
2467
+ background-color: #dddddd;
2468
+ }
2469
+ header {
2470
+ display: block;
2471
+ }
2472
+ meta {
2473
+ display: inline;
2474
+ line-height: 1;
2475
+ font-size: 10px;
2476
+ color: #990000;
2477
+ margin-right: 2mm;
2478
+ margin-top: 0px;
2479
+ margin-bottom: 0px;
2480
+
2481
+ }
2482
+ md {
2483
+ display: inline;
2484
+ line-height: 1;
2485
+ font-size: 10px;
2486
+ color: #000099;
2487
+ margin-top: 0px;
2488
+ margin-bottom: 0px;
2489
+ }
2490
+ source_control {
2491
+ display: block;
2492
+ }
2493
+ dc {
2494
+ display: block;
2495
+ font-family: #{the_font.set_fonts};
2496
+ color: blue;
2497
+ background-color: #dddddd;
2498
+ font-weight: normal;
2499
+ text-align: justify;
2500
+ font-size: xx-small;
2501
+ line-height: 120%;
2502
+ margin-left: 5%;
2503
+ margin-right: 5mm;
2504
+ margin-top: 0px;
2505
+ margin-bottom: 0px;
2506
+ }
2507
+ sc {
2508
+ display: inline;
2509
+ color: green;
2510
+ }
2511
+ keywords,copyright {
2512
+ display: block;
2513
+ font-family: #{the_font.set_fonts};
2514
+ color: red;
2515
+ background-color: #dddddd;
2516
+ font-weight: normal;
2517
+ text-align: justify;
2518
+ font-size: xx-small;
2519
+ line-height: 120%;
2520
+ margin-left: 5%;
2521
+ margin-right: 5mm;
2522
+ margin-top: 0px;
2523
+ margin-bottom: 0px;
2524
+ }
2525
+ body {
2526
+ color: black;
2527
+ background: #ffffff;
2528
+ }
2529
+ a:link {
2530
+ color: #003399;
2531
+ text-decoration: none;
2532
+ }
2533
+ a:visited {
2534
+ color: #003399;
2535
+ text-decoration: none;
2536
+ /* background-color: #e3ecef; */
2537
+ }
2538
+ a:hover {
2539
+ color: #000000;
2540
+ text-decoration: underline;
2541
+ background-color: #fff3b6;
2542
+ }
2543
+ a:hover IMG {
2544
+ background-color: #ffffff;
2545
+ }
2546
+ a:active {
2547
+ color: #003399;
2548
+ text-decoration: underline;
2549
+ }
2550
+ object {
2551
+ display: block;
2552
+ margin-left: 2mm;
2553
+ margin-right: 2mm;
2554
+ margin-top: 4px;
2555
+ margin-bottom: 8px;
2556
+ }
2557
+ heading {
2558
+ font-weight: bold;
2559
+ }
2560
+ contents {
2561
+ font-weight: normal;
2562
+ }
2563
+ text {
2564
+ display: block;
2565
+ font-family: #{the_font.set_fonts};
2566
+ text-align: justify;
2567
+ font-size: 100%;
2568
+ line-height: 150%;
2569
+ margin-left: 5%;
2570
+ margin-right: 5%;
2571
+ margin-top: 2px;
2572
+ margin-bottom: 0px;
2573
+ }
2574
+ text[class|="norm"] {
2575
+ font-weight: normal;
2576
+ }
2577
+ text[class|="h1"] {
2578
+ font-size: 120%;
2579
+ font-weight: bold;
2580
+ text-align: left;
2581
+ line-height: 120%;
2582
+ margin-top: 20px;
2583
+ margin-bottom: 10px;
2584
+ }
2585
+ text[class|="h2"] {
2586
+ font-weight: bold;
2587
+ font-size: 110%;
2588
+ text-align: left;
2589
+ margin-top: 20px;
2590
+ margin-bottom: 10px;
2591
+ }
2592
+ text[class|="h3"] {
2593
+ font-size: 110%;
2594
+ font-weight: bold;
2595
+ text-align: left;
2596
+ }
2597
+ text[class|="h4"] {
2598
+ font-size: 110%;
2599
+ font-weight: bold;
2600
+ text-align: left;
2601
+ }
2602
+ text[class|="h5"] {
2603
+ font-size: 110%;
2604
+ font-weight: bold;
2605
+ text-align: left;
2606
+ }
2607
+ text[class|="h6"] {
2608
+ font-size: 110%;
2609
+ font-weight: bold;
2610
+ text-align: left;
2611
+ }
2612
+ text[class|="h7"] {
2613
+ font-size: 110%;
2614
+ font-weight: bold;
2615
+ text-align: left;
2616
+ }
2617
+ text[class|="indent0"] {
2618
+ padding-left: 10%;
2619
+ }
2620
+ text[class|="indent1"] {
2621
+ padding-left: 15%;
2622
+ }
2623
+ text[class|="indent2"] {
2624
+ padding-left: 20%;
2625
+ }
2626
+ text[class|="indent3"] {
2627
+ padding-left: 25%;
2628
+ }
2629
+ text[class|="indent4"] {
2630
+ padding-left: 30%;
2631
+ }
2632
+ text[class|="indent5"] {
2633
+ padding-left: 35%;
2634
+ }
2635
+ text[class|="indent6"] {
2636
+ padding-left: 40%;
2637
+ }
2638
+ text[class|="indent7"] {
2639
+ padding-left: 45%;
2640
+ }
2641
+ text[class|="indent8"] {
2642
+ padding-left: 50%;
2643
+ }
2644
+ text[class|="indent9"] {
2645
+ padding-left: 55%;
2646
+ }
2647
+
2648
+ text[class|="hang0_indent0"] {
2649
+ padding-left: 10%;
2650
+ text-indent: 0%;
2651
+ }
2652
+ text[class|="hang0_indent1"] {
2653
+ padding-left: 15%;
2654
+ text-indent: -5%;
2655
+ }
2656
+ text[class|="hang0_indent2"] {
2657
+ padding-left: 20%;
2658
+ text-indent: -10%;
2659
+ }
2660
+ text[class|="hang0_indent3"] {
2661
+ padding-left: 25%;
2662
+ text-indent: -15%;
2663
+ }
2664
+ text[class|="hang0_indent4"] {
2665
+ padding-left: 30%;
2666
+ text-indent: -20%;
2667
+ }
2668
+ text[class|="hang0_indent5"] {
2669
+ padding-left: 35%;
2670
+ text-indent: -25%;
2671
+ }
2672
+ text[class|="hang0_indent6"] {
2673
+ padding-left: 40%;
2674
+ text-indent: -30%;
2675
+ }
2676
+ text[class|="hang0_indent7"] {
2677
+ padding-left: 45%;
2678
+ text-indent: -35%;
2679
+ }
2680
+ text[class|="hang0_indent8"] {
2681
+ padding-left: 50%;
2682
+ text-indent: -40%;
2683
+ }
2684
+ text[class|="hang0_indent9"] {
2685
+ padding-left: 55%;
2686
+ text-indent: -45%;
2687
+ }
2688
+
2689
+ text[class|="hang1_indent0"] {
2690
+ padding-left: 10%;
2691
+ text-indent: 5%;
2692
+ }
2693
+ text[class|="hang1_indent1"] {
2694
+ padding-left: 15%;
2695
+ text-indent: 0%;
2696
+ }
2697
+ text[class|="hang1_indent2"] {
2698
+ padding-left: 20%;
2699
+ text-indent: -5%;
2700
+ }
2701
+ text[class|="hang1_indent3"] {
2702
+ padding-left: 25%;
2703
+ text-indent: -10%;
2704
+ }
2705
+ text[class|="hang1_indent4"] {
2706
+ padding-left: 30%;
2707
+ text-indent: -15%;
2708
+ }
2709
+ text[class|="hang1_indent5"] {
2710
+ padding-left: 35%;
2711
+ text-indent: -20%;
2712
+ }
2713
+ text[class|="hang1_indent6"] {
2714
+ padding-left: 40%;
2715
+ text-indent: -25%;
2716
+ }
2717
+ text[class|="hang1_indent7"] {
2718
+ padding-left: 45%;
2719
+ text-indent: -30%;
2720
+ }
2721
+ text[class|="hang1_indent8"] {
2722
+ padding-left: 50%;
2723
+ text-indent: -35%;
2724
+ }
2725
+ text[class|="hang1_indent9"] {
2726
+ padding-left: 55%;
2727
+ text-indent: -40%;
2728
+ }
2729
+
2730
+ text[class|="hang2_indent0"] {
2731
+ padding-left: 10%;
2732
+ text-indent: 10%;
2733
+ }
2734
+ text[class|="hang2_indent1"] {
2735
+ padding-left: 15%;
2736
+ text-indent: 5%;
2737
+ }
2738
+ text[class|="hang2_indent2"] {
2739
+ padding-left: 20%;
2740
+ text-indent: 0%;
2741
+ }
2742
+ text[class|="hang2_indent3"] {
2743
+ padding-left: 25%;
2744
+ text-indent: -5%;
2745
+ }
2746
+ text[class|="hang2_indent4"] {
2747
+ padding-left: 30%;
2748
+ text-indent: -10%;
2749
+ }
2750
+ text[class|="hang2_indent5"] {
2751
+ padding-left: 35%;
2752
+ text-indent: -15%;
2753
+ }
2754
+ text[class|="hang2_indent6"] {
2755
+ padding-left: 40%;
2756
+ text-indent: -20%;
2757
+ }
2758
+ text[class|="hang2_indent7"] {
2759
+ padding-left: 45%;
2760
+ text-indent: -25%;
2761
+ }
2762
+ text[class|="hang2_indent8"] {
2763
+ padding-left: 50%;
2764
+ text-indent: -30%;
2765
+ }
2766
+ text[class|="hang2_indent9"] {
2767
+ padding-left: 55%;
2768
+ text-indent: -35%;
2769
+ }
2770
+
2771
+ text[class|="hang3_indent0"] {
2772
+ padding-left: 10%;
2773
+ text-indent: 15%;
2774
+ }
2775
+ text[class|="hang3_indent1"] {
2776
+ padding-left: 15%;
2777
+ text-indent: 10%;
2778
+ }
2779
+ text[class|="hang3_indent2"] {
2780
+ padding-left: 20%;
2781
+ text-indent: 5%;
2782
+ }
2783
+ text[class|="hang3_indent3"] {
2784
+ padding-left: 25%;
2785
+ text-indent: 0%;
2786
+ }
2787
+ text[class|="hang3_indent4"] {
2788
+ padding-left: 30%;
2789
+ text-indent: -5%;
2790
+ }
2791
+ text[class|="hang3_indent5"] {
2792
+ padding-left: 35%;
2793
+ text-indent: -10%;
2794
+ }
2795
+ text[class|="hang3_indent6"] {
2796
+ padding-left: 40%;
2797
+ text-indent: -15%;
2798
+ }
2799
+ text[class|="hang3_indent7"] {
2800
+ padding-left: 45%;
2801
+ text-indent: -20%;
2802
+ }
2803
+ text[class|="hang3_indent8"] {
2804
+ padding-left: 50%;
2805
+ text-indent: -25%;
2806
+ }
2807
+ text[class|="hang3_indent9"] {
2808
+ padding-left: 55%;
2809
+ text-indent: -30%;
2810
+ }
2811
+
2812
+ text[class|="hang4_indent0"] {
2813
+ padding-left: 10%;
2814
+ text-indent: 20%;
2815
+ }
2816
+ text[class|="hang4_indent1"] {
2817
+ padding-left: 15%;
2818
+ text-indent: 15%;
2819
+ }
2820
+ text[class|="hang4_indent2"] {
2821
+ padding-left: 20%;
2822
+ text-indent: 10%;
2823
+ }
2824
+ text[class|="hang4_indent3"] {
2825
+ padding-left: 25%;
2826
+ text-indent: 5%;
2827
+ }
2828
+ text[class|="hang4_indent4"] {
2829
+ padding-left: 30%;
2830
+ text-indent: 0%;
2831
+ }
2832
+ text[class|="hang4_indent5"] {
2833
+ padding-left: 35%;
2834
+ text-indent: -5%;
2835
+ }
2836
+ text[class|="hang4_indent6"] {
2837
+ padding-left: 40%;
2838
+ text-indent: -10%;
2839
+ }
2840
+ text[class|="hang4_indent7"] {
2841
+ padding-left: 45%;
2842
+ text-indent: -15%;
2843
+ }
2844
+ text[class|="hang4_indent8"] {
2845
+ padding-left: 50%;
2846
+ text-indent: -20%;
2847
+ }
2848
+ text[class|="hang4_indent9"] {
2849
+ padding-left: 55%;
2850
+ text-indent: -25%;
2851
+ }
2852
+
2853
+ text[class|="hang5_indent0"] {
2854
+ padding-left: 10%;
2855
+ text-indent: 25%;
2856
+ }
2857
+ text[class|="hang5_indent1"] {
2858
+ padding-left: 15%;
2859
+ text-indent: 20%;
2860
+ }
2861
+ text[class|="hang5_indent2"] {
2862
+ padding-left: 20%;
2863
+ text-indent: 15%;
2864
+ }
2865
+ text[class|="hang5_indent3"] {
2866
+ padding-left: 25%;
2867
+ text-indent: 10%;
2868
+ }
2869
+ text[class|="hang5_indent4"] {
2870
+ padding-left: 30%;
2871
+ text-indent: 5%;
2872
+ }
2873
+ text[class|="hang5_indent5"] {
2874
+ padding-left: 35%;
2875
+ text-indent: 0%;
2876
+ }
2877
+ text[class|="hang5_indent6"] {
2878
+ padding-left: 40%;
2879
+ text-indent: -5%;
2880
+ }
2881
+ text[class|="hang5_indent7"] {
2882
+ padding-left: 45%;
2883
+ text-indent: -10%;
2884
+ }
2885
+ text[class|="hang5_indent8"] {
2886
+ padding-left: 50%;
2887
+ text-indent: -15%;
2888
+ }
2889
+ text[class|="hang5_indent9"] {
2890
+ padding-left: 55%;
2891
+ text-indent: -20%;
2892
+ }
2893
+
2894
+ text[class|="hang6_indent0"] {
2895
+ padding-left: 10%;
2896
+ text-indent: 30%;
2897
+ }
2898
+ text[class|="hang6_indent1"] {
2899
+ padding-left: 15%;
2900
+ text-indent: 25%;
2901
+ }
2902
+ text[class|="hang6_indent2"] {
2903
+ padding-left: 20%;
2904
+ text-indent: 20%;
2905
+ }
2906
+ text[class|="hang6_indent3"] {
2907
+ padding-left: 25%;
2908
+ text-indent: 15%;
2909
+ }
2910
+ text[class|="hang6_indent4"] {
2911
+ padding-left: 30%;
2912
+ text-indent: 10%;
2913
+ }
2914
+ text[class|="hang6_indent5"] {
2915
+ padding-left: 35%;
2916
+ text-indent: 5%;
2917
+ }
2918
+ text[class|="hang6_indent6"] {
2919
+ padding-left: 40%;
2920
+ text-indent: 0%;
2921
+ }
2922
+ text[class|="hang6_indent7"] {
2923
+ padding-left: 45%;
2924
+ text-indent: -5%;
2925
+ }
2926
+ text[class|="hang6_indent8"] {
2927
+ padding-left: 50%;
2928
+ text-indent: -10%;
2929
+ }
2930
+ text[class|="hang6_indent9"] {
2931
+ padding-left: 55%;
2932
+ text-indent: -15%;
2933
+ }
2934
+
2935
+ text[class|="hang7_indent0"] {
2936
+ padding-left: 10%;
2937
+ text-indent: 35%;
2938
+ }
2939
+ text[class|="hang7_indent1"] {
2940
+ padding-left: 15%;
2941
+ text-indent: 30%;
2942
+ }
2943
+ text[class|="hang7_indent2"] {
2944
+ padding-left: 20%;
2945
+ text-indent: 25%;
2946
+ }
2947
+ text[class|="hang7_indent3"] {
2948
+ padding-left: 25%;
2949
+ text-indent: 20%;
2950
+ }
2951
+ text[class|="hang7_indent4"] {
2952
+ padding-left: 30%;
2953
+ text-indent: 15%;
2954
+ }
2955
+ text[class|="hang7_indent5"] {
2956
+ padding-left: 35%;
2957
+ text-indent: 10%;
2958
+ }
2959
+ text[class|="hang7_indent6"] {
2960
+ padding-left: 40%;
2961
+ text-indent: 5%;
2962
+ }
2963
+ text[class|="hang7_indent7"] {
2964
+ padding-left: 45%;
2965
+ text-indent: 0%;
2966
+ }
2967
+ text[class|="hang7_indent8"] {
2968
+ padding-left: 50%;
2969
+ text-indent: -5%;
2970
+ }
2971
+ text[class|="hang7_indent9"] {
2972
+ padding-left: 55%;
2973
+ text-indent: -10%;
2974
+ }
2975
+
2976
+ text[class|="hang8_indent0"] {
2977
+ padding-left: 10%;
2978
+ text-indent: 40%;
2979
+ }
2980
+ text[class|="hang8_indent1"] {
2981
+ padding-left: 15%;
2982
+ text-indent: 35%;
2983
+ }
2984
+ text[class|="hang8_indent2"] {
2985
+ padding-left: 20%;
2986
+ text-indent: 30%;
2987
+ }
2988
+ text[class|="hang8_indent3"] {
2989
+ padding-left: 25%;
2990
+ text-indent: 25%;
2991
+ }
2992
+ text[class|="hang8_indent4"] {
2993
+ padding-left: 30%;
2994
+ text-indent: 20%;
2995
+ }
2996
+ text[class|="hang8_indent5"] {
2997
+ padding-left: 35%;
2998
+ text-indent: 15%;
2999
+ }
3000
+ text[class|="hang8_indent6"] {
3001
+ padding-left: 40%;
3002
+ text-indent: 10%;
3003
+ }
3004
+ text[class|="hang8_indent7"] {
3005
+ padding-left: 45%;
3006
+ text-indent: 5%;
3007
+ }
3008
+ text[class|="hang8_indent8"] {
3009
+ padding-left: 50%;
3010
+ text-indent: 0%;
3011
+ }
3012
+ text[class|="hang8_indent9"] {
3013
+ padding-left: 55%;
3014
+ text-indent: -5%;
3015
+ }
3016
+
3017
+ text[class|="hang9_indent0"] {
3018
+ padding-left: 10%;
3019
+ text-indent: 45%;
3020
+ }
3021
+ text[class|="hang9_indent1"] {
3022
+ padding-left: 15%;
3023
+ text-indent: 40%;
3024
+ }
3025
+ text[class|="hang9_indent2"] {
3026
+ padding-left: 20%;
3027
+ text-indent: 35%;
3028
+ }
3029
+ text[class|="hang9_indent3"] {
3030
+ padding-left: 25%;
3031
+ text-indent: 30%;
3032
+ }
3033
+ text[class|="hang9_indent4"] {
3034
+ padding-left: 30%;
3035
+ text-indent: 25%;
3036
+ }
3037
+ text[class|="hang9_indent5"] {
3038
+ padding-left: 35%;
3039
+ text-indent: 20%;
3040
+ }
3041
+ text[class|="hang9_indent6"] {
3042
+ padding-left: 40%;
3043
+ text-indent: 15%;
3044
+ }
3045
+ text[class|="hang9_indent7"] {
3046
+ padding-left: 45%;
3047
+ text-indent: 10%;
3048
+ }
3049
+ text[class|="hang9_indent8"] {
3050
+ padding-left: 50%;
3051
+ text-indent: 5%;
3052
+ }
3053
+ text[class|="hang9_indent9"] {
3054
+ padding-left: 55%;
3055
+ text-indent: 0%;
3056
+ }
3057
+
3058
+ text[class|="indent_bullet"] {
3059
+ text-indent: 0%;
3060
+ }
3061
+ text[class|="indent_bullet0"] {
3062
+ text-indent: 0%;
3063
+ }
3064
+ text[class|="indent_bullet1"] {
3065
+ padding-left: 10%;
3066
+ }
3067
+ text[class|="indent_bullet2"] {
3068
+ padding-left: 15%;
3069
+ }
3070
+ text[class|="indent_bullet3"] {
3071
+ padding-left: 20%;
3072
+ }
3073
+ text[class|="indent_bullet4"] {
3074
+ padding-left: 25%;
3075
+ }
3076
+ text[class|="indent_bullet5"] {
3077
+ padding-left: 30%;
3078
+ }
3079
+ text[class|="indent_bullet6"] {
3080
+ padding-left: 35%;
3081
+ }
3082
+ text[class|="indent_bullet7"] {
3083
+ padding-left: 40%;
3084
+ }
3085
+ text[class|="indent_bullet8"] {
3086
+ padding-left: 45%;
3087
+ }
3088
+ text[class|="indent_bullet9"] {
3089
+ padding-left: 50%;
3090
+ }
3091
+ text[class|="verse"], text[class|="block"], text[class|="group"], text[class|="code"] {
3092
+ text-align: left;
3093
+ }
3094
+ table {
3095
+ margin-left: 5%;
3096
+ display: block;
3097
+ }
3098
+ tr {
3099
+ display: block;
3100
+ }
3101
+ th, td {
3102
+ display: inline;
3103
+ }
3104
+ nametag {
3105
+ display: none;
3106
+ }
3107
+ number {
3108
+ padding-right: 4px;
3109
+ }
3110
+ ocn {
3111
+ font-weight: normal;
3112
+ display: block;
3113
+ text-align: right;
3114
+ vertical-align: super;
3115
+ color: #990000;
3116
+ font-size: xx-small;
3117
+ margin-right: 0mm;
3118
+ margin-top: 0px;
3119
+ margin-bottom: 0px;
3120
+ }
3121
+ endnote {
3122
+ display: block;
3123
+ font-size: small;
3124
+ font-family: #{the_font.set_fonts};
3125
+ font-weight: normal;
3126
+ line-height: 150%;
3127
+ text-align: justify;
3128
+ margin-left: 10%;
3129
+ margin-right: 5%;
3130
+ margin-top: 4px;
3131
+ margin-bottom: 0px;
3132
+ }
3133
+ endnote_indent {
3134
+ display: block;
3135
+ font-size: small;
3136
+ font-family: #{the_font.set_fonts};
3137
+ font-weight: normal;
3138
+ line-height: 150%;
3139
+ text-align: justify;
3140
+ margin-left: 15%;
3141
+ margin-right: 5%;
3142
+ margin-top: 4px;
3143
+ margin-bottom: 0px;
3144
+ }
3145
+ en {
3146
+ font-size: xx-small;
3147
+ vertical-align: super;
3148
+ }
3149
+ i { font-style: italic; }
3150
+ b { font-style: bold; }
3151
+ u { text-decoration: underline; }
3152
+ br { display: block; }
3153
+ WOK
3154
+ end
3155
+ def xml_docbook #stylesheet for docbook
3156
+ <<WOK
3157
+ /* SiSU css docbook.xml default style */
3158
+ book {
3159
+ display: block;
3160
+ margin-left: 0mm;
3161
+ margin-right: 0mm;
3162
+ }
3163
+ bookinfo {
3164
+ display: block;
3165
+ margin-bottom: 20px;
3166
+ background-color: #dddddd;
3167
+ }
3168
+ source_control {
3169
+ display: block;
3170
+ }
3171
+ dc,sc {
3172
+ display: block;
3173
+ font-family: #{the_font.set_fonts};
3174
+ color: blue;
3175
+ background-color: #dddddd;
3176
+ font-weight: normal;
3177
+ text-align: justify;
3178
+ font-size: xx-small;
3179
+ line-height: 120%;
3180
+ margin-left: 5%;
3181
+ margin-right: 5mm;
3182
+ margin-top: 0px;
3183
+ margin-bottom: 0px;
3184
+ }
3185
+ sc {
3186
+ color: green;
3187
+ }
3188
+ keywords,copyright {
3189
+ display: block;
3190
+ font-family: #{the_font.set_fonts};
3191
+ color: red;
3192
+ background-color: #dddddd;
3193
+ font-weight: normal;
3194
+ text-align: justify;
3195
+ font-size: xx-small;
3196
+ line-height: 120%;
3197
+ margin-left: 5%;
3198
+ margin-right: 5mm;
3199
+ margin-top: 0px;
3200
+ margin-bottom: 0px;
3201
+ }
3202
+ body {
3203
+ color: black;
3204
+ background: #ffffff;
3205
+ }
3206
+ a:link {
3207
+ color: #003399;
3208
+ text-decoration: none;
3209
+ }
3210
+ a:visited {
3211
+ color: #003399;
3212
+ text-decoration: none;
3213
+ /* background-color: #e3ecef; */
3214
+ }
3215
+ a:hover {
3216
+ color: #000000;
3217
+ text-decoration: underline;
3218
+ background-color: #fff3b6;
3219
+ }
3220
+ a:hover IMG {
3221
+ background-color: #ffffff;
3222
+ }
3223
+ a:active {
3224
+ color: #003399;
3225
+ text-decoration: underline;
3226
+ }
3227
+ object {
3228
+ display: block;
3229
+ margin-left: 2mm;
3230
+ margin-right: 2mm;
3231
+ margin-top: 4px;
3232
+ margin-bottom: 8px;
3233
+ }
3234
+ part {
3235
+ display: block;
3236
+ /* font-weight: bold; */
3237
+ }
3238
+ contents {
3239
+ font-weight: normal;
3240
+ }
3241
+ para {
3242
+ display: block;
3243
+ font-family: #{the_font.set_fonts};
3244
+ /* font-weight: normal; */
3245
+ text-align: justify;
3246
+ font-size: 100%;
3247
+ line-height: 150%;
3248
+ margin-left: 5%;
3249
+ margin-right: 5%;
3250
+ margin-top: 2px;
3251
+ margin-bottom: 0px;
3252
+ }
3253
+ para.verse, para.block, para.group, para.code {
3254
+ text-align: left;
3255
+ }
3256
+ para.norm {
3257
+ font-family: #{the_font.set_fonts};
3258
+ font-weight: normal;
3259
+ }
3260
+ para.h1, title {
3261
+ display: block;
3262
+ font-family: #{the_font.set_fonts};
3263
+ font-size: 120%;
3264
+ font-weight: bold;
3265
+ text-align: left;
3266
+ line-height: 120%;
3267
+ margin-top: 20px;
3268
+ margin-bottom: 10px;
3269
+ }
3270
+ para.h2 {
3271
+ font-weight: bold;
3272
+ font-size: 110%;
3273
+ text-align: left;
3274
+ margin-top: 20px;
3275
+ margin-bottom: 10px;
3276
+ }
3277
+ para.h3 {
3278
+ font-size: 110%;
3279
+ font-weight: bold;
3280
+ text-align: left;
3281
+ }
3282
+ para.h4 {
3283
+ font-size: 110%;
3284
+ font-weight: bold;
3285
+ text-align: left;
3286
+ }
3287
+ para.h5 {
3288
+ font-size: 110%;
3289
+ font-weight: bold;
3290
+ text-align: left;
3291
+ }
3292
+ para.h6 {
3293
+ font-size: 110%;
3294
+ font-weight: bold;
3295
+ text-align: left;
3296
+ }
3297
+ para.h7 {
3298
+ font-size: 110%;
3299
+ font-weight: bold;
3300
+ text-align: left;
3301
+ }
3302
+ table {
3303
+ margin-left: 5%;
3304
+ display: block;
3305
+ }
3306
+ tr {
3307
+ display: block;
3308
+ }
3309
+ th, td {
3310
+ display: inline;
3311
+ }
3312
+ nametag {
3313
+ display: none;
3314
+ }
3315
+ number {
3316
+ padding-right: 4px;
3317
+ }
3318
+ ocn {
3319
+ font-weight: normal;
3320
+ display: block;
3321
+ text-align: right;
3322
+ vertical-align: super;
3323
+ color: #990000;
3324
+ font-size: xx-small;
3325
+ margin-right: 0mm;
3326
+ margin-top: 0px;
3327
+ margin-bottom: 0px;
3328
+ }
3329
+ endnote {
3330
+ display: block;
3331
+ font-size: small;
3332
+ font-family: #{the_font.set_fonts};
3333
+ font-weight: normal;
3334
+ line-height: 150%;
3335
+ text-align: justify;
3336
+ margin-left: 10%;
3337
+ margin-right: 5%;
3338
+ margin-top: 4px;
3339
+ margin-bottom: 0px;
3340
+ }
3341
+ endnote_indent {
3342
+ display: block;
3343
+ font-size: small;
3344
+ font-family: #{the_font.set_fonts};
3345
+ font-weight: normal;
3346
+ line-height: 150%;
3347
+ text-align: justify;
3348
+ margin-left: 15%;
3349
+ margin-right: 5%;
3350
+ margin-top: 4px;
3351
+ margin-bottom: 0px;
3352
+ }
3353
+ en {
3354
+ font-size: xx-small;
3355
+ vertical-align: super;
3356
+ }
3357
+ i { font-style: italic; }
3358
+ b { font-style: bold; }
3359
+ u { text-decoration: underline; }
3360
+ br { display: block; }
3361
+ WOK
3362
+ end
3363
+ def css_xhtml_p #stylesheet for ...
3364
+ <<WOK
3365
+ body {
3366
+ color: black;
3367
+ background: #ffffff;
3368
+ }
3369
+ a:link {
3370
+ color: #003399;
3371
+ text-decoration: none;
3372
+ }
3373
+ a:visited {
3374
+ color: #003399;
3375
+ text-decoration: none;
3376
+ /* background-color: #e3ecef; */
3377
+ }
3378
+ a:hover {
3379
+ color: #000000;
3380
+ text-decoration: underline;
3381
+ background-color: #fff3b6;
3382
+ }
3383
+ a:hover IMG {
3384
+ background-color: #ffffff;
3385
+ }
3386
+ a:active {
3387
+ color: #003399;
3388
+ text-decoration: underline;
3389
+ }
3390
+ object {
3391
+ display: block;
3392
+ margin-top: 3px;
3393
+ margin-bottom: 3px;
3394
+ margin-right: 5mm;
3395
+ }
3396
+ p {
3397
+ display: block;
3398
+ font-family: #{the_font.set_fonts};
3399
+ font-size: 100%;
3400
+ font-weight: normal;
3401
+ line-height: 150%;
3402
+ text-align: justify;
3403
+ margin-left: 10mm;
3404
+ margin-top: 3px;
3405
+ margin-bottom: 0px;
3406
+ margin-right: 5mm
3407
+ }
3408
+ p.norm { }
3409
+ p.endnote {
3410
+ font-size: 100%;
3411
+ margin-left: 20%;
3412
+ text-indent: 5%
3413
+ }
3414
+ p.endnote_indent {
3415
+ font-size: 100%;
3416
+ margin-left: 25%;
3417
+ text-indent: 5%
3418
+ }
3419
+ p.h1 {
3420
+ font-family: #{the_font.set_fonts};
3421
+ font-weight: bold;
3422
+ line-height: 120%;
3423
+ margin-left: 10mm;
3424
+ margin-right: 10mm;
3425
+ text-align: left;
3426
+ margin-top: 20px;
3427
+ margin-bottom: 10px;
3428
+ }
3429
+ p.h2 {
3430
+ font-weight: bold;
3431
+ font-size: 110%;
3432
+ margin-left: 10mm;
3433
+ margin-right: 15mm;
3434
+ text-align: left;
3435
+ margin-top: 20px;
3436
+ margin-bottom: 10px;
3437
+ }
3438
+ p.h3 {
3439
+ font-size: 150%;
3440
+ font-weight: bold;
3441
+ text-align: left;
3442
+ }
3443
+ p.h4 {
3444
+ font-size: 150%;
3445
+ font-weight: bold;
3446
+ text-align: left;
3447
+ }
3448
+ p.h5 {
3449
+ font-size: 150%;
3450
+ font-weight: bold;
3451
+ text-align: left;
3452
+ }
3453
+ p.h6 {
3454
+ font-size: 150%;
3455
+ font-weight: bold;
3456
+ text-align: left;
3457
+ }
3458
+ p.h7 {
3459
+ font-size: 150%;
3460
+ font-weight: bold;
3461
+ text-align: left;
3462
+ }
3463
+ ocn {
3464
+ display: block;
3465
+ text-align: right;
3466
+ vertical-align: super;
3467
+ color: #990000;
3468
+ font-size: xx-small;
3469
+ margin-top: 0px;
3470
+ margin-bottom: 6px;
3471
+ }
3472
+ en {
3473
+ font-size: xx-small;
3474
+ vertical-align: super;
3475
+ }
3476
+ i { font-style: italic; }
3477
+ b { font-style: bold; }
3478
+ u { text-decoration: underline; }
3479
+ br { display: block; }
3480
+ WOK
3481
+ end
3482
+ end
3483
+ end
3484
+ __END__