在CentOS 6.7中安装 latex2html, 实现 latex 自动转化为 word

由于latex文档生成的pdf不便于提供审阅和修改,亟需一个软件实现从latex向word文档的自动转换( 如何把Latex自动转为Word 介绍了由latex2html 可实现这个功能,这也是初衷)。

0 系统+软件版本

系统:CentOS 6.7 x64, 内核 2.6.32-573.el6.x86_64
软件:latex2html2015, netpbm2015

1 安装步骤

1.1 下载 latex2html 软件包

最新版可以从这里下载,也有旧版本,最新的源都发布在这里;另外,rpmfind 也提供了若干稍旧一些的版本作为选择,从这里可以查看所有版本.

最好不要用yum自动搜索的方式安装,它搜出来的版本太旧,是 latex2html-2008 + textlive-2007 的版本,好处是依赖关系自动解决,不需要手动去配置另外的软件包。

[She@Documents]$ sudo yum install latex2html
(...... skip the previous lines ......)

依赖关系解决 ============================================================================================= 软件包 架构 版本 仓库 大小 ============================================================================================= 正在安装: latex2html noarch 2008-4.el6 base 1.3 M 为依赖而安装: netpbm-progs x86_64 10.47.05-11.el6 base 1.7 M tex-preview noarch 11.85-10.el6 base 50 k texlive x86_64 2007-60.el6_7 updates 1.8 M texlive-dvips x86_64 2007-60.el6_7 updates 193 k texlive-latex x86_64 2007-60.el6_7 updates 83 k texlive-texmf-fonts noarch 2007-39.el6_7 updates 48 M texlive-texmf-latex noarch 2007-39.el6_7 updates 5.3 M texlive-utils x86_64 2007-60.el6_7 updates 254 k 事务概要 ============================================================================================= Install 9 Package(s) 总下载量:59 M Installed size: 151 M 确定吗?[y/N]:

本例以 latex2html-2015 + textlive-2015 为实例,主要记录 latex2html 的安装过程,包括依赖关系解决。

从 CTAN 下载 2015版,以及说明文档 manual.pdf,说明文档第2节讲述了安装前的对其它软件的版本要求,包括

Perl version 5.002, or later (check with perl -v);

LATEX, meaning LATEX 2ε dated <1995/06/01>, or later (check with latex -v);

dvips or dvipsk, at version 5.58 or later (check with dvips -v);

Ghostscript at version 4.02 or later (check with ghostscript -v);

netpbm library of graphics utilities, version 1-mar-94
(check with pnmcrop -version).
[She@She Documents]$ perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
Copyright 1987-2009, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
[She@She Documents]$ latex -v
pdfTeX
3.14159265-2.6-1.40.16 (TeX Live 2015) kpathsea version 6.2.1 Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.6.17; using libpng 1.6.17 Compiled with zlib 1.2.8; using zlib 1.2.8 Compiled with xpdf version 3.04

[She@She Documents]$ dvips -v
This is dvips(k)
5.995 Copyright 2015 Radical Eye Software (www.radicaleye.com)
[She@She
Documents]$ ghostscript -v
GPL Ghostscript
8.70 (2009-07-31) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. [She@She Documents]$ pnmcrop -version bash: /usr/bin/pnmcrop: 没有那个文件或目录

逐项检查,没有找到 netpbm,需要单独安装。

2 下载并安装依赖软件 netpbm 图形软件

 latex2html 中提供的 netpbm 的下载地址已经失效。

参照网文 LaTeX2html安装及在winEdt界面中的配置(转自ctex) 给出的 netpbm 软件地址,找到下载页面,用页面提示的svn命令即可轻松下载:

[She@She ~]$ svn checkout http://svn.code.sf.net/p/netpbm/code/userguide userguide

[She@She ~]$ svn checkout http://svn.code.sf.net/p/netpbm/code/stable netpbm

下载之后解压,找到安装的说明文档 .../netpbm/doc/INSTALL,其中列出了执行安装所需要的步骤,依次执行即可,抄录主要的几句命令在此:

HOW TO INSTALL NETPBM
---------------------

For most typical platforms, you can just do

    ./configure

followed by

    make

To build all the programs.  Then

    make package

to gather all the installable parts into a specified directory, and 
finally

    ./installnetpbm

to install it into your system.  

安装以后,试试能不能找到它?用到的各选项都是默认的,安装到了路径 /usr/local/netpbm 下。

现在在终端里试试能否搜索到它? 如果能搜索到,则跳过下面这一步;如果没有搜索到,则手动修改当前用户级的系统路径文件 .bash_profile,将 netpbm 的路径添加进去,如红色字体所示,直到能找到为止。

[She@She ~]$ pnmcrop -version
bash: pnmcrop: command not found
/usr/bin/pnmcrop: 没有那个文件或目录

[She@She ~]$ vi .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/local/texlive/2015/bin/x86_64-linux:/usr/local/netpbm/bin

export PATH


#### 使环境变量PATH路径的修改立即生效: [She@She
~]$ source .bash_profile
[She@She
~]$ pnmcrop -version pnmcrop: Using libnetpbm from Netpbm Version: Netpbm 10.47.5 pnmcrop: Compiled Thu Nov 11 17:01:16 GMT 2010 by user "mockbuild" pnmcrop: BSD defined pnmcrop: RGB_ENV='RGBDEF' pnmcrop: RGBENV= 'RGBDEF' (env vbl is unset)


pnmcrop 可以被搜索到,表明 netpbm 软件已经安装成功,latex2html 安装前的准备工作完毕。

3 安装 latex2html

 请再次阅读.../latex2html 中的 README 文档,以确保安装前的各项均已准备妥当。

(0) install说明中的linux片段

具体的安装说明详见 .../INSTALL, 将 Linux 系统下的安装步骤摘录于此。

LaTeX2HTML 99.2 Installation Manual
===================================

The installation procedure has changed substantially from version 98.3 on.
It now resembles more closely the GNU installation scheme, while providing
alternatives for Win32 and OS/2 users.

Step by step cookbook
=====================

A. UNIX
-------

(Win 95, 98, NT and OS/2 users see below)

0. Unpacking

Unpack the tar file into a temporary area. This has changed: Do not unpack
the tar file to the final desired location (e.g. /usr/local/latex2html).
Read the INSTALL file. Oops, you are already here...

1. Configuring

You may have a look at the prefs.pm preferences file. It is preset with 
reasonable defaults. Edit it to adapt the configuration procedure, e.g. if
your executables like latex, gs etc. have "strange" names (e.g., "LaTeX").

Run

   ./configure --help

This gives you a brief overview of configuration options. Note that for
each --enable-someting there is also a --disable-something. Anyway, the
defaults are reasonable and robust, so you should give it a first try
with only specifying the --prefix (see below) if you don't like /usr/local.

configure looks also at the environment, so that you could hardcode the path
to your Ghostscript executable by e.g. (on bourne shell!)

  GS=/opt/ghostscript/bin/gs ./configure 

Alternatively you could say (works on all shells)

  ./configure --with-gs=/opt/ghostscript/bin/gs
