File: mn33.html

package info (click to toggle)
tex4ht 19990804-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,384 kB
  • ctags: 799
  • sloc: ansic: 7,653; makefile: 116; sh: 24
file content (106 lines) | stat: -rw-r--r-- 9,261 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
  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<html  
><head><!--mn33.html from mn.tex (TeX4ht, 1999-03-31 04:46:00)--> 
<title>MS Win 95</title><link 
rel="stylesheet" type="text/css" href="mn.css"></head><body 
>   <a 
 href="mn.html#mn33.html" >exit MS Win 95</a>
    <h3 class="SubSectionHead"><a 
   name="QQ1-33-25"></a>A Setup for MS Win 95</h3>
<!--5308--><p class="noindent">
<OL TYPE="a" >
<LI>Establish a directory `<code><SPAN CLASS="cmtt-10">C:\tex4ht</SPAN></code>'. </LI>
<LI>Add `<code><SPAN CLASS="cmtt-10">C:\tex4ht</SPAN></code>' to your path variable in `<code><SPAN CLASS="cmtt-10">C:\AUTOEXEC.BAT</SPAN></code>'. </LI>
<LI>Download, and <a 
 href="http://www.cdrom.com/pub/infozip/" >unzip</a> when needed, the following files into the <code><SPAN CLASS="cmtt-10">tex4ht</SPAN></code> directory.
<OL TYPE="1" >
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/tex4ht.sty" >tex4ht.sty</a></LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/all4ht.zip" >all4ht.zip</a> (<a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/all4ht/" >*.4ht</a>) </LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/win95/tex4ht.exe" >tex4ht.exe</a> (or <a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/tex4ht.c" >tex4ht.c</a>) </LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/win95/t4ht.exe" >t4ht.exe</a> (or <a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/t4ht.c" >t4ht.c</a>) </LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/win95/tex4ht.env" >tex4ht.env</a></LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/win95/ht.tab" >ht.tab</a> </LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/ht-fonts.zip" >ht-fonts.zip</a> (<a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/ht-fonts/" >ht-fonts</a>) </LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/htfcss.env" >htfcss.env</a></LI>
<LI><a 
 href="http://www.cis.ohio-state.edu/~gurari/TeX4ht/share/test.tex"  name="test" >test.tex</a> </LI></OL>
    The above files are also available in a single <a 
 href="mn34.html"  name="mn34.html" >zipped file</a>.
<!--5378--><p class="indent">    </LI>
<LI>Rename file <code><SPAN CLASS="cmtt-10">ht.tab</SPAN></code> to <code><SPAN CLASS="cmtt-10">ht.bat</SPAN></code>. </LI>
<LI>Place the files `<code><SPAN CLASS="cmtt-10">tex4ht.sty</SPAN></code>' and `<code><SPAN CLASS="cmtt-10">*.4ht</SPAN></code>' within the LaTeX/TeX tree (either by moving the files to a directory which
already has sty files, or by modifying the TEXINPUTS parameter to point also to the directory of these
files).
<!--5388--><p class="indent">    </LI>
<LI>Replace in <code><SPAN CLASS="cmtt-10">tex4ht.env</SPAN></code> the lines starting with the character `<code><SPAN CLASS="cmtt-10">t</SPAN></code>', with alternative lines which state what directories
should be searched for the tfm files of TeX and LaTeX. The directory names must be preceded with the character `<code><SPAN CLASS="cmtt-10">t</SPAN></code>'
at the first column. If their subdirectories are also to be searched, the names should be appended with the character
`<code><SPAN CLASS="cmtt-10">!</SPAN></code>'.
<!--5459--><p class="indent">    </LI>
<LI>The entry `<code><SPAN CLASS="cmtt-10">Hc:\tex4ht\</SPAN></code>' in <code><SPAN CLASS="cmtt-10">tex4ht.env</SPAN></code> indicates the absolute address of the directory where the file <code><SPAN CLASS="cmtt-10">htfcss.env</SPAN></code>
resides. Modify that entry to fit your platform.
<!--5465--><p class="indent">    </LI>
<LI>The entry `<code><SPAN CLASS="cmtt-10">dc:\tex4ht.dir\</SPAN></code>' of <code><SPAN CLASS="cmtt-10">tex4ht.env</SPAN></code> indicates the directory where the file <a 
 href="mn35.html"  name="mn35.html" >tex4ht.fls</a> should reside. Modify that entry to fit your platform. The character `<code><SPAN CLASS="cmtt-10">d</SPAN></code>' should precede the address, and be
placed at the first column. If this entry is omitted, the work directory is assumed.
<!--5478--><p class="indent">    </LI>
<LI>The file <code><SPAN CLASS="cmtt-10">tex4ht.env</SPAN></code> contains the following default script, of calls to system utilities for translating dvi pictures into
gif.
<pre class="Verbatim"><SPAN CLASS="cmtt-10">GDEL</SPAN><SPAN CLASS="cmtt-10">tex4ht.ps</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">Gdvips32</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">-o</SPAN><SPAN CLASS="cmtt-10">tex4ht.ps</SPAN><SPAN CLASS="cmtt-10"></SPAN>
<SPAN CLASS="cmtt-10">GDEL</SPAN><SPAN CLASS="cmtt-10">%%3</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>
</pre>
<!--5489--><p class="indent">    You may need to replace this script with an <a 
 href="mn36.html"  name="mn36.html" >alternative sequence</a> of system calls. In such a case, place one command per line, and mark each of these lines with the character `<code><SPAN CLASS="cmtt-10">G</SPAN></code>'
at the first column.
<!--5518--><p class="indent">    The <code><SPAN CLASS="cmtt-10">%%1</SPAN></code> is a parameter referring to a dvi file, the <code><SPAN CLASS="cmtt-10">%%2</SPAN></code> is a parameter indicating a page number, and the <code><SPAN CLASS="cmtt-10">%%3</SPAN></code> is a
parameter standing for an output file name.
<!--5522--><p class="indent">    The <a 
 href="http://www.radicaleye.com/dvips.html" >dvips32</a> utility translates dvi files into postscript. The <code><SPAN CLASS="cmtt-10">convert</SPAN></code> utility, provided within the distribution of
<a 
 href="http://www.wizards.dupont.com/cristy/www/archives.html" >ImageMagick</a>, translates postscript files into gif.
<!--5528--><p class="indent">    The script employs the Metafont mode `<code><SPAN CLASS="cmtt-10">ibmvga</SPAN></code>' of resolution `<code><SPAN CLASS="cmtt-10">110</SPAN></code>'; the available modes are listed in file
<code><SPAN CLASS="cmtt-10">modes.mf</SPAN></code> of Metafont.
<!--5532--><p class="indent">    </LI>
<LI>Instead of employing the G scripts, glyphs can rely on specialized <a 
 href="mn37.html"  name="mn37.html" >F scripts</a> of similar nature for creating gifs.
<!--5548--><p class="indent">    </LI>
<LI>If needed, replace the scripts `<code><SPAN CLASS="cmtt-10">Mmove /y %%1 %%2%%3</SPAN></code>', and `<code><SPAN CLASS="cmtt-10">Ccopy /y %%1 %%2%%3</SPAN></code>' in <code><SPAN CLASS="cmtt-10">tex4ht.env</SPAN></code> with
alternative scripts for moving and copying files. The parameter <code><SPAN CLASS="cmtt-10">%%1</SPAN></code> stands for the source file(s), the
parameter <code><SPAN CLASS="cmtt-10">%%2</SPAN></code> provides the target directory name, and the parameter <code><SPAN CLASS="cmtt-10">%%3</SPAN></code> refers to the target file
name(s).
<!--5566--><p class="indent">    </LI>
<LI>If applicable, replace the scripts `<code><SPAN CLASS="cmtt-10">Achmod %%1 %%2%%3</SPAN></code>' in <code><SPAN CLASS="cmtt-10">tex4ht.env</SPAN></code> with alternative script for changing access
mode of files. The parameter <code><SPAN CLASS="cmtt-10">%%1</SPAN></code> stands for access mode, the parameter <code><SPAN CLASS="cmtt-10">%%2</SPAN></code> refers to a directory name, and the
parameter <code><SPAN CLASS="cmtt-10">%%3</SPAN></code> refers to the file(s).
<!--5575--><p class="indent">    </LI>
<LI>Copy <code><SPAN CLASS="cmtt-10">test.tex</SPAN></code> to your work directory, uncomment the second line `<code><SPAN CLASS="cmtt-10">% \let\PC=Y</SPAN></code>' within <code><SPAN CLASS="cmtt-10">test.tex</SPAN></code>, and compile
the file with the command `<code><SPAN CLASS="cmtt-10">ht tex test</SPAN></code>' or `<code><SPAN CLASS="cmtt-10">ht latex test</SPAN></code>'.
<!--5585--><p class="indent">    If you use commands different than <code><SPAN CLASS="cmtt-10">tex</SPAN></code> or <code><SPAN CLASS="cmtt-10">latex</SPAN></code> for compiling source files, uncomment the first line `<code><SPAN CLASS="cmtt-10">%</SPAN>
<SPAN CLASS="cmtt-10">\def\CALL{{tex}{latex}}</SPAN></code>' and place there the correct command names. For short extension names, uncomment
the third line `<code><SPAN CLASS="cmtt-10">% \let\DOS=Y</SPAN></code>'.
<!--5593--><p class="indent">    You might want to compare your output with the sample output provided in this document for <a 
 href="test.html" TARGET="test" >TeX</a> and
<a 
 href="testa.html" TARGET="test" >LaTeX</a>.
    </LI></OL>
<!--5603--><p class="indent">    [<a 
 href="mn38.html"  name="mn38.html" >trouble shooting</a>] [<a 
 href="http://www.csulb.edu/~murdock/dosindex.html" >MS Commands</a>]
     
</body> 
</html>