summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-02-28 00:35:20 +0000
committerKarl Berry <karl@freefriends.org>2012-02-28 00:35:20 +0000
commiteb73e4b0206537b52fa1542a2572854dae55e414 (patch)
tree5dccda4d958f78baa2eda1fab8ad684b317fe2cd /Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
parent3896a3ce963e514325035018b02583376d23aa6c (diff)
jmlr 1.13 (26feb12)
git-svn-id: svn://tug.org/texlive/trunk@25518 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex')
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex26
1 files changed, 14 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
index 6ccc7a65297..1149293b042 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
+++ b/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex
@@ -1,10 +1,14 @@
+ % Define \jmlrprehyperref to load packages before hyperref is
+ % loaded
+\def\jmlrprehyperref{%
+ % Packages used by imported articles:
+ \usepackage{lipsum}
+ \usepackage{booktabs}
+ \usepackage{siunitx}
+}
\documentclass[wcp]{jmlrbook}% on-line color version
%\documentclass[wcp,gray]{jmlrbook}% print version
-% Packages used by imported articles:
-\usepackage{lipsum}
-\usepackage{booktabs}
-\usepackage{siunitx}
% Title is added to the PDF properties. Optional argument
% is used instead, if present.
@@ -61,18 +65,16 @@ files are imported.
Many packages must be loaded before \textsf{hyperref}. If these
packages haven't been loaded by \textsf{jmlr}, you will need
-to specify them using \textsf{jmlrbook}'s \texttt{prehyperref}
-option. For example, to load the packages ``foo'' and ``bar'':
+to specify them using \textsf{jmlrbook}'s \verb|\jmlrprehyperref|
+hook. For example, to load the packages ``foo'' and ``bar'':
\begin{verbatim}
-\documentclass[
- prehyperref={\usepackage{foo}\usepackage{bar}}
- ]{jmlrbook}
+\def\jmlrprehyperref{\usepackage{foo}\usepackage{bar}}
+\documentclass{jmlrbook}
\end{verbatim}
or:
\begin{verbatim}
-\documentclass[
- prehyperref={\usepackage{foo,bar}}
- ]{jmlrbook}
+\def\jmlrprehyperref{\usepackage{foo,bar}}
+\documentclass{jmlrbook}
\end{verbatim}