summaryrefslogtreecommitdiff
path: root/support/TeX4ht/doc/mn21.html
blob: 8e141986ddb7ebbe71600d588a9fba7c98af154b (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
119
<?xml version="1.0" encoding="iso-8859-1" ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/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 (https://tug.org/tex4ht/)" /> 
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" /> 
<!-- xhtml,th4,index --> 
<meta name="src" content="mn.tex" /> 
<link rel="stylesheet" type="text/css" href="mn.css" /> 
<meta name="viewport" content="width=device-width, initial-scale=1" /> 
</head><body 
>
<!--l. 6082--><p class="noindent" ><a 
 href="mn11.html#mn21-1"  name="mn21-1" >1</a>. <span 
class="cmtt-10">\Css{</span><span 
class="cmti-10">content</span><span 
class="cmtt-10">}</span>
</p><!--l. 6084--><p class="indent" >    This command sends its content to the CSS file of the document.
</p><hr />
<!--l. 6091--><p class="noindent" ><a 
 href="mn11.html#mn21-2"  name="mn21-2" >2</a>.   <a 
  name="index21-61003"></a><span 
class="cmtt-10">\Css </span><span 
class="cmti-10">content</span><span 
class="cmtt-10">\EndCss</span>
</p><!--l. 6093--><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 &#8216;<span 
class="cmtt-10">{</span>&#8217;.
</p><hr />
<!--l. 6103--><p class="noindent" ><a 
 href="mn11.html#mn21-3"  name="mn21-3" >3</a>.   <a 
  name="index21-61005"></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. 6105--><p class="indent" >    The default CSS file TeX4ht produces is initially a file consisting just of a single line of the form &#8216;<span 
class="cmtt-10">/* css.sty</span>
<span 
class="cmtt-10">*/</span>&#8217;. That line is later replaced with the code submitted by the &#8216;<span 
class="cmtt-10">\Css{...}</span>&#8217; commands.
</p><!--l. 6109--><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">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;\ConfigureList{mylist}</span><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;{\HCode{&#x003C;div</span><span 
class="cmtt-10">&#x00A0;class="mylist"&#x003E;}}</span><span 
class="cmtt-10">&#x00A0;{\HCode{&#x003C;/div&#x003E;}}</span><span 
class="cmtt-10">&#x00A0;{*</span><span 
class="cmtt-10">&#x00A0;}{}</span><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">\begin{document}</span><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;\HCode{&#x003C;!--created</span><span 
class="cmtt-10">&#x00A0;by</span><span 
class="cmtt-10">&#x00A0;me--&#x003E;}</span><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;\CssFile</span><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;/*</span><span 
class="cmtt-10">&#x00A0;css.sty</span><span 
class="cmtt-10">&#x00A0;*/</span><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;.mylist</span><span 
class="cmtt-10">&#x00A0;{</span><span 
class="cmtt-10">&#x00A0;color</span><span 
class="cmtt-10">&#x00A0;:</span><span 
class="cmtt-10">&#x00A0;red;</span><span 
class="cmtt-10">&#x00A0;}</span><span 
class="cmtt-10">&#x00A0;</span>
<br /><span 
class="cmtt-10">&#x00A0;</span><span 
class="cmtt-10">&#x00A0;\EndCssFile</span><span 
class="cmtt-10">&#x00A0;</span>
<br /></div>
<!--l. 6131--><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. 6134--><p class="indent" >    The file should include a line having the content of &#8216;<span 
class="cmtt-10">/* css.sty */</span>&#8217;. If more than one such line is included, the
content of the &#8216;<span 
class="cmtt-10">\Css{...}</span>&#8217; commands replace the first occurrence of this line. Arbitrary many space characters may
appear around the substrings &#8216;<span 
class="cmtt-10">/*</span>&#8217; and &#8216;<span 
class="cmtt-10">*/</span>&#8217;.
</p>

    <hr />
<!--l. 6141--><p class="indent" >    <small>Generated August 24, 2020 - <a href="/tex4ht/">tex4ht home page</a></small></p> 
</body></html>