ghostscript 实际位于 /usr/bin/ 目录内,属于系统路径,不必自定义。 请在安装前检查仔细!!!

Note for --prefix: The final directory structure depends on the name of the prefix: - if prefix contains the string "latex2html" or "l2h": Then binaries go into $prefix/bin, while the rest goes into $prefix - prefix does *not* contain the above strings: Then binaries go into $prefix/bin and the rest into $prefix/lib/latex2html You can override the settings by specifying --bindir and/or --libdir. Note that currently no other path/installation options in configure (e.g. --exec-prefix, --sbindir, --datadir, ...) are recognized. This may change in the future. After configure has completed, you may check the cfgcache.pm file if everything is ok. It contains all the information gathered from your system and there should be no need to change anything. Exceptions from this rule can be considered bugs in the configuration procedure. :-) Note: The GNU autoconf-generated configure script hands execution over to a Perl script. This of course isn't the "clean" way. I know that, but the configure procedure should work also on native Win/OS2/Mac systems that (by default) lack sh, make, etc. 2. Building Run "make". The distribution files (extension .pin) are turned into the locally adapted scripts, using the configuration from cfgcache.pm. If you need to change things, then re-run the configuration step with the appropriate options (preferred) or edit the cfgcache.pm file and run "make" again. 3. Testing Do a plausibility check: "make check". The perl scripts are checked for syntax correctness. For compiling a small test document, type "make test". The test example is located in the "tests" subdirectory. You may specify additional command line arguments by saying "make test ARGS='...'". You may test LaTeX2HTML manually on one of your documents by setting the LATEX2HTMLDIR environment to the path where "Makefile" is located and running latex2html with the option -test_mode. Alternatively, you may put your document in the tests/ directory and run "make test TESTCASE=yourfile.tex" 4. Installing Install LaTeX2HTML in its final location by saying "make install". Before doing that you might want to edit l2hconf.pm to reflect your site-wide needs. If you do a system installation for many users, only care for general aspects. Note that at any time these settings are easily overridden by specifying command line options to the latex2html script or by installing a .latex2html-init file in the HOME directory. Read the instructions about ICONSERVER carefully to make sure your HTML documents will be displayed right via the Web server. While you're at it you may want to change some of the default options in the same file. 5. Cleaning up You may remove the temporary directory to which you unpacked the distribution after installation. 6. Bug reports When reporting bugs, it may be a good idea to send the cfgcache.pm file as a reference of your local setup. Re-run the configuration procedure if you don't have the file any more. See also the BUGS file. See below "Further General Aspects" for information on useful site-wide configuration.

(1) 编辑 prefs.pm 文件

 主要是修改外部软件所在的位置$prefs{'EXTRAPATH'} 以及安装位置 $prefs{'PREFIX'}。

# PLEASE SET THE PERL EXECUTABLE NAME  ON THE COMMAND LINE OR IN
# CONFIG.BAT IF IT DIFFERS FROM 'perl'!!!

# Specify any additional search paths here, use `:' or `;' as delimiter
$prefs{'EXTRAPATH'} = '/usr/local/texlive/2015/bin/x86_64-linux;/usr/local/netpbm/bin';

# This is where the installation will take place. On UNIXish systems
# $prefs{'PREFIX'} = '/usr/local';
# is preferred. On DOS/Win, you might say
# $prefs{'PREFIX'} = 'C:\\progs\\latex2html';
$prefs{'PREFIX'} = '/usr/local';

(2) configuring

[She@She latex2html-2015]$ ./configure
creating cache ./config.cache
checking for perl... /usr/bin/perl
checking whether #! works in shell scripts... yes
launching proprietary configuration...

config.pl, Release 2008 (Revision 1.49)
Accompanies LaTeX2HTML, (C) 1999 GNU Public License.

checking for old config file (cfgcache.pm)... loaded
checking for platform... linux (assuming unix)
checking for /usr/bin/perl... /usr/bin/perl
checking perl version... 5.010001
checking if perl supports some dbm... yes
checking if perl globbing works... yes
checking for /usr/local/texlive/2015/bin/x86_64-linux/tex... /usr/local/texlive/2015/bin/x86_64-linux/tex
checking for /usr/local/texlive/2015/bin/x86_64-linux/latex... /usr/local/texlive/2015/bin/x86_64-linux/latex
checking for /usr/local/texlive/2015/bin/x86_64-linux/initex... /usr/local/texlive/2015/bin/x86_64-linux/initex
checking for /usr/local/texlive/2015/bin/x86_64-linux/kpsewhich... /usr/local/texlive/2015/bin/x86_64-linux/kpsewhich
checking for kpsewhich syntax... ok (style=1)
checking for TeX include path... /usr/local/texlive/texmf-local/tex/latex/html
checking for /usr/local/texlive/2015/bin/x86_64-linux/mktexlsr... /usr/local/texlive/2015/bin/x86_64-linux/mktexlsr
checking for /usr/local/texlive/2015/bin/x86_64-linux/dvips... /usr/local/texlive/2015/bin/x86_64-linux/dvips
checking dvips version... 5.995
checking if dvips supports the combination of -E and -i -S 1... yes
checking for html4-check... no
checking for /usr/bin/gs... /usr/bin/gs
checking for ghostscript version... 8.70
checking for ghostscript portable bitmap device... pnmraw
checking for full color device for anti-aliasing... ppmraw
checking for ghostscript library and font paths... . (in addition to built-in paths)
checking for /usr/local/netpbm/bin/pnmcrop -verbose ... no
checking for pnmcrop -verbose ... no
checking for pnmcrop... /usr/local/netpbm/bin/pnmcrop
Argument "10.47.5" isn't numeric in numeric gt (>) at ./config/config.pl line 1284.

