File: hylatex.ltx

package info (click to toggle)
texlive-base 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 627,176 kB
  • ctags: 24,420
  • sloc: perl: 43,364; sh: 6,299; makefile: 4,230; ruby: 2,557; xml: 2,480; ansic: 2,277; cpp: 695; tcl: 670; awk: 606; lisp: 366; python: 344; php: 65; java: 32; sed: 8
file content (43 lines) | stat: -rw-r--r-- 1,094 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%
% 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 web2c 7-based TeX world, we create the format file with
%   tex  -ini \&latex hylatex.ltx
% and then use with
%   tex \&hylatex
%
% In teTeX (TeX version 3.14159 (C version 6.1), LaTeX2e <1996/12/01>
% patch level 1), I 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, by writing a hyperref.cfg control
% file.
%
 \RequirePackage{hyperref}
 \begingroup
 \@endpefalse\csname REAL document\endcsname
}
\makeatother
\dump