How to use the seminar class with pdflatex

How to avoid pstricks with seminar-class
----------------------------------------

The pstricks package triggered by \usepackage{semcolor} and
\usepackage[dvips]{pstcol} uses ghostscript and cannot be
used with pdflatex.

Use of pdflatex has the following benifits:

- picture can be included  pdf jpg png - formats (no eps)
- output is directly in pdf (no dvips)
- these features save lots of disc space 
  and improves the quality of pictures
  N.B.: PostScript was made for vector graphics not for 
        bitmaps.

  
The following steps are needed to get the functionality of
semcolor etc. again:

- convert pictures to png adding a lightgrey background:

 convert a5.eps  -pen gray90 -opaque white a5_fc.png

The script: eps2png.sh does this for all eps files in a 
            directory

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Replace complete latex preample (
Between \documentclass  and  \begin{document})
by 
\input garsem.tex


garsem.tex works with both: 
normal latex: in this case the pstricks.sty and .eps
              files are used
and pdflatex: psshadowboxes are simulated by a 
              combination of colorbox + fancybox
              pictures should be .jpg .pdf or .png 
This provides colored boxes with shading:
headbox, figbox, tabbox, gdbox, dsbox 

dont use psshadowbox etc. directly !!

Selection of colors can be done in 2 ways:
change to users default: 
\renewcommand{\headboxcolor}{blue}   % default yellow
etc.
for each box individually by an optional argument:
\eqbox[red]{\frac{3}{2}}             % default yellow
      ^   ^
N.b. brackets not braces

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Replace:
\epsfig{file=figs/a7.eps,width=36mm}
by:
\includegraphics[width=36mm]{figs/a7}

Replace: 
\psshadowbox[fillstyle=solid,fillcolor=yellow]{
by:
the above mentioned boxes: \eqbox etc.

Bits and pieces:
---------------

Figures included with "\includegraphics" come out bigger compared
to the \epsfig.. (~20 %)
-> reduce width
\coloredshadowbox are bigger
-> increase \hspace