/usr/local/netpbm/bin/pnmcrop -verbose yes
checking for /usr/local/netpbm/bin/pnmflip... /usr/local/netpbm/bin/pnmflip
checking for /usr/local/netpbm/bin/ppmquant... /usr/local/netpbm/bin/ppmquant
checking for /usr/local/netpbm/bin/pnmfile... /usr/local/netpbm/bin/pnmfile
checking for /usr/local/netpbm/bin/pnmcat... /usr/local/netpbm/bin/pnmcat
checking for /usr/local/netpbm/bin/pbmmake... /usr/local/netpbm/bin/pbmmake
checking for /usr/local/netpbm/bin/ppmtogif... /usr/local/netpbm/bin/ppmtogif
yes
checking if ppmtogif can make interlaced GIFs... yes
checking for /usr/local/netpbm/bin/pnmtopng... /usr/local/netpbm/bin/pnmtopng
checking for /usr/local/netpbm/bin/ppmtojpeg... /usr/local/netpbm/bin/ppmtojpeg
checking for /usr/local/netpbm/bin/pnmcut... /usr/local/netpbm/bin/pnmcut
checking for /usr/local/netpbm/bin/pnmpad... /usr/local/netpbm/bin/pnmpad
checking for /usr/local/netpbm/bin/pnmrotate... /usr/local/netpbm/bin/pnmrotate
checking for /usr/local/netpbm/bin/pnmscale... /usr/local/netpbm/bin/pnmscale
checking for /usr/local/netpbm/bin/giftopnm... /usr/local/netpbm/bin/giftopnm
checking for /usr/local/netpbm/bin/jpegtopnm... /usr/local/netpbm/bin/jpegtopnm
checking for /usr/local/netpbm/bin/pngtopnm... /usr/local/netpbm/bin/pngtopnm
checking for /usr/local/netpbm/bin/tifftopnm... /usr/local/netpbm/bin/tifftopnm
checking for /usr/local/netpbm/bin/picttoppm... /usr/local/netpbm/bin/picttoppm
checking for /usr/local/netpbm/bin/anytopnm... /usr/local/netpbm/bin/anytopnm
checking for /usr/local/netpbm/bin/bmptoppm... /usr/local/netpbm/bin/bmptoppm
checking for /usr/local/netpbm/bin/pcxtoppm... /usr/local/netpbm/bin/pcxtoppm
checking for /usr/local/netpbm/bin/sgitopnm... /usr/local/netpbm/bin/sgitopnm
checking for /usr/local/netpbm/bin/xbmtopbm... /usr/local/netpbm/bin/xbmtopbm
checking for /usr/local/netpbm/bin/xwdtopnm... /usr/local/netpbm/bin/xwdtopnm
checking if multiple pipes work... yes
checking for temporary disk space... /tmp
creating cfgcache.pm
Note: Will install...
      ... executables to   : /usr/local/bin
      ... shared library items to : /usr/local/share/lib/latex2html
      ... unshared library items to : /usr/local/lib/latex2html
updating cache ./config.cache
creating ./config.status
creating Makefile

If everything went well,  you may run 'make'
[She@She latex2html-2015]$ 

全部通过之后,检查生成的文件 cfgcache.pm,内容为空(q'')的变量只剩几个了。如果在这个文档中发现了大量内容为空的项,那可能是前面哪个参数设置错了,比如没有指向某个依赖软件的 bin 位置 (比如:prefs.pm 文件中 关于$prefs{'EXTRAPATH'}的设置不完整,netpbm 的路径没有指定“/usr/local/netpbm/bin“)。

# LaTeX2HTML site specific configuration file
# generated by config.pl

# You may edit this file to get around deficiencies of the configuration
# procedure, but you have to be sure of what you are doing!
# If you think there are bugs in the configuration procedure, please report
# them. See the BUGS file on how to do it. Your help is appreciated!

package cfgcache;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(%cfg);

$cfg{'ANYTOPNM'} = q'/usr/local/netpbm/bin/anytopnm';
$cfg{'BINDIR'} = q'/usr/local/bin';
$cfg{'BMPTOPPM'} = q'/usr/local/netpbm/bin/bmptoppm';
$cfg{'CRAYOLAFILE'} = q'/usr/local/share/lib/latex2html/styles/crayola.txt';
$cfg{'DVIPS'} = q'/usr/local/texlive/2015/bin/x86_64-linux/dvips';
$cfg{'DVIPSOPT'} = q' -Ppdf  -E';
$cfg{'GIFTOPNM'} = q'/usr/local/netpbm/bin/giftopnm';
$cfg{'GS'} = q'/usr/bin/gs';
$cfg{'GSALIASDEVICE'} = q'ppmraw';
$cfg{'GSDEVICE'} = q'pnmraw';
$cfg{'GSLANDSCAPE'} = q'';
$cfg{'GS_LIB'} = q'.';
$cfg{'HASHBANG'} = q'1';
$cfg{'HTML_VALIDATOR'} = q'';
$cfg{'ICONPATH'} = q'file:/usr/local/share/lib/latex2html/icons';
$cfg{'ICONSERVER'} = q'';
$cfg{'ICONSTORAGE'} = q'';
$cfg{'IMAGE_TYPES'} = q'png gif';
$cfg{'INITEX'} = q'/usr/local/texlive/2015/bin/x86_64-linux/initex';
$cfg{'JPEGTOPNM'} = q'/usr/local/netpbm/bin/jpegtopnm';
$cfg{'KPSEWHICH'} = q'/usr/local/texlive/2015/bin/x86_64-linux/kpsewhich';
$cfg{'LATEX'} = q'/usr/local/texlive/2015/bin/x86_64-linux/latex';
$cfg{'LATEX2HTMLDIR'} = q'/usr/local/share/lib/latex2html';
$cfg{'LATEX2HTMLPLATDIR'} = q'/usr/local/lib/latex2html';
$cfg{'LIBDIR'} = q'/usr/local/lib/latex2html';
$cfg{'METADPI'} = q'0';
$cfg{'METAMODE'} = q'';
$cfg{'MKTEXLSR'} = q'/usr/local/texlive/2015/bin/x86_64-linux/mktexlsr';
$cfg{'NULLFILE'} = q'/dev/null';
$cfg{'PBMMAKE'} = q'/usr/local/netpbm/bin/pbmmake';
$cfg{'PCXTOPPM'} = q'/usr/local/netpbm/bin/pcxtoppm';
$cfg{'PERL'} = q'/usr/bin/perl';
$cfg{'PERLFOOTER'} = q'';
$cfg{'PERLHEADER'} = <<'EOQ';
#! /usr/bin/perl -w
EOQ
$cfg{'PERLSCRIPTDIR'} = q'/usr/bin';
$cfg{'PICTTOPPM'} = q'/usr/local/netpbm/bin/picttoppm';
$cfg{'PK_GENERATION'} = q'0';
$cfg{'PNGTOPNM'} = q'/usr/local/netpbm/bin/pngtopnm';
$cfg{'PNMBLACK'} = q'';
$cfg{'PNMCAT'} = q'/usr/local/netpbm/bin/pnmcat';
$cfg{'PNMCROP'} = q'/usr/local/netpbm/bin/pnmcrop -verbose ';
$cfg{'PNMCROPOPT'} = q' -sides ';
$cfg{'PNMCUT'} = q'/usr/local/netpbm/bin/pnmcut';
$cfg{'PNMFILE'} = q'/usr/local/netpbm/bin/pnmfile';
$cfg{'PNMFLIP'} = q'/usr/local/netpbm/bin/pnmflip';
$cfg{'PNMPAD'} = q'/usr/local/netpbm/bin/pnmpad';
$cfg{'PNMROTATE'} = q'/usr/local/netpbm/bin/pnmrotate';
$cfg{'PNMSCALE'} = q'/usr/local/netpbm/bin/pnmscale';
$cfg{'PNMTOPNG'} = q'/usr/local/netpbm/bin/pnmtopng';
$cfg{'PPMQUANT'} = q'/usr/local/netpbm/bin/ppmquant';
$cfg{'PPMTOGIF'} = q'/usr/local/netpbm/bin/ppmtogif';
$cfg{'PPMTOJPEG'} = q'/usr/local/netpbm/bin/ppmtojpeg';
$cfg{'PREFIX'} = q'/usr/local';
$cfg{'RGBCOLORFILE'} = q'/usr/local/share/lib/latex2html/styles/rgb.txt';
$cfg{'SGITOPNM'} = q'/usr/local/netpbm/bin/sgitopnm';
$cfg{'SHLIBDIR'} = q'/usr/local/share/lib/latex2html';
$cfg{'TEX'} = q'/usr/local/texlive/2015/bin/x86_64-linux/tex';
$cfg{'TEXPATH'} = q'/usr/local/texlive/texmf-local/tex/latex/html';
$cfg{'TIFFTOPNM'} = q'/usr/local/netpbm/bin/tifftopnm';
$cfg{'TMPSPACE'} = q'/tmp';
$cfg{'WEB2C'} = q'1';
$cfg{'XBMTOPBM'} = q'/usr/local/netpbm/bin/xbmtopbm';
$cfg{'XWDTOPNM'} = q'/usr/local/netpbm/bin/xwdtopnm';
$cfg{'dd'} = q'/';
$cfg{'distver'} = q'2008';
$cfg{'exec_extension'} = q'';
$cfg{'gif_interlace'} = q'netpbm';
$cfg{'gif_trans'} = q'netpbm';
$cfg{'have_dvipsmode'} = q'';
$cfg{'have_geometry'} = q'1';
$cfg{'have_images'} = q'1';
$cfg{'have_pstoimg'} = q'1';
$cfg{'perl_starter'} = q'';
$cfg{'pipes'} = q'1';
$cfg{'plat'} = q'unix';
$cfg{'scriptdir'} = q'/usr/local/bin';
$cfg{'scriptext'} = q'';
$cfg{'srcdir'} = q'/home/She/Downloads/latex2html-2015';
$cfg{'texlive'} = q'0';
$cfg{'wrapper'} = q'0';

