Ross, J"org, and all:
Well I finally found a way around the gray background problem. Based on
a suggestion of Ross'
@ OK. I think this is what is happening.
@ $WHITE_BACKGROUND = 1 prevents a white background from being made transparent.
@
@ However with $LATEX_COLOR = "\\pagecolor[gray]{.75}"; or similar,
@ there is no white background to be preserved.
@
@ In your images the white portions are meant to be white only by default,
@ not by intent. This doesn't work because the page-color is being set to
@ grey rather than being left as white.
@
@ So if portions of your images are meant to be white, then logically
@ you should make them so; e.g. by defining a white rectangle over which
@ all the other pieces are placed.
@
@ (Such a base rectangle might be useful anyway, to avoid the edges of
@ the image being too close to some of the contents.)
I used xfig to place a white background under the figures (i.e., a filled
rectangle with both pen and fill colors set to white and at a depth greater
than the rest of the figure). Now any interior regions which are white are
in fact made transparent (which is what is actually intended).
Thanks for the help!
Regards,
Bob Daley
@
@ A. include white base-rectangles, as just suggested;
@ or
@ B. process your document for images in two steps:
@ first with a grey background
@ identify delete those images that are lacking white portions
@ change the $LATEX_COLOR to give white
@ reprocess your document; now only the missing images are recreated
@ or
@ C. edit the bad GIFs using a paint-box tool, to set the desired white.
@
@ Best would be to have LaTeX2HTML recognise which images will be better
@ with one value of $LATEX_COLOR, and those which are better with another.
@ These could be processed with separate runs of LaTeX;
@ e.g. an images1.tex and images2.tex (and perhaps others as well).
@
@ When I looked as this type of problem once before it did not seem possible
@ to use \pagecolor outside the document preamble.
@ I'll research this aspect again, for this would allow different background
@ colors for different images in the same LaTeX run
@ --- clearly the best solution.
@
@
@ Hope this helps,
@
@ Ross Moore
@
@