Hi Bob,
On 25/04/2005, at 9:24 AM, Bob van der Poel wrote:
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)
This means that there is a mismatch between the TeX engine that created latex.fmt and the TeX engine that you are running for the current job...
images.fmt failed, trying without it This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
... which is now pdfeTeX.
So ldump.sty probably needs to be modified to be loading latex.efmt instead of latex.fmt , and then build on top of that for its specialised format --- which may also need to be named with .efmt as the filename suffix.
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 :)
That's the easy part. It means: "you asking asking me to use stuff that probably will not work anyway, due to some kind of mismatch, so I'm not even going to try".
The medium part is to find out what the corresponding resources are now called, and where to find them in the TeX hierarchy.
The harder part is to adjust the various packages (ldump.sty) and scripts (part of LaTeX2HTML) so as to recover the ability to have it all work correctly, in a fully automated way.
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.
There is some history behind that, which I won't try to explain here.
You could try adding the following to your LaTeX preamble:
\usepackage{color}
\pagecolor{white}
I've looked at the docs, etc. but don't see anything to control that. It
should just happen, shouldn't it?
Transparency should work with .gif images, but may not with .png format.
This could be dependent upon which browser you use to view the HTML pages.
Hope this helps,
Ross Moore
-- Bob van der Poel ** Wynndel, British Columbia, CANADA ** EMAIL: [EMAIL PROTECTED] WWW: http://mypage.uniserve.com/~bvdp
_______________________________________________ latex2html mailing list [email protected] http://tug.org/mailman/listinfo/latex2html
------------------------------------------------------------------------ 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