1; # must be last line

(3) building

[She@She latex2html-2015]$ make

/usr/bin/perl /home/She/Downloads/latex2html-2015/config/build.pl -x latex2html build.pl (Revision 1.6) Building "latex2html" from "latex2html.pin" touch latex2html /usr/bin/perl /home/She/Downloads/latex2html-2015/config/build.pl -x texexpand build.pl (Revision 1.6) Building "texexpand" from "texexpand.pin" touch texexpand /usr/bin/perl /home/She/Downloads/latex2html-2015/config/build.pl -x pstoimg build.pl (Revision 1.6) Building "pstoimg" from "pstoimg.pin" touch pstoimg /usr/bin/perl /home/She/Downloads/latex2html-2015/config/build.pl l2hconf.pm build.pl (Revision 1.6) Building "l2hconf.pm" from "l2hconf.pin"
touch l2hconf.pm
[She@She latex2html-2015]$ make check

LATEX2HTMLDIR=/home/She/Downloads/latex2html-2015; export LATEX2HTMLDIR ; \
    for file in versions/*.pl styles/*.perl; do \
      /usr/bin/perl  -c $file || exit 1; \
    done ; \
    for file in latex2html texexpand pstoimg l2hconf.pm; do \
      test -s $file && ( /usr/bin/perl  -c $file || exit 1 ); \
      test -s $file.pl && ( /usr/bin/perl  -c $file.pl || exit 1 ); \
    done ; \
    exit 0
versions/cp1252.pl syntax OK
versions/decmulti.pl syntax OK
versions/frame.pl syntax OK
versions/hebrew.pl syntax OK
versions/html2_1.pl syntax OK
Operator or semicolon missing before &convert_length at versions/html2_2.pl line 94.
Ambiguous use of & resolved as operator & at versions/html2_2.pl line 94.
versions/html2_2.pl syntax OK
versions/html3_0.pl syntax OK
versions/html3_1.pl syntax OK
versions/html3_2.pl syntax OK
versions/html4_01.pl syntax OK
versions/html4_0.pl syntax OK
versions/html4_1.pl syntax OK
versions/i18n.pl syntax OK
versions/koi8.pl syntax OK
versions/lang.pl syntax OK
versions/latin1.pl syntax OK
versions/latin2.pl syntax OK
versions/latin3.pl syntax OK
versions/latin4.pl syntax OK
versions/latin5.pl syntax OK
versions/latin6.pl syntax OK
versions/latin7.pl syntax OK
versions/latin8.pl syntax OK
versions/latin9.pl syntax OK
versions/macroman.pl syntax OK
versions/math.pl syntax OK
Operator or semicolon missing before &convert_length at versions/table.pl line 94.
Ambiguous use of & resolved as operator & at versions/table.pl line 94.
versions/table.pl syntax OK
versions/techexpl.pl syntax OK
versions/unicode.pl syntax OK
versions/utf8.pl syntax OK
styles/abnt.perl syntax OK
styles/afrikaan.perl syntax OK
styles/alltt.perl syntax OK
styles/american.perl syntax OK
styles/amsart.perl syntax OK
styles/amsbook.perl syntax OK
styles/amsfonts.perl syntax OK
styles/amsmath.perl syntax OK
styles/amssymb.perl syntax OK
styles/amstex.perl syntax OK
styles/article.perl syntax OK
styles/austrian.perl syntax OK
styles/babelbst.perl syntax OK
styles/babel.perl syntax OK
styles/bahasa.perl syntax OK
styles/book.perl syntax OK
styles/brazil.perl syntax OK
styles/breton.perl syntax OK
styles/catalan.perl syntax OK
styles/changebar.perl syntax OK
styles/chemsym.perl syntax OK
styles/CJK.perl syntax OK
styles/colordvi.perl syntax OK
styles/color.perl syntax OK
styles/croatian.perl syntax OK
styles/czech.perl syntax OK
styles/danish.perl syntax OK
styles/dutch.perl syntax OK
styles/english.perl syntax OK
styles/enumerate.perl syntax OK
styles/epsbox.perl syntax OK
styles/epsfig.perl syntax OK
styles/esperant.perl syntax OK
styles/estonian.perl syntax OK
styles/eurosym.perl syntax OK
styles/finnish.perl syntax OK
styles/floatfig.perl syntax OK
styles/floatflt.perl syntax OK
styles/frames.perl syntax OK
styles/francais.perl syntax OK
styles/french.perl syntax OK
styles/galician.perl syntax OK
styles/germanb.perl syntax OK
styles/german.perl syntax OK
styles/getimagesize.perl syntax OK
styles/graphics.perl syntax OK
styles/graphics-support.perl syntax OK
styles/graphicx.perl syntax OK
styles/graphixx.perl syntax OK
styles/harvard.perl syntax OK
styles/havard.perl syntax OK
styles/heqn.perl syntax OK
styles/hthtml.perl syntax OK
styles/htmllist.perl syntax OK
styles/html.perl syntax OK
styles/inputenc.perl syntax OK
styles/irish.perl syntax OK
styles/italian.perl syntax OK
styles/justify.perl syntax OK
styles/latexsym.perl syntax OK
styles/letter.perl syntax OK
styles/longtable.perl syntax OK
styles/lsorbian.perl syntax OK
styles/lyx.perl syntax OK
styles/magyar.perl syntax OK
styles/makeidx.perl syntax OK
styles/more_amsmath.perl syntax OK
styles/multicol.perl syntax OK
styles/natbib.perl syntax OK
styles/nharvard.perl syntax OK
styles/norsk.perl syntax OK
styles/nynorsk.perl syntax OK
styles/polish.perl syntax OK
styles/polski.perl syntax OK
styles/portuges.perl syntax OK
styles/psfrag.perl syntax OK
styles/report.perl syntax OK
styles/romanian.perl syntax OK
styles/russian.perl syntax OK
styles/scottish.perl syntax OK
styles/seminar.perl syntax OK
styles/SIunits.perl syntax OK
styles/slides.perl syntax OK
styles/slovak.perl syntax OK
styles/slovene.perl syntax OK
styles/spanish.perl syntax OK
styles/supertabular.perl syntax OK
styles/TEMPLATE.perl syntax OK
styles/texdefs.perl syntax OK
styles/texnames.perl syntax OK
styles/textcomp.perl syntax OK
styles/turkish.perl syntax OK
styles/usorbian.perl syntax OK
styles/verbatimfiles.perl syntax OK
styles/verbatim.perl syntax OK
styles/webtex.perl syntax OK
styles/welsh.perl syntax OK
styles/wrapfig.perl syntax OK
styles/xspace.perl syntax OK
styles/xy.perl syntax OK
latex2html syntax OK
texexpand syntax OK
pstoimg syntax OK
l2hconf.pm syntax OK

(4) Testing

[She@She latex2html-2015]$ make test
LATEX2HTMLDIR
=/home/She/Downloads/latex2html-2015; export LATEX2HTMLDIR ; \ latex2html='' ; \ for file in latex2html bin/latex2html* bin/unix/latex2html*; do \ test -s $file && latex2html=$file break ; \ done ; \ if test -n "$latex2html"; then \ echo "*** Running test on $latex2html"; \ cd tests ; /usr/bin/perl ../$latex2html -test_mode l2htest ; \ fi *** Running test on latex2html This is LaTeX2HTML Version 2008 (1.71) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. Revised and extended by: Marcus Hennecke, Ross Moore, Herb Swan and others ...producing markup for HTML version 4.0 Extension: loading /home/She/Downloads/latex2html-2015/versions/latin1.pl HTML version: loading /home/She/Downloads/latex2html-2015/versions/html4_0.pl *** processing declarations *** OPENING /home/She/Downloads/latex2html-2015/tests/l2htest.tex Cannot create directory l2htest/: 文件已存在, reusing it. Reusing directory l2htest/: Note: Working directory is /home/She/Downloads/latex2html-2015/tests/l2htest Note: Images will be generated in /tmp/l2h6319 texexpand V2008 (Revision 1.12) Loading /home/She/Downloads/latex2html-2015/styles/texdefs.perl... Package: loading /home/She/Downloads/latex2html-2015/styles/article.perl Reading ... ++ @@@ Doing ./basic.tex %%% *** opening brace #27 is unmatched *** preceding: \Large Large and {\bf boldface *** opening brace #28 is unmatched *** preceding: \bf boldface Processing macros ...++ @@@@@@@@@@@@@@@@@@@@ Doing ./basicinc.tex %%% *** matching brace #28 found *** *** matching brace #27 found *** Processing macros ...++ @@@@@@@@@@@ Doing ./formulas.tex %% Processing macros ...++ @@@ Translating ... 0/6:top of l2htest:"LaTeX2HTML Test Document" for l2htest.html *** translating preamble *** .... *** preamble done *** ;;. 1/6:section:.."Some basic stuff" for node1.html ;..; 2/6:subsection:..."Fonts" for node2.html ;.....................;.. 3/6:subsection:..."Lists" for node3.html ;.,..,..;. 4/6:subsection:..."Table" for node4.html ;..,..; 5/6:section:.."Mathematic formulas" for node5.html ;.,.,;. 6/6:sectionstar:.."About this document ..." for node6.html ;;. Writing image file ... This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./images.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. *** processing 2 images *** Generating postscript images using dvips ... This is dvips(k) 5.995 Copyright 2015 Radical Eye Software (www.radicaleye.com) ' TeX output 2016.01.28:0937' -> /tmp/l2h6319/image (-> /tmp/l2h6319/image001) </usr/local/texlive/2015/texmf-dist/dvips/base/tex.pro> </usr/local/texlive/2015/texmf-dist/dvips/config/alt-rule.pro> </usr/local/texlive/2015/texmf-dist/dvips/base/texps.pro> </usr/local/texlive/2015/texmf-dist/dvips/base/special.pro> </usr/local/texlive/2015/texmf-dist/dvips/base/color.pro> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb> [1] (-> /tmp/l2h6319/image002) </usr/local/texlive/2015/texmf-dist/dvips/base/tex.pro> </usr/local/texlive/2015/texmf-dist/dvips/config/alt-rule.pro> </usr/local/texlive/2015/texmf-dist/dvips/base/texps.pro> </usr/local/texlive/2015/texmf-dist/dvips/base/special.pro> </usr/local/texlive/2015/texmf-dist/dvips/base/color.pro> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb> </usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb> [2] Converting image #2 pstoimg: Error: "/usr/local/netpbm/bin/ppmquant -floyd 256 < /tmp/l2h6319/p6335.pnm | /usr/local/netpbm/bin/pnmtopng -interlace -trans '#d9d9d9' > img2.png" failed: Error while converting image Converting image #1 pstoimg: Error: "/usr/local/netpbm/bin/pnmcrop -verbose < /tmp/l2h6319/p6352.pnm | /usr/local/netpbm/bin/pnmcrop -verbose -bot -sides -sides | /usr/local/netpbm/bin/pnmcrop -verbose -l -sides -sides | /usr/local/netpbm/bin/pnmcrop -verbose -r -sides -sides | /usr/local/netpbm/bin/pnmcrop -verbose -l -sides -sides | /usr/local/netpbm/bin/ppmquant -floyd 256 | /usr/local/netpbm/bin/pnmtopng -interlace -trans '#d9d9d9' > img1.png" failed: Error while converting image Doing section links ................ Done. To view the results, point your browser at: file:/home/She/Downloads/latex2html-2015/tests/l2htest/index.html

 (5) Installing

[She@She latex2html-2015]$ sudo make install
[sudo] password for She: 
/usr/bin/perl config/install.pl
install.pl (Revision 1.12)

Info: Installed /usr/local/share/lib/latex2html/icons/next.gif
Info: Installed /usr/local/share/lib/latex2html/icons/ch_beg_r.gif
Info: Installed /usr/local/share/lib/latex2html/icons/icons.html
Info: Installed /usr/local/share/lib/latex2html/icons/prev.gif
Info: Installed /usr/local/share/lib/latex2html/icons/redball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/ch_begin.gif
Info: Installed /usr/local/share/lib/latex2html/icons/ch_del_r.gif
Info: Installed /usr/local/share/lib/latex2html/icons/blueball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/footnote.gif
Info: Installed /usr/local/share/lib/latex2html/icons/pv_grp.gif
Info: Installed /usr/local/share/lib/latex2html/icons/purpleball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/ch_end_r.gif
Info: Installed /usr/local/share/lib/latex2html/icons/image.gif
Info: Installed /usr/local/share/lib/latex2html/icons/whiteball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/whiteball.png
Info: Installed /usr/local/share/lib/latex2html/icons/ch_del_r.png
Info: Installed /usr/local/share/lib/latex2html/icons/blueball.png
Info: Installed /usr/local/share/lib/latex2html/icons/next_g.png
Info: Installed /usr/local/share/lib/latex2html/icons/prev.png
Info: Installed /usr/local/share/lib/latex2html/icons/contents.png
Info: Installed /usr/local/share/lib/latex2html/icons/pinkball.png
Info: Installed /usr/local/share/lib/latex2html/icons/yellowball.png
Info: Installed /usr/local/share/lib/latex2html/icons/up_g.gif
Info: Installed /usr/local/share/lib/latex2html/icons/footnote.png
Info: Installed /usr/local/share/lib/latex2html/icons/next.png
Info: Installed /usr/local/share/lib/latex2html/icons/contents.gif
Info: Installed /usr/local/share/lib/latex2html/icons/yellowball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/ch_beg_r.png
Info: Installed /usr/local/share/lib/latex2html/icons/ch_delet.png
Info: Installed /usr/local/share/lib/latex2html/icons/nx_grp_g.gif
Info: Installed /usr/local/share/lib/latex2html/icons/ch_delet.gif
Info: Installed /usr/local/share/lib/latex2html/icons/orangeball.png
Info: Installed /usr/local/share/lib/latex2html/icons/index.png
Info: Installed /usr/local/share/lib/latex2html/icons/ch_end.gif
Info: Installed /usr/local/share/lib/latex2html/icons/nx_grp_g.png
Info: Installed /usr/local/share/lib/latex2html/icons/greenball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/prev_g.png
Info: Installed /usr/local/share/lib/latex2html/icons/up.gif
Info: Installed /usr/local/share/lib/latex2html/icons/crossref.gif
Info: Installed /usr/local/share/lib/latex2html/icons/pv_grp_g.gif
Info: Installed /usr/local/share/lib/latex2html/icons/ch_begin.png
Info: Installed /usr/local/share/lib/latex2html/icons/up_g.png
Info: Installed /usr/local/share/lib/latex2html/icons/up.png
Info: Installed /usr/local/share/lib/latex2html/icons/prev_g.gif
Info: Installed /usr/local/share/lib/latex2html/icons/index.gif
Info: Installed /usr/local/share/lib/latex2html/icons/pv_grp_g.png
Info: Installed /usr/local/share/lib/latex2html/icons/pinkball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/next_g.gif
Info: Installed /usr/local/share/lib/latex2html/icons/purpleball.png
Info: Installed /usr/local/share/lib/latex2html/icons/redball.png
Info: Installed /usr/local/share/lib/latex2html/icons/ch_end_r.png
Info: Installed /usr/local/share/lib/latex2html/icons/crossref.png
Info: Installed /usr/local/share/lib/latex2html/icons/ch_end.png
Info: Installed /usr/local/share/lib/latex2html/icons/orangeball.gif
Info: Installed /usr/local/share/lib/latex2html/icons/pv_grp.png
Info: Installed /usr/local/share/lib/latex2html/icons/nx_grp.png
Info: Installed /usr/local/share/lib/latex2html/icons/nx_grp.gif
Info: Installed /usr/local/share/lib/latex2html/icons/image.png
Info: Installed /usr/local/share/lib/latex2html/icons/greenball.png
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/tibetan.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/kannada.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/gujarati.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/hindi.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/tamil.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/sinhlese.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/malyalam.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/telugu.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/telugu.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/kannada.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/gurmukhi.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/bengali.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/gurmukhi.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/devnagri.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/indica.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/sanskrit.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/bengali.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/malyalam.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/hindi.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/itrans.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/itrans.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/README
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/oriya.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/tibetan.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/sanskrit.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/gujarati.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/devnagri.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/indica.perl
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/oriya.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/tamil.sty
Info: Installed /usr/local/share/lib/latex2html/IndicTeX-HTML/sinhlese.perl
Info: Installed /usr/local/share/lib/latex2html/L2hos/Dos.pm
Info: Installed /usr/local/share/lib/latex2html/L2hos/Mac.pm
Info: Installed /usr/local/share/lib/latex2html/L2hos/OS2.pm
Info: Installed /usr/local/share/lib/latex2html/L2hos/Unix.pm
Info: Installed /usr/local/share/lib/latex2html/L2hos/Win32.pm
Info: Installed /usr/local/share/lib/latex2html/L2hos.pm
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/ccycle.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/chemsym.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/lowcycle.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/hcycle.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/aliphat.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/xymman.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/locant.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/carom.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/hetarom.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/chemstr.perl
Info: Installed /usr/local/share/lib/latex2html/XyMTeX-HTML/hetaromh.perl
Info: Installed /usr/local/lib/latex2html/cfgcache.pm
Info: Installed /usr/local/share/lib/latex2html/cweb2html/htcweb.tex
Info: Installed /usr/local/share/lib/latex2html/cweb2html/cweb.perl
Info: Installed /usr/local/share/lib/latex2html/cweb2html/linkex2.w
Info: Installed /usr/local/share/lib/latex2html/cweb2html/wcltx.bib
Info: Installed /usr/local/share/lib/latex2html/cweb2html/Makefile
Info: Installed /usr/local/share/lib/latex2html/cweb2html/htcweb.sty
Info: Installed /usr/local/share/lib/latex2html/cweb2html/README
Info: Installed /usr/local/share/lib/latex2html/cweb2html/wcltx.w
Info: Installed /usr/local/share/lib/latex2html/cweb2html/cweb2html
Info: Installed /usr/local/share/lib/latex2html/cweb2html/cweb.cls
Info: Installed /usr/local/share/lib/latex2html/cweb2html/htcweb.perl
Info: Installed /usr/local/share/lib/latex2html/cweb2html/makemake.pl
Info: Installed /usr/local/share/lib/latex2html/cweb2html/linkex1.w
Info: Installed /usr/local/share/lib/latex2html/docs/support.tex
Info: Installed /usr/local/share/lib/latex2html/docs/l2hidx.ist
Info: Installed /usr/local/share/lib/latex2html/docs/.latex2html-init
Info: Installed /usr/local/share/lib/latex2html/docs/problems.tex
Info: Installed /usr/local/share/lib/latex2html/docs/hypextra.tex
Info: Installed /usr/local/share/lib/latex2html/docs/licence.tex
Info: Installed /usr/local/share/lib/latex2html/docs/Makefile.frames
Info: Installed /usr/local/share/lib/latex2html/docs/appendix.tex
Info: Installed /usr/local/share/lib/latex2html/docs/l2hfiles.dat
Info: Installed /usr/local/share/lib/latex2html/docs/manual.bbl
Info: Installed /usr/local/share/lib/latex2html/docs/credits.tex
Info: Installed /usr/local/share/lib/latex2html/docs/Makefile
Info: Installed /usr/local/share/lib/latex2html/docs/url.sty
Info: Installed /usr/local/share/lib/latex2html/docs/manual.tex
Info: Installed /usr/local/share/lib/latex2html/docs/changebar.sty
Info: Installed /usr/local/share/lib/latex2html/docs/userman.tex
Info: Installed /usr/local/share/lib/latex2html/docs/manhtml.tex
Info: Installed /usr/local/share/lib/latex2html/docs/manual.index
Info: Installed /usr/local/share/lib/latex2html/docs/justify.sty
Info: Installed /usr/local/share/lib/latex2html/docs/manual.cb
Info: Installed /usr/local/share/lib/latex2html/docs/l2hglo.ist
Info: Installed /usr/local/share/lib/latex2html/docs/manual.ind
Info: Installed /usr/local/share/lib/latex2html/docs/l2hman.sty
Info: Installed /usr/local/share/lib/latex2html/docs/features.tex
Info: Installed /usr/local/share/lib/latex2html/docs/overview.tex
Info: Installed /usr/local/share/lib/latex2html/docs/manual.gls
Info: Installed /usr/local/share/lib/latex2html/docs/hthtml/hthtml.tex
Info: Installed /usr/local/share/lib/latex2html/docs/hthtml/Makefile
Info: Installed /usr/local/share/lib/latex2html/docs/hthtml/hthtml.sty
Info: Installed /usr/local/share/lib/latex2html/docs/hthtml/readme.hthtml
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/chbar.sh
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/update.txt
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/changebar.idx
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/changebar.bug
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/changebar.ins
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/catalog.txt
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/manifest.txt
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/00readme.txt
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/00Contents
Info: Installed /usr/local/share/lib/latex2html/docs/changebar/changebar.dtx
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqarrB2.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eform2.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqarrB15.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/dn.gif
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqarrA15.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqarrA2.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/figure.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eform.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/up.gif
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqarrB1.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqn1.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqn2.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqarrA1.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/table.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/eqn15.ps
Info: Installed /usr/local/share/lib/latex2html/docs/psfiles/HTMLtab.ps
Info: Installed /usr/local/share/lib/latex2html/dot.latex2html-init
Info: Installed /usr/local/share/lib/latex2html/example/report.tex
Info: Installed /usr/local/share/lib/latex2html/example/sec2.tex
Info: Installed /usr/local/share/lib/latex2html/example/Makefile
Info: Installed /usr/local/share/lib/latex2html/example/sec1.tex
Info: Installed /usr/local/share/lib/latex2html/foilhtml/readme.v12
Info: Installed /usr/local/share/lib/latex2html/foilhtml/foilhtml.dtx
Info: Installed /usr/local/share/lib/latex2html/foilhtml/foilhtml.ins
Info: Installed /usr/local/lib/latex2html/l2hconf.pm
Info: Installed /usr/local/bin/latex2html
Info: Installed /usr/local/share/lib/latex2html/makemap
Info: Installed /usr/local/share/lib/latex2html/makeseg/makeseg.tex
Info: Installed /usr/local/share/lib/latex2html/makeseg/makeseg
Info: Installed /usr/local/bin/pstoimg
Info: Installed /usr/local/share/lib/latex2html/readme.hthtml
Info: Installed /usr/local/share/lib/latex2html/styles/babel.perl
Info: Installed /usr/local/share/lib/latex2html/styles/htmllist.perl
Info: Installed /usr/local/share/lib/latex2html/styles/latexsym.perl
Info: Installed /usr/local/share/lib/latex2html/styles/more_amsmath.perl
Info: Installed /usr/local/share/lib/latex2html/styles/eurosym.perl
Info: Installed /usr/local/share/lib/latex2html/styles/usorbian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/romanian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/bahasa.perl
Info: Installed /usr/local/share/lib/latex2html/styles/html.perl
Info: Installed /usr/local/share/lib/latex2html/styles/lsorbian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/irish.perl
Info: Installed /usr/local/share/lib/latex2html/styles/norsk.perl
Info: Installed /usr/local/share/lib/latex2html/styles/frames.perl
Info: Installed /usr/local/share/lib/latex2html/styles/crayola.txt
Info: Installed /usr/local/share/lib/latex2html/styles/verbatimfiles.perl
Info: Installed /usr/local/share/lib/latex2html/styles/longtable.perl
Info: Installed /usr/local/share/lib/latex2html/styles/abnt.perl
Info: Installed /usr/local/share/lib/latex2html/styles/havard.perl
Info: Installed /usr/local/share/lib/latex2html/styles/welsh.perl
Info: Installed /usr/local/share/lib/latex2html/styles/texdefs.perl
Info: Installed /usr/local/share/lib/latex2html/styles/textcomp.perl
Info: Installed /usr/local/share/lib/latex2html/styles/book.perl
Info: Installed /usr/local/share/lib/latex2html/styles/nharvard.perl
Info: Installed /usr/local/share/lib/latex2html/styles/spanish.perl
Info: Installed /usr/local/share/lib/latex2html/styles/amssymb.perl
Info: Installed /usr/local/share/lib/latex2html/styles/hthtml.perl
Info: Installed /usr/local/share/lib/latex2html/styles/german.perl
Info: Installed /usr/local/share/lib/latex2html/styles/harvard.perl
Info: Installed /usr/local/share/lib/latex2html/styles/xy.perl
Info: Installed /usr/local/share/lib/latex2html/styles/turkish.perl
Info: Installed /usr/local/share/lib/latex2html/styles/epsfig.perl
Info: Installed /usr/local/share/lib/latex2html/styles/enumerate.perl
Info: Installed /usr/local/share/lib/latex2html/styles/chemsym.perl
Info: Installed /usr/local/share/lib/latex2html/styles/epsbox.perl
Info: Installed /usr/local/share/lib/latex2html/styles/brazil.perl
Info: Installed /usr/local/share/lib/latex2html/styles/germanb.perl
Info: Installed /usr/local/share/lib/latex2html/styles/xspace.perl
Info: Installed /usr/local/share/lib/latex2html/styles/color.perl
Info: Installed /usr/local/share/lib/latex2html/styles/francais.perl
Info: Installed /usr/local/share/lib/latex2html/styles/nynorsk.perl
Info: Installed /usr/local/share/lib/latex2html/styles/article.perl
Info: Installed /usr/local/share/lib/latex2html/styles/webtex.perl
Info: Installed /usr/local/share/lib/latex2html/styles/graphics-support.perl
Info: Installed /usr/local/share/lib/latex2html/styles/danish.perl
Info: Installed /usr/local/share/lib/latex2html/styles/dutch.perl
Info: Installed /usr/local/share/lib/latex2html/styles/austrian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/report.perl
Info: Installed /usr/local/share/lib/latex2html/styles/graphicx.perl
Info: Installed /usr/local/share/lib/latex2html/styles/finnish.perl
Info: Installed /usr/local/share/lib/latex2html/styles/letter.perl
Info: Installed /usr/local/share/lib/latex2html/styles/colordvi.perl
Info: Installed /usr/local/share/lib/latex2html/styles/floatfig.perl
Info: Installed /usr/local/share/lib/latex2html/styles/getimagesize.perl
Info: Installed /usr/local/share/lib/latex2html/styles/slovak.perl
Info: Installed /usr/local/share/lib/latex2html/styles/polski.perl
Info: Installed /usr/local/share/lib/latex2html/styles/russian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/magyar.perl
Info: Installed /usr/local/share/lib/latex2html/styles/babelbst.perl
Info: Installed /usr/local/share/lib/latex2html/styles/galician.perl
Info: Installed /usr/local/share/lib/latex2html/styles/wrapfig.perl
Info: Installed /usr/local/share/lib/latex2html/styles/amsmath.perl
Info: Installed /usr/local/share/lib/latex2html/styles/american.perl
Info: Installed /usr/local/share/lib/latex2html/styles/breton.perl
Info: Installed /usr/local/share/lib/latex2html/styles/graphixx.perl
Info: Installed /usr/local/share/lib/latex2html/styles/texnames.perl
Info: Installed /usr/local/share/lib/latex2html/styles/amsbook.perl
Info: Installed /usr/local/share/lib/latex2html/styles/changebar.perl
Info: Installed /usr/local/share/lib/latex2html/styles/graphics.perl
Info: Installed /usr/local/share/lib/latex2html/styles/slides.perl
Info: Installed /usr/local/share/lib/latex2html/styles/polish.perl
Info: Installed /usr/local/share/lib/latex2html/styles/natbib.perl
Info: Installed /usr/local/share/lib/latex2html/styles/rgb.txt
Info: Installed /usr/local/share/lib/latex2html/styles/croatian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/alltt.perl
Info: Installed /usr/local/share/lib/latex2html/styles/estonian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/amstex.perl
Info: Installed /usr/local/share/lib/latex2html/styles/justify.perl
Info: Installed /usr/local/share/lib/latex2html/styles/amsfonts.perl
Info: Installed /usr/local/share/lib/latex2html/styles/makeidx.perl
Info: Installed /usr/local/share/lib/latex2html/styles/CJK.perl
Info: Installed /usr/local/share/lib/latex2html/styles/multicol.perl
Info: Installed /usr/local/share/lib/latex2html/styles/catalan.perl
Info: Installed /usr/local/share/lib/latex2html/styles/inputenc.perl
Info: Installed /usr/local/share/lib/latex2html/styles/scottish.perl
Info: Installed /usr/local/share/lib/latex2html/styles/psfrag.perl
Info: Installed /usr/local/share/lib/latex2html/styles/esperant.perl
Info: Installed /usr/local/share/lib/latex2html/styles/czech.perl
Info: Installed /usr/local/share/lib/latex2html/styles/english.perl
Info: Installed /usr/local/share/lib/latex2html/styles/verbatim.perl
Info: Installed /usr/local/share/lib/latex2html/styles/afrikaan.perl
Info: Installed /usr/local/share/lib/latex2html/styles/SIunits.perl
Info: Installed /usr/local/share/lib/latex2html/styles/heqn.perl
Info: Installed /usr/local/share/lib/latex2html/styles/floatflt.perl
Info: Installed /usr/local/share/lib/latex2html/styles/slovene.perl
Info: Installed /usr/local/share/lib/latex2html/styles/supertabular.perl
Info: Installed /usr/local/share/lib/latex2html/styles/seminar.perl
Info: Installed /usr/local/share/lib/latex2html/styles/lyx.perl
Info: Installed /usr/local/share/lib/latex2html/styles/amsart.perl
Info: Installed /usr/local/share/lib/latex2html/styles/italian.perl
Info: Installed /usr/local/share/lib/latex2html/styles/portuges.perl
Info: Installed /usr/local/share/lib/latex2html/styles/TEMPLATE.perl
Info: Installed /usr/local/share/lib/latex2html/styles/french.perl
Info: Installed /usr/local/bin/texexpand
Info: Installed /usr/local/share/lib/latex2html/texinputs/heqn.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/hthtml.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/url.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/ldump.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/frames.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/techexplHTML.tex
Info: Installed /usr/local/share/lib/latex2html/texinputs/latin9.def
Info: Installed /usr/local/share/lib/latex2html/texinputs/justify.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/html.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/htmllist.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/verbatimfiles.sty
Info: Installed /usr/local/share/lib/latex2html/texinputs/floatflt.ins
Info: Installed /usr/local/share/lib/latex2html/versions/lang.pl
Info: Installed /usr/local/share/lib/latex2html/versions/table.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html4_01.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html2_1.pl
Info: Installed /usr/local/share/lib/latex2html/versions/utf8.pl
Info: Installed /usr/local/share/lib/latex2html/versions/i18n.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin9.pl
Info: Installed /usr/local/share/lib/latex2html/versions/macroman.pl
Info: Installed /usr/local/share/lib/latex2html/versions/koi8.pl
Info: Installed /usr/local/share/lib/latex2html/versions/techexpl.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin1.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin3.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin8.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html4_1.pl
Info: Installed /usr/local/share/lib/latex2html/versions/frame.pl
Info: Installed /usr/local/share/lib/latex2html/versions/hebrew.pl
Info: Installed /usr/local/share/lib/latex2html/versions/decmulti.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin2.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin4.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin7.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html3_1.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html2_2.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html3_0.pl
Info: Installed /usr/local/share/lib/latex2html/versions/math.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html3_2.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin6.pl
Info: Installed /usr/local/share/lib/latex2html/versions/cp1252.pl
Info: Installed /usr/local/share/lib/latex2html/versions/html4_0.pl
Info: Installed /usr/local/share/lib/latex2html/versions/unicode.pl
Info: Installed /usr/local/share/lib/latex2html/versions/latin5.pl

Note: trying to install LaTeX2HTML style files in TeX directory tree
     (/usr/local/texlive/texmf-local/tex/latex/html)
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/heqn.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/hthtml.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/url.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/ldump.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/frames.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/techexplHTML.tex
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/latin9.def
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/justify.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/html.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/htmllist.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/verbatimfiles.sty
Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/floatflt.ins
Info: Running /usr/local/texlive/2015/bin/x86_64-linux/mktexlsr to rebuild ls-R database...
mktexlsr: Updating /usr/local/texlive/2015/texmf-config/ls-R... 
mktexlsr: Updating /usr/local/texlive/2015/texmf-dist/ls-R... 
mktexlsr: Updating /usr/local/texlive/2015/texmf-var/ls-R... 
mktexlsr: Updating /usr/local/texlive/texmf-local/ls-R... 
mktexlsr: Done.
Done. Have a lot of fun with LaTeX2HTML!

(6) Cleaning up

删除解压包所在的文件夹,o了。

安装完毕。

4 参考资料

如何把Latex自动转为Word

LaTeX2html安装及在winEdt界面中的配置(转自ctex)

Convert Latex documents in Html

原文地址:https://www.cnblogs.com/snake553/p/4944433.html