summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jmlr/sample-books
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
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')
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdfbin287195 -> 291231 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.tex26
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex9
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdfbin231807 -> 1230272 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.tex37
5 files changed, 47 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf b/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
index 32aac7be923..8117486b891 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
+++ b/Master/texmf-dist/doc/latex/jmlr/sample-books/jmlrbook-sample.pdf
Binary files differ
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}
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex
index 59b21ce538b..bab62425278 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex
+++ b/Master/texmf-dist/doc/latex/jmlr/sample-books/paper1/paper1.tex
@@ -48,6 +48,15 @@ a footnote.}
E = mc^2
\end{equation}
+A network is shown in Figure~\ref{fig:network}.
+
+\begin{figure}[htbp]
+ \floatconts
+ {fig:network}%
+ {\caption{A Network}}%
+ {\includegraphics{images/network}}%
+\end{figure}
+
\section{Results}\label{sec:results}
\begin{table}[htbp]
diff --git a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf b/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
index 06911e20866..81fc7b60733 100644
--- a/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
+++ b/Master/texmf-dist/doc/latex/jmlr/sample-books/proceedings-sample.pdf
Binary files differ
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 a1f0d7b7660..468a29e4c7c 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,22 +1,33 @@
-\documentclass[wcp,verbose]{jmlrbook}% on-line color version
-%\documentclass[wcp,gray,verbose]{jmlrbook}% print version
+\documentclass[wcp,pdfxa]{jmlrbook}
-\jmlrvolume{42}
-\jmlryear{2010}
-\jmlrworkshop{Workshop on Causality}
+ % bookmark package shouldn't be used for print version
+\ifprint{}{\usepackage{bookmark}}
-% Packages used by imported articles:
-\usepackage{lipsum}
-
-% Title is added to the PDF properties. Optional argument
-% is used instead, if present.
-%\title[Short Title]{Big Long Title}
+ % Title is added to the PDF properties. Optional argument
+ % is used instead, if present.
+ %\title[Short Title]{Big Long Title}
\title{Sample Proceedings}
\author[Anne Editor et al.]{Anne Editor, Anne Other Editor and Nicola Talbot}
\subtitle{\thejmlrworkshop}
+\jmlrvolume{42}
+\jmlryear{2010}
+\jmlrworkshop{Workshop on Causality}
+
+ % Write the pdf information if this is the print version and the
+ % class option pdfxa has been set. Title and author should be set
+ % before this.
+\jmlrwritepdfinfo
+
+% inputenc with utf8 option must come after \jmlrwritepdfinfo
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+
+ % Packages used by imported articles:
+\usepackage{lipsum}
+
\logo{\includegraphics{bookLogo}}
\begin{document}
@@ -39,11 +50,11 @@ This is the preface. To make a standalone document for the preface
use the --extractpreface option when calling makejmlrbook.
\begin{signoff}{March 2010}
-% First editor:
+ % First editor:
\Editor{Nicola Talbot\\
University of East Anglia\\
\mailto{N.Talbot@uea.ac.uk}}
-% Second editor:
+ % Second editor:
\Editor{Anne Editor\\
University of Nowhere\\
\mailto{ae@sample.com}}