# [OS X TeX] Creating a Sensible PDF Document

Peter Dyballa Peter_Dyballa at Web.DE
Tue Feb 6 18:24:10 EST 2007

```Am 06.02.2007 um 22:04 schrieb Jeffrey J Weimer:

> 1. To Create the Most Sensible PDF Document
> \usepackage[T1]{fontenc}

I'd use before this:

\usepackage{ifpdf}
\ifpdf
\usepackage{cmap}
\fi

and afterwards:

\usepackage{textcomp}

When using

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

this might produce problems when printing the source on a PostScript
printer: it might think a PostScript file is coming. Make the % be %%!

--
Greetings

Pete

"Email is a wonderful thing for people whose role in life is to be on
top of things. But not for me; my role is to be on the bottom of
things. What I do takes long hours of studying and uninterruptible
concentration."
-Donald Knuth