1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/css" href="../_sisu/css/xhtml.css"?>
<!-- Document processing information:
* Generated by: SiSU 0.59.0 of 2007w38/0 (2007-09-23)
* Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]
*
* Last Generated on: Sun Sep 23 04:12:18 +0100 2007
* SiSU http://www.jus.uio.no/sisu
-->
<document>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta>Title:</meta>
<title class="dc">
SiSU - Skins [0.58]
</title>
<br />
<meta>Creator:</meta>
<creator class="dc">
Ralph Amissah
</creator>
<br />
<meta>Rights:</meta>
<rights class="dc">
Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
</rights>
<br />
<meta>Type:</meta>
<type class="dc">
information
</type>
<br />
<meta>Subject:</meta>
<subject class="dc">
ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search
</subject>
<br />
<meta>Date created:</meta>
<date_created class="extra">
2002-11-12
</date_created>
<br />
<meta>Date issued:</meta>
<date_issued class="extra">
2002-11-12
</date_issued>
<br />
<meta>Date available:</meta>
<date_available class="extra">
2002-11-12
</date_available>
<br />
<meta>Date modified:</meta>
<date_modified class="extra">
2007-09-16
</date_modified>
<br />
<meta>Date:</meta>
<date class="dc">
2007-09-16
</date>
<br />
</head>
<body>
<object id="1">
<text class="h1">
SiSU - Skins [0.58],<br /> Ralph Amissah
</text>
<ocn>1</ocn>
</object>
<object id="2">
<text class="h2">
Document Skins - configuration
</text>
<ocn>2</ocn>
</object>
<object id="3">
<text class="h4">
1. Skins
</text>
<ocn>3</ocn>
</object>
<object id="4">
<text class="norm">
Skins modify the default appearance of document output on a document,
directory, or site wide basis. Skins are looked for in the following
locations:
</text>
<ocn>4</ocn>
</object>
<object id="5">
<text class="indent1">
./_sisu/skin
</text>
<ocn>5</ocn>
</object>
<object id="6">
<text class="indent1">
~/.sisu/skin
</text>
<ocn>6</ocn>
</object>
<object id="7">
<text class="indent1">
/etc/sisu/skin
</text>
<ocn>7</ocn>
</object>
<object id="8">
<text class="norm">
<b>Within the skin directory</b> are the following the default
sub-directories for document skins:
</text>
<ocn>8</ocn>
</object>
<object id="9">
<text class="indent1">
./skin/doc
</text>
<ocn>9</ocn>
</object>
<object id="10">
<text class="indent1">
./skin/dir
</text>
<ocn>10</ocn>
</object>
<object id="11">
<text class="indent1">
./skin/site
</text>
<ocn>11</ocn>
</object>
<object id="12">
<text class="norm">
A skin is placed in the appropriate directory and the file named
skin_[name].rb
</text>
<ocn>12</ocn>
</object>
<object id="13">
<text class="norm">
The skin itself is a ruby file which modifies the default appearances
set in the program.
</text>
<ocn>13</ocn>
</object>
<object id="14">
<text class="h5">
1.1 Document Skin
</text>
<ocn>14</ocn>
</object>
<object id="15">
<text class="norm">
Documents take on a document skin, if the header of the document
specifies a skin to be used.
</text>
<ocn>15</ocn>
</object>
<object id="16">
<ocn>16</ocn>
<text class="code">
   @skin: skin_united_nations    
</text>
</object>
<object id="17">
<text class="h5">
1.2 Directory Skin
</text>
<ocn>17</ocn>
</object>
<object id="18">
<text class="norm">
A directory may be mapped on to a particular skin, so all documents
within that directory take on a particular appearance. If a skin exists
in the skin/dir with the same name as the document directory, it will
automatically be used for each of the documents in that directory,
(except where a document specifies the use of another skin, in the
skin/doc directory).
</text>
<ocn>18</ocn>
</object>
<object id="19">
<text class="norm">
A personal habit is to place all skins within the doc directory, and
symbolic links as needed from the site, or dir directories as required.
</text>
<ocn>19</ocn>
</object>
<object id="20">
<text class="h5">
1.3 Site Skin
</text>
<ocn>20</ocn>
</object>
<object id="21">
<text class="norm">
A site skin, modifies the program default skin.
</text>
<ocn>21</ocn>
</object>
<object id="22">
<text class="h5">
1.4 Sample Skins
</text>
<ocn>22</ocn>
</object>
<object id="23">
<text class="norm">
With <b>SiSU</b> installed sample skins may be found in:
</text>
<ocn>23</ocn>
</object>
<object id="24">
<text class="indent1">
/etc/sisu/skin/doc and
/usr/share/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc
</text>
<ocn>24</ocn>
</object>
<object id="25">
<text class="norm">
(or equivalent directory) and if sisu-markup-samples is installed also
under:
</text>
<ocn>25</ocn>
</object>
<object id="26">
<text class="indent1">
/usr/share/doc/sisu/sisu_markup_samples/non-free/_sisu/skin/doc
</text>
<ocn>26</ocn>
</object>
<object id="27">
<text class="norm">
Samples of list.yml and promo.yml (which are used to create the right
column list) may be found in:
</text>
<ocn>27</ocn>
</object>
<object id="28">
<text class="indent1">
/usr/share/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml (or
equivalent directory)
</text>
<ocn>28</ocn>
</object>
</body>
</document>
|