summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-09 22:10:21 +0000
committerKarl Berry <karl@freefriends.org>2016-06-09 22:10:21 +0000
commit929c285658a600e6fe774872418ff3746d55cee9 (patch)
treeb3950fe6df9d68c5e5c953342002f0ed3c4b7c1d
parentc2dd4a1f282809d86d6dce3fca10225d9da37a3f (diff)
bookcover (9jun16)
git-svn-id: svn://tug.org/texlive/trunk@41323 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bookcover/bookcover.pdfbin0 -> 7356853 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bookcover/example1.pdfbin2697479 -> 2699412 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bookcover/example2.pdfbin3797930 -> 3797930 bytes
-rw-r--r--Master/texmf-dist/source/latex/bookcover/bookcover.dtx49
-rw-r--r--Master/texmf-dist/tex/latex/bookcover/bookcover.cls10
5 files changed, 38 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf b/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
new file mode 100644
index 00000000000..aed5eab53ae
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bookcover/example1.pdf b/Master/texmf-dist/doc/latex/bookcover/example1.pdf
index c87da744f78..98ec188ac2b 100644
--- a/Master/texmf-dist/doc/latex/bookcover/example1.pdf
+++ b/Master/texmf-dist/doc/latex/bookcover/example1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bookcover/example2.pdf b/Master/texmf-dist/doc/latex/bookcover/example2.pdf
index 3c1bab93364..59382c63235 100644
--- a/Master/texmf-dist/doc/latex/bookcover/example2.pdf
+++ b/Master/texmf-dist/doc/latex/bookcover/example2.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bookcover/bookcover.dtx b/Master/texmf-dist/source/latex/bookcover/bookcover.dtx
index 4a6e041bb7b..15473fa1dc5 100644
--- a/Master/texmf-dist/source/latex/bookcover/bookcover.dtx
+++ b/Master/texmf-dist/source/latex/bookcover/bookcover.dtx
@@ -17,11 +17,11 @@
% \iffalse
%<*driver>
\ProvidesFile{bookcover.dtx}
-\newcommand{\eifiledate}{2016/05/01}
-\newcommand{\eifilever}{v1.1}
+\newcommand{\eifiledate}{2016/06/08}
+\newcommand{\eifilever}{v1.1.1}
%</driver>
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<class>\ProvidesClass{bookcover}[2016/05/01 v1.1 class for book covers and dust jackets]
+%<class>\ProvidesClass{bookcover}[2016/06/08 v1.1.1 class for book covers and dust jackets]
%
%<*driver>
\documentclass{ltxdoc}
@@ -267,7 +267,7 @@ comment=[l][\ttfamily\color{black}]{\%}}
% \begin{center}
% \includegraphics{figures/bgtikznodes}
% \end{center}
-% The option \texttt{bgtikzclip} of the document class works like \texttt{bgtikznodes}, but it clips the current part. For example, the result of the previous code with option \texttt{bgtikzclip}:
+% The option \texttt{bgtikzclip} of the document class works like \texttt{bgtikznodes}, but it clips the current part. For example, the output of the previous code with option \texttt{bgtikzclip}:
% \begin{center}
% \includegraphics{figures/bgtikzclip}
% \end{center}
@@ -368,7 +368,7 @@ comment=[l][\ttfamily\color{black}]{\%}}
% \section{Examples}
% \subsection{A dust jacket}
% \lstinputlisting{example1.tex}
-% \subsection*{The result:}
+% \subsection*{The output:}
% \begin{center}
% \setlength{\fboxsep}{0pt}\setlength{\fboxrule}{.4pt}
% \fcolorbox{black!50}{white}{\includegraphics[width=\textwidth-.8pt]{example1}}
@@ -377,7 +377,7 @@ comment=[l][\ttfamily\color{black}]{\%}}
% \subsection{A two-sided book cover}
% The outside and the inside are edited in the same document.
% \lstinputlisting{example2.tex}
-% \subsection*{The result:}
+% \subsection*{The output:}
% \begin{center}
% \setlength{\fboxsep}{0pt}\setlength{\fboxrule}{.4pt}
% \fcolorbox{black!50}{white}{\includegraphics[page=1,width=\textwidth-.8pt]{example2}}\\[4mm]
@@ -440,18 +440,39 @@ comment=[l][\ttfamily\color{black}]{\%}}
%
% \noindent The command to compile this file is the following:
%\begin{verbatim}
-%pdflatex -shell-escape filename
+% pdflatex -shell-escape filename
%\end{verbatim}
% or
%\begin{verbatim}
-%xelatex -shell-escape filename
+% xelatex -shell-escape filename
%\end{verbatim}
% or
%\begin{verbatim}
-%lualatex -shell-escape filename
+% lualatex -shell-escape filename
%\end{verbatim}
%
-% \subsection*{The result:}
+% \noindent The following code works by \texttt{xelatex.exe} without option \texttt{-shell-escape}:
+%
+%{\color{example}
+%\begin{verbatim}
+%\documentclass{bookcover}
+%\usepackage{pst-barcode}
+%\begin{document}
+%\makeatletter\TP@absposfalse\makeatother
+%\newgeometry{left=0em,top=-1em}
+% \setbookcover{fgfirst}{back}{
+% \vfill
+% \centering
+% \begin{pspicture}(1in,1.5in)
+% \psbarcode{1787-6117}{includetext height=1 width=1.5}{issn}
+% \end{pspicture}
+% \vspace{5mm}
+% }
+% \makebookcover
+%\end{document}
+%\end{verbatim}}
+%
+% \subsection*{The output:}
% \begin{center}
% \setlength{\fboxsep}{0pt}\setlength{\fboxrule}{.4pt}
% \fcolorbox{black!50}{white}{\includegraphics[width=\textwidth-.8pt]{figures/example-barcode}}
@@ -483,14 +504,12 @@ comment=[l][\ttfamily\color{black}]{\%}}
\DeclareBoolOption[false]{bgtikzclip}
\ProcessKeyvalOptions{bookcover}
-%% LOADING CLASS
+%% LOADING CLASS AND PACKAGES
\LoadClass{article}
-
-%% LOADING PACKAGES
\RequirePackage{geometry,graphicx,calc,xcolor,ifthen,tikz,eso-pic}
\RequirePackage[absolute]{textpos}
-%% PAGE STYLE
+%% PAGE STYLE IS EMPTY
\pagestyle{empty}
%% USER LENGTHS
@@ -522,7 +541,7 @@ comment=[l][\ttfamily\color{black}]{\%}}
\setlength{\paperheight}{2\marklength+2\bleedwidth+\coverheight}
\setlength{\parindent}{0pt}
-%% IF GRID
+%% GRID
\ifESO@grid
\setlength{\markthick}{2pt}
\def\bookcover@markcolor{red}\fi
diff --git a/Master/texmf-dist/tex/latex/bookcover/bookcover.cls b/Master/texmf-dist/tex/latex/bookcover/bookcover.cls
index 2327b08d4d9..11e3ae705a7 100644
--- a/Master/texmf-dist/tex/latex/bookcover/bookcover.cls
+++ b/Master/texmf-dist/tex/latex/bookcover/bookcover.cls
@@ -18,7 +18,7 @@
%% LaTeX version 1999/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{bookcover}[2016/05/01 v1.1 class for book covers and dust jackets]
+\ProvidesClass{bookcover}[2016/06/08 v1.1.1 class for book covers and dust jackets]
%%
%% OPTIONS
\RequirePackage{kvoptions}
@@ -40,14 +40,12 @@
\DeclareBoolOption[false]{bgtikzclip}
\ProcessKeyvalOptions{bookcover}
-%% LOADING CLASS
+%% LOADING CLASS AND PACKAGES
\LoadClass{article}
-
-%% LOADING PACKAGES
\RequirePackage{geometry,graphicx,calc,xcolor,ifthen,tikz,eso-pic}
\RequirePackage[absolute]{textpos}
-%% PAGE STYLE
+%% PAGE STYLE IS EMPTY
\pagestyle{empty}
%% USER LENGTHS
@@ -79,7 +77,7 @@
\setlength{\paperheight}{2\marklength+2\bleedwidth+\coverheight}
\setlength{\parindent}{0pt}
-%% IF GRID
+%% GRID
\ifESO@grid
\setlength{\markthick}{2pt}
\def\bookcover@markcolor{red}\fi