Today I tried to install latex2html on my computer and I failed after a painful struggle with the unreadble Perl Scripts.To get a latex2html package to work,first you have to check that LaTeX2e,a Perl distribution,Ghostscript interpreter(always distributed together with TeX system) and NetPbm are all OK and add the corresponding 'bin' directory to the PATH environment variable.Then download a latex2html compressed package(the latest version seems to be released in 2002) and extract it to $TeX$\localtexmf\($TeX$ is the directory your LaTeX lies).Open prefs.pm in the directory and find the line "$prefs{'PREFIX'} = '...';" Replace the content between quotes by the path where your latex2html is going to be located.Note that the path must contain no spaces.Then run 'config.bat' and 'install.bat'.You will have a nice LaTeX2HTML to enjoy.
But,in fact even you strictly follow the steps I describe above,you will probably get a failure message when running test.bat.What the hell is that?Many reasons.I suggest you go to google.com.The problem I encountered is that the netpbm version I downloaded is not portable with latex2html.I guess(yes,it still remains a postulate.I am not able to prove it) only netpbm earlier than version 10 can work with latex2html.I have made a lot of efforts in looking for a netpbm 9.xx version but still,I failed.Is there anybody who has netpbm 9.25 or earlier?
星期四, 二月 15, 2007
订阅:
博文评论 (Atom)

没有评论:
发表评论