summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pkgloader/pkgloader-recommended.sty
blob: d24596b5155426bf6a2dceb8de78c8098d2855d1 (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%%
%                                                                              %
%  Copyright (c) 2014 - Michiel Helvensteijn   (www.mhelvens.net)              %
%                                                                              %
%  https://github.com/mhelvens/latex-pkgloader                                 %
%                                                                              %
%  This work may be distributed and/or modified under the conditions           %
%  of the LaTeX Project Public License, either version 1.3 of this             %
%  license or (at your option) any later version. The latest version           %
%  of this license is in       http://www.latex-project.org/lppl.txt           %
%  and version 1.3 or later is part of all distributions of LaTeX              %
%  version 2005/12/01 or later.                                                %
%                                                                              %
%  This work has the LPPL maintenance status `author-maintained'.              %
%                                                                              %
%  The Current Maintainer of this work is Michiel Helvensteijn.                %
%                                                                              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fi %%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules derived from
%  <http://www.macfreek.nl/memory/LaTeX_package_conflicts>:
%
%    \begin{macrocode}
\Load {fixltx2e}  early              always
\Load {fancyhdr}  before {hyperref}  if loaded
\Load {fncychap}  before {hyperref}  if loaded
\Load {float}     before {hyperref}  if loaded
\Load {hyperref}  before {algorithm} if loaded
\Load {amssymb}   before {xunicode}  if loaded
\Load {amssymb}   before {xltxtra}   if loaded
\Load {graphicx}  before {xltxtra}   if loaded
\Load {graphicx}  before {fontspec}  if loaded
\Load {caption}   before {subfig}    if loaded
\Load {amsmath}   before {wasysym}   if loaded
\Load {todonotes} before {program}   if loaded
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules extracted from the cleveref
%  documentation and uses of |\@ifpackageloaded| in
%  |cleveref.sty|:
%
%    \begin{macrocode}
\Load {cleveref} after   {algorithm2e,algorithmicx,
                          aliascnt,amsmath,amsthm,caption,
                          hyperref,IEEEtrantools,listings,
                          ntheorem,subfig,varioref}
                 if loaded
                 because {cleveref adds special support
                          for this package}
\Load {cleveref} before   {autonum,hypdvips}
                 if loaded
                 because {the cleveref documentation
                          explicitly says to do so}
\Load {varioref} before  {hyperref}
                 if      {varioref && hyperref && cleveref}
                 because {the cleveref documentation
                          explicitly requires varioref
                          before hyperref if all three
                          packages are loaded}
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules derived from
%  <http://mirrors.dotsrc.org/ctan/macros/latex/contrib/natbib/natbib.pdf>:
%
%    \begin{macrocode}
\Load {natbib}   before  {citeref}
                 if loaded
                 because {the natbib documentation 
                          explicitly requires citeref to be
                          be load after natbib}
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules derived from
%  <http://mirrors.dotsrc.org/ctan/biblio/bibtex/contrib/apacite/apacite.pdf>:
%
%    \begin{macrocode}
\Load {babel}    before  {apacite}
                 if loaded
                 because {babel's selectlanguage redefines 
                          refname and bibname}
\Load {hyperref} before  {apacite}
                 if loaded
                 because {hyperref redefines citation and
                          reference list commands}
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules derived from
%  <http://tex.stackexchange.com/questions/64585/incompatibilities-of-cmap-with-fontenc-hyperref/64605#64605>:
%
%    \begin{macrocode}
\Load {hyperref} before  {cmap}
                 if loaded
                 because {hyperref cannot write pdf settings 
                          if cmap already wrote to pdf}
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules derived from
%  <ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/hyperref/README.pdf>:
%
%    \begin{macrocode}
\Load {hyperref} before  {ellipsis,amsrefs,chappg,dblaccnt,
                          linguex}
                 if loaded
                 because {the hyperref documentation
                          explicitly says to do so}
\Load {hyperref} after   {multind,natbib,setspace}
                 if loaded
                 because {the hyperref documentation
                          explicitly says to do so}
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules derived from
%  <http://mirrors.dotsrc.org/ctan/macros/latex/contrib/glossaries/glossaries-user.pdf>,
%  <http://mirrors.dotsrc.org/ctan/macros/latex/contrib/glossaries/glossariesbegin.pdf>:
%
%    \begin{macrocode}
\Load {hyperref} before  {glossaries}
                 if loaded
                 because {otherwise terms won't be 
                          clickable hyperlinks}
\Load {glossaries} after {babel,polyglossia,inputenc,
                          fontenc,doc}
                 if loaded
                 because {the glossaries documentation
                          explicitly says to do so}
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  A list of recommended rules derived from
%  <http://mirrors.dotsrc.org/ctan/macros/latex/contrib/oberdiek/hypcap.pdf>:
%
%    \begin{macrocode}
\Load {hyperref} before  {hypcap}
                 if loaded
                 because {hypcap redefines hyperref's 
                          caption command}
%    \end{macrocode}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%