writes:
> Excellent. Is it sufficiently stable that I should put a link to it
> on the LaTeX2HTML mailing list site ?
As soon as I have some report about it, yes. It should even work without
perl : I have compiled texexpand, pstoimg and latex2html thanks to the
ActiveState perl compiler. I'll try to make further tests.
> One solution is to use a larger $PAPERSIZE setting.
Great thanks !
Fabrice
From jakub.nadolny@ite.pl Thu Aug 8 17:45:59 2002
From: jakub.nadolny@ite.pl (Jakub Nadolny)
Date: Thu, 8 Aug 2002 18:45:59 +0200
Subject: [l2h] Problem with polish diactrical characters
Message-ID: <20020808164559.GA11585@bunyu1.localdomain>
Hello,
I am trying to convert file with polish characters, for example:
\documentclass[12pt]{article}
\usepackage[MeX]{polski}
\usepackage[latin2]{inputenc}
\usepackage{hyperref}
\begin{document}
Test ±æêñó³¶¿¼
¡¬£ÓѯÊ
\end{document}
but during convestion there are some errors, for example:
couldn't convert character aogon into available encodings
couldn't convert character cacute into available encodings
couldn't convert character eogon into available encodings
...
and result HTML file does not contain polish characters:
Test acenószz
AZÓNZE
Can you help me?
Jakub
From dj@head-cfa.harvard.edu Thu Aug 8 23:04:39 2002
From: dj@head-cfa.harvard.edu (Diab Jerius)
Date: Thu, 8 Aug 2002 18:04:39 -0400 (EDT)
Subject: [l2h] graphicx vs. graphics
Message-ID: <200208082204.g78M4e301911@pelf.harvard.edu>
---2130725163-1804928587-1028844280=:737
Content-Type: TEXT/plain; charset=us-ascii
In v. 2002-1, the style files graphics and graphicx are identical.
However, the format of the argument lists for includgraphics differs
between the two packages. This leads to problems when converting complex
graphicx includegraphics. I've attached a revised version of
graphix.perl which processes the arguments more appropriately.
Thanks,
Diab
--
Diab Jerius Harvard-Smithsonian Center for Astrophysics
60 Garden St, MS 70, Cambridge MA 02138 USA
djerius@cfa.harvard.edu vox: 617 496 7575 fax: 617 495 7356
---2130725163-1804928587-1028844280=:737
Content-Type: TEXT/plain; name="graphicx.perl"
Content-Description: new version of graphicx.perl
Content-Disposition: attachment; filename="graphicx.perl"
# graphics.perl
# by Bruce Miller
# Support of the graphics.sty standard LaTeX2e package
# with `standard argument format'
# See graphics-support.perl
# ======================================================================
do_require_package('graphics-support');
# Package Options
sub do_graphics_dvips {}
sub do_graphics_draft {} # What'd be the point?
sub do_graphics_final {}
sub do_graphics_hiresbb {}
sub do_graphics_hiderotate {
map($GRAPHICS_OPTHIDE{$_}=1, @GRAPHICS_ROTATEOPTS); }
sub do_graphics_hidescale {
map($GRAPHICS_OPTHIDE{$_}=1, @GRAPHICS_SCALEEOPTS); }
# ======================================================================
sub do_cmd_includegraphics {
local($_)=@_;
my $opt=x_next_optarg();
my $file = x_next_arg();
do_includegraphics($file, $opt,
"\\includegraphics".($opt && "[$opt]")."\{$file\}"); }
sub do_cmd_includegraphicsstar {
local($_)=@_;
my $opt=x_next_optarg();
my $file = x_next_arg();
do_includegraphics($file, $opt,
"\\includegraphics*".($opt && "[$opt]")."\{$file\}"); }
# ======================================================================
1;
---2130725163-1804928587-1028844280=:737--
From ross@ics.mq.edu.au Fri Aug 9 04:02:54 2002
From: ross@ics.mq.edu.au (Ross Moore)
Date: Fri, 9 Aug 2002 13:02:54 +1000 (EST)
Subject: [l2h] Problem with polish diactrical characters
In-Reply-To: <20020808164559.GA11585@bunyu1.localdomain> from Jakub Nadolny at
"Aug 8, 2002 06:45:59 pm"
Message-ID: <200208090302.g7932sP09066@hera.ics.mq.edu.au>
[Charset iso-8859-2 unsupported, filtering to ASCII...]
> Hello,
>
> I am trying to convert file with polish characters, for example:
>
> \documentclass[12pt]{article}
> \usepackage[MeX]{polski}
> \usepackage[latin2]{inputenc}
> \usepackage{hyperref}
>
> \begin{document}
>
> Test _________
> _______
>
> \end{document}
>
> but during convestion there are some errors, for example:
>
> couldn't convert character aogon into available encodings
> couldn't convert character cacute into available encodings
> couldn't convert character eogon into available encodings
> ...
>
> and result HTML file does not contain polish characters:
>
>
>
>
> Test acenószz
> AZÓNZE
>
>
>
> Can you help me?
Try using the commandline:
latex2html -html_version html3.2,latin2,unicode,latin2 yourfile.tex
^^^^^^^^^^^^^^^^^^^^^^
or even just
latex2html -html_version html3.2,latin2,unicode yourfile.tex
Hope this helps,
Ross Moore
> Jakub
>
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
From Nils@darktec.org Sun Aug 11 01:43:31 2002
From: Nils@darktec.org (Nils Gundelach)
Date: 11 Aug 2002 02:43:31 +0200
Subject: [l2h] Problem with image positions
Message-ID: <1029026612.31858.31.camel@darklap>
Hi all,
i wrote a document with latex and ppchtex. ppchtex is great package for
writing texts with chemical structures.
latex2html doesn't support ppchtex style, so i put this in my
/etc/latex2html.conf:
&::process_commands_in_tex (<<_RAW_ARG_CMDS_);
chemie # {}
startchemie # <<\\stopchemie>>
_RAW_ARG_CMDS_
&::process_commands_in_tex (<<_RAW_ARG_CMDS_);
stellechemieein # []
_RAW_ARG_CMDS_
1;
#EOF
this is a typical ppchtex part:
\stellechemieein[groesse=klein,format=klein,breite=passend,hoehe=5500,oben=2000,unten=2000]
\hbox {
\startchemie
\chemie[ONE,DB1,SB46,Z1046][O,C,H_3C,H_3C]
\textunter{Aceton}
\stopchemie
\startchemie
\chemie[SPACE,GIVES,SPACE][+\ OH^-]
\stopchemie
\startchemie
\chemie[ONE,DB1,SB46,Z1046][O,C,H_3C,^-H_2C]
\textunter{Carbanion}
\stopchemie
\startchemie
\chemie[SPACE,PLUS,SPACE,CHEM][H_2O]
\stopchemie
}
I get an image for every \startchemie .. \stopchemie part and here is
the problem. The images have all a different height. This looks very
ugly in a browser because i can't center the images verticaly.
Is it possible to center the images ? The dvi file looks quite nice but
the html translation not :/ Maybe my definitions in /etc/latex2html.conf
are wrong.
Thanks for your time,
Nils
--
My Key "gpg --keyserver wwwkeys.eu.pgp.net --recv-key 45CD0073"
Fingerprint = F4D9 9274 6ED8 B227 A62A 33FA 0D2E 2414 45CD 0073
http://www.darktec.org /|\ darkbit@IRCNet on #irc.de #linux.de
Premature optimization is the root of all evil. - D. Knuth
From ross@ics.mq.edu.au Sun Aug 11 02:40:26 2002
From: ross@ics.mq.edu.au (Ross Moore)
Date: Sun, 11 Aug 2002 11:40:26 +1000 (EST)
Subject: [l2h] Problem with image positions
In-Reply-To: <1029026612.31858.31.camel@darklap> from Nils Gundelach at "Aug
11, 2002 02:43:31 am"
Message-ID: <200208110140.g7B1eQk27116@hera.ics.mq.edu.au>
> Hi all,
>
> i wrote a document with latex and ppchtex. ppchtex is great package for
> writing texts with chemical structures.
>
> latex2html doesn't support ppchtex style, so i put this in my
> /etc/latex2html.conf:
>
> &::process_commands_in_tex (<<_RAW_ARG_CMDS_);
> chemie # {}
> startchemie # <<\\stopchemie>>
> _RAW_ARG_CMDS_
>
> &::process_commands_in_tex (<<_RAW_ARG_CMDS_);
> stellechemieein # []
> _RAW_ARG_CMDS_
>
> 1;
> #EOF
Yes, this will give individual images for these (pseudo-)environments.
> this is a typical ppchtex part:
>
> \stellechemieein[groesse=klein,format=klein,breite=passend,hoehe=5500,oben=2000,unten=2000]
> \hbox {
> \startchemie
> \chemie[ONE,DB1,SB46,Z1046][O,C,H_3C,H_3C]
> \textunter{Aceton}
> \stopchemie
> \startchemie
> \chemie[SPACE,GIVES,SPACE][+\ OH^-]
> \stopchemie
> \startchemie
> \chemie[ONE,DB1,SB46,Z1046][O,C,H_3C,^-H_2C]
> \textunter{Carbanion}
> \stopchemie
> \startchemie
> \chemie[SPACE,PLUS,SPACE,CHEM][H_2O]
> \stopchemie
> }
>
>
> I get an image for every \startchemie .. \stopchemie part and here is
> the problem. The images have all a different height. This looks very
> ugly in a browser because i can't center the images verticaly.
You want the images to be side-by-side, yes ?
Then HTML requires that you use a
with cells centred vertically;
that is valign="middle" .
You can get this consistently in LaTeX by loading the {array} package
and using the m (='middle') column parameter:
\usepackage{array} % goes in the preamble
\begin{tabular}{m{.2\textwidth}m{.2\textwidth}m{.2\textwidth}m{.2\textwidth}}
\startchemie
\chemie[ONE,DB1,SB46,Z1046][O,C,H_3C,H_3C]
\textunter{Aceton}
\stopchemie
&
\startchemie
\chemie[SPACE,GIVES,SPACE][+\ OH^-]
\stopchemie
&
\startchemie
\chemie[ONE,DB1,SB46,Z1046][O,C,H_3C,^-H_2C]
\textunter{Carbanion}
\stopchemie
&
\startchemie
\chemie[SPACE,PLUS,SPACE,CHEM][H_2O]
\stopchemie
\end{tabular}
> Is it possible to center the images ? The dvi file looks quite nice but
> the html translation not :/ Maybe my definitions in /etc/latex2html.conf
> are wrong.
You may need to tinker a bit with the widths, to avoid overlaps
or log-file messages.
Or you may want to move the captions into a separate row in the tabular,
either above of below the images.
>
> Thanks for your time,
Hope this helps,
Ross Moore
> Nils
> --
> My Key "gpg --keyserver wwwkeys.eu.pgp.net --recv-key 45CD0073"
> Fingerprint = F4D9 9274 6ED8 B227 A62A 33FA 0D2E 2414 45CD 0073
> http://www.darktec.org /|\ darkbit@IRCNet on #irc.de #linux.de
> Premature optimization is the root of all evil. - D. Knuth
>
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
From Ronny.Standtke@gmx.de Sun Aug 11 14:55:28 2002
From: Ronny.Standtke@gmx.de (Ronny Standtke)
Date: Sun, 11 Aug 2002 15:55:28 +0200
Subject: [l2h] Bug in \includegraphics handling
Message-ID: <200208111356.g7BDu3x21675@tug.org>
Hi,
unfortunately I did not get a single response to my previous mail "Problems
with lyx and latex2html". So here a small summary: I use lyx to write a
complex document and export it from there to latex. I use LaTeX2HTML Version
2K.1beta (1.62) (the one in Mandrake 8.2) to transform this into a set of
HTML pages. Then I run into a problem...
I had more time to test and found out that if I have
\includegraphics{somegraphic.ps}
in the latex version of my document, latex2html fails to convert the image.
But, if I scale the image in lyx it exports to
\resizebox*{0.05\textwidth}{!}{\includegraphics{somegraphic.ps}}
and suddenly latex2html works correctly!
So, basically latex2html seems to have a problem with the single
\includegraphics statement. Could anyone on this list please verify this
problem or even better, fix it?
Greetings & thanks a lot for an otherwise very helpful program!
Ronny
From Nils@darktec.org Sun Aug 11 22:40:06 2002
From: Nils@darktec.org (Nils Gundelach)
Date: 11 Aug 2002 23:40:06 +0200
Subject: [l2h] Problem with image positions
In-Reply-To: <200208110140.g7B1eQk27116@hera.ics.mq.edu.au>
References: <200208110140.g7B1eQk27116@hera.ics.mq.edu.au>
Message-ID: <1029102009.671.3.camel@darklap>
Hi Roos,
it works :)
thanks a lot
Nils
--
My Key "gpg --keyserver wwwkeys.eu.pgp.net --recv-key 45CD0073"
Fingerprint = F4D9 9274 6ED8 B227 A62A 33FA 0D2E 2414 45CD 0073
http://www.darktec.org /|\ darkbit@IRCNet on #irc.de #linux.de
Premature optimization is the root of all evil. - D. Knuth
From mchapman@mchapman.com Mon Aug 12 09:13:58 2002
From: mchapman@mchapman.com (Michael Chapman)
Date: Mon, 12 Aug 2002 08:13:58 +0000
Subject: [l2h] Bug in \includegraphics handling
In-Reply-To: <200208111356.g7BDu3x21675@tug.org>
References: <200208111356.g7BDu3x21675@tug.org>
Message-ID: <02081208135800.05813@cotter.interarb.com>
On Sunday 11 August 2002 13:55, Ronny Standtke wrote:
> Hi,
>
> unfortunately I did not get a single response to my previous mail "Problems
> with lyx and latex2html". So here a small summary:
I wonder how many people on this list use Lyx ?
I give it all credit: without it I would probably not (as soon) have
discovered LaTex. My frustrations with what it was doing to my input (in an
admittedly earlier version than I suspect is around today) encouraged me to
`lift the bonnet' (or `lift the hood', if you must) and try and tinker with
the detail. So thanks to Lyx I learnt Latex.
> I had more time to test and found out that if I have
> \includegraphics{somegraphic.ps}
> in the latex version of my document, latex2html fails to convert the image.
If you want some help, it would be better to provide an _entire_ LaTex file
that produces the faulty output. That is take the fault producing file make a
copy and then start deleting irrelevant text, to arrive at a minimalist
example (of twenty or thirty lines?).
This is also an excellent way of finding bugs -if you test after each
deletion.
Sorry, not an answer, but hopefully a ?direction.
Regards,
Michael Chapman.
From martin@orie.cornell.edu Tue Aug 13 14:19:30 2002
From: martin@orie.cornell.edu (William T. Martin)
Date: Tue, 13 Aug 2002 09:19:30 -0400
Subject: [l2h] User-written latex class files with latex2html
Message-ID: <20020813091930.B5475@manager.orie.cornell.edu>
I am using LaTeX2HTML Version 99.2beta8 (1.46). I have written written
some latex macros that I would like to set up in a style (.sty) file file
and use in latex2html. I copied the the style file into the directory
where I have my tex file. However, latex2html does not seem to find it.
I get the message:
No implementation found for style `orieweb'
I use this line to load orieweb:
\usepackage{html,htmllist,color,makeidx,epsfig,orieweb}
It loads perl versions of these packages, but orieweb is not written in
perl:
Loading /usr/local/latex2html-99.2beta8/libdir/styles/texdefs.perl...
Loading /usr/local/latex2html-99.2beta8/libdir/styles/report.perl
Loading /usr/local/latex2html-99.2beta8/libdir/styles/html.perl
Loading /usr/local/latex2html-99.2beta8/libdir/styles/htmllist.perl
Loading /usr/local/latex2html-99.2beta8/libdir/styles/color.perl
*** initialising colors ***
Loading /usr/local/latex2html-99.2beta8/libdir/styles/makeidx.perl
Loading /usr/local/latex2html-99.2beta8/libdir/styles/epsfig.perl
latex2html -V
Note: Loading /net/trout/export/home2/martin/.latex2html-init
Note: Initialising with file:
/net/trout/export/home2/martin/.latex2html-init
This is LaTeX2HTML Version 99.2beta8 (1.46)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
What do I need to do to get this to work?
Thank you,
-- Bill Martin --
--
=======================================================================
William T. Martin email: martin@orie.cornell.edu
Cornell University/ORIE Fax: (607) 255-9129
257 Rhodes Hall Phone: (607) 255-9134
Ithaca, NY 14853
Public Key: http://www.orie.cornell.edu/~martin/public_key.html
=======================================================================
From fdrake@acm.org Tue Aug 13 14:45:02 2002
From: fdrake@acm.org (Fred L. Drake, Jr.)
Date: Tue, 13 Aug 2002 09:45:02 -0400
Subject: [l2h] User-written latex class files with latex2html
In-Reply-To: <20020813091930.B5475@manager.orie.cornell.edu>
References: <20020813091930.B5475@manager.orie.cornell.edu>
Message-ID: <15705.3422.926507.879171@grendel.zope.com>
William T. Martin writes:
> \usepackage{html,htmllist,color,makeidx,epsfig,orieweb}
>
> It loads perl versions of these packages, but orieweb is not written in
> perl:
...
> What do I need to do to get this to work?
There are two approaches. The simplest is to change the way you
reference the package. If you use
\usepackage{html,htmllist,color,makeidx,epsfig}
\input{orieweb.sty}
LaTeX2HTML will load orieweb.sty and attempt to process it. You may
have to muck around with \makeatletter and \makeatother though.
My solution for the Python documentation was to supply Perl support
for both my additional packages and the document classes I define.
This works well, and let's the LaTeX documents use the conventional
LaTeX way of doing things. It probably makes more sense if there are
going to be several documents using the package.
The painful part, of course, is that using this approach means that
you need to write Perl code to support all of the markup constructs
defined in the package it's emulating, and that can be painful at
times. If there's a lot of semantic processing that can happen at
document-formatting time, it can be a real boon.
-Fred
--
Fred L. Drake, Jr.
PythonLabs at Zope Corporation
From peacedan@yahoo.com Tue Aug 13 23:02:51 2002
From: peacedan@yahoo.com (Daniel Young)
Date: Tue, 13 Aug 2002 15:02:51 -0700 (PDT)
Subject: [l2h] Install LaTeX2HTML on Windows XP
Message-ID: <20020813220251.1529.qmail@web14203.mail.yahoo.com>
Hi,
I tried to install LaTeX2HTML on my Windows XP, but
could not work it out.
I downloaded latex2html-2002-1.tar.gz from CTAN and
unzip it to C:\Download\latex2html-2002-1. I looked up
on the mailing list archive and I followed the
instructions on
http://www.mayer.dial.pipex.com/l2h.htm
because I also use MiK-TeX and the MiK-TeX has worked
well so far before I tried to install LaTeX2HTML.
So I installed Perl and Netpbm, and edited prefs.pm as
suggested. Maybe the problem is that I installed
Mik-TeX under Program File directory and config.bat
seemed to have trouble to get the version number of
dvips (which is 5.86). It says unknown version number.
I manually add it in config/config.pl in the DVIPS
session:
my $version = '5.86';
I re-ran config.bat and this seemed to be fixed. I got
same information in the log file as in the above
instruction, except a few more lines with warning
message:
checking for ppmtojpeg... no
Warning: You cannot directly translate/modify graphics
of format.
checking for pnmcut... \texfiles\netpbm\bin\pnmcut.exe
checking for pnmpad... \texfiles\netpbm\bin\pnmpad.exe
checking for pnmrotate...
\texfiles\netpbm\bin\pnmrotate.exe
checking for pnmscale...
\texfiles\netpbm\bin\pnmscale.exe
checking for giftopnm...
\texfiles\netpbm\bin\giftopnm.exe
checking for jpegtopnm...
\texfiles\netpbm\bin\jpegtopnm.exe
checking for pngtopnm... C:\Program
Files\texmf\miktex\bin\pngtopnm.exe
checking for tifftopnm... C:\Program
Files\texmf\miktex\bin\tifftopnm.exe
checking for picttoppm...
\texfiles\netpbm\bin\picttoppm.exe
checking for anytopnm... no
Warning: You cannot directly translate/modify graphics
of format.
checking for bmptoppm... no
Warning: You cannot directly translate/modify graphics
of format.
checking for pcxtoppm... C:\Program
Files\texmf\miktex\bin\pcxtoppm.exe
checking for sgitopnm...
\texfiles\netpbm\bin\sgitopnm.exe
checking for xbmtopbm...
\texfiles\netpbm\bin\xbmtopbm.exe
checking for xwdtopnm...
\texfiles\netpbm\bin\xwdtopnm.exe
Then endless problems came. First of all I never ran
test.bat correctly. The main problem is that images
cannot be created. I checked the subdirectory of
l2htest/; there was only images.tex, no images.log
created by latex. I ran images.tex by command latex
manually, created images.log and re-ran latex2html.
Now the problem was more clear: there were no images
created--CSS style with those NEXT/CONTENT icons
appeared, but no equations and images. I looked up the
manual and tried my best to look for the images
everywhere possible, but found nothing.
I just tried the next step for curiosity, since I had
no way to successfully ran test.bat. I installed
LaTeX2HTML, added latex2html.bat to $PATH, moved files
under TEXTINPUT/ and edited l2hconf.pm. However, I
still could only correctly ran latex2html in the
installed directory and the unzipped temporary
directory. If I ran it anywhere else, I got the error
message:
texexpand V2002-1 (Revision 1.11)
texexpand: Error: More than one input file specified.
texexpand failed: No such file or directory
Did I forget to configure something above? Or I
couldn't run latex2html under other directories such
as My Document? Were all these problems caused by
manually adding the version number of dvips?
Thanks. - Daniel
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
From warnhold@zedat.fu-berlin.de Wed Aug 14 10:30:45 2002
From: warnhold@zedat.fu-berlin.de (Werner Arnhold)
Date: Wed, 14 Aug 2002 11:30:45 +0200
Subject: [l2h] User-written latex class files with latex2html
In-Reply-To: <15705.3422.926507.879171@grendel.zope.com>
References: <20020813091930.B5475@manager.orie.cornell.edu> <15705.3422.926507.879171@grendel.zope.com>
Message-ID: <200208141130.45872.warnhold@zedat.fu-berlin.de>
Am Dienstag, 13. August 2002 15:45 schrieb Fred L. Drake, Jr.:
> William T. Martin writes:
> > \usepackage{html,htmllist,color,makeidx,epsfig,orieweb}
> >
> > It loads perl versions of these packages, but orieweb is not written in
> > perl:
.
.
.
.
>
> My solution for the Python documentation was to supply Perl support
> for both my additional packages and the document classes I define.
> This works well, and let's the LaTeX documents use the conventional
> LaTeX way of doing things. It probably makes more sense if there are
> going to be several documents using the package.
This is a very nice idea. I tried it myself, but I am not very experienced
especially in Perl. So I had a lot of trouble to find out the interface for
a Perl script to be written. Is there any documentation about that?
> The painful part, of course, is that using this approach means that
> you need to write Perl code to support all of the markup constructs
> defined in the package it's emulating, and that can be painful at
> times. If there's a lot of semantic processing that can happen at
> document-formatting time, it can be a real boon.
>
>
> -Fred
Werner
--
Werner Arnhold
FU Berlin, FB 12, GEDIB
Arbeitsbereich Lehrerfortbildung und Informatische Bildung
Tel.: 030 / 838-56328, priv: 030 / 74 22 555
From Steve Mayer"
Message-ID: <008a01c24381$ea53d540$0c01a8c0@maths>
----- Original Message -----
From: "Daniel Young"
To:
Sent: 13 August 2002 23:02
Subject: [l2h] Install LaTeX2HTML on Windows XP
> Hi,
>
> I tried to install LaTeX2HTML on my Windows XP, but
> could not work it out.
>
> I downloaded latex2html-2002-1.tar.gz from CTAN and
> unzip it to C:\Download\latex2html-2002-1. I looked up
> on the mailing list archive and I followed the
> instructions on
> http://www.mayer.dial.pipex.com/l2h.htm
> because I also use MiK-TeX and the MiK-TeX has worked
> well so far before I tried to install LaTeX2HTML.
>
> So I installed Perl and Netpbm, and edited prefs.pm as
> suggested. Maybe the problem is that I installed
> Mik-TeX under Program File directory and config.bat
> seemed to have trouble to get the version number of
> dvips (which is 5.86). It says unknown version number.
> I manually add it in config/config.pl in the DVIPS
> session:
> my $version = '5.86';
> I re-ran config.bat and this seemed to be fixed. I got
> same information in the log file as in the above
> instruction, except a few more lines with warning
> message:
>
> checking for ppmtojpeg... no
> Warning: You cannot directly translate/modify graphics
> of format.
> checking for pnmcut... \texfiles\netpbm\bin\pnmcut.exe
> checking for pnmpad... \texfiles\netpbm\bin\pnmpad.exe
> checking for pnmrotate...
> \texfiles\netpbm\bin\pnmrotate.exe
> checking for pnmscale...
> \texfiles\netpbm\bin\pnmscale.exe
> checking for giftopnm...
> \texfiles\netpbm\bin\giftopnm.exe
> checking for jpegtopnm...
> \texfiles\netpbm\bin\jpegtopnm.exe
> checking for pngtopnm... C:\Program
> Files\texmf\miktex\bin\pngtopnm.exe
> checking for tifftopnm... C:\Program
> Files\texmf\miktex\bin\tifftopnm.exe
> checking for picttoppm...
> \texfiles\netpbm\bin\picttoppm.exe
> checking for anytopnm... no
> Warning: You cannot directly translate/modify graphics
> of format.
> checking for bmptoppm... no
> Warning: You cannot directly translate/modify graphics
> of format.
> checking for pcxtoppm... C:\Program
> Files\texmf\miktex\bin\pcxtoppm.exe
> checking for sgitopnm...
> \texfiles\netpbm\bin\sgitopnm.exe
> checking for xbmtopbm...
> \texfiles\netpbm\bin\xbmtopbm.exe
> checking for xwdtopnm...
> \texfiles\netpbm\bin\xwdtopnm.exe
>
> Then endless problems came. First of all I never ran
> test.bat correctly. The main problem is that images
> cannot be created. I checked the subdirectory of
> l2htest/; there was only images.tex, no images.log
> created by latex. I ran images.tex by command latex
> manually, created images.log and re-ran latex2html.
> Now the problem was more clear: there were no images
> created--CSS style with those NEXT/CONTENT icons
> appeared, but no equations and images. I looked up the
> manual and tried my best to look for the images
> everywhere possible, but found nothing.
>
> I just tried the next step for curiosity, since I had
> no way to successfully ran test.bat. I installed
> LaTeX2HTML, added latex2html.bat to $PATH, moved files
> under TEXTINPUT/ and edited l2hconf.pm. However, I
> still could only correctly ran latex2html in the
> installed directory and the unzipped temporary
> directory. If I ran it anywhere else, I got the error
> message:
>
> texexpand V2002-1 (Revision 1.11)
>
> texexpand: Error: More than one input file specified.
> texexpand failed: No such file or directory
>
> Did I forget to configure something above? Or I
> couldn't run latex2html under other directories such
> as My Document? Were all these problems caused by
> manually adding the version number of dvips?
>
> Thanks. - Daniel
>
I think the problem has to do with using long file names, particularly
with spaces in them. Texexpand can't cope with long file names; it
probably believes that C:\My Documents refers to more than one file,
delimited by the space. So I'm afraid that you will need to put tex
documents to be converted into a different directory.
I know that MiKTeX has been designed to cope with long file names but, I
was under the impression that, following earlier problems with using
C:\Program Files, the installation defaults to c:\texmf, but my
information could well be out-of-date.
I presume that when you manually added the version of dvips you also
ensured that the path $DVIPS in l2hconf.pm is correct? I am not entirely
sure that latex2html will be happy though with the long file name.
I'm also not sure where you have chosen to install to latex2html. Is it
to a short-named file directory (so that no occurrences of ~ appear in
the 8.3 version)? If not try re-installing latex2html to such a
directory.
In a post in January 2001 (missing from the archive) it was
reported that:
"although the problem wasn't with the spaces (the full path was
c:\programme\localtexmf\latex2html) but with the number of the letters:
As soon as I installed LaTeX2HTML into c:\l2h everything worked fine."
If this doesn't work it may mean that MiKTeX will need to be
re-installed to c:\texmf. I would be interested to hear if anybody has
got latex2html working with MiKTeX installed in C:\Program Files.
Luis Seidel's advice that "it is probably a good idea to avoid
directories or folders with spaces (e.g., Program Files)" is worth
following. I would extend it to any program that involves TeX in some
way. At the very least it will eliminate this as a possible source for
errors.
Steve Mayer
From fdrake@acm.org Wed Aug 14 15:06:48 2002
From: fdrake@acm.org (Fred L. Drake, Jr.)
Date: Wed, 14 Aug 2002 10:06:48 -0400
Subject: [l2h] User-written latex class files with latex2html
In-Reply-To: <200208141130.45872.warnhold@zedat.fu-berlin.de>
References: <20020813091930.B5475@manager.orie.cornell.edu>
<15705.3422.926507.879171@grendel.zope.com>
<200208141130.45872.warnhold@zedat.fu-berlin.de>
Message-ID: <15706.25592.177885.492756@grendel.zope.com>
Werner Arnhold writes:
> This is a very nice idea. I tried it myself, but I am not very experienced
> especially in Perl. So I had a lot of trouble to find out the interface for
> a Perl script to be written. Is there any documentation about that?
I don't consider myself a Perl programmer generally, either, but I
had some examples to work from, and extended & refactored that
extensively, a little bit at a time.
Perl itself, as painful as it is for a Python programmer to use, is
not the hard part of LaTeX2HTML. The difficult part is understanding
what LaTeX2HTML is doing, and the extension API is massively
underdocumented. I reverse engineered a lot based on the support for
specific markup in the LaTeX2HTML implementation, and asked a lot of
questions here.
-Fred
--
Fred L. Drake, Jr.
PythonLabs at Zope Corporation
From peacedan@yahoo.com Wed Aug 14 19:30:19 2002
From: peacedan@yahoo.com (Daniel Young)
Date: Wed, 14 Aug 2002 11:30:19 -0700 (PDT)
Subject: [l2h] Install LaTeX2HTML on Windows XP
In-Reply-To: <008a01c24381$ea53d540$0c01a8c0@maths>
Message-ID: <20020814183019.9097.qmail@web14207.mail.yahoo.com>
--- Steve Mayer wrote:
>
> I think the problem has to do with using long file
> names, particularly
> with spaces in them. Texexpand can't cope with long
> file names; it
> probably believes that C:\My Documents refers to
> more than one file,
> delimited by the space. So I'm afraid that you will
> need to put tex
> documents to be converted into a different
> directory.
>
> I know that MiKTeX has been designed to cope with
> long file names but, I
> was under the impression that, following earlier
> problems with using
> C:\Program Files, the installation defaults to
> c:\texmf, but my
> information could well be out-of-date.
>
> I presume that when you manually added the version
> of dvips you also
> ensured that the path $DVIPS in l2hconf.pm is
> correct? I am not entirely
> sure that latex2html will be happy though with the
> long file name.
>
> I'm also not sure where you have chosen to install
> to latex2html. Is it
> to a short-named file directory (so that no
> occurrences of ~ appear in
> the 8.3 version)? If not try re-installing
> latex2html to such a
> directory.
>
> In a post in January 2001 (missing from the archive)
> it was
> reported that:
>
> "although the problem wasn't with the spaces (the
> full path was
> c:\programme\localtexmf\latex2html) but with the
> number of the letters:
> As soon as I installed LaTeX2HTML into c:\l2h
> everything worked fine."
>
> If this doesn't work it may mean that MiKTeX will
> need to be
> re-installed to c:\texmf. I would be interested to
> hear if anybody has
> got latex2html working with MiKTeX installed in
> C:\Program Files.
>
> Luis Seidel's advice that "it is probably a good
> idea to avoid
> directories or folders with spaces (e.g., Program
> Files)" is worth
> following. I would extend it to any program that
> involves TeX in some
> way. At the very least it will eliminate this as a
> possible source for
> errors.
>
> Steve Mayer
>
Thanks a lot. After re-installed MikTeX in another
directory with short name, I made one more step:
config.bat could read the version of dvips. However,
the images still didn't show up. Because of the
default setting of the platform, the default value of
$TMP in l2hconf.pm is C:\\DOCUME~1\\DANIEL~1\\Temp,
which still contains long directory name. So I changed
it to C:\\tmp\L2Himg (BTW, I also changed the default
image type to gif; default png didn't work either) and
ran it in debug mode. I could find that img001.ps and
img002.ps were in the temporary directory along with
two p*.pnm files and two p*.t00 files. test -debug
showed that pnmcrop.exe wanted p*.t01 for image
conversion. How do I fix this?
My Ghostscript version is 7.03 and Netpbm version is
10.6.
Thanks. - Daniel
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
From Steve Mayer"
Message-ID: <011301c243c8$b8320040$0c01a8c0@maths>
----- Original Message -----
From: "Daniel Young"
To:
Sent: 14 August 2002 19:30
Subject: Re: [l2h] Install LaTeX2HTML on Windows XP
> Thanks a lot. After re-installed MikTeX in another
> directory with short name, I made one more step:
> config.bat could read the version of dvips. However,
> the images still didn't show up. Because of the
> default setting of the platform, the default value of
> $TMP in l2hconf.pm is C:\\DOCUME~1\\DANIEL~1\\Temp,
> which still contains long directory name. So I changed
> it to C:\\tmp\L2Himg (BTW, I also changed the default
> image type to gif; default png didn't work either) and
> ran it in debug mode. I could find that img001.ps and
> img002.ps were in the temporary directory along with
> two p*.pnm files and two p*.t00 files. test -debug
> showed that pnmcrop.exe wanted p*.t01 for image
> conversion. How do I fix this?
> My Ghostscript version is 7.03 and Netpbm version is
> 10.6.
>
> Thanks. - Daniel
Have a look at the thread 'Cannot convert images in test sample file' at
http://tug.org/pipermail/latex2html/2001-November/thread.html to see if
that helps at all.
There have been a number of similar reports but I'm not sure anyone has
totally solved it as I don't think it's a problem for all Win NT/2000/XP
users.
In pstoimgbat is 'my $def_tmp' correct or is it still pointing to
C:\\DOCUME~1\\DANIEL~1\\Temp?
In fact I would go through all the *.bat directories in \bin and check
that the paths there are correct and don't involve ~ .
Steve Mayer
From ulrich.diez@student.uni-tuebingen.de Wed Aug 14 23:56:38 2002
From: ulrich.diez@student.uni-tuebingen.de (Ulrich Diez)
Date: Thu, 15 Aug 2002 00:56:38 +0200
Subject: [l2h] Install LaTeX2HTML on Windows XP
References: <20020814183019.9097.qmail@web14207.mail.yahoo.com> <011301c243c8$b8320040$0c01a8c0@maths>
Message-ID: <001701c243e5$d9bcdc40$a2e30286@oemcomputer>
Dear LATEX2HTML-installers,
When trying to install LaTeX2HTML on different Windows-Systems
(Win95, Win 98, Win2000, WinXP) according to the manual of
Mr. Luis Seidel, I always made following experience:
Install.bat and Test.bat or image-conversion in general always failed when
a release of ActiveStates ActivePerl newer than build 503 was installed.
Beneath other things, also problems with the numbering of the ps-images
occured.
Using the newer builds, e.g. the newest one (633 I think), lead to errors
and failures.
I do not know the reason for this behavior. Nevertheless I thought it was a
good idea to tell this to the newsgroup. Probably somebody else can comment
on this.
When using ActivePerl build 503 I had no problems with long directory-names
or '~' .
Another Problem was that when installing a newer version of netpbm,
png-images were created with some ugly grey backgrounds and black frames.
They also were not placed correctly.
The fix which is offered by Shigeharu Takeno helped. It can be found in the
mailing-list-archive of www.LaTex2html.org ,
Archive: 2002-07,
Message-Id: 200207111112.UAA09178@pc98tak.iee.niit.ac.jp,
Thread: Re: [l2h] Re: l2h and recent netpbm .
Yours sincerely
Ulrich Diez
----- Original Message -----
From: "Steve Mayer"
To: "latex2html"
Sent: Wednesday, August 14, 2002 9:27 PM
Subject: Re: [l2h] Install LaTeX2HTML on Windows XP
> ----- Original Message -----
> From: "Daniel Young"
> To:
> Sent: 14 August 2002 19:30
> Subject: Re: [l2h] Install LaTeX2HTML on Windows XP
>
>
> > Thanks a lot. After re-installed MikTeX in another
> > directory with short name, I made one more step:
> > config.bat could read the version of dvips. However,
> > the images still didn't show up. Because of the
> > default setting of the platform, the default value of
> > $TMP in l2hconf.pm is C:\\DOCUME~1\\DANIEL~1\\Temp,
> > which still contains long directory name. So I changed
> > it to C:\\tmp\L2Himg (BTW, I also changed the default
> > image type to gif; default png didn't work either) and
> > ran it in debug mode. I could find that img001.ps and
> > img002.ps were in the temporary directory along with
> > two p*.pnm files and two p*.t00 files. test -debug
> > showed that pnmcrop.exe wanted p*.t01 for image
> > conversion. How do I fix this?
> > My Ghostscript version is 7.03 and Netpbm version is
> > 10.6.
> >
> > Thanks. - Daniel
>
> Have a look at the thread 'Cannot convert images in test sample file' at
> http://tug.org/pipermail/latex2html/2001-November/thread.html to see if
> that helps at all.
>
> There have been a number of similar reports but I'm not sure anyone has
> totally solved it as I don't think it's a problem for all Win NT/2000/XP
> users.
>
> In pstoimgbat is 'my $def_tmp' correct or is it still pointing to
> C:\\DOCUME~1\\DANIEL~1\\Temp?
> In fact I would go through all the *.bat directories in \bin and check
> that the paths there are correct and don't involve ~ .
>
> Steve Mayer
>
>
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
>
From Steve Mayer" <011301c243c8$b8320040$0c01a8c0@maths> <001701c243e5$d9bcdc40$a2e30286@oemcomputer>
Message-ID: <01bf01c243ea$ee5ee580$0c01a8c0@maths>
----- Original Message -----
From: "Ulrich Diez"
To: "latex2html"
Sent: 14 August 2002 23:56
Subject: Re: [l2h] Install LaTeX2HTML on Windows XP
>
> Dear LATEX2HTML-installers,
>
> When trying to install LaTeX2HTML on different Windows-Systems
> (Win95, Win 98, Win2000, WinXP) according to the manual of
> Mr. Luis Seidel, I always made following experience:
>
> Install.bat and Test.bat or image-conversion in general always failed
when
> a release of ActiveStates ActivePerl newer than build 503 was
installed.
> Beneath other things, also problems with the numbering of the
ps-images
> occured.
>
> Using the newer builds, e.g. the newest one (633 I think), lead to
errors
> and failures.
> I do not know the reason for this behavior. Nevertheless I thought it
was a
> good idea to tell this to the newsgroup. Probably somebody else can
comment
> on this.
Would Daniel Young or anyone else having problems with image generation
using Windows like to install an older version of Perl to see if it
solves their problem? Older versions can be found at
http://downloads.activestate.com/ActivePerl/Windows/5.005/Intel/ with
the number in the filename giving the build.
If this works then this would be a good workaround until the cause of
the problem is found. If it also allows long file names then that would
be fascinating.
Steve Mayer
From dan@brewer.me.uk Mon Aug 12 18:41:24 2002
From: dan@brewer.me.uk (Daniel Brewer)
Date: Mon, 12 Aug 2002 17:41:24 +0000
Subject: [l2h] Image directory is not transferable
Message-ID:
Hello,
I have a problem. I am a complete newbie to latex2html so i hope this
does not sound too silly. I have a latex document with various images
in it. When I run latex2html on it with the default settings it
produces a great html document. The problem is that when I transfer it
to my website server the images (not the maths symbols etc. just the
actually images) in the html point to where they were on my home machine
e.g. /home/daniel/latexdoc/. As my home machine isn't connected to the
web permeantly it means that the images become broken links.
Is there anyway to get the images to be self-contained in the directory
produced by latex2html ao that I can just copy the directory to my
webserver and it work? I can go through the entire html changing the
links but this is pretty tiresome.
Thanks
Daniel Brewer
From peacedan@yahoo.com Mon Aug 12 22:58:35 2002
From: peacedan@yahoo.com (Daniel Young)
Date: Mon, 12 Aug 2002 14:58:35 -0700 (PDT)
Subject: [l2h] Install l2h on XP
Message-ID: <20020812215835.37593.qmail@web14202.mail.yahoo.com>
Hi,
I tried to install LaTeX2HTML on Windows XP.
After I did what I could do, I could only get html
files within the directory of installed latex2html;
when I ran latex2html in other directories, I only got
a directory with an empty subdirectory TMP and nothing
else. Even for those html files, some texts cannot be
properly displayed and some tags like <#460#> appear.
Below is how I installed the LaTeX2HTML.
I downloaded latex2html-2002-1.tar.gz from CTAN and
unzip it to C:\Download\latex2html-2002-1. Because I
feel the README and INSTALL are a little bit hard to
follow and I am using MiK-TeX, I used the instructions
on http://www.mayer.dial.pipex.com/l2h.htm.
I believe I exactly followed the instructions and
change the $path environment variable, except changing
the some paths according to my original setting of
MiK-TeX. The problem is when I tried the test.bat,
there is no pstoimg.bat to check. I put the results of
configuration below:
Starting Configuration...
config.pl, Release 2002-1 (Revision 1.46)
Accompanies LaTeX2HTML, (C) 1999 GNU Public License.
checking for old config file (cfgcache.pm)... not
found (ok)
checking for platform... MSWin32 (Windows 32 bit)
checking for c:\Perl\bin\perl.exe...
c:\Perl\bin\perl.exe
checking perl version... 5.006001
checking if perl supports some dbm... yes
checking if perl globbing works... yes
checking for tex... C:\Program
Files\texmf\miktex\bin\tex.exe
checking for latex... C:\Program
Files\texmf\miktex\bin\latex.exe
checking for initex... C:\Program
Files\texmf\miktex\bin\initex.exe
checking for kpsewhich... C:\Program
Files\texmf\miktex\bin\kpsewhich.exe
checking for kpsewhich syntax... no, from which planet
is your kpsewhich?
checking for TeX include path... NONE
Warning: Will not automatically install LaTeX2HTML
style files.
checking for dvips... C:\Program
Files\texmf\miktex\bin\dvips.exe
checking dvips version... no
Error: could not determine dvips version
Warning: Will not be able to generate images due to
above failure.
checking for html4-check... no
checking for gswin32c... c:\program
files\ghostgum\gs\gs7.03\bin\gswin32c.exe
Error: could not execute c:\program
files\ghostgum\gs\gs7.03\bin\gswin32c.exe
Warning: Will not be able to generate images due to
above failure.
checking for pnmflip... \Program
Files\ghostgum\netpbm\bin\pnmflip.exe
checking for ppmquant... \Program
Files\ghostgum\netpbm\bin\ppmquant.exe
checking for pnmfile... \Program
Files\ghostgum\netpbm\bin\pnmfile.exe
checking for pnmcat... \Program
Files\ghostgum\netpbm\bin\pnmcat.exe
checking for pbmmake... \Program
Files\ghostgum\netpbm\bin\pbmmake.exe
checking for ppmtogif... \Program
Files\ghostgum\netpbm\bin\ppmtogif.exe
checking for pnmtopng... \Program
Files\ghostgum\netpbm\bin\pnmtopng.exe
checking for ppmtojpeg... no
Use of uninitialized value in concatenation (.) or
string at config\config.pl line 2388.
Warning: You cannot directly translate/modify graphics
of format.
checking for pnmcut... \Program
Files\ghostgum\netpbm\bin\pnmcut.exe
checking for pnmpad... \Program
Files\ghostgum\netpbm\bin\pnmpad.exe
checking for pnmrotate... \Program
Files\ghostgum\netpbm\bin\pnmrotate.exe
checking for pnmscale... \Program
Files\ghostgum\netpbm\bin\pnmscale.exe
checking for giftopnm... \Program
Files\ghostgum\netpbm\bin\giftopnm.exe
checking for jpegtopnm... \Program
Files\ghostgum\netpbm\bin\jpegtopnm.exe
checking for pngtopnm... C:\Program
Files\texmf\miktex\bin\pngtopnm.exe
checking for tifftopnm... C:\Program
Files\texmf\miktex\bin\tifftopnm.exe
checking for picttoppm... \Program
Files\ghostgum\netpbm\bin\picttoppm.exe
checking for anytopnm... no
Use of uninitialized value in concatenation (.) or
string at config\config.pl line 2388.
Warning: You cannot directly translate/modify graphics
of format.
checking for bmptoppm... no
Use of uninitialized value in concatenation (.) or
string at config\config.pl line 2388.
Warning: You cannot directly translate/modify graphics
of format.
checking for pcxtoppm... C:\Program
Files\texmf\miktex\bin\pcxtoppm.exe
checking for sgitopnm... \Program
Files\ghostgum\netpbm\bin\sgitopnm.exe
checking for xbmtopbm... \Program
Files\ghostgum\netpbm\bin\xbmtopbm.exe
checking for xwdtopnm... \Program
Files\ghostgum\netpbm\bin\xwdtopnm.exe
checking if multiple pipes work... no
Unfortunately multiple pipes are not reliable on this
OS.
checking for temporary disk space...
C:\DOCUME~1\DANIEL~1\LOCALS~1\Temp
creating cfgcache.pm
creating test.bat
creating install.bat
Note: Will install...
... executables to : C:\latex2html\bin
... shared library items to : C:\latex2html
... unshared library items to : C:\latex2html
Starting build...
... building latex2html
build.pl (Revision 1.6)
Building "latex2html.bat" from "latex2html.pin"
... building pstoimg
build.pl (Revision 1.6)
config\build.pl: Warning: Skipping build of pstoimg
because of missing external programs.
... building texexpand
build.pl (Revision 1.6)
Building "texexpand.bat" from "texexpand.pin"
... building configuration module
build.pl (Revision 1.6)
Building "l2hconf.pm" from "l2hconf.pin"
Configuration procedure finished
The results did suggest skipping building pstoimg, but
what are those missing external programs since I
follow the instructions.
There are also several other error messages regarding
to gswin32c (which is executable by double click the
icon) and the version of dvips (which is "This is
dvips(k) 5.86 Copyright 1999 Radical Eye Software
(www.radicaleye.com)"). Why the config.bat cannot
recognize them and how do I fix these problems?
Thanks. - Daniel
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
From Steve Mayer"
Message-ID: <005a01c2443c$c5dcbea0$0c01a8c0@maths>
----- Original Message -----
From: "Daniel Young"
To:
Sent: 12 August 2002 22:58
Subject: [l2h] Install l2h on XP
> Hi,
>
> I tried to install LaTeX2HTML on Windows XP.
>
> After I did what I could do, I could only get html
> files within the directory of installed latex2html;
> when I ran latex2html in other directories, I only got
> a directory with an empty subdirectory TMP and nothing
> else. Even for those html files, some texts cannot be
> properly displayed and some tags like <#460#> appear.
> Below is how I installed the LaTeX2HTML.
>
> I downloaded latex2html-2002-1.tar.gz from CTAN and
> unzip it to C:\Download\latex2html-2002-1. Because I
> feel the README and INSTALL are a little bit hard to
> follow and I am using MiK-TeX, I used the instructions
> on http://www.mayer.dial.pipex.com/l2h.htm.
>
> I believe I exactly followed the instructions and
> change the $path environment variable, except changing
> the some paths according to my original setting of
> MiK-TeX. The problem is when I tried the test.bat,
> there is no pstoimg.bat to check. I put the results of
> configuration below:
>
> Starting Configuration...
>
> config.pl, Release 2002-1 (Revision 1.46)
> Accompanies LaTeX2HTML, (C) 1999 GNU Public License.
>
> checking for old config file (cfgcache.pm)... not
> found (ok)
> checking for platform... MSWin32 (Windows 32 bit)
> checking for c:\Perl\bin\perl.exe...
> c:\Perl\bin\perl.exe
> checking perl version... 5.006001
> checking if perl supports some dbm... yes
> checking if perl globbing works... yes
> checking for tex... C:\Program
> Files\texmf\miktex\bin\tex.exe
> checking for latex... C:\Program
> Files\texmf\miktex\bin\latex.exe
> checking for initex... C:\Program
> Files\texmf\miktex\bin\initex.exe
> checking for kpsewhich... C:\Program
> Files\texmf\miktex\bin\kpsewhich.exe
> checking for kpsewhich syntax... no, from which planet
> is your kpsewhich?
> checking for TeX include path... NONE
> Warning: Will not automatically install LaTeX2HTML
> style files.
> checking for dvips... C:\Program
> Files\texmf\miktex\bin\dvips.exe
> checking dvips version... no
> Error: could not determine dvips version
> Warning: Will not be able to generate images due to
> above failure.
> checking for html4-check... no
> checking for gswin32c... c:\program
> files\ghostgum\gs\gs7.03\bin\gswin32c.exe
> Error: could not execute c:\program
> files\ghostgum\gs\gs7.03\bin\gswin32c.exe
> Warning: Will not be able to generate images due to
> above failure.
> checking for pnmflip... \Program
> Files\ghostgum\netpbm\bin\pnmflip.exe
> checking for ppmquant... \Program
> Files\ghostgum\netpbm\bin\ppmquant.exe
> checking for pnmfile... \Program
> Files\ghostgum\netpbm\bin\pnmfile.exe
> checking for pnmcat... \Program
> Files\ghostgum\netpbm\bin\pnmcat.exe
> checking for pbmmake... \Program
> Files\ghostgum\netpbm\bin\pbmmake.exe
> checking for ppmtogif... \Program
> Files\ghostgum\netpbm\bin\ppmtogif.exe
> checking for pnmtopng... \Program
> Files\ghostgum\netpbm\bin\pnmtopng.exe
> checking for ppmtojpeg... no
> Use of uninitialized value in concatenation (.) or
> string at config\config.pl line 2388.
> Warning: You cannot directly translate/modify graphics
> of format.
> checking for pnmcut... \Program
> Files\ghostgum\netpbm\bin\pnmcut.exe
> checking for pnmpad... \Program
> Files\ghostgum\netpbm\bin\pnmpad.exe
> checking for pnmrotate... \Program
> Files\ghostgum\netpbm\bin\pnmrotate.exe
> checking for pnmscale... \Program
> Files\ghostgum\netpbm\bin\pnmscale.exe
> checking for giftopnm... \Program
> Files\ghostgum\netpbm\bin\giftopnm.exe
> checking for jpegtopnm... \Program
> Files\ghostgum\netpbm\bin\jpegtopnm.exe
> checking for pngtopnm... C:\Program
> Files\texmf\miktex\bin\pngtopnm.exe
> checking for tifftopnm... C:\Program
> Files\texmf\miktex\bin\tifftopnm.exe
> checking for picttoppm... \Program
> Files\ghostgum\netpbm\bin\picttoppm.exe
> checking for anytopnm... no
> Use of uninitialized value in concatenation (.) or
> string at config\config.pl line 2388.
> Warning: You cannot directly translate/modify graphics
> of format.
> checking for bmptoppm... no
> Use of uninitialized value in concatenation (.) or
> string at config\config.pl line 2388.
> Warning: You cannot directly translate/modify graphics
> of format.
> checking for pcxtoppm... C:\Program
> Files\texmf\miktex\bin\pcxtoppm.exe
> checking for sgitopnm... \Program
> Files\ghostgum\netpbm\bin\sgitopnm.exe
> checking for xbmtopbm... \Program
> Files\ghostgum\netpbm\bin\xbmtopbm.exe
> checking for xwdtopnm... \Program
> Files\ghostgum\netpbm\bin\xwdtopnm.exe
> checking if multiple pipes work... no
> Unfortunately multiple pipes are not reliable on this
> OS.
> checking for temporary disk space...
> C:\DOCUME~1\DANIEL~1\LOCALS~1\Temp
> creating cfgcache.pm
> creating test.bat
> creating install.bat
> Note: Will install...
> ... executables to : C:\latex2html\bin
> ... shared library items to : C:\latex2html
> ... unshared library items to : C:\latex2html
> Starting build...
> ... building latex2html
> build.pl (Revision 1.6)
> Building "latex2html.bat" from "latex2html.pin"
> ... building pstoimg
> build.pl (Revision 1.6)
> config\build.pl: Warning: Skipping build of pstoimg
> because of missing external programs.
> ... building texexpand
> build.pl (Revision 1.6)
> Building "texexpand.bat" from "texexpand.pin"
> ... building configuration module
> build.pl (Revision 1.6)
> Building "l2hconf.pm" from "l2hconf.pin"
> Configuration procedure finished
>
> The results did suggest skipping building pstoimg, but
> what are those missing external programs since I
> follow the instructions.
>
> There are also several other error messages regarding
> to gswin32c (which is executable by double click the
> icon) and the version of dvips (which is "This is
> dvips(k) 5.86 Copyright 1999 Radical Eye Software
> (www.radicaleye.com)"). Why the config.bat cannot
> recognize them and how do I fix these problems?
>
> Thanks. - Daniel
Looking at your config.log it is clear that the configuration program
can't find anything that resides in C:\Program Files. So you have 2
options:
1. Try an older version of Perl as suggested by Ulrich Diez and
mentioned in my earlier message
http://tug.org/pipermail/latex2html/2002-August/001979.html where it may
be possible to use long path names
and/or
2. Reinstall Miktex, Ghostscript and all the other programs in
directories with short file names (eg c:\texmf, c:\gs etc) and tell the
config program you want Latex2html in eg c:\l2h. Ensure that you have
completely uninstalled all the programs (including Latex2html
installation) so that there is no possibility of programs being found in
the old paths.
I hope this will work. I will be particularly interested if option 1
works with long file names.
Steve Mayer
From weems@ship.saic.com Thu Aug 15 18:39:40 2002
From: weems@ship.saic.com (Molly Weems)
Date: Thu, 15 Aug 2002 13:39:40 -0400 (EDT)
Subject: [l2h] Image directory is not transferable
In-Reply-To:
Message-ID:
On Mon, 12 Aug 2002, Daniel Brewer wrote:
> I have a latex document with various images
> in it. When I run latex2html on it with the default settings it
> produces a great html document. The problem is that when I transfer it
> to my website server the images (not the maths symbols etc. just the
> actually images) in the html point to where they were on my home machine
> e.g. /home/daniel/latexdoc/. As my home machine isn't connected to the
> web permeantly it means that the images become broken links.
> Is there anyway to get the images to be self-contained in the directory
> produced by latex2html ao that I can just copy the directory to my
> webserver and it work? I can go through the entire html changing the
> links but this is pretty tiresome.
FWIW, the way we solve this is to use relative paths in the latex
document. For example:
\includegraphics[height=3in]{figures/lmplot_anim}
Note that it *doesn't* say
\includegraphics[height=3in]{users/weems/figures/lmplot_anim}
The relative path produces html that reads:
SRC="../figures/lmplot_anim.gif"
Then when I copy from one machine to another, I copy the html folders
and the figures folder. As long as the two folders remain in the same
location relative to each other, the html picks up the images
just fine.
HTH.
-- Molly Weems
Technical Writer and Editor
Science Applications International Corporation
Ship Technology Division (Division 463)
Annapolis, Maryland, USA
phone: 410-266-0991 or 301-261-8026
mailto:weems@ship.saic.com
http://www.ship.saic.com
From peacedan@yahoo.com Fri Aug 16 02:32:36 2002
From: peacedan@yahoo.com (Daniel Young)
Date: Thu, 15 Aug 2002 18:32:36 -0700 (PDT)
Subject: [l2h] Install LaTeX2HTML on Windows XP
In-Reply-To: <01bf01c243ea$ee5ee580$0c01a8c0@maths>
Message-ID: <20020816013236.25265.qmail@web14201.mail.yahoo.com>
Well, this time things just don't work out. I
downloaded and installed Active Perl 503 and even 469,
which is the oldest one I could find from the site.
However, test.bat -debug still said p.t01 not
found. I hope that this has nothing to do with the
directory name since this time I set
$prefs{'TMPSPACE'} = 'C:\\tmp\\L2Himg';
in prefs.pm and the default temporary directory in all
subsequent files (l2hconf.pm, pstoimg.bat) changed to
that value; plus, I found the *.ps and p.pnm in
the temporary directory.
The similar issue was stated in "Cannot convert images
in test sample file" of the 2001-November Archive, but
the following discussions seemed to focus on how to
find the temporary directory instead of the problem of
what pnmcrop.exe did. Although test.bat -debug said
that
GS>Running "C:\texfiles\netpbm\bin\pnmcrop.exe
-verbose < C:\tmp\L2Himg\l2h896\p488.pnm >
C:\tmp\L2img\l2h896\p488.t01"
this isn't true. The output files were actually
p.t00 instead of p.t01. No wonder why
p.t01 files not found and images couldn't be
converted. Manually, this command works as expected,
but in .bat file it strangely creates p.t00
files. Maybe that is a problem for NT or XP. The
question is that how do we force it to create .t01
files in the .bat file.
Thanks. -Daniel
> From: "Ulrich Diez"
>
> To: "latex2html"
> Sent: 14 August 2002 23:56
> Subject: Re: [l2h] Install LaTeX2HTML on Windows XP
>
>
> >
> > Dear LATEX2HTML-installers,
> >
> > When trying to install LaTeX2HTML on different
> Windows-Systems
> > (Win95, Win 98, Win2000, WinXP) according to the
> manual of
> > Mr. Luis Seidel, I always made following
> experience:
> >
> > Install.bat and Test.bat or image-conversion in
> general always failed
> when
> > a release of ActiveStates ActivePerl newer than
> build 503 was
> installed.
> > Beneath other things, also problems with the
> numbering of the
> ps-images
> > occured.
> >
> > Using the newer builds, e.g. the newest one (633 I
> think), lead to
> errors
> > and failures.
> > I do not know the reason for this behavior.
> Nevertheless I thought it
> was a
> > good idea to tell this to the newsgroup. Probably
> somebody else can
> comment
> > on this.
>
> Would Daniel Young or anyone else having problems
> with image generation
> using Windows like to install an older version of
> Perl to see if it
> solves their problem? Older versions can be found at
>
http://downloads.activestate.com/ActivePerl/Windows/5.005/Intel/
> with
> the number in the filename giving the build.
>
> If this works then this would be a good workaround
> until the cause of
> the problem is found. If it also allows long file
> names then that would
> be fascinating.
>
> Steve Mayer
>
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
From Dr6583@aol.com Fri Aug 16 03:45:23 2002
From: Dr6583@aol.com (Dr6583@aol.com)
Date: Thu, 15 Aug 2002 22:45:23 EDT
Subject: [l2h] Install LaTeX2HTML on Windows XP
Message-ID: <19d.70ceca9.2a8dc143@aol.com>
In a message dated 8/15/2002 8:50:53 PM Central Daylight Time,
peacedan@yahoo.com writes:
> The output files were actually
> p.t00 instead of p.t01. No wonder why
> p.t01 files not found and images couldn't be
> converted. Manually, this command works as expected,
> but in .bat file it strangely creates p.t00
> files. Maybe that is a problem for NT or XP.
I recall having similar problems in the past. Oddly, reinstalling everything
(MikTeX, GS, Pearl, netpbm, L2H) to the same drive letter resolved the
problem. Doesn't make sense, I know, but I recreated the scenario no less
than 3 times with the same results. Now that everything is on the same
logical drive (separate from the system partition, BTW) it all works
perfectly. I did, however, keep short directory names on everything. I
currently have on NT4:
L2H 2002-1 (1.68)
GS 7.04
netpbm 10.6
ActivePerl 5.6.1.631
...and they are all installed on a separate NTFS partition from the system
partition. In L2H the temp is set to l2htemp (completely separate from the
NT tmp environment variable, BTW).
Also, since we are on the subject of Windows, you may notice (if you ever get
it working that is) that the default name for the local initialization file,
.latex2html-init, does not sit well with Windows (at least not w/ NT so I
assume not w/ 9x or XP either). After install, you may notice that the file
is actually created as dot.latex2html-init. Evidently NT parses the leading
period as a literal dot. If you don't plan on needing local customizations
(i.e. control everything w/ l2hconf.pm) then this *shouldn't*, in theory, be
an issue. But it can easily be resolved by renaming the file to something
friendly to NT (and for that matter, DOS) , e.g. l2hinit in my case. Then,
you can tell L2H about the change via the l2hconf.pm file by adding:
$INIT_FILE_NAME = $ENV{'L2HINIT_NAME'} || 'l2hinit';
Notice if you use the suggested syntax in the remarks in l2hconf.pm it will
not work, but the above syntax does work (courtesy of Ross, thanks). BTW
ROSS, it would be nice if this was incorporated in a future release as the
default for Windows users.
All that said, I do find it strange that seemingly identical configurations
will run on one Windows box and not another which IMO implies the
configurations are *not* identical, of course. The $64K question is, *what*
is different about my configuration which runs L2H perfectly, from other
configurations which do not?
Regards,
Darrell
From martin@orie.cornell.edu Fri Aug 16 11:15:22 2002
From: martin@orie.cornell.edu (William T. Martin)
Date: Fri, 16 Aug 2002 06:15:22 -0400
Subject: [l2h] Illegal seek in pstoimg
Message-ID: <20020816061522.A16776@manager.orie.cornell.edu>
I am getting an "illegal seek" error message in pstoimg. According
to one post, there is a fix for this in the CVS latex2html distribution,
but I cannot find this. Has anyone experienced this problem and found a
solution to it?
Thank you,
-- Bill Martin --
pstoimg: Error:
"/usr/local/bin/pnmcrop <
/tmp/l2h22497/p22510.pnm |
/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
-trans '#ffffff' > img1.gif" failed: Illegal se
latex2html -html_version 2.0 fall02.tex
Note: Loading /net/trout/export/home2/martin/.latex2html-init
Note: Initialising with file:
/net/trout/export/home2/martin/.latex2html-init
This is LaTeX2HTML Version 2002 (1.67)
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 2.0
*** processing declarations ***
Loading /usr/local/share/lib/latex2html/versions/latin1.pl
OPENING /net/trout/export/home2/martin/public_html/work/fall02.tex
Cannot create directory fall02/: File exists, reusing it.
Reusing directory fall02/:
Note: Working directory is
/net/trout/export/home2/martin/public_html/work/fall02
Note: Images will be generated in /tmp/l2h22497
texexpand V2002 (Revision 1.11)
Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
Loading /usr/local/share/lib/latex2html/styles/article.perl
Loading /usr/local/share/lib/latex2html/styles/html.perl
Loading /usr/local/share/lib/latex2html/styles/htmllist.perl
Loading /usr/local/share/lib/latex2html/styles/color.perl
*** color is not supported with HTML version: 2.0 ***
Loading /usr/local/share/lib/latex2html/styles/makeidx.perl
Loading /usr/local/share/lib/latex2html/styles/epsfig.perl
Reading ...
%%%%%%++
@@@@@@@@@@@@
Translating ...
0/0:top of fall02: for fall02.html
*** translating preamble ***
............
*** preamble done ***
;...;..
Writing image file ...
This is TeX, Version 3.14159 (C version 6.1)
(images.tex
LaTeX2e <1996/12/01> patch level 1
Babel and hyphenation patterns for american, german, loaded.
*** processing 1 images ***
Generating postscript images using dvips ...
This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
' TeX output 2002.08.16:0537' -> /tmp/l2h22497/image
(-> /tmp/l2h22497/image001) [1]
(-> /tmp/l2h22497/image002) [2]
Converting image #1
pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22497/p22510.pnm |
/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
-trans '#ffffff' > img1.gif" failed: Illegal seek
Error while converting image
Doing section links ....
Done.
45 % latex2html
-version Note: Loading /net/trout/export/home2/martin/.latex2html-init
Note: Initialising with file:
/net/trout/export/home2/martin/.latex2html-init
This is LaTeX2HTML Version 2002 (1.67)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
--
=======================================================================
William T. Martin email: martin@orie.cornell.edu
Cornell University/ORIE Fax: (607) 255-9129
257 Rhodes Hall Phone: (607) 255-9134
Ithaca, NY 14853
Public Key: http://www.orie.cornell.edu/~martin/public_key.html
=======================================================================
From martin@orie.cornell.edu Fri Aug 16 11:44:22 2002
From: martin@orie.cornell.edu (William T. Martin)
Date: Fri, 16 Aug 2002 06:44:22 -0400
Subject: [l2h] Illegal seek in pstoimg
In-Reply-To: <20020816061522.A16776@manager.orie.cornell.edu>; from William T. Martin on Fri, Aug 16, 2002 at 06:15:22AM -0400
References: <20020816061522.A16776@manager.orie.cornell.edu>
Message-ID: <20020816064422.B16776@manager.orie.cornell.edu>
I turned debugging on, I find than an error occurs in ppmtogif (ppmtogif:
EOF / read error reading magic number) when the latex2html image is
converted. I am using LaTeX2HTML Version 2002 (1.67). Any ideas?
-- Bill --
Here is some of the output with -debug turned on:
77 % latex2html -debug -html 2.0 fall02
Note: Loading /net/trout/export/home2/martin/.latex2html-init
Note: Initialising with file:
/net/trout/export/home2/martin/.latex2html-init
This is LaTeX2HTML Version 2002 (1.67)
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 2.0
...
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA. All rights
reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>GS>>>showpage, press to continue<<
GS>Image "/tmp/l2h22589/p22602.pnm" is PPM, 778x2087
Running "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
-trans '#ffffff' > img1.gif"
pnmcrop: cropping 2087 rows off the top
pnmcrop: cropping 777 cols off the left
ppmquant: making histogram...
ppmquant: 0 colors found
ppmquant: choosing 256 colors...
ppmtogif: EOF / read error reading magic number
pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
-trans '#ffffff' > img1.gif" failed: Illegal seek
On Fri, Aug 16, 2002 at
06:15:22AM -0400,
William T. Martin wrote: >
> I am getting an "illegal seek" error message in pstoimg. According
> to one post, there is a fix for this in the CVS latex2html distribution,
> but I cannot find this. Has anyone experienced this problem and found a
> solution to it?
>
> Thank you,
>
> -- Bill Martin --
>
> pstoimg: Error:
> "/usr/local/bin/pnmcrop <
> /tmp/l2h22497/p22510.pnm |
> /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
> -trans '#ffffff' > img1.gif" failed: Illegal se
>
> latex2html -html_version 2.0 fall02.tex
> Note: Loading /net/trout/export/home2/martin/.latex2html-init
> Note: Initialising with file:
> /net/trout/export/home2/martin/.latex2html-init
> This is LaTeX2HTML Version 2002 (1.67)
> 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 2.0
>
> *** processing declarations ***
>
> Loading /usr/local/share/lib/latex2html/versions/latin1.pl
> OPENING /net/trout/export/home2/martin/public_html/work/fall02.tex
>
> Cannot create directory fall02/: File exists, reusing it.
> Reusing directory fall02/:
>
> Note: Working directory is
> /net/trout/export/home2/martin/public_html/work/fall02
> Note: Images will be generated in /tmp/l2h22497
>
> texexpand V2002 (Revision 1.11)
>
> Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
> Loading /usr/local/share/lib/latex2html/styles/article.perl
> Loading /usr/local/share/lib/latex2html/styles/html.perl
> Loading /usr/local/share/lib/latex2html/styles/htmllist.perl
> Loading /usr/local/share/lib/latex2html/styles/color.perl
> *** color is not supported with HTML version: 2.0 ***
>
> Loading /usr/local/share/lib/latex2html/styles/makeidx.perl
> Loading /usr/local/share/lib/latex2html/styles/epsfig.perl
> Reading ...
> %%%%%%++
> @@@@@@@@@@@@
>
> Translating ...
> 0/0:top of fall02: for fall02.html
>
> *** translating preamble ***
> ............
> *** preamble done ***
> ;...;..
>
> Writing image file ...
>
> This is TeX, Version 3.14159 (C version 6.1)
> (images.tex
> LaTeX2e <1996/12/01> patch level 1
> Babel and hyphenation patterns for american, german, loaded.
>
>
> *** processing 1 images ***
>
> Generating postscript images using dvips ...
> This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
> ' TeX output 2002.08.16:0537' -> /tmp/l2h22497/image
> (-> /tmp/l2h22497/image001) [1]
> (-> /tmp/l2h22497/image002) [2]
> Converting image #1
> pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22497/p22510.pnm |
> /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
> -trans '#ffffff' > img1.gif" failed: Illegal seek
>
> Error while converting image
>
> Doing section links ....
> Done.
>
> 45 % latex2html
> -version Note: Loading /net/trout/export/home2/martin/.latex2html-init
> Note: Initialising with file:
> /net/trout/export/home2/martin/.latex2html-init
> This is LaTeX2HTML Version 2002 (1.67)
> by Nikos Drakos, Computer Based Learning Unit, University of Leeds.
>
>
> --
> =======================================================================
> William T. Martin email: martin@orie.cornell.edu
> Cornell University/ORIE Fax: (607) 255-9129
> 257 Rhodes Hall Phone: (607) 255-9134
> Ithaca, NY 14853
> Public Key: http://www.orie.cornell.edu/~martin/public_key.html
> =======================================================================
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
--
=======================================================================
William T. Martin email: martin@orie.cornell.edu
Cornell University/ORIE Fax: (607) 255-9129
257 Rhodes Hall Phone: (607) 255-9134
Ithaca, NY 14853
Public Key: http://www.orie.cornell.edu/~martin/public_key.html
=======================================================================
From ross@ics.mq.edu.au Fri Aug 16 12:36:12 2002
From: ross@ics.mq.edu.au (Ross Moore)
Date: Fri, 16 Aug 2002 21:36:12 +1000 (EST)
Subject: [l2h] Illegal seek in pstoimg
In-Reply-To: <20020816064422.B16776@manager.orie.cornell.edu> from "William T.
Martin" at "Aug 16, 2002 06:44:22 am"
Message-ID: <200208161136.g7GBaCo06998@hera.ics.mq.edu.au>
> I turned debugging on, I find than an error occurs in ppmtogif (ppmtogif:
> EOF / read error reading magic number) when the latex2html image is
> converted. I am using LaTeX2HTML Version 2002 (1.67). Any ideas?
Yes; your image is too large for the page-height, causing a blank
page to be ejected, which then gets cropped to nothing:
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> GS>GS>>>showpage, press to continue<<
> GS>Image "/tmp/l2h22589/p22602.pnm" is PPM, 778x2087
> Running "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
> /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
> -trans '#ffffff' > img1.gif"
> pnmcrop: cropping 2087 rows off the top
^^^^--------------- whoa, thats throwing a lot away!
> pnmcrop: cropping 777 cols off the left
^^^------------------- and here.
Now there is no bottom or right to trim.
> ppmquant: making histogram...
> ppmquant: 0 colors found
^^ --------------- there would be at least 2 colours
if there was anything left of the image.
> ppmquant: choosing 256 colors...
> ppmtogif: EOF / read error reading magic number
^^^------------------ see, we are already at the end-of-file.
> pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
> /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
> -trans '#ffffff' > img1.gif" failed: Illegal seek
> On Fri, Aug 16, 2002 at
> 06:15:22AM -0400,
> William T. Martin wrote: >
> > I am getting an "illegal seek" error message in pstoimg. According
> > to one post, there is a fix for this in the CVS latex2html distribution,
> > but I cannot find this. Has anyone experienced this problem and found a
> > solution to it?
either scale down the image in the LaTeX source,
or consult the manual about the $PAPERSIZE variable.
> >
> >
> > *** processing 1 images ***
^^^^^^^^^^^^^^^^^^^ ----- there should be a single page for 1 image
> > Generating postscript images using dvips ...
> > This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
> > ' TeX output 2002.08.16:0537' -> /tmp/l2h22497/image
> > (-> /tmp/l2h22497/image001) [1]
> > (-> /tmp/l2h22497/image002) [2]
... but 2 pages were produced.
The image is on the 2nd page.
> > Converting image #1
> > pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22497/p22510.pnm |
> > /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
> > -trans '#ffffff' > img1.gif" failed: Illegal seek
This was from the blank page 1.
> > Error while converting image
> >
Hope this helps,
Ross Moore
From richl@mail.tfsd.sk.ca Sat Aug 17 00:18:54 2002
From: richl@mail.tfsd.sk.ca (Les Richardson)
Date: Fri, 16 Aug 2002 17:18:54 -0600 (CST)
Subject: [l2h] External image links prob
Message-ID:
Hi,
Is there any way to generate links to external graphics without getting
the full path? (ie. so that we can make the generated html output folder
location independent?) I have this working for the nav images, but am not
sure of any switch that does the same thing for external images.
Merci,
Les Richardson
H.Hardcastle School
Edam, Sk. Canada
From ross@ics.mq.edu.au Sat Aug 17 00:46:36 2002
From: ross@ics.mq.edu.au (Ross Moore)
Date: Sat, 17 Aug 2002 09:46:36 +1000 (EST)
Subject: [l2h] External image links prob
In-Reply-To: from
Les Richardson at "Aug 16, 2002 05:18:54 pm"
Message-ID: <200208162346.g7GNka821281@hera.ics.mq.edu.au>
> Hi,
>
> Is there any way to generate links to external graphics without getting
> the full path? (ie. so that we can make the generated html output folder
> location independent?) I have this working for the nav images, but am not
> sure of any switch that does the same thing for external images.
Do you mean graphics using \htmladdimg
which show in the HTML but not in a paper version ?
In this case, if the directory is nearby, you just give the relative
path; e.g.
\htmladdimg[....any options....]{../images/clouds.jpg}
Note that you need to give the path from where the HTML pages
will be accessed --- not from where the LaTeX source resides.
For images using \includegraphics there is the \graphicspath
command, that is used to list paths to search for images.
This applies to both LaTeX and LaTeX2HTML.
LaTeX2HTML tries to use a relative path whenever it can.
Besides, the web-server uses a different file-system to the
local operating system, so full paths can be meaningless.
> Merci,
Hope this helps,
Ross Moore
>
> Les Richardson
> H.Hardcastle School
> Edam, Sk. Canada
>
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
From richl@mail.tfsd.sk.ca Sat Aug 17 03:29:57 2002
From: richl@mail.tfsd.sk.ca (Les Richardson)
Date: Fri, 16 Aug 2002 20:29:57 -0600 (CST)
Subject: [l2h] External image links prob
In-Reply-To: <200208162346.g7GNka821281@hera.ics.mq.edu.au>
Message-ID:
Hi Ross,
thanks,
> Do you mean graphics using \htmladdimg
> which show in the HTML but not in a paper version ?
> In this case, if the directory is nearby, you just give the relative
> path; e.g.
> \htmladdimg[....any options....]{../images/clouds.jpg}
>
> Note that you need to give the path from where the HTML pages
> will be accessed --- not from where the LaTeX source resides.
I am using external .png images in generating a provincial curriculum for
both a website and PDF printing. The problem is with the HTML
generation...
the LaTeX looks like:
\includegraphics{cycle.png}
but generated output looks like:
<img src="/root/curriculum/cycle.png">
(I'm using entities since I don't know how this will render in your email
client)
Just a while ago I found that by changing the setting in "graphicx.perl"
to $COPY_GRAPHICS = 1 the graphic files are copied and the generated HTML
now has the correct local directory path (i.e. src="cycle.png")
However, is this the "right way" to do it, since this just seems to be a
"side effect" of the copying process, but is exactly what I want.
Thanks,
Les Richardson
PS. Is there any work being done by anyone to generate MathML from LaTeX?
I'm not even sure if there is a good "correspondence" between TeX and
MathML. Just a thought.
> For images using \includegraphics there is the \graphicspath
> command, that is used to list paths to search for images.
> This applies to both LaTeX and LaTeX2HTML.
>
> LaTeX2HTML tries to use a relative path whenever it can.
> Besides, the web-server uses a different file-system to the
> local operating system, so full paths can be meaningless.
>
>
> > Merci,
>
> Hope this helps,
>
> Ross Moore
>
> >
> > Les Richardson
> > H.Hardcastle School
> > Edam, Sk. Canada
> >
> > _______________________________________________
> > latex2html mailing list
> > latex2html@tug.org
> > http://tug.org/mailman/listinfo/latex2html
>
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html
>
From luiz.eleno@poli.usp.br Fri Aug 16 18:08:24 2002
From: luiz.eleno@poli.usp.br (Luiz Tadeu Fernandes Eleno)
Date: Fri, 16 Aug 2002 14:08:24 -0300
Subject: [l2h] Illegal seek in pstoimg
References: <200208161136.g7GBaCo06998@hera.ics.mq.edu.au>
Message-ID: <3D5D3188.3040501@poli.usp.br>
I have had similar problems, but the message "illegal seek" appeared
even when converting equations to .png figure format.
Why that?
ross@ics.mq.edu.au wrote:
>>I turned debugging on, I find than an error occurs in ppmtogif (ppmtogif:
>>EOF / read error reading magic number) when the latex2html image is
>>converted. I am using LaTeX2HTML Version 2002 (1.67). Any ideas?
>>
>
>Yes; your image is too large for the page-height, causing a blank
>page to be ejected, which then gets cropped to nothing:
>
>
>>This software comes with NO WARRANTY: see the file PUBLIC for details.
>>GS>GS>>>showpage, press to continue<<
>>GS>Image "/tmp/l2h22589/p22602.pnm" is PPM, 778x2087
>>Running "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
>>/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
>>-trans '#ffffff' > img1.gif"
>>pnmcrop: cropping 2087 rows off the top
>>
> ^^^^--------------- whoa, thats throwing a lot away!
>
>>pnmcrop: cropping 777 cols off the left
>>
> ^^^------------------- and here.
> Now there is no bottom or right to trim.
>
>>ppmquant: making histogram...
>>ppmquant: 0 colors found
>>
> ^^ --------------- there would be at least 2 colours
> if there was anything left of the image.
>
>>ppmquant: choosing 256 colors...
>>ppmtogif: EOF / read error reading magic number
>>
> ^^^------------------ see, we are already at the end-of-file.
>
>>pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22589/p22602.pnm |
>>/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
>>-trans '#ffffff' > img1.gif" failed: Illegal seek
>>
>
>
>
>> On Fri, Aug 16, 2002 at
>>06:15:22AM -0400,
>>William T. Martin wrote: >
>>
>>>I am getting an "illegal seek" error message in pstoimg. According
>>>to one post, there is a fix for this in the CVS latex2html distribution,
>>>but I cannot find this. Has anyone experienced this problem and found a
>>>solution to it?
>>>
>
> either scale down the image in the LaTeX source,
> or consult the manual about the $PAPERSIZE variable.
>
>
>>>
>>> *** processing 1 images ***
>>>
> ^^^^^^^^^^^^^^^^^^^ ----- there should be a single page for 1 image
>
>
>>>Generating postscript images using dvips ...
>>>This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
>>>' TeX output 2002.08.16:0537' -> /tmp/l2h22497/image
>>>(-> /tmp/l2h22497/image001) [1]
>>>(-> /tmp/l2h22497/image002) [2]
>>>
>
> ... but 2 pages were produced.
> The image is on the 2nd page.
>
>
>>>Converting image #1
>>>pstoimg: Error: "/usr/local/bin/pnmcrop < /tmp/l2h22497/p22510.pnm |
>>>/usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/ppmtogif -interlace
>>>-trans '#ffffff' > img1.gif" failed: Illegal seek
>>>
>
> This was from the blank page 1.
>
>
>>>Error while converting image
>>>
>
>Hope this helps,
>
> Ross Moore
>
>_______________________________________________
>latex2html mailing list
>latex2html@tug.org
>http://tug.org/mailman/listinfo/latex2html
>
From William.Waite@Colorado.EDU Mon Aug 19 20:52:33 2002
From: William.Waite@Colorado.EDU (William Waite)
Date: Mon, 19 Aug 2002 13:52:33 -0600
Subject: [l2h] Unavailable packages
Message-ID: <20020819135233.C10913@scotty.cs.colorado.edu>
I get the following message at the end of a log:
Copying navigation icons ...
*** Adding document-specific styles ***
*********** WARNINGS ***********
No implementation found for style `algorithmic'
No implementation found for style `a4wide'
Unknown commands: bullet ;
Done.
I'm not particularly concerned about a4wide at the moment, but algorithmic
is needed for a couple of figures.
The bullet command appears to be coming out of some macro -- I haven't been
able to find out whether its absence has caused any problems.
From jo_latex2html@schlosser.info Tue Aug 20 10:31:51 2002
From: jo_latex2html@schlosser.info (Joachim Schlosser)
Date: 20 Aug 2002 09:31:51 -0000
Subject: [l2h] Version Numbers and Changelog
Message-ID: <20020820093151.5747.qmail@roadrunner.argonsoft.de>
Hi Ross,
I noticed that this weekend another new l2h release archive was put onto
the ftp. Wouldn't it be better to increase the version number and update
the changelog (which has its last entry for 0.98, BTW)?
A versioning would give more transparency about what has changed when,
and which release includes what bugfixes.
As l2h is the de-facto standard tool for LaTeX to HTML conversion, it
would be nothing strange if it would be traceable in terms of
development.
And I really would like to thank you for some bugfixes, but don't want
to run a diff each time :-)
best regards
Joachim Schlosser
From ross@ics.mq.edu.au Tue Aug 20 12:48:27 2002
From: ross@ics.mq.edu.au (Ross Moore)
Date: Tue, 20 Aug 2002 21:48:27 +1000 (EST)
Subject: [l2h] Announce: version 2002-2
Message-ID: <200208201148.g7KBmRv07687@hera.ics.mq.edu.au>
Following the implementation of several new features,
and some bug-fixes, the current version of LaTeX2HTML
has now been increased to version 2002-2.
The latest entry in the history log for latex2html.pin reads as follows:
revision 1.69
date: 2002/08/17 05:56:57; author: RRM; state: Exp; lines: +219 -64
-- fixed a problem with \etalchar in .bbl files
-- implemented multiple-authors and tabular layout on the title-page
-- beware of \r\n combinations after % comments
-- greater care about the styles used with theorem-like environments
-- use $REFRESH_STYLES variable to force remaking .css file on each run
-- fixed problem with hyperlink targets, with TOCs and mini-tocs in frames
-- don't use &replace_strange_accents automatically, unless latin1
-- work around the repository problem with graphicx.perl
read a file graphixx.perl instead, if it exists
-- read latin1.pl earlier, but don't set the $CHARSET
this makes it easier to generate pages with non-latin1 encodings
-- other minor cleanups in some coding
Other new files include:
hebrew.pl for support of the iso-8859-8i charset
graphixx.perl to provide a way to overcome the repository problem
of serving graphics.perl instead of graphicx.perl
Enjoy using LaTeX2HTML,
Ross Moore
From ljk@cs.mu.OZ.AU Wed Aug 21 07:04:24 2002
From: ljk@cs.mu.OZ.AU (Les Kitchen)
Date: Wed, 21 Aug 2002 16:04:24 +1000
Subject: [l2h] Problem with \HTMLcode and APPLET attributes
Message-ID: <200208210604.g7L64PA433881@mundook.cs.mu.OZ.AU>
Hi LaTeX2HTMLarians,
I'm doing some lecture notes about Java applets, and obviously
want to conditionalize between the online HTML version, which
has a live applet and a link to the source code, and the printed
LaTeX version, which has just a screen-grab of the applet with
the source code included verbatim. (Both versions show the
literal mark-up needed.)
I could do that fine with the right combination of latexonly,
htmlonly and rawhtml environments, but that requires needlessly
repeating the applet's basename and the width and height. So I
decided to abstract that into a macro, parametrized by the
applet's basename, width and height. That required using
\HTMLcode to parameterize the generated raw HTML. Here I get
problems. This simple LaTeX file:
================================================================
\documentclass{article}
\usepackage{html}
\begin{document}
\HTMLcode[CODE=foo,WIDTH=256,HEIGHT=64]{APPLET}{}
\end{document}
================================================================
sends LaTeX2HTML into an infinite loop (recursion?) endlessly
printing:
*** attributes CODE,HEIGHT,WIDTH are required for