%
% hylatex.ltx
% Tanmoy Bhattacharya and Sebastian Rahtz, June 1995
%
% Use this file to make a format which includes the
% hyperref package in every LaTeX job.
%
% In Unix world, we create the format file with
%   initex \&latex hylatex.ltx
% and then use with
%   virtex \&hylatex
%
% This method is not supported by the LaTeX2e team, so
% I will try to find a better way. \AtBeginDocument does not
% work for reasons which I do not understand.
%
\makeatletter
\expandafter\everyjob\expandafter{\the\everyjob
 \typeout{ ********* Hyperref Macros loaded ******* }}
%
\expandafter\let\csname REAL document\endcsname\document
%
\def\document{%
 \endgroup
%
% NOTE:
% This setup sets up no options by default;
% change to suit your needs.
%
 \usepackage{hyperref}
 \begingroup
 \@endpefalse\csname REAL document\endcsname
}
\makeatother
\dump

