diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-09 22:10:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-09 22:10:21 +0000 |
commit | 929c285658a600e6fe774872418ff3746d55cee9 (patch) | |
tree | b3950fe6df9d68c5e5c953342002f0ed3c4b7c1d /Master/texmf-dist/source/latex/bookcover | |
parent | c2dd4a1f282809d86d6dce3fca10225d9da37a3f (diff) |
bookcover (9jun16)
git-svn-id: svn://tug.org/texlive/trunk@41323 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bookcover')
-rw-r--r-- | Master/texmf-dist/source/latex/bookcover/bookcover.dtx | 49 |
1 files changed, 34 insertions, 15 deletions
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 |