Hi all.
I am playing around with the animate package.
Can one use the animate* and the hyperref packages in the same document? (A quick search through both manuals gave nothing; that said, it could very well be noted in there somewhere.)
If so, how?
Thank you in advance!
*) The newest version of the manual is not on texdoc.net as far as I can see.
Text Formatting ⇒ animate, hyperref | Combination and possible Problems
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
animate, hyperref | Combination and possible Problems
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
animate, hyperref | Combination and possible Problems
What should happen? More than errors cannot occur. But if you obey the rule to load animate before hyperref (as almost all other packages), there should be no problems.
The newest version can always be found on CTAN.svend_tveskaeg wrote:[…] The newest version of the manual is not on texdoc.net as far as I can see.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
animate, hyperref | Combination and possible Problems
If I use
instead of
(as Herbert told me
) there is no problem at all.
P.S. I always load hyperref as the last package.
Code: Select all
latex <filename>.tex
dvips <filename>.dvi
ps2pdf <filename>.ps
Code: Select all
pdflatex <filename>.tex

P.S. I always load hyperref as the last package.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
animate, hyperref | Combination and possible Problems
Define no driver for hyperref, load it only with options for colors, links and so on.svend_tveskaeg wrote:P.S. I always load hyperref as the last package.
\usepackage[pdftex,...]{hyperref}
is wrong if you use the dvi path. \usepackage[...]{hyperref}
is always the good choice
Last edited by cgnieder on Mon Oct 22, 2012 9:42 pm, edited 1 time in total.
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
animate, hyperref | Combination and possible Problems
I always use the following combination:
and then outcomment
Code: Select all
\usepackage{hyperref}
\newif\ifprint
%\printfalse
\printtrue
\makeatletter
\@ifpackageloaded{hyperref}{
\ifprint
\hypersetup{
breaklinks,
colorlinks=false,
pdfborder={0 0 0}
}
\else
\hypersetup{
breaklinks,
bookmarksopen=true,
breaklinks=true,
colorlinks=true,
citecolor=blue,
linkcolor=red,
urlcolor=teal
}
\fi
}{}
\makeatother
\printfalse
or \printtrue
depending on whether the document is for print or screen view.``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
-- Zapp Brannigan, Futurama (season 1, episode 4)