[l2h] image generation problem

Bob van der Poel bvdp at uniserve.com
Mon Apr 25 01:24:09 CEST 2005



Ross Moore wrote:
> Hi Bob,
> 
> On 24/04/2005, at 1:51 PM, Bob van der Poel wrote:
> 
>>
>>
>> Progress!!
>>
>> I have taken out the -ldump option from the command line in my makefile.
>> Images are now produced.
> 
> 
> Aaah; that's interesting.
> 
>>
>> I'm not sure why this worked just fine with previous versions of latex.
> 
> 
> Probably the commands that  ldump.sty  uses to create the specialised
> format file need to be changed for the later version of teTeX,
> or maybe it's a question of where the  .fmt  file is placed.

Well, we are getting closer. First of all I can confirm that all works
(mostly) fine if the -ldump option is NOT used. So, that should
eliminate the guessing about directory permissions, etc. The images are
created and placed in the correct places. However, when I use -ldump I
get the following printed to the screen:

<START>

Writing image file ...

This is TeX, Version 3.141592 (Web2C 7.5.4)
---! /usr/share/texmf-var/web2c/latex.fmt was written by pdfetex
(Fatal format file error; I'm stymied)
images.fmt failed, trying without it
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./images.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar,
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
swedish, tur
kish, ukrainian, nohyphenation, loaded.



  *** LaTeX produced no output ***
  *** no new images can be created
  *** Examine the  images.log  file.

<END>

Also, there is no file "images.fmt" created.

Here is the actual command line extracted from the Makefile:

latex2html -split +1  -dir html -no_math -no_footnode  -local_icons \
                 -ldump -up_url ../mma.html -up_title "Main MMA
Reference" \
                  $(TARG).tex

Under the previous system the .fmt file was created in the html
directory. The permissions for that dir are:

	drwxrwxr-x  2 bob bob  8192 Apr 24 16:12 html/

So, that should be okay.

Maybe some tex-pert can figure out the "I'm stymied" message above :)



> Are you re-using an old document, and trying to use a previously
> \dump'd format ?  That will certainly fail with a different
> TeX engine running LaTeX.

Yes, this is an existing document. But, I have cleaned out all the
existing log files, etc. No differences.

> 
> Or maybe the variable in  texmf.cnf  isn't allowing the working
> directory to be searched for formats.
> 

I just checked the texmf stuff and the various html files show in the
ls-R file in my main texmf tree. So, that seems to be fine.


Now, a second problem. Which may be related ... so I'm not starting a
new thread. No matter what I do, none of my images are created as
transparent. These are all images created from postscript files. They
are black and white music notation snippets. The conversions insist on
created a grey background with black notes/lines.

I've looked at the docs, etc. but don't see anything to control that. It
should just happen, shouldn't it?


-- 
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bvdp at uniserve.com
WWW:   http://mypage.uniserve.com/~bvdp






More information about the latex2html mailing list