Producing PDF Files using teTeX 3.0 on Solaris
This document describes how to produce PDF documents in tetex and how to solve a specific problem with tetex 3.0 running on Solaris 8.
tetex is a UNIX distribution of the TeX typesetting system.
tetex is open-source software, www.tug.org/tetex.
Assume for this example you have created a program, makesometex, which produces tex output.
The simplest way to produce a pdf file would be to pipe tex commands into the tetex program pdftex:
./makesometex | pdftex
Unfortunately the PDF file produced causes an error when opened in Acrobat Reader,
e.g. “Cannot extract the embedded font ‘MWLMBK+FSAlbert-Light’. Some characters may not display or print correctly”.
The font affected will be the last one used in the document, and any line using this font will appear
as a row of dots, instead of the intended text.
The document will however open correctly using other pdf readers.
This is a known bug with the version of pdftex included in tetex 3.0, when compiled on Solaris 8,
see pdftex mailing list
and pdftex development mailing list.
An alternative method, which produces pdf files readable by Acrobat Reader,
is to use the tetex programs tex (to convert the tex output to a tex dvi file) and
dvipdfm (to convert the dvi file to a pdf file):
./makesometex | tex dvipdfm makeseometex.dvi

