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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html
><head><!--mn42.html from mn.tex (TeX4ht, 1999-03-31 04:46:00)-->
<title>Modify</title><link
rel="stylesheet" type="text/css" href="mn.css"></head><body
>
<a
href="mn39.html#mn42.html" >exit Modify</a>
<h3 class="SubSectionHead"><a
name="QQ1-42-29"></a>Composition of tex4ht.env</h3>
<!--5692--><p class="noindent">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.
<DL > <DT>a
<DD>This character identifies for <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> aliases to the <a
href="mn43.html#als-" name="als">htf fonts</a>.
<!--5703--><p class="indent"> <DT>b
<DD>This character identifies for <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> a comment to be placed in the `<code><SPAN CLASS="cmtt-10">.lg</SPAN></code>' file, before the <a
href="mn46.html#bsc" name="bsc-1">scripts</a> for creating
pictures for symbols.
<!--5711--><p class="indent"> <DT>d
<DD>This character identifies a directory where <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> can place and manipulate a file named <code><SPAN CLASS="cmtt-10">tex4ht.fls</SPAN></code>. If this
entry is omitted, the work directory is assumed. The <code><SPAN CLASS="cmtt-10">tex4ht.fls</SPAN></code> file is a variant of the ls-R file of
kpathsea. <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> may record there the locations of files it finds, for speeding up similar searches in future
compilations.
<!--5718--><p class="indent"> <DT>g
<DD>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 `<code><SPAN CLASS="cmtt-10">g.gif</SPAN></code>'.
<!--5722--><p class="indent"> A directory name can also be encoded into tex4ht during compilation time through the variable
<a
href="mn45.html#-LGTYP" name="LGTYP">LGTYP</a>.
<!--5726--><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 `<code><SPAN CLASS="cmtt-10">-</SPAN></code>' character.
<!--5732--><p class="indent"> <DT>i
<DD>This character identifies to <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> a directory <a
href="mn44.html#ch-i" name="ch.i">where</a> the hypertext font (.htf) files of <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> are
stored.
<!--5740--><p class="indent"> <DT>s
<DD>This character identifies to <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> a <a
href="mn46.html#sc" name="sc-1">command</a> for requesting in the <code><SPAN CLASS="cmtt-10">lg</SPAN></code> 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.
<!--5751--><p class="indent"> <DT>t
<DD>This character identifies to <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> the directory where the font metric (.tfm) files of TeX are
stored.
<!--5756--><p class="indent"> A directory name can also be encoded into tex4ht during compilation time through the variable
<a
href="mn45.html#-TFMDIR" name="TFMDIR">TFMDIR</a>.
<!--5760--><p class="indent"> Alternatively, a directory name can be provided in the command line of tex4ht, in which case the character
code should be present and immediately preceded by a `<code><SPAN CLASS="cmtt-10">-</SPAN></code>' character.
<!--5764--><p class="indent"> The default setting has a limit of 255 on the number of fonts TeX may use. This bound can be changed through
the system variable <a
href="mn45.html#-MAXFONTS" name="MAXFONTS">MAXFONTS</a> of tex4ht.c.
<!--5769--><p class="indent"> <DT>A
<DD>This character identifies to <code><SPAN CLASS="cmtt-10">t4ht</SPAN></code> a <a
href="#accscript">script</a> for changing access mode of files.
<!--5774--><p class="indent"> <DT>C
<DD>This character identifies a <a
href="#mvscript">script</a> for satisfying requests made in the <code><SPAN CLASS="cmtt-10">lg</SPAN></code> file to copy files between
directories.
<!--5780--><p class="indent"> <DT>E
<DD>This character identifies a <a
href="#mvscript">script</a> for satisfying requests made in the <code><SPAN CLASS="cmtt-10">lg</SPAN></code> file to get substitutions for empty
pictures.
<!--5786--><p class="indent"> <DT>F
<DD>This character identifies to <code><SPAN CLASS="cmtt-10">t4ht</SPAN></code> a <a
href="mn28.html#dv2gif">script</a> for translating into other formats characters from dvi
files.
<!--5793--><p class="indent"> <DT>G
<DD>This character identifies to <code><SPAN CLASS="cmtt-10">t4ht</SPAN></code> a <a
href="mn28.html#dv2gif">script</a> for translating general dvi figures into other formats.
<!--5799--><p class="indent"> <DT>H
<DD>This character informs <code><SPAN CLASS="cmtt-10">t4ht</SPAN></code> where the environment file <a
href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/htfcss.env" >htfcss.env</a> for virtual hypertext fonts
resides.
<!--5803--><p class="indent"> <DT>M
<DD>This character identifies a <a
href="#mvscript">script</a> for satisfying requests made in the <code><SPAN CLASS="cmtt-10">lg</SPAN></code> file to move files between
directories.
<!--5810--><p class="indent"> <DT>S
<DD>This character specifies what security measures <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> and <code><SPAN CLASS="cmtt-10">t4ht</SPAN></code> 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 `<code><SPAN CLASS="cmtt-10">S*</SPAN></code>' allows all system calls. A selective access to system calls can be
obtained with S directives, which specify the prefixes of command names that should be allowed to go
through.
<!--5818--><p class="indent"> The S directives can be fed as command line switches to <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> and <code><SPAN CLASS="cmtt-10">t4ht</SPAN></code>.
</DL>Lines starting with other characters are treated as comments, and empty lines may be treated as file
terminators by <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> and <code><SPAN CLASS="cmtt-10">t4ht</SPAN></code>.
<!--5828--><p class="noindent"><DIV CLASS="EXAMPL"><SPAN CLASS="cmbx-10">Example</SPAN>
<pre class="Verbatim"><SPAN CLASS="cmtt-10">tcandy/tex/texmf/fonts/tfm/</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">igold/tex4ht-fonts.dir/</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">acmtex</SPAN><SPAN CLASS="cmtt-10">cmtt</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">acmbx</SPAN><SPAN CLASS="cmtt-10">cmr</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">acmsl</SPAN><SPAN CLASS="cmtt-10">cmr</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">aptmb</SPAN><SPAN CLASS="cmtt-10">cmr</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">aptmri</SPAN><SPAN CLASS="cmtt-10">cmti</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">aptmr7</SPAN><SPAN CLASS="cmtt-10">cmr</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">acmss</SPAN><SPAN CLASS="cmtt-10">cmti</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">acmcsc</SPAN><SPAN CLASS="cmtt-10">cmr</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">Gdvips</SPAN><SPAN CLASS="cmtt-10">-mode</SPAN><SPAN CLASS="cmtt-10">ibmvga</SPAN><SPAN CLASS="cmtt-10">-D</SPAN><SPAN CLASS="cmtt-10">110</SPAN><SPAN CLASS="cmtt-10">-f</SPAN><SPAN CLASS="cmtt-10">%%1</SPAN><SPAN CLASS="cmtt-10">-pp</SPAN><SPAN CLASS="cmtt-10">%%2</SPAN><SPAN CLASS="cmtt-10"></SPAN><SPAN CLASS="cmtt-10">></SPAN><SPAN CLASS="cmtt-10">tex4ht.ps</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">Gconvert</SPAN><SPAN CLASS="cmtt-10">-crop</SPAN><SPAN CLASS="cmtt-10">0x0</SPAN><SPAN CLASS="cmtt-10">-density</SPAN><SPAN CLASS="cmtt-10">110x110</SPAN><SPAN CLASS="cmtt-10">-transparency</SPAN><SPAN CLASS="cmtt-10">'#FFFFFF'</SPAN><SPAN CLASS="cmtt-10">tex4ht.ps</SPAN><SPAN CLASS="cmtt-10">%%3</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">%</SPAN><SPAN CLASS="cmtt-10">t4ht</SPAN><SPAN CLASS="cmtt-10">-d%%2</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">Mmv</SPAN><SPAN CLASS="cmtt-10">%%1</SPAN><SPAN CLASS="cmtt-10">%%2%%3</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">Ccp</SPAN><SPAN CLASS="cmtt-10">%%1</SPAN><SPAN CLASS="cmtt-10">%%2%%3</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">%</SPAN><SPAN CLASS="cmtt-10">t4ht</SPAN><SPAN CLASS="cmtt-10">-d%%2</SPAN><SPAN CLASS="cmtt-10">-m%%1</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">Achmod</SPAN><SPAN CLASS="cmtt-10">%%1</SPAN><SPAN CLASS="cmtt-10">%%2%%3</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">Hcandy/tex4ht.dir/</SPAN><SPAN CLASS="cmtt-10"></SPAN>
</pre>
</body>
</html>
|