texlive[41323] Master/texmf-dist: bookcover (9jun16)

commits+karl at tug.org commits+karl at tug.org
Fri Jun 10 00:10:22 CEST 2016


Revision: 41323
          http://tug.org/svn/texlive?view=revision&revision=41323
Author:   karl
Date:     2016-06-10 00:10:21 +0200 (Fri, 10 Jun 2016)
Log Message:
-----------
bookcover (9jun16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bookcover/example1.pdf
    trunk/Master/texmf-dist/doc/latex/bookcover/example2.pdf
    trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx
    trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf

Added: trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf	2016-06-09 22:09:12 UTC (rev 41322)
+++ trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf	2016-06-09 22:10:21 UTC (rev 41323)

Property changes on: trunk/Master/texmf-dist/doc/latex/bookcover/bookcover.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/bookcover/example1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bookcover/example2.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx	2016-06-09 22:09:12 UTC (rev 41322)
+++ trunk/Master/texmf-dist/source/latex/bookcover/bookcover.dtx	2016-06-09 22:10:21 UTC (rev 41323)
@@ -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 @@
 % \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 @@
 % \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 @@
 % \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 @@
 %
 % \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 at 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 @@
 \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 @@
 \setlength{\paperheight}{2\marklength+2\bleedwidth+\coverheight}
 \setlength{\parindent}{0pt}
 
-%% IF GRID
+%% GRID
 \ifESO at grid
     \setlength{\markthick}{2pt}
     \def\bookcover at markcolor{red}\fi

Modified: trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls	2016-06-09 22:09:12 UTC (rev 41322)
+++ trunk/Master/texmf-dist/tex/latex/bookcover/bookcover.cls	2016-06-09 22:10:21 UTC (rev 41323)
@@ -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 at grid
     \setlength{\markthick}{2pt}
     \def\bookcover at markcolor{red}\fi



More information about the tex-live-commits mailing list