# [pdftex] migrating to pdfTeX, possible problems

Ulrich Dirr ud at art-satz.de
Thu Mar 8 14:17:56 CET 2001

Hi.

I would like to use pdfTeX for a special project (chess book) I'm
currently working on. I'm wondering if it's possible to get everything
with pdf(La)TeX what I've got so far the traditional way via LaTeX2e.

e.g.

(i)
\def\WB{{\DiagramFont
\ifblackfield\special{color push cmyk 0 0 0 0.3}%
z\special{color pop}P\else P\fi}}

this kind of definition is used several times in the style file to
achieve coloring (\textcolor didn't work here). This way I can see the
color with a DVI viewer. And the color is getting into the postscript
file, too -- which is later necessary for color separation.

How can I achieve this with pdfTeX? (pdftricks? low level pdf
operators?)

(ii)
several packages are loaded. Do you know any not working with pdfTeX
(or needs special configuration)?

\usepackage{type1cm}
\usepackage{pstcol,pst-plot} % pstcol loads pstricks and color

see below (iv) on pstricks; color package useable?

\usepackage[dvipsone]{graphicx}
\graphicspath{{bilder/}}
\usepackage{calc}
\usepackage{ifthen}
\usepackage{fancyhdr}
\usepackage[LY1]{fontenc}
\usepackage{JensonMM}
\usepackage{multicol}
\usepackage[cam,a4center,axes]{crop}
\usepackage{array}
\usepackage{colortbl}
\usepackage{lettrine}
\usepackage{endnotes}

(iii)
is there anything to care of concerning LaTeX page layout commands?
(e.g. offsets)

(iv)
I know PSTricks is not working (in PDF mode). But how can I get, e.g.
the baseline grid (for proofs):

[...]
{\psset{xunit=1mm,yunit=1dd}
\multido{\r=519.7+-13,\i=1+1}{41}{%
\rput[Br](86.576,\r){%
\color{graythirty}\line(1,0){165}\color{black}}}
\multido{\n=494+-13,\i=1+1}{37}{%
\rput[Br](90.576,\n){\tiny\i}}}

(v)
where can I find up-to-date documentation? I think Mr Rahtz' book is
one year old ... (second edition planned?)

Of course it would be very nice if everything would work in both
output modes. It is intended to produce a PDF version afterwards with
hypertext links and all that stuff for a CD version, so ...

Thank you very much in advance for any help. And thank you for all

Regards,
Ulrich Dirr

--
Art & Satz
Ulrich Dirr
Arnimstraße 9
81369 München
Germany/Deutschland
--
fon (+49 89) 743 30 60
fax (+49 89) 743 30 61
email ud at art-satz.de
--
-=*:-)