lin-club  

Re: [Haifux] LaTeX: How to include bitmap files?

Tzafrir Cohen
Mon, 14 Jan 2002 03:00:38 -0800

On Mon, 14 Jan 2002, Dan Kenigsberg wrote:

> >
> > On Sun, 13 Jan 2002, Dan Kenigsberg wrote:
> >
> > > >
> > > > How can I include bitmap files (like .png) inside a LaTeX document without
> > > > converting them to eps beforehand? \includgraphics seems to accept only
> > > > eps's.
> > > >
> > >
> > > Maybe you'd find Chap 13 of "Using Imported Graphics in Latex2e" interesting
> > > (/usr/share/texmf/doc/latex/graphics/epslatex.ps on my tree).
> > > You are taught there how to convert the bitmap automatically, and "Just in
> > > Time".
> >
> > Does this actually work?
> >
> > Can a postscript printer evaluate those commands? Can a standard windows
> > ghostview user do the same?
> >
> > I also believe that many of us have gs using -dSAFER by default to prevent
> > this from working (e.g: allowing a postscript file to dictate us to exeute
> > an arbitrary command)
> >
>
> Sorry to have raised your expectations. The convertion is done by dvips already
> (maybe you can delay it even further, but I wouldn't know)

So it creates a potentially-dangerous DVI file, rather than a
potentially-dangerous postscript file.

It is interesting to see if either of xdvi and dvips will display them in
the default configuration.

-- 
Tzafrir Cohen                        /"\
mailto:[EMAIL PROTECTED]        \ /  ASCII Ribbon Campaign
Taub 229, 972-4-829-3942,             X   Against  HTML  Mail
http://www.technion.ac.il/~tzafrir   / \


--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]