Hi all,

I need your help. It turns out to be a known problem that you can't use 
hyperref with Memoir. However, there's supposedly a fix, known as 
memhfixc.sty. Supposedly, if you \usepackage{memhfixc} AFTER you 
\usepackage{hyperref}, they can coexist. See this:

http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdf&hl=en&ct=clnk&cd=3&gl=us

However, when I make a trivial latex file based on the preceding document, it 
fails. Here's the file:

\documentclass{memoir}
\usepackage{hyperref}
\usepackage{memhfixc}
\usepackage{mempatch}
\begin{document}
hello world.
\end{document}

And here's the error message it produces:

(/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty)
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/latex/url/url.sty)
(/usr/share/texmf/tex/latex/oberdiek/bitset.sty
(/usr/share/texmf/tex/latex/oberdiek/intcalc.sty)
(/usr/share/texmf/tex/latex/oberdiek/bigintcalc.sty
(/usr/share/texmf/tex/latex/oberdiek/pdftexcmds.sty)))
(/usr/share/texmf/tex/latex/oberdiek/kvsetkeys.sty)
(/usr/share/texmf/tex/latex/oberdiek/atbegshi.sty
(/usr/share/texmf/tex/latex/oberdiek/ifpdf.sty

! Package ifpdf Error: Name clash, \ifpdf is already defined.

See the ifpdf package documentation for explanation.



If I comment out the hyperref, it compiles perfectly.

Can someone please help me:

1) Please try to reproduce my results with the file I've quoted in here
2) Please make suggestions of how I can have colored, clickable table of 
contents in my Ebook.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US

Reply via email to