File: mn41.html

package info (click to toggle)
tex4ht 20011214-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,272 kB
  • ctags: 992
  • sloc: xml: 17,548; ansic: 9,389; makefile: 129; sh: 43; sed: 8
file content (106 lines) | stat: -rw-r--r-- 8,097 bytes parent folder | download
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
<?xml version="1.0"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/TR/xhtml1/transitional"  
> 
<head><title>Modify</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)" /> 
<!--xhtml,th4,index--> 
<meta name="src" content="mn.tex" /> 
<meta name="date" content="2001-02-28 17:02:00" /> 
<link rel="stylesheet" type="text/css" href="mn.css" /> 
</head><body 
>
    <a 
 href="mn38.html#mn41.html" >exit Modify</a>
    <h3 class="SubSectionHead"><a 
   name="QQ1-41-35"></a>The Composition of tex4ht.env</h3>
<!--l. 5901--><p class="noindent"><a 
   name="index41-35001"></a>TeX4ht consults this file for system-dependent information. The file consists of a sequence of directives, where each
directive occupies a line and is identified with a distinguished character code in the first column. The following are
the possible character codes and their meaning.
</p><dl >
    <dt>b</dt><dd>
This character identifies for <span class="cmtt-10">tex4ht </span>a comment to be placed in the &#8216;<span class="cmtt-10">.lg</span>&#8217; file, before the <a 
 href="mn47.html#bsc"  name="bsc-1">scripts</a> for creating pictures
for symbols.
    </dd><dt>g</dt><dd>
<a 
   name="index41-35002"></a>This character identifies the extension tex4ht should associate to names of the files of pictures it creates. The default
corresponds to a setting of the form &#8216;<span class="cmtt-10">g.gif</span>&#8217;.
<!--l. 5922--><p class="indent">    A directory name can also be encoded into tex4ht during compilation time through the variable
<a 
 href="mn46.html#x-LGTYP"  name="LGTYP">LGTYP</a>.
</p><!--l. 5926--><p class="indent">    Alternatively, an extension can be provided in the command line of tex4ht, in which case the character code
should be present and immediately preceded by a &#8216;<span class="cmtt-10">-</span>&#8217; character.
</p>
    </dd><dt>i</dt><dd>
This character identifies to <span class="cmtt-10">tex4ht </span>a directory <a 
 href="mn45.html#ch-i"  name="ch.i">where</a> the hypertext font (.htf) files of <span class="cmtt-10">tex4ht </span>are
stored.
    </dd><dt>l</dt><dd>
<a 
   name="index41-35003"></a>This character identifies a <a 
 href="mn42.html"  name="mn42.html" >bookkeeping file</a> where <span class="cmtt-10">tex4ht </span>can record information about paths to files it uses.
    </dd><dt>s</dt><dd>
This character identifies to <span class="cmtt-10">tex4ht </span>a <a 
 href="mn47.html#sc"  name="sc-1">command</a> for requesting in the <span class="cmtt-10">lg </span>file the translation of dvi pictures to
bitmaps. When needed, a sequence of such commands can be placed in consecutive lines to form a block of
commands for handling the translation.
    </dd><dt>t</dt><dd>
<a 
   name="index41-36005"></a>This character identifies to <span class="cmtt-10">tex4ht </span>the directory <a 
 href="mn43.html"  name="mn43.html" >where</a> the font metric (.tfm) files of TeX are stored.
    </dd><dt>A</dt><dd>
This character identifies to <span class="cmtt-10">t4ht </span>a <a 
 href="#accscript">script</a> for changing access mode of files.
    </dd><dt>C</dt><dd>
This character identifies a <a 
 href="#mvscript">script</a> for satisfying requests made in the <span class="cmtt-10">lg </span>file to copy files between directories.
    </dd><dt>E</dt><dd>
This character identifies a <a 
 href="#mvscript">script</a> for satisfying requests made in the <span class="cmtt-10">lg </span>file to get substitutions for empty
pictures.
    </dd><dt>F</dt><dd>
This character identifies to <span class="cmtt-10">t4ht </span>a <a 
 href="mn30.html#dv2gif">script</a> for translating into other formats characters from dvi files.
    </dd><dt>G</dt><dd>
This character identifies to <span class="cmtt-10">t4ht </span>a <a 
 href="mn30.html#dv2gif">script</a> for translating general dvi figures into other formats.
    </dd><dt>M</dt><dd>
This character identifies a <a 
 href="#mvscript">script</a> for satisfying requests made in the <span class="cmtt-10">lg </span>file to move files between directories.
    </dd><dt>S</dt><dd>
