summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex')
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex20
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
index 468a29e4c7c..57f7146df53 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
+++ b/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex
@@ -1,7 +1,12 @@
-\documentclass[wcp,pdfxa]{jmlrbook}
+ % Most packages need to be loaded before hyperref
+ % so put them in the definition of \jmlrprehyperref
- % bookmark package shouldn't be used for print version
-\ifprint{}{\usepackage{bookmark}}
+\def\jmlrprehyperref{%
+ % Packages used by imported articles:
+ \usepackage{lipsum}
+}
+
+\documentclass[wcp]{jmlrbook}
% Title is added to the PDF properties. Optional argument
% is used instead, if present.
@@ -21,14 +26,15 @@
% before this.
\jmlrwritepdfinfo
-% inputenc with utf8 option must come after \jmlrwritepdfinfo
+ % inputenc with utf8 option must come after \jmlrwritepdfinfo
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
- % Packages used by imported articles:
-\usepackage{lipsum}
+\logo[http://www.sampleurl.com/]{\includegraphics{bookLogo}}
-\logo{\includegraphics{bookLogo}}
+ % bookmark package shouldn't be used for print version
+ % (load last)
+\ifprint{}{\usepackage{bookmark}}
\begin{document}
\maketitle