> while india is sleeping, the world has moved away from tiff to pdf for
> embedded images as well. i find this quite exciting. but again, you need
> to understand how to create these special types of pdfs...

We have not understood any of the deep stuff, but we've begun to use
PDF images in the documents we create. We write our text in LaTeX, and
process it using pdflatex. For images, we either have vector or raster,
both of which we convert to EPS (almost everyone can save an image or
graphic to EPS).  Most of the time, it is diagrams we create using XFig,
which we just save to .fig and use a Makefile rule using transfig to
convert .fig to .eps.

We then use a Perlscript called epstopdf to convert these EPS files to
PDF, and include them within our LaTeX document. Our LaTeX source
contains the following lines:

        \ifx\pdftexversion\undefined
            \usepackage{graphicx}
        \else
            \usepackage[pdftex]{graphicx}
        \fi

And then we include our PDF images into the LaTeX document using the
\includegraphics[...]{...} directive. Works beautifully. Vector images
remain as vector within the PDF document, conserving disk space,
bandwidth and rendering time.

We used to use a different chain altogether before. We used to use
"latex", not "pdflatex" to compile our source, and used the
dvips-specific "\epsffile" directive to include EPS images into the
document. Then, the final DVI file would be put through "dvips" to make
PS, followed by a run through "ps2pdf" to make PDF.

We found that those PDF files have bitmaps for text as well as graphics.
This means that somewhere down the chain, either in dvips, or in ps2pdf
(which is just a wrapper on GS), the scalable vector fonts and drawings
were being converted to bitmaps. Rendering on the screen would take ages,
and printing on a fast laser printer through GS would take ages too.
(This was true even if the printer understood Postscript in firmware.)

Having switched to pdflatex and this new chain of tools, we have licked
this problem.

Shuvam


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to