blob: 991bd2b53512bcc3e55fe1874ed8be23c0da947d (
plain)
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
|
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"xhtml1-transitional.dtd">
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
<html xmlns="http://www.w3.org/1999/xhtml"
>
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
<meta name="originator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" />
<!-- xhtml,th4,index -->
<meta name="src" content="mn.tex" />
<meta name="date" content="2004-02-11 18:07:00" />
<link rel="stylesheet" type="text/css" href="mn.css" />
</head><body
>
<!--l. 3471--><p class="noindent"><a
href="mn6.html#mn16-1" name="mn16-1" >1</a>. <span
class="cmtt-10">\Css{</span><span
class="cmti-10">content</span><span
class="cmtt-10">}</span>
</p><!--l. 3473--><p class="indent"> This command sends its content to the CSS file of the document.
</p><hr />
<!--l. 3480--><p class="noindent"><a
href="mn6.html#mn16-2" name="mn16-2" >2</a>. <a
name="index16-31003"></a><span
class="cmtt-10">\Css </span><span
class="cmti-10">content</span><span
class="cmtt-10">\EndCss</span>
</p><!--l. 3482--><p class="indent"> This command introduces the specified content, at the location of the command as an inline CSS code
fragment. The content should not start with the left brace character ‘<span
class="cmtt-10">{</span>’.
</p><hr />
<!--l. 3492--><p class="noindent"><a
href="mn6.html#mn16-3" name="mn16-3" >3</a>. <a
name="index16-31005"></a><span
class="cmtt-10">\CssFile[</span><span
class="cmti-10">list-of-css-files</span><span
class="cmtt-10">]</span><span
class="cmti-10">content</span><span
class="cmtt-10">\EndCssFile</span>
</p><!--l. 3494--><p class="indent"> The default CSS file TeX4ht produces is initially a file consisting just of a single line of the form ‘<span
class="cmtt-10">/* css.sty</span>
<span
class="cmtt-10">*/</span>’. That line is later replaced with the code submitted by the ‘<span
class="cmtt-10">\Css{...}</span>’ commands.
</p><!--l. 3498--><p class="indent"> The current command allows to specify an alternative to the initial CSS file. The alternative file consists of the
code loaded from listed files, and of the content explicitly specified in its body.
</p><div class="Verbatim"><span
class="cmtt-10"> </span><span
class="cmtt-10"> \ConfigureList{mylist}</span><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> {\HCode{<div</span><span
class="cmtt-10"> class="mylist">}}</span><span
class="cmtt-10"> {\HCode{</div>}}</span><span
class="cmtt-10"> {*</span><span
class="cmtt-10"> }{}</span><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10">\begin{document}</span><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span><span
class="cmtt-10"> \HCode{<!--created</span><span
class="cmtt-10"> by</span><span
class="cmtt-10"> me-->}</span><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span><span
class="cmtt-10"> \CssFile</span><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> /*</span><span
class="cmtt-10"> css.sty</span><span
class="cmtt-10"> */</span><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> </span><span
class="cmtt-10"> .mylist</span><span
class="cmtt-10"> {</span><span
class="cmtt-10"> color</span><span
class="cmtt-10"> :</span><span
class="cmtt-10"> red;</span><span
class="cmtt-10"> }</span><span
class="cmtt-10"> </span>
<br /><span
class="cmtt-10"> </span><span
class="cmtt-10"> \EndCssFile</span><span
class="cmtt-10"> </span>
<br /></div>
<!--l. 3520--><p class="indent"> The names in the list of files should be separated by commas, and the rectangular brackets are optional when
the list is empty.
</p><!--l. 3523--><p class="indent"> The file should include a line having the content of ‘<span
class="cmtt-10">/* css.sty */</span>’. If more than one such line is included, the
content of the ‘<span
class="cmtt-10">\Css{...}</span>’ commands replace the first occurrence of this line. Arbitrary many space characters may
appear around the substrings ‘<span
class="cmtt-10">/*</span>’ and ‘<span
class="cmtt-10">*/</span>’.
</p>
</body></html>
|