This character specifies what security measures <span class="cmtt-10">t4ht </span>should take when invoking other utilities. In the absence of
this directive, all the calls to system services are ignored. On the other hand, a directive of the form &#8216;<span class="cmtt-10">S*</span>&#8217; allows all
system calls. A selective access to system calls can be obtained with <span class="cmtt-10">S </span>directives, which specify the prefixes of
command names that should be allowed to go through.
<!--l. 6129--><p class="indent">    The <span class="cmtt-10">S </span>directives can be fed as switches to the command lines <span class="cmtt-10">t4ht</span>.
</p>
    </dd><dt>P</dt><dd>
A variant of he <span class="cmtt-10">S </span>switch for <span class="cmtt-10">tex4ht</span>. Rarely useful.
    </dd><dt>X</dt><dd>
This character identifies to <span class="cmtt-10">t4ht </span>a script for postprocessing the files which <span class="cmtt-10">tex4ht </span>outputs. The file names are
represented by &#8216;<span class="cmtt-10">%%1</span>&#8217;, and their extensions by &#8216;<span class="cmtt-10">%%2</span>&#8217;. Such scripts, for instance, may invoke validators to check the
correctness of the files against given DTD&#8217;s and request XSL transformations. </dd></dl>Lines starting with other
characters are treated as comments, and empty lines may be treated as file terminators by <span class="cmtt-10">tex4ht </span>and
<span class="cmtt-10">t4ht</span>.
    <div class="EXAMPL"><span class="cmbx-10">Example</span>
<pre class="Verbatim"><span class="cmtt-10">tcandy/texmf/fonts/tfm/!</span>&nbsp;
<span class="cmtt-10">ttmp/texfonts/tfm/!</span>&nbsp;
<span class="cmtt-10">igold/ht-fonts/iso8859/!</span>&nbsp;
<span class="cmtt-10">igold/ht-fonts/alias/!</span>&nbsp;
<span class="cmtt-10">Gdvips</span>&nbsp;<span class="cmtt-10">-Pcmz</span>&nbsp;<span class="cmtt-10">-Pamz</span>&nbsp;<span class="cmtt-10">-mode</span>&nbsp;<span class="cmtt-10">ibmvga</span>&nbsp;<span class="cmtt-10">-D</span>&nbsp;<span class="cmtt-10">110</span>&nbsp;<span class="cmtt-10">-f</span>&nbsp;<span class="cmtt-10">%%1</span>&nbsp;<span class="cmtt-10">-pp</span>&nbsp;<span class="cmtt-10">%%2</span>&nbsp;&nbsp;<span class="cmtt-10">&gt;</span>&nbsp;<span class="cmtt-10">zz%%4.ps</span>&nbsp;
<span class="cmtt-10">Gconvert</span>&nbsp;<span class="cmtt-10">-crop</span>&nbsp;<span class="cmtt-10">0x0</span>&nbsp;<span class="cmtt-10">-density</span>&nbsp;<span class="cmtt-10">110x110</span>&nbsp;<span class="cmtt-10">-transparency</span>&nbsp;<span class="cmtt-10">'#FFFFFF'</span>&nbsp;<span class="cmtt-10">zz%%4.ps</span>&nbsp;<span class="cmtt-10">%%3</span>&nbsp;
<span class="cmtt-10">%</span>&nbsp;<span class="cmtt-10">t4ht</span>&nbsp;<span class="cmtt-10">-d%%2</span>&nbsp;
<span class="cmtt-10">Mmv</span>&nbsp;<span class="cmtt-10">%%1</span>&nbsp;<span class="cmtt-10">%%2%%3</span>&nbsp;
<span class="cmtt-10">Ccp</span>&nbsp;<span class="cmtt-10">%%1</span>&nbsp;<span class="cmtt-10">%%2%%3</span>&nbsp;
<span class="cmtt-10">%</span>&nbsp;<span class="cmtt-10">t4ht</span>&nbsp;<span class="cmtt-10">-d%%2</span>&nbsp;<span class="cmtt-10">-m%%1</span>&nbsp;
<span class="cmtt-10">Achmod</span>&nbsp;<span class="cmtt-10">%%1</span>&nbsp;<span class="cmtt-10">%%2%%3</span>&nbsp;
<span class="cmtt-10">Xif</span>&nbsp;<span class="cmtt-10">&#34;%%2&#34;==&#34;html&#34;</span>&nbsp;<span class="cmtt-10">nsgmls</span>&nbsp;<span class="cmtt-10">-wxml</span>&nbsp;<span class="cmtt-10">-wall</span>&nbsp;<span class="cmtt-10">-c</span>&nbsp;<span class="cmtt-10">catalog</span>&nbsp;<span class="cmtt-10">-s</span>&nbsp;<span class="cmtt-10">xml.dcl</span>&nbsp;<span class="cmtt-10">%%1.%%2</span>&nbsp;
</pre>
    </div>

     
</body></html>