[OS X TeX] Different LaTeX interaction modes

Bruno Voisin bvoisin at mac.com
Tue Oct 9 18:52:23 EDT 2007

Le 9 oct. 07 à 23:31, Paul Mantz a écrit :

> I'm sorry, I should have been more clear.  I am rendering .png files
> for web display using LaTeX, and I am rendering them in the following
> order:
> .tex to .dvi (latex)
> .dvi to .png (dvipng)

That makes sense. Due to lack of familiarity with English computer  
jargon, I had interpreted web-graphic rendering as "rendering on  
screen PNG graphics found on web pages", and I couldn't figure out  
where LaTeX came in within the picture.

> [...]
> I mentioned ricoh only because I thought my problem might be
> associated to the modes, but that makes no sense in retrospect.
> However, I am wondering why kpathsea is not loading my fonts for
> dvipng, but is for latex.  Does anyone have any insight into that?
> There's no mention of dvipng in texmf.cnf, so what is its include path
> most resemble?

The man page for dvipng contains:

            Enable/disable FreeType font rendering (default on). This  
option is
            available if the FreeType2 font library was present at  
            time.  If this is the case, dvipng will have direct  
support for
            PostScript Type1 and TrueType fonts internally, rather  
than using
            gsftopk for rendering the fonts. If you have PostScript  
versions of
            Computer Modern installed, there will be no need to generate
            bitmapped variants on disk of these. Then, you can render  
images at
            different (and unusual) resolutions without cluttering  
the disk
            with lots of bitmapped fonts.  Note that if you have both  
            and T1lib on your system, FreeType will be preferred by  
dvipng. If
            you for some reason would want to use T1lib rendering,  
use this

This seems to mean that, for dvipng to use PostScript fonts directly,  
it needs to be compiled with FreeType support. I suppose the dvipng  
within TeXLive was compiled this way, but it might be worth checking  
(I have no idea how).

Hope this helps though,

Bruno Voisin
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list