# Hyperref mysteriously enabled or who loaded hyperref

I can't figure out where do I load the hyperref package. I know it sounds odd, but I scanned all my preamble and couldn't find a single \usepackage{hyperref}. I feel really stupid, but I don't know where to look for it. Is it possible that some other package I load loaded hyperref on it own? Any ideas are welcomed. I'm really puzzled.

-
Yes another package can load hyperref. Look in the log-file. It records the loaded packages. –  Ulrike Fischer Apr 8 '11 at 8:21
without a minimal no-one will be able to assist you. Many other packages look for it and if it is not loaded they will input it automatically. –  Yiannis Lazarides Apr 8 '11 at 8:22
Beamer loads hyperref. –  Seamus Apr 8 '11 at 8:22
@Yiannis: I value the importance of ME, but in this case I don't it is really hard to generate one, as it is involved. I'll try to add something. –  Dror Apr 8 '11 at 8:25
the point is that the process of creating the MWE will almost certainly solve your problem. –  Seamus Apr 8 '11 at 10:42

Look in the log file and you'll notice that included files are printed within parentheses. And if a file that you include includes another file, that file will appear within parentheses within the first parentheses. So each parenthetical group delimits a file.

(./a.tex
% tex is now processing a.tex ...
(./b.tex % a.tex requests b.tex be read
% tex is now reading b.tex
) % tex is now done with b.tex and is reading
% the rest of a.tex
) % done with a.tex

So search the log file for hyperref.sty. Find the parenthetical group that includes it, and the file at the beginning of that group is your culprit.

-
OH! So that's what the parentheses are for. They make sense now... –  Seamus Apr 8 '11 at 11:50
Yes seems like the problem was in my personalized .sty file which was not updated. I guess I don't know how to use it... I reverted to self contained preamble :) –  Dror Apr 8 '11 at 12:00