[texhax] Cannot use \makeindex and pst-pdf
Bart Wise
tug at wiseguysweb.com
Fri Sep 21 03:27:08 CEST 2007
I have been trying to get pst-pdf to work with makeindex with no success. I
am using ps4pdf to compile and I get the following error:
! LaTeX Error: Missing \begin{document}.
This occurs with the first LaTeX run. If I remove either the pst-pdf package
or all of the indexing commands, it works; however, together I cannot get it
to compile.
How do I get pst-pdf and indexing to work?
Code snippet:
\documentclass[10pt,twoside]{book}
\usepackage{pst-pdf}
\usepackage{pst-blur}
\usepackage{float}
\usepackage{index}
\makeindex
\begin{document}
Here's an image:
\begin{figure}[H]
\begin{postscript}[frame=false,showname=false] % must have
\psblurbox[framearc=0.25,framesep=10pt]{%
\includegraphics[bb=0 0 73 51]{images/image-1.eps}
}
\end{postscript}
\end{figure}
Here's some text.
Here's \index{some}some \index{more}more \index{text}text.
\printindex
\end{document}
More information about the texhax
mailing list