setting up TeX4HT as installed from fpTeX-0.3
Massimo Pinto
pinto@graylab.ac.uk
Thu, 12 Aug 1999 17:47:27 +0100
I apologise for writing a lot of messages to this list but I am a new user
of fpTeX and I am facing a few problems since my UNIX background is almost
null.
I am trying to set up TeX4HT, which I prefer to tth as I can open the
output in MS word and give it to my supervisor.
What I cannot set up properly is the DVI to GIF conversion. I have
ImageMagick installed and its executables in the PATH variable.
I have found on the TeX4HT documentation on line (presumably the following
link)
http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html
I attach here my tex4ht.env file for those of you who feel happy to help.
Thanks in advance,
Massimo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% tex4ht.env / .tex4ht %
% %
% Notes: %
% 1. empty lines are harmful %
% 2. place this file in your work %
% directory and/or root directory %
% and/or in directory `xxx' of your %
% choice. In the latest case, compile %
% tex4ht.c with `#define HTFDIR xxx' %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Replace the directories `candy/...' %
% * A ! requests recursive search into %
% subdirectories %
% * Multiple entries of each type are %
% allowed %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
c:\TeX\texmf\fonts\tfm\!
c:\TeX\texmf\fonts\vf\!
c:\TeX\texmf\tex4ht\ht-fonts\!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Replace the directories `candy/...' %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% directory of htfcss.env
c:\TeX\texmf\tex4ht\base
% directory for tex4ht.fls
c:\TeX\texmf\tex4ht\!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% aliases for .htf fonts %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
acmbsy cmsy
acmbx cmr
acmitt cmtt
acmsl cmr
acmss cmti
acmtcsc cmtt
acmtex cmtt
acmu cmti
aptmb cmr
aptmr7 cmr
aptmri cmti
aec ectt
% To activate the following aliases,
% remove the leading space characters
apcrb7t pcrr7t
apcrro7t pcrr7t
aphvr7t ptmr7t
aptmb7t ptmr7t
aptmr8t ectt
aptmri8t ectt
aptmro7t ptmr7t
awncyi wncyr
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Default scripts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
s--- needs --- %%1.idv[%%2] ==> %%3 ---
b--- characters ---
g.gif
% remove protection
S*
% dvi-to-gif
% These following are the originals, as from installation (adapted for the
path).
Gdvips -mode ibmvga -D 110 -f %%1 -pp %%2 > tex4ht.ps
Gc:\TeX\Imagick\convert -crop 0x0 -density 110x110 -transparency "#FFFFFF"
tmp.ps %%3
% These following are from the TeX4HT web page.
%GDEL tex4ht.ps
%Gdvips32 -mode ibmvga -D 110 -f %%1 -pp %%2 -o tex4ht.ps
%GDEL %%3
%Gconvert -crop 0x0 -density 110x110 -transparency #FFFFFF tex4ht.ps %%3
% t4ht -d%%2
Mmove %%1 %%2%%3
Ccopy %%1 %%2%%3
% t4ht -d%%2 -m%%1
Achmod %%1 %%2%%3
% empty gifs
Ecopy empty.pic %%1%%
end of file.
-----------------------------------------------
Massimo Pinto
Gray Laboratory Cancer Research Trust
pinto@graylab.ac.uk
----------------------------------------------