Hi Harvey,
On 18/07/2004, at 9:26 PM, Harvey Greenberg wrote:
IT WORKED!!!! See below for responses. (Should configure be
changed?) I don't know why it worked before...oh well, linux
works in mysterious ways.
There have been several changes to pnmcrop over the years.
This is maintained quite independently from LaTeX2HTML.
The use of -black was a hack to avoid a problem with
one version of pnmcrop . It shouldn't have been necessary,
and may no longer be needed at all.
Indeed, it's only effective when the \textcolor is black
--- usually true, but need not be always; so is somewhat
of a limitation anyway.
What surprises me is that -black is shown as an optional
argument for pnmcrop , yet your executable didn't seem
to recognise it. That's clearly a mistake in either the
software or the documentation. I don't know how widespread
is this problem --- your report is the first that I've heard
about it. So I wouldn't be prepared to make any changes
to configure yet, without a more detailed look at just
which versions and subversions are affected.
I also have MikTeX on windows xp. I didn't know l2h works there.
Certainly it works from a DOS prompt.
I don't use Windows myself, so don't know how well it works
under XP. It should be OK, as I've not heard reports of
major difficulties. If you search the Web, I'm sure you will
find instructions on how to install it to work with MikTeX.
Is it part of MikTeX or a separate installation?
The distribution site is at www.latex2html.org .
But there's be no major revision for ~3 years.
Hope this helps,
Ross
Date: Sun, 18 Jul 2004 10:18:22 +1000
From: Ross Moore <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: l2h problem
Hi Harvey,
On 17/07/2004, at 9:59 PM, Harvey Greenberg wrote:
2nd one failed with message: -black - No such file or directory
this seems strange. the pnmcrop params include [-white|-black]
which doesn't seem like a directory. Does this mean anything to you?
the meaning of [-white|-black] is to say that there are
optional switches -white and -black .
You can use 0 or 1 of these.
At least, that's the way it works normally.
Your system seems to be treating the -black
as a filename, not as a command-line option.
What is your computer type, and Operating System ?
Unix, Linux, Mac OS or Windows ?
Linux redhat 7
(Is there a windows xp version?)
To experiment, to help diagnose the faulty command,
1. find your pstoimg application.
It's a text file, so should be readable and editable
(given the correct access privileges).
Found it in /usr/local/bin It's ve 1.16 2001/10/25
2. find the lines similar to below:
(your paths will be different)
# Netpbm
my $PNMCROP = '/sw/bin/pnmcrop -verbose ';
my $PNMCROPOPT = '';
$PNMCROPOPT = ' -sides ';
my $PPMQUANT = '/sw/bin/ppmquant';
my $PNMFLIP = '/sw/bin/pnmflip';
my $PNMCAT = '/sw/bin/pnmcat';
my $PNMFILE = '/sw/bin/pnmfile';
my $PBMMAKE = '/sw/bin/pbmmake';
got it - my path is /usr/bin
3. what values do you have for these variables ?
$PNMCROP
$PNMCROPOPT
I have
my $PNMCROP - '/usr/bin/pnmcrop';
$PNMCROPOPT = $PNMBLACK
(The word 'my' appears in 1st, not 2nd.)
Above the 2nd, appears
my $PNMBLACK = ' -black ';
Is this where the -black occurs ?
4. If so, try removing it.
Run your LaTeX2HTML job again.
Do it twice, just in case.
I logically deleted the line
$PNMCROPOPT = $PNMBLACK;
WORKED!!!!!
Hope this helps,
Ross
--
Thanks,
Harvey J. Greenberg
----------------------------------------------------------------------
--
Ross Moore
[EMAIL PROTECTED]
------------------------------------------------------------------------
Ross Moore [EMAIL PROTECTED]
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia fax: +61 +2 9850 8114
------------------------------------------------------------------------
_______________________________________________
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html