diff options
author | Karl Berry <karl@freefriends.org> | 2013-01-27 22:51:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-01-27 22:51:49 +0000 |
commit | 29e7a171c6dbf800f257daec2c09e91b4ca2eb72 (patch) | |
tree | e65481c420a79f17d155fa486ca98f0f346116e2 /Master | |
parent | 9e66e8787ed3df6a845b8372cfa5bb04e4166230 (diff) |
simplecd 1.3 (26jan13)
git-svn-id: svn://tug.org/texlive/trunk@28956 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/simplecd/README | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/simplecd/examples.pdf | bin | 223740 -> 223740 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/simplecd/simplecd.pdf | bin | 772458 -> 783435 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/simplecd/simplecd.dtx | 373 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/simplecd/simplecd.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/simplecd/simplecd.sty | 246 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 |
7 files changed, 423 insertions, 210 deletions
diff --git a/Master/texmf-dist/doc/latex/simplecd/README b/Master/texmf-dist/doc/latex/simplecd/README index 8155b0bb881..20673abec17 100644 --- a/Master/texmf-dist/doc/latex/simplecd/README +++ b/Master/texmf-dist/doc/latex/simplecd/README @@ -1,4 +1,4 @@ -Copyright (C) 2010-2012 by Daniel Majoros +Copyright (C) 2010-2013 by Daniel Majoros This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -57,6 +57,13 @@ Layout macros: Version history: +1.3 - 2013/01/26 + - Added the nohcenter package option + - Added the jeweltitledlempty layout + - Added the jewelbackIIlempty layout + - Added the singlesheet cover with jewel layout support + - Improved noalign option and layout placement relation + 1.2 - 2012/12/21 - Added jewelstripeslempty layout - Added jewelgamel and jewelgamelempty layouts diff --git a/Master/texmf-dist/doc/latex/simplecd/examples.pdf b/Master/texmf-dist/doc/latex/simplecd/examples.pdf Binary files differindex a6070ac1a65..d93de0948e5 100644 --- a/Master/texmf-dist/doc/latex/simplecd/examples.pdf +++ b/Master/texmf-dist/doc/latex/simplecd/examples.pdf diff --git a/Master/texmf-dist/doc/latex/simplecd/simplecd.pdf b/Master/texmf-dist/doc/latex/simplecd/simplecd.pdf Binary files differindex a1d5ae67a8b..3ec4b24f741 100644 --- a/Master/texmf-dist/doc/latex/simplecd/simplecd.pdf +++ b/Master/texmf-dist/doc/latex/simplecd/simplecd.pdf diff --git a/Master/texmf-dist/source/latex/simplecd/simplecd.dtx b/Master/texmf-dist/source/latex/simplecd/simplecd.dtx index b7ed112a15f..dede62eeacb 100644 --- a/Master/texmf-dist/source/latex/simplecd/simplecd.dtx +++ b/Master/texmf-dist/source/latex/simplecd/simplecd.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % -% Copyright (C) 2010-2012 by Daniel Majoros +% Copyright (C) 2010-2013 by Daniel Majoros % % This file may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -18,7 +18,7 @@ %\iffalse %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{simplecd} -%<package> [2012/12/21 v1.2 simple CD, DVD covers and many more] +%<package> [2013/01/26 v1.3 simple CD, DVD covers and many more] % %<*driver> \documentclass{ltxdoc} @@ -47,7 +47,7 @@ %</driver> %\fi % -% \CheckSum{1404} +% \CheckSum{1431} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -68,13 +68,14 @@ % \changes{v1.0}{2010/07/01}{Initial version} % \changes{v1.1}{2012/11/04}{Rewrote drawing mechanism, added layouts, disk images, additional covers} % \changes{v1.2}{2012/12/21}{Added new layouts and many new covers, labels} +% \changes{v1.3}{2013/01/26}{Added nohcenter option, more layouts and singlesheet} % % \DoNotIndex{\newline,\\,\space,\begin,\end,\rule,\cline,\hspace,\vspace,\centering,\DeclareRobustCommand,\{,\},\ } % \DoNotIndex{\newcommand,\newlength,\setlength,\parbox,\line,\putline,\resizebox,\unitlength} % \DoNotIndex{\put,\RequirePackage,\vrule,\DeclareOption,\fontsize,\ProcessOptions,\relax} % \DoNotIndex{\renewcommand,\selectfont,\multicolumn,\framebox,\usebox,\put,\line,\value,\rotatebox,\setcounter,\newcounter,\!,!\!,!\,! ,\! ,!\! ,!\ , } % \DoNotIndex{\Large,\Huge,\huge,\footnotesize,\underline,\savebox,\equal,\boolean,\newboolean,\setboolean,\baselineskip,\ifthenelse} -% \DoNotIndex{\scalebox,\makebox,\OR,\AND,\newsavebox,\qbezier,\circle,\space,\textless,\textgreater} +% \DoNotIndex{\scalebox,\makebox,\OR,\AND,\newsavebox,\qbezier,\circle,\space,\textless,\textgreater,\csname,\endcsname} % \begingroup % \makeatletter % \lccode`9=32\relax @@ -189,6 +190,29 @@ % \DescribeMacro{\jewelspine} % The |\jewelspine| macro creates a single spine for the jewelcase. It's usage is |\jewelspine| \marg{spine text}. % +% \DescribeMacro{\singlesheet} The |\singlesheet| macro creates a single sheet for a special jewel case. The \marg{front side} +% argument makes it possible to put content beside the jewel case sized front content. +% Usage: |\singlesheet| \marg{front} \marg{front side} \marg{spine} \marg{back} +% +% \begin{lstlisting} +% \singlesheet +% {\huge Front} +% {Front side} +% {Spine} +% {Back} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \resizebox{0.8\textwidth}{!}{ +% \singlesheet +% {\huge Front} +% {Front side} +% {Spine} +% {Back}} +% \caption{Single sheet} +% \end{figure} +% % \DescribeMacro{\djewel} % The |\djewel| macro creates a double page jewel case cover. Text can be put on one side, then it should be folded % in half. The usage is: |\djewel| \marg{first page text} \marg{second page text}. @@ -629,13 +653,14 @@ % % A layout can be used on various cover types. The first word in the layout's name decides the type. % \begin{description} -% \item[jewel] type layouts are compatible with: |\covers| |\frontcover| |\sleeve| |\djewel| |\sleevela| +% \item[jewel] type layouts are compatible with: |\covers| |\frontcover| |\sleeve| |\djewel| |\sleevela| |\singlesheet| % \item[LX] type layouts are compatible with: |\LXfrontcover| |\sleeveLX| % \item[LXXX] type layouts are compatible with: |\LXXXfrontcover| |\sleeveLXXX| % \item[dvd] type layouts are compatible with: |\dvd| |\slimdvd| % \item[bluray] type layouts are compatible with: |\bluray| % \end{description} -% Note that this compatibility is not checked in the macros. +% Note that this compatibility is not checked in the macros. The layouts were designed to be centered on the covers. +% If the |nohcenter| package option is used, they could get misplaced. % % Any parameter in a layout can be empty. It means that no content will be put in the appropriate cell. For example |\jewelflaglempty {} {Middle} {}| % @@ -699,7 +724,9 @@ % \caption{Music layout on front, empty layout on back} % \end{figure} % -% \DescribeMacro{\jewelbacklempty} The |\jewelbacklempty| macro is the pair of the |\jewellempty| macro. This is for the backsheet of a jewel case. +% \DescribeMacro{\jewelbacklempty}\DescribeMacro{\jewelbackIIlempty} +% The |\jewelbacklempty| macro is the pair of the |\jewellempty| macro. This is for the backsheet of a jewel case. The |\jewelbackIIlempty| macro is +% the same, without the layout border and centering. Their usage is the same. % Usage: |\jewelbacklempty| \marg{content} \\ % % \begin{lstlisting} @@ -707,12 +734,24 @@ % [\jewelbacklempty % {Backsheet content}] % {Spine text} +% \backsheet +% [\jewelbackIIlempty +% {Backsheet content}] +% {Spine text} % \end{lstlisting} % % \begin{figure}[H] -% \centering -% \resizebox{0.5\textwidth}{!}{\backsheet[\jewelbacklempty{Backsheet content}]{Spine text}} -% \caption{Empty jewel backsheet layout} +% \begin{minipage}[b]{0.45\textwidth} +% \centering +% \resizebox{0.9\textwidth}{!}{\backsheet[\jewelbacklempty{Backsheet content}]{Spine text}} +% \caption{Empty jewel backsheet layout} +% \end{minipage} +% \hspace{0.5cm} +% \begin{minipage}[b]{0.45\textwidth} +% \centering +% \resizebox{0.9\textwidth}{!}{\backsheet[\jewelbackIIlempty{Backsheet content}]{Spine text}} +% \caption{Empty jewel backsheet layout without border and centering} +% \end{minipage} % \end{figure} % % \DescribeMacro{\LXlempty} \DescribeMacro{\LXXXlempty} \DescribeMacro{\LXemptydriverl} \DescribeMacro{\LXXXemptydriverl} % @@ -736,7 +775,7 @@ % \begin{minipage}[b]{0.45\textwidth} % \centering % \resizebox{0.7\textwidth}{!}{\LXfrontcover{\LXlempty{\scalebox{3}{Title}}}} -% \caption{The \texttt{\textbackslash LXlempty} layout } +% \caption{The \texttt{\textbackslash LXlempty} layout} % \end{minipage} % \hspace{0.5cm} % \begin{minipage}[b]{0.45\textwidth} @@ -841,6 +880,27 @@ % \caption{The \texttt{\textbackslash jewellineslempty} layout} % \end{figure} % +% \DescribeMacro{\jeweltitledlempty} The |\jeweltitledlempty| macro creates a layout with an upper title part and a large lower part for content. +% Usage: |\jeweltitledlempty| \marg{title} \marg{content} \\ +% +% \begin{lstlisting} +% \singlesheet +% {\jeweltitledlempty +% {Title} +% {Lots of content \\ More\dots \\ Even more\dots}} +% {}{}{} +% \end{lstlisting} +% +% \begin{figure}[H] +% \centering +% \scalebox{0.6}{ +% \singlesheet +% {\jeweltitledlempty +% {Title} +% {Lots of content \\ More\dots \\ Even more\dots}} +% {}{}{}} +% \caption{The \texttt{\textbackslash jeweltitledlempty} layout} +% \end{figure} % % \subsubsection{Keepcase layouts} % @@ -927,14 +987,18 @@ % % Use package options at the package loading as usual, for example: \\ |\usepackage[nofold,noalign]{simplecd}|. % -% Many cover macros are containing some text alignment lengths. Without them, the content would be -% centered vertically in the frames. The |noalign| option sets these alignment lengths to zero, so one can align the +% \begin{description} +% \item[noalign:] Many cover macros are containing some text alignment lengths. Without them, the content would be +% centered vertically in the frames. \label{opt:noalign}The |noalign| option sets these alignment lengths to zero, so one can align the % contents individually. This option does not affect layout placement. % -% As default, many covers contain folding lines with the same line type as where the pieces must be cut out. +% \item[nofold:] As default, many covers contain folding lines with the same line type as where the pieces must be cut out. % With the |nofold| option, the folding lines won't be drawn. % -% The |spiner| option rotates all spine texts with $180^\circ$. +% \item[spiner:] The |spiner| option rotates all spine texts with $180^\circ$. +% +% \item[nohcenter:] The |nohcenter| option disables the horizontal centering of the contents of all covers, labels and layouts. +% \end{description} % % \vspace*{0.5cm} % @@ -975,6 +1039,8 @@ % the software used for viewing and printing result file (the PDF/DVI/PS viewer) does not resize the page before printing. % \item[Problem: the cover won't fit onto one page.] Suggestions: use a large enough paper size. Decrease te margin of the paper with % the \texttt{geometry} package. An A4 paper with 1cm margins should be able to contain all cover types. +% \item[Problem: the content is not in the vertical center of a cover.] Suggestion: see the \texttt{noalign} +% package option on page \pageref{opt:noalign}. % \end{description} % % \StopEventually{\PrintChanges\PrintIndex} @@ -1010,7 +1076,15 @@ \setboolean{sc@align}{false} } % \end{macrocode} -% + +%% Layouts should set this to true to indicate the containing cover +%% to not use align spaces even if noalign is not used +% \begin{macrocode} +\newboolean{sc@layout} +\setboolean{sc@layout}{false} +% \end{macrocode} + + %% The |nofold| option removes the folding lines on the cut-outs. % \begin{macrocode} \DeclareOption{nofold}{ @@ -1027,6 +1101,13 @@ } % \end{macrocode} +%% Disables horizontal centering everywhere +% \begin{macrocode} +\DeclareOption{nohcenter}{ + \renewcommand{\sc@centering}{} +} +% \end{macrocode} + % \begin{macro}{\sc@spinerotone} % Default rotation degree. \\ % Usage: |\sc@spinerotone| @@ -1071,6 +1152,14 @@ % \end{macrocode} % \end{macro} +% \begin{macro}{\sc@centering} +% Centering alias to allow disabling the centering, see novcenter package option +% Usage: |\sc@centering| +% \begin{macrocode} +\newcommand{\sc@centering}{\centering} +% \end{macrocode} +% \end{macro} + % \begin{macro}{\sc@unittype} % Unit type for all lengths. \\ % Usage: |\sc@unittype| @@ -1195,6 +1284,14 @@ \newcounter{sc@resizertempa} % \end{macrocode} +% Puts the desired vspace if the amount is not null and no layout is currently being used +% \begin{macrocode} +\newcommand{\sc@doalign}[1]{% + \ifthenelse{\equal{#1}{} \OR \boolean{sc@layout}}{}{\ \\ \vspace{#1}}% + \setboolean{sc@layout}{false}% +} +% \end{macrocode} + % The covers are drawed inside the \texttt{picture} environment. The text is always placed inside a |\parbox| . % % The space produced with the |\vspace| macros are for aligning purposes. Without them, the texts would be @@ -1220,7 +1317,7 @@ \DeclareRobustCommand{\frontcover}[1]{% \sc@cell{#1}{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% - {\vspace{\sc@jewelalign}}% + {\sc@jewelalign}% } % \end{macrocode} % \end{macro} @@ -1232,7 +1329,7 @@ \DeclareRobustCommand{\LXfrontcover}[1]{% \sc@cell{#1}{\value{sc@cdLXjccoverwidthdraw}}% {\value{sc@cdLXjccoverheightdraw}}% - {\vspace{\sc@jewelalign}}% + {\sc@jewelalign}% } % \end{macrocode} % \end{macro} @@ -1244,12 +1341,12 @@ \DeclareRobustCommand{\LXXXfrontcover}[1]{% \sc@cell{#1}{\value{sc@cdLXXXjccoverwidthdraw}}% {\value{sc@cdLXXXjccoverheightdraw}}% - {\vspace{\sc@jewelalign}}% + {\sc@jewelalign}% } % \end{macrocode} % \end{macro} -% Rotating for one of the spine texts. +% Rotating for one of the spine texts. Also used in |\singlesheet| % \begin{macrocode} \newcounter{sc@backsheetspinerot} \setcounter{sc@backsheetspinerot}{180+\sc@spinerotone} @@ -1266,26 +1363,17 @@ {\value{sc@cdjcbackheightdraw}}% {\rotatebox{\sc@spinerotone}% {\fontsize{\sc@cdjfontsize}{36}\selectfont #2}}% - {\sc@truestr}% - {\sc@truestr}% - {\sc@truestr}% - {\sc@falsestr}% + {\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}% \sc@choicebox{\value{sc@cdjcbackinwidthdraw}}% {\value{sc@cdjcbackheightdraw}}% {\parbox[c]{\value{sc@cdjcbackinwidthdraw} \sc@unittype}{% - \centering #1\ \\ \vspace{\sc@jewelalign}}}% - {\sc@truestr}% - {\sc@truestr}% - {\sc@falsestr}% - {\sc@falsestr}% + \sc@centering #1\sc@doalign{\sc@jewelalign}}}% + {\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}% \sc@choicebox{\value{sc@cdjcspinewidthdraw}}% {\value{sc@cdjcbackheightdraw}}% {\rotatebox{\value{sc@backsheetspinerot}}{% \fontsize{\sc@cdjfontsize}{36}\selectfont #2}}% - {\sc@truestr}% - {\sc@truestr}% - {\sc@falsestr}% - {\sc@truestr}% + {\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% \end{picture}% } % \end{macrocode} @@ -1306,6 +1394,39 @@ % \end{macrocode} % \end{macro} +% \begin{macro}{\singlesheet} +% Creates a single sheet for a special jewel case. +% Usage: |\singlesheet| \marg{front} \marg{front side} \marg{spine} \marg{back} +% \begin{macrocode} +\DeclareRobustCommand{\singlesheet}[4]{% + \begin{picture}(155,120)% + \put(0,2){% + \sc@choicebox{15}{116}% + {\rotatebox{90}{\parbox[c]{116\sc@unittype}{\sc@centering #4}}}% + {\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}}% + \put(15,2){% + \sc@choicebox{3}{116}% + {\rotatebox{\value{sc@backsheetspinerot}}{\fontsize{9}{36}\selectfont #3}}% + {\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}}% + \put(36,0){% + \makebox(120,120)[c]{% + \parbox[c]{120\sc@unittype}{% + \sc@centering #1\sc@doalign{\sc@jewelalign}}}}% + \put(18,2){% + \makebox(18,120)[c]{% + \rotatebox{270}{\parbox[c]{18\sc@unittype}{\sc@centering #2}}}}% + \put(18,2){\line(1,0){18}}% + \put(18,118){\line(1,0){18}}% + \put(36,0){\line(0,1){2}}% + \put(36,118){\line(0,1){2}}% + \put(36,0){\line(1,0){119}}% + \put(36,120){\line(1,0){119}}% + \put(155,0){\line(0,1){120}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + % \begin{macro}{\sc@sleeve} % Creates a custom-sized sleeve for cutting out and glueing together. % Usage: |\sc@sleeve| \oarg{other side middle text} \marg{middle text} \marg{sleeve length} @@ -1324,13 +1445,13 @@ \put(#3,\value{sc@tempd}){% \sc@choicebox{\value{sc@tempc}}{\value{sc@tempd}}{% \parbox[c]{\value{sc@tempc} \sc@unittype}{% - \centering #2\ \\ \vspace{\sc@jewelalign}}% + \sc@centering #2\sc@doalign{\sc@jewelalign}}% }{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}% }% \put(#3,0){% \sc@choicebox{\value{sc@tempc}}{\value{sc@tempd}}{% \rotatebox{180}{\parbox[c]{\value{sc@tempc} \sc@unittype}{% - \centering #1\ \\ \vspace{\sc@jewelalign}}}% + \sc@centering #1\sc@doalign{\sc@jewelalign}}}% }{\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}% }% \end{picture}% @@ -1437,12 +1558,12 @@ \put(28,0){% \sc@choicebox{122}{122}{% \rotatebox{180}{% - \parbox[c]{122\sc@unittype}{\centering #1\ \\ \vspace{\sc@jewelalign}}% + \parbox[c]{122\sc@unittype}{\sc@centering #1\sc@doalign{\sc@jewelalign}}% }}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}% }% \put(28,122){% \sc@choicebox{122}{122}{% - \parbox[c]{122\sc@unittype}{\centering #2\ \\ \vspace{\sc@jewelalign}}% + \parbox[c]{122\sc@unittype}{\sc@centering #2\sc@doalign{\sc@jewelalign}}% }{\sc@falsestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \put(0,122){% @@ -1467,15 +1588,15 @@ \rotatebox{90}{% \sc@choicebox{#5}{#4}{% \parbox[c]{#5 \sc@unittype}{% - \centering #1\ \\ \vspace{\sc@keepcasealign}}% + \sc@centering #1\sc@doalign{\sc@keepcasealign}}% }{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}% \sc@choicebox{#6}{#4}{% \rotatebox{\sc@spinerottwo}{\parbox[c]{#4 \sc@unittype}{% - \centering #3}}% + \sc@centering #3}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}% \sc@choicebox{#5}{#4}{% \parbox[c]{#5 \sc@unittype}{% - \centering #2\ \\ \vspace{\sc@keepcasealign}}% + \sc@centering #2\sc@doalign{\sc@keepcasealign}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \end{picture}% @@ -1586,7 +1707,7 @@ \DeclareRobustCommand{\sc@cell}[4]{% \begin{picture}(#2,#3)% \framebox(#2,#3)[c]{% - \parbox[c]{#2 \sc@unittype}{\centering #1\ \\ #4}% + \parbox[c]{#2 \sc@unittype}{\sc@centering #1\sc@doalign{#4}}% }% \end{picture}% } @@ -1601,7 +1722,7 @@ % \begin{macrocode} \newcommand{\sc@choicebox}[7]{% \makebox(#1,#2)[c]{% - \parbox[c]{#1 \sc@unittype}{\centering #3}% + \parbox[c]{#1 \sc@unittype}{\sc@centering #3}% }% \ifthenelse{\boolean{sc@fold} \OR \equal{#4}{\sc@truestr}}% {\put(-#1,0){\line(1,0){#1}}}{}% @@ -1620,7 +1741,7 @@ % Usage: |\inlay| \marg{text} \marg{width} \marg{height} % \begin{macrocode} \DeclareRobustCommand{\inlay}[3]{% - \sc@cell{#1}{#2}{#3}{\vspace{\sc@inalign}}% + \sc@cell{#1}{#2}{#3}{\sc@inalign}% } % \end{macrocode} % \end{macro} @@ -1658,12 +1779,12 @@ \sc@choicebox{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}{% \parbox[c]{\value{sc@cdjccoverwidthdraw} \sc@unittype}{% - \centering #2\ \\ \vspace{\sc@jewelalign}}% + \sc@centering #2\sc@doalign{\sc@jewelalign}}% }{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}% \sc@choicebox{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}{% \parbox[c]{\value{sc@cdjccoverwidthdraw} \sc@unittype}{% - \centering #1\ \\ \vspace{\sc@jewelalign}}% + \sc@centering #1\sc@doalign{\sc@jewelalign}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \end{picture}% @@ -1681,10 +1802,10 @@ \put(1,69.5){\line(1,0){68}}% \put(66,66.5){\qbezier(4, 2)(4, 3)(3, 3)}% \put(0,56.5){% - \makebox(70,13)[c]{\rotatebox{180}{\parbox[c]{70mm}{\centering #2}}}}% + \makebox(70,13)[c]{\rotatebox{180}{\parbox[c]{70mm}{\sc@centering #2}}}}% \put(0,54){\sc@choicebox{70}{2.5}{}% {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% - \put(0,0){\makebox(70,54)[c]{\parbox[c]{70mm}{\centering #1}}}% + \put(0,0){\makebox(70,54)[c]{\parbox[c]{70mm}{\sc@centering #1}}}% \put(0,1){\line(0,1){67.5}}% \put(70,1){\line(0,1){67.5}}% \put(1,0){\line(1,0){68}}% @@ -1701,10 +1822,12 @@ % \begin{macrocode} \DeclareRobustCommand{\zipdisk}[2]{% \begin{picture}(98,120)% - \put(0,20){\makebox(98,100)[c]{\parbox[c]{98\sc@unittype}{\centering #1}}}% + \put(0,20){\makebox(98,100)[c]{\parbox[c]{98\sc@unittype}{\sc@centering #1}}}% \put(0,13){\sc@choicebox{98}{7}{}% {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% - \put(0,0){\makebox(98,13)[c]{\rotatebox{180}{\parbox[c]{98\sc@unittype}{\centering #2}}}}% + \put(0,0){% + \makebox(98,13)[c]{% + \rotatebox{180}{\parbox[c]{98\sc@unittype}{\sc@centering #2}}}}% \put(0,0){\framebox(98,120){}}% \end{picture}% } @@ -1774,7 +1897,7 @@ \qbezier(65.3033, 54.6967)(67.5, 56.8934)(67.5, 60.0)% \put(0,0){% \makebox(120,120)[c]{% - \parbox[c]{120\sc@unittype}{\centering #1}% + \parbox[c]{120\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -1807,7 +1930,7 @@ \qbezier(65.3033, 54.6967)(67.5, 56.8934)(67.5, 60.0)% \put(0,0){% \makebox(120,120)[c]{% - \parbox[c]{120\sc@unittype}{\centering #1}% + \parbox[c]{120\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -1840,7 +1963,7 @@ \qbezier(71.435, 44.565)(77.0, 50.1299)(77.0, 58.0)% \put(0,0){% \makebox(116,116)[c]{% - \parbox[c]{116\sc@unittype}{\centering #1}% + \parbox[c]{116\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -1873,7 +1996,7 @@ \qbezier(66.455, 50.545)(69.75, 53.8401)(69.75, 58.5)% \put(0,0){% \makebox(117,117)[c]{% - \parbox[c]{117\sc@unittype}{\centering #1}% + \parbox[c]{117\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -1906,7 +2029,7 @@ \qbezier(44.364, 31.636)(47.0, 34.2721)(47.0, 38.0)% \put(0,0){% \makebox(76,76)[c]{% - \parbox[c]{76\sc@unittype}{\centering #1}% + \parbox[c]{76\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -1979,7 +2102,7 @@ \qbezier(71.3033, 11.1967)(73.5, 13.3934)(73.5, 16.5)% \put(22,9){\line(1,0){44}}% \put(22,24){\line(1,0){44}}% - \framebox(88,39)[c]{\parbox[c]{88\sc@unittype}{\centering #1}}% + \framebox(88,39)[c]{\parbox[c]{88\sc@unittype}{\sc@centering #1}}% \end{picture}% } % \end{macrocode} @@ -1992,13 +2115,13 @@ \DeclareRobustCommand{\cassetteinlay}[3]{% \begin{picture}(102,104)% \put(0,38){% - \sc@choicebox{102}{66}{\parbox[c]{102\sc@unittype}{\centering #1}}% + \sc@choicebox{102}{66}{\parbox[c]{102\sc@unittype}{\sc@centering #1}}% {\sc@falsestr}{\sc@truestr}{\sc@truestr}{\sc@truestr}}% \put(0,25){% - \sc@choicebox{102}{13}{\parbox[c]{102\sc@unittype}{\centering #2}}% + \sc@choicebox{102}{13}{\parbox[c]{102\sc@unittype}{\sc@centering #2}}% {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% \put(0,0){% - \sc@choicebox{102}{25}{\parbox[c]{102\sc@unittype}{\centering #3}}% + \sc@choicebox{102}{25}{\parbox[c]{102\sc@unittype}{\sc@centering #3}}% {\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% \end{picture}% } @@ -2031,7 +2154,7 @@ \qbezier(32.5, 24.15)(35.9587, 24.15)(38.4043, 26.5957)% \qbezier(38.4043, 26.5957)(40.85, 29.0413)(40.85, 32.5)% \put(0,0){% - \makebox(65,65)[c]{\parbox[c]{65\sc@unittype}{\centering #1}}}% + \makebox(65,65)[c]{\parbox[c]{65\sc@unittype}{\sc@centering #1}}}% \end{picture}% } % \end{macrocode} @@ -2062,7 +2185,7 @@ \qbezier(49.5, 45.5)(51.1569, 45.5)(52.3284, 46.6716)% \qbezier(52.3284, 46.6716)(53.5, 47.8431)(53.5, 49.5)% \put(0,0){% - \makebox(99,99)[c]{\parbox[c]{99\sc@unittype}{\centering #1}}}% + \makebox(99,99)[c]{\parbox[c]{99\sc@unittype}{\sc@centering #1}}}% \end{picture}% } % \end{macrocode} @@ -2073,7 +2196,7 @@ % Usage: |\sc@jewelemptyl| \marg{content} \marg{cover width} \marg{cover height} % \begin{macrocode} \DeclareRobustCommand{\sc@jewelemptyl}[3]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{#2 - 10}% \setcounter{sc@layouttempb}{#3 - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% @@ -2091,8 +2214,8 @@ \setcounter{sc@layouttempa}{\value{sc@cdjccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@cdjccoverheightdraw} - 10}% \sc@jewelemptyl{ - \framebox(\value{sc@layouttempa},\value{sc@layouttempb})[c]{% - \parbox[c]{\value{sc@layouttempa} \sc@unittype}{\centering #1}}}% + \makebox(\value{sc@layouttempa},\value{sc@layouttempb})[c]{% + \parbox[c]{\value{sc@layouttempa} \sc@unittype}{\sc@centering #1}}}% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } @@ -2107,11 +2230,11 @@ \DeclareRobustCommand{\jeweldriverlempty}[7]{% \sc@jewelemptyl{% \put(0,80){% - \framebox(110,30){\parbox[c]{110mm}{\centering\scalebox{4.5}{#1}}}}% - \put(0,60){\framebox(110,20){\parbox[c]{110mm}{\centering\huge #2}}}% - \put(0,50){\framebox(55,10){\parbox[c]{55mm}{\centering #3}}}% - \put(0,40){\framebox(55,10){\parbox[c]{55mm}{\centering #4}}}% - \put(0,30){\framebox(55,10){\parbox[c]{55mm}{\centering #5}}}% + \framebox(110,30){\parbox[c]{110mm}{\sc@centering\scalebox{4.5}{#1}}}}% + \put(0,60){\framebox(110,20){\parbox[c]{110mm}{\sc@centering\huge #2}}}% + \put(0,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #3}}}% + \put(0,40){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #4}}}% + \put(0,30){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #5}}}% \put(55,30){\framebox(55,30)[t]{% \parbox[c]{4cm}{% \vspace{0.5cm}% @@ -2146,10 +2269,10 @@ \DeclareRobustCommand{\jewelmusiclempty}[4]{% \sc@jewelemptyl{% \put(0,60){% - \makebox(110,40)[c]{\parbox[c]{110mm}{\centering\scalebox{4}{#1}}}}% - \put(0,60){\makebox(110,10)[c]{\parbox[c]{110mm}{\centering\Large #2}}}% - \put(0,15){\makebox(110,20)[c]{\parbox[c]{110mm}{\centering\Large #4}}}% - \put(0,10){\makebox(110,10)[c]{\parbox[c]{110mm}{\centering\Large #3}}}% + \makebox(110,40)[c]{\parbox[c]{110mm}{\sc@centering\scalebox{4}{#1}}}}% + \put(0,60){\makebox(110,10)[c]{\parbox[c]{110mm}{\sc@centering\Large #2}}}% + \put(0,15){\makebox(110,20)[c]{\parbox[c]{110mm}{\sc@centering\Large #4}}}% + \put(0,10){\makebox(110,10)[c]{\parbox[c]{110mm}{\sc@centering\Large #3}}}% }% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% @@ -2161,12 +2284,12 @@ % Empty jewel backsheet layout. % Usage: |\sc@jewelbackemptyl| \marg{content} % \begin{macrocode} -\DeclareRobustCommand{\sc@jewelbackemptyl}[1]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\DeclareRobustCommand{\sc@jewelbackemptyl}[2]{% + \setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% - \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{#1}% + \csname#2\endcsname(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{#1}% \end{picture}% } % \end{macrocode} @@ -2180,7 +2303,20 @@ \setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% \sc@jewelbackemptyl{% - \parbox[c]{\value{sc@layouttempa} \sc@unittype}{\centering #1}}% + \parbox[c]{\value{sc@layouttempa} \sc@unittype}{\sc@centering #1}}{framebox}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\jewelbackIIlempty} +% Empty layout without border. +% Usage: |\jewelbackIIlempty| \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\jewelbackIIlempty}[1]{% + \setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% + \setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% + \sc@jewelbackemptyl{% + \parbox[c]{\value{sc@layouttempa} \sc@unittype}{#1}}{makebox}% } % \end{macrocode} % \end{macro} @@ -2190,11 +2326,11 @@ % Usage: |\LXlempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\LXlempty}[1]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverwidthdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \sc@jewelemptyl{% - \parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% + \parbox[c]{\value{sc@resizertempa} \sc@unittype}{\sc@centering #1}}% {\value{sc@cdLXjccoverwidthdraw}}% {\value{sc@cdLXjccoverheightdraw}}}% } @@ -2206,11 +2342,11 @@ % Usage: |\LXXXlempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\LXXXlempty}[1]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverwidthdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \sc@jewelemptyl{% - \parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% + \parbox[c]{\value{sc@resizertempa} \sc@unittype}{\sc@centering #1}}% {\value{sc@cdLXXXjccoverwidthdraw}}% {\value{sc@cdLXXXjccoverheightdraw}}}% } @@ -2223,7 +2359,7 @@ % \marg{version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\LXdriverlempty}[7]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverheightdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% @@ -2237,7 +2373,7 @@ % \marg{disk version} \marg{right middle cell} \marg{bottom cell} % \begin{macrocode} \DeclareRobustCommand{\LXXXdriverlempty}[7]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverheightdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% @@ -2274,23 +2410,23 @@ % Usage: |\jewelstripeslempty| \marg{center content} \marg{upper right content} \marg{lower left content} % \begin{macrocode} \DeclareRobustCommand{\jewelstripeslempty}[3]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \setboolean{sc@layout}{true}% \begin{picture}% (\value{sc@cdjccoverwidthdraw},\value{sc@cdjccoverheightdraw})% \put(0,75){\line(1,0){120}}% \put(0,45){\line(1,0){120}}% \put(0,45){\makebox(\value{sc@cdjccoverwidthdraw},30)[c]% - {\parbox[c]{\value{sc@cdjccoverwidthdraw}\sc@unittype}{\centering #1}}}% + {\parbox[c]{\value{sc@cdjccoverwidthdraw}\sc@unittype}{\sc@centering #1}}}% \ifthenelse{\equal{#2}{}}{}{% \put(62,117.5){\rotatebox{-40}{% \put(13.5,15){\line(1,0){49.8}}% \put(2.2,5){\line(1,0){69.8}}% - \put(5,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\centering #2}}}}}}% + \put(5,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\sc@centering #2}}}}}}% \ifthenelse{\equal{#3}{}}{}{% \put(-5,29.5){\rotatebox{-40}{% \put(-6,15){\line(1,0){69.8}}% \put(2.2,5){\line(1,0){49.8}}% - \put(0,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\centering #3}}}}}}% + \put(0,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\sc@centering #3}}}}}}% \end{picture}% } % \end{macrocode} @@ -2304,12 +2440,12 @@ \DeclareRobustCommand{\jewelgamelempty}[7]{% \sc@jewelemptyl{% \put(0,70){% - \framebox(110,40){\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% - \put(0,60){\framebox(55,10){\parbox[c]{55mm}{\centering #2}}}% - \put(55,60){\framebox(55,10){\parbox[c]{55mm}{\centering #3}}}% - \put(0,50){\framebox(55,10){\parbox[c]{55mm}{\centering #4}}}% - \put(55,50){\framebox(55,10){\parbox[c]{55mm}{\centering #5}}}% - \put(0,40){\framebox(110,10){\parbox[c]{110mm}{\centering #6}}}%% + \framebox(110,40){\parbox[c]{110mm}{\sc@centering\scalebox{3}{#1}}}}% + \put(0,60){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #2}}}% + \put(55,60){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #3}}}% + \put(0,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #4}}}% + \put(55,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #5}}}% + \put(0,40){\framebox(110,10){\parbox[c]{110mm}{\sc@centering #6}}}%% \put(0,0){\framebox(110,40)[t]{% \parbox[c]{105mm}{\vspace{5mm} #7}% }}}% @@ -2338,9 +2474,9 @@ \DeclareRobustCommand{\jewelflaglempty}[3]{% \sc@jewelemptyl{% \put(0,73.33){% - \framebox(110,36.66){\parbox[c]{110mm}{\centering #1}}}% - \put(0,36.66){\framebox(110,36.66){\parbox[c]{110mm}{\centering #2}}}% - \put(0,0){\framebox(110,36.66){\parbox[c]{110mm}{\centering #3}}}% + \framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #1}}}% + \put(0,36.66){\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #2}}}% + \put(0,0){\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #3}}}% }% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% @@ -2353,7 +2489,7 @@ % Usage: |\jewellineslempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\jewellineslempty}[1]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% + \setboolean{sc@layout}{true}% \begin{picture}% (\value{sc@cdjccoverwidthdraw},\value{sc@cdjccoverheightdraw})% \put(5,110){\line(1,0){110}}% @@ -2367,9 +2503,24 @@ \put(5,30){\line(1,0){110}}% \put(5,20){\line(1,0){110}}% \put(5,10){\line(1,0){110}}% - \put(5,10){ - \makebox(110,110){ - \parbox[c]{110mm}{\centering \setlength\baselineskip{1cm} #1}}}% + \put(5,10){% + \makebox(110,110){% + \parbox[c]{110mm}{\sc@centering \setlength\baselineskip{1cm} #1}}}% + \end{picture}% +} +% \end{macrocode} +% \end{macro} + +% \begin{macro}{\jeweltitledlempty} +% Empty cover layout with a top title part and a larger bottom part. +% Usage: |\jeweltitledlempty| \marg{title} \marg{content} +% \begin{macrocode} +\DeclareRobustCommand{\jeweltitledlempty}[2]{% + \setboolean{sc@layout}{true}% + \begin{picture}(\value{sc@cdjccoverwidthdraw}, \value{sc@cdjccoverheightdraw}) + \put(5,100){% + \makebox(110,20){\parbox[c]{110mm}{\sc@centering\huge #1}}}% + \put(5,0){\makebox(110,100){\parbox[c]{110mm}{#2}}}% \end{picture}% } % \end{macrocode} @@ -2381,15 +2532,15 @@ % \marg{director} \marg{languages} \marg{subtitle} \marg{actors} \marg{comment} % \begin{macrocode} \DeclareRobustCommand{\dvdmovielempty}[8]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@dvdkccoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,140){% - \framebox(118,33)[c]{\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% + \framebox(118,33)[c]{\parbox[c]{110mm}{\sc@centering\scalebox{3}{#1}}}}% \put(0,120){% - \framebox(118,20)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% - \put(0,110){\framebox(59,10)[c]{\parbox[c]{50mm}{\centering #3}}}% + \framebox(118,20)[c]{\parbox[c]{110mm}{\sc@centering\huge #2}}}% + \put(0,110){\framebox(59,10)[c]{\parbox[c]{50mm}{\sc@centering #3}}}% \put(0,100){\framebox(59,10)[c]{\parbox[c]{50mm}{#4}}}% \put(0,70){\framebox(59,30)[c]{\parbox[c]{50mm}{#5}}}% \put(0,40){\framebox(59,30)[c]{\parbox[c]{50mm}{#6}}}% @@ -2418,13 +2569,13 @@ % Usage: |\dvdlempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\dvdlempty}[1]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@dvdkccoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,0){% \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{% - \parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% + \parbox[c]{\value{sc@layouttempa}\sc@unittype}{\sc@centering #1}}}% \end{picture}% } % \end{macrocode} @@ -2436,15 +2587,15 @@ % \marg{director} \marg{languages} \marg{subtitles} \marg{actors} \marg{comment} % \begin{macrocode} \DeclareRobustCommand{\bluraymovielempty}[8]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@brcoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,120){% - \framebox(118,20)[c]{\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% + \framebox(118,20)[c]{\parbox[c]{110mm}{\sc@centering\scalebox{3}{#1}}}}% \put(0,105){% - \framebox(118,15)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% - \put(0,95){\framebox(59,10)[c]{\parbox[c]{50mm}{\centering #3}}}% + \framebox(118,15)[c]{\parbox[c]{110mm}{\sc@centering\huge #2}}}% + \put(0,95){\framebox(59,10)[c]{\parbox[c]{50mm}{\sc@centering #3}}}% \put(0,85){\framebox(59,10)[c]{\parbox[c]{50mm}{#4}}}% \put(0,55){\framebox(59,30)[c]{\parbox[c]{50mm}{#5}}}% \put(0,25){\framebox(59,30)[c]{\parbox[c]{50mm}{#6}}}% @@ -2473,13 +2624,13 @@ % Usage: |\bluraylempty| \marg{content} % \begin{macrocode} \DeclareRobustCommand{\bluraylempty}[1]{% - \ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% + \setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@brcoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,0){% \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{% - \parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% + \parbox[c]{\value{sc@layouttempa}\sc@unittype}{\sc@centering #1}}}% \end{picture}% } % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/simplecd/simplecd.ins b/Master/texmf-dist/source/latex/simplecd/simplecd.ins index bb469034150..254c57c793c 100644 --- a/Master/texmf-dist/source/latex/simplecd/simplecd.ins +++ b/Master/texmf-dist/source/latex/simplecd/simplecd.ins @@ -1,5 +1,5 @@ %%
-%% Copyright (C) 2010-2012 by Daniel Majoros
+%% Copyright (C) 2010-2013 by Daniel Majoros
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -19,7 +19,7 @@ This is a generated file.
-Copyright (C) 2010-2012 by Daniel Majoros
+Copyright (C) 2010-2013 by Daniel Majoros
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/tex/latex/simplecd/simplecd.sty b/Master/texmf-dist/tex/latex/simplecd/simplecd.sty index a5c6e384ae9..eec388e9532 100644 --- a/Master/texmf-dist/tex/latex/simplecd/simplecd.sty +++ b/Master/texmf-dist/tex/latex/simplecd/simplecd.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2010-2012 by Daniel Majoros +%% Copyright (C) 2010-2013 by Daniel Majoros %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{simplecd} - [2012/12/21 v1.2 simple CD, DVD covers and many more] + [2013/01/26 v1.3 simple CD, DVD covers and many more] \RequirePackage{fix-cm} \RequirePackage{calc} \RequirePackage{ifthen} @@ -37,6 +37,12 @@ \setlength{\sc@inalign}{0cm} \setboolean{sc@align}{false} } + +%% Layouts should set this to true to indicate the containing cover +%% to not use align spaces even if noalign is not used +\newboolean{sc@layout} +\setboolean{sc@layout}{false} + %% The |nofold| option removes the folding lines on the cut-outs. \DeclareOption{nofold}{ \setboolean{sc@fold}{false} @@ -48,6 +54,11 @@ \renewcommand{\sc@spinerottwo}{90} } +%% Disables horizontal centering everywhere +\DeclareOption{nohcenter}{ + \renewcommand{\sc@centering}{} +} + \newcommand{\sc@spinerotone}{90} \newcommand{\sc@spinerottwo}{270} @@ -64,6 +75,8 @@ \newcommand{\sc@falsestr}{f} +\newcommand{\sc@centering}{\centering} + \newcommand{\sc@unittype}{mm} \setlength{\unitlength}{1\sc@unittype} @@ -151,6 +164,11 @@ \newcounter{sc@layouttempc} \newcounter{sc@resizertempa} +\newcommand{\sc@doalign}[1]{% +\ifthenelse{\equal{#1}{} \OR \boolean{sc@layout}}{}{\ \\ \vspace{#1}}% +\setboolean{sc@layout}{false}% +} + \DeclareRobustCommand{\covers}[3][\ ]{% \frontcover{#2} @@ -162,19 +180,19 @@ \DeclareRobustCommand{\frontcover}[1]{% \sc@cell{#1}{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% -{\vspace{\sc@jewelalign}}% +{\sc@jewelalign}% } \DeclareRobustCommand{\LXfrontcover}[1]{% \sc@cell{#1}{\value{sc@cdLXjccoverwidthdraw}}% {\value{sc@cdLXjccoverheightdraw}}% -{\vspace{\sc@jewelalign}}% +{\sc@jewelalign}% } \DeclareRobustCommand{\LXXXfrontcover}[1]{% \sc@cell{#1}{\value{sc@cdLXXXjccoverwidthdraw}}% {\value{sc@cdLXXXjccoverheightdraw}}% -{\vspace{\sc@jewelalign}}% +{\sc@jewelalign}% } \newcounter{sc@backsheetspinerot} @@ -187,26 +205,17 @@ {\value{sc@cdjcbackheightdraw}}% {\rotatebox{\sc@spinerotone}% {\fontsize{\sc@cdjfontsize}{36}\selectfont #2}}% -{\sc@truestr}% -{\sc@truestr}% -{\sc@truestr}% -{\sc@falsestr}% +{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}% \sc@choicebox{\value{sc@cdjcbackinwidthdraw}}% {\value{sc@cdjcbackheightdraw}}% {\parbox[c]{\value{sc@cdjcbackinwidthdraw} \sc@unittype}{% -\centering #1\ \\ \vspace{\sc@jewelalign}}}% -{\sc@truestr}% -{\sc@truestr}% -{\sc@falsestr}% -{\sc@falsestr}% +\sc@centering #1\sc@doalign{\sc@jewelalign}}}% +{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}% \sc@choicebox{\value{sc@cdjcspinewidthdraw}}% {\value{sc@cdjcbackheightdraw}}% {\rotatebox{\value{sc@backsheetspinerot}}{% \fontsize{\sc@cdjfontsize}{36}\selectfont #2}}% -{\sc@truestr}% -{\sc@truestr}% -{\sc@falsestr}% -{\sc@truestr}% +{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% \end{picture}% } @@ -219,6 +228,33 @@ \end{picture}% } +\DeclareRobustCommand{\singlesheet}[4]{% +\begin{picture}(155,120)% +\put(0,2){% +\sc@choicebox{15}{116}% +{\rotatebox{90}{\parbox[c]{116\sc@unittype}{\sc@centering #4}}}% +{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}}% +\put(15,2){% +\sc@choicebox{3}{116}% +{\rotatebox{\value{sc@backsheetspinerot}}{\fontsize{9}{36}\selectfont #3}}% +{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}}% +\put(36,0){% +\makebox(120,120)[c]{% +\parbox[c]{120\sc@unittype}{% +\sc@centering #1\sc@doalign{\sc@jewelalign}}}}% +\put(18,2){% +\makebox(18,120)[c]{% +\rotatebox{270}{\parbox[c]{18\sc@unittype}{\sc@centering #2}}}}% +\put(18,2){\line(1,0){18}}% +\put(18,118){\line(1,0){18}}% +\put(36,0){\line(0,1){2}}% +\put(36,118){\line(0,1){2}}% +\put(36,0){\line(1,0){119}}% +\put(36,120){\line(1,0){119}}% +\put(155,0){\line(0,1){120}}% +\end{picture}% +} + \DeclareRobustCommand{\sc@sleeve}[6][]{% \setcounter{sc@tempc}{#5 + 2}% \setcounter{sc@tempd}{#4 + 2}% @@ -232,13 +268,13 @@ \put(#3,\value{sc@tempd}){% \sc@choicebox{\value{sc@tempc}}{\value{sc@tempd}}{% \parbox[c]{\value{sc@tempc} \sc@unittype}{% -\centering #2\ \\ \vspace{\sc@jewelalign}}% +\sc@centering #2\sc@doalign{\sc@jewelalign}}% }{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}% }% \put(#3,0){% \sc@choicebox{\value{sc@tempc}}{\value{sc@tempd}}{% \rotatebox{180}{\parbox[c]{\value{sc@tempc} \sc@unittype}{% -\centering #1\ \\ \vspace{\sc@jewelalign}}}% +\sc@centering #1\sc@doalign{\sc@jewelalign}}}% }{\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}% }% \end{picture}% @@ -301,12 +337,12 @@ \put(28,0){% \sc@choicebox{122}{122}{% \rotatebox{180}{% -\parbox[c]{122\sc@unittype}{\centering #1\ \\ \vspace{\sc@jewelalign}}% +\parbox[c]{122\sc@unittype}{\sc@centering #1\sc@doalign{\sc@jewelalign}}% }}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}{\sc@falsestr}% }% \put(28,122){% \sc@choicebox{122}{122}{% -\parbox[c]{122\sc@unittype}{\centering #2\ \\ \vspace{\sc@jewelalign}}% +\parbox[c]{122\sc@unittype}{\sc@centering #2\sc@doalign{\sc@jewelalign}}% }{\sc@falsestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \put(0,122){% @@ -323,15 +359,15 @@ \rotatebox{90}{% \sc@choicebox{#5}{#4}{% \parbox[c]{#5 \sc@unittype}{% -\centering #1\ \\ \vspace{\sc@keepcasealign}}% +\sc@centering #1\sc@doalign{\sc@keepcasealign}}% }{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}% \sc@choicebox{#6}{#4}{% \rotatebox{\sc@spinerottwo}{\parbox[c]{#4 \sc@unittype}{% -\centering #3}}% +\sc@centering #3}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@falsestr}% \sc@choicebox{#5}{#4}{% \parbox[c]{#5 \sc@unittype}{% -\centering #2\ \\ \vspace{\sc@keepcasealign}}% +\sc@centering #2\sc@doalign{\sc@keepcasealign}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \end{picture}% @@ -388,14 +424,14 @@ \DeclareRobustCommand{\sc@cell}[4]{% \begin{picture}(#2,#3)% \framebox(#2,#3)[c]{% -\parbox[c]{#2 \sc@unittype}{\centering #1\ \\ #4}% +\parbox[c]{#2 \sc@unittype}{\sc@centering #1\sc@doalign{#4}}% }% \end{picture}% } \newcommand{\sc@choicebox}[7]{% \makebox(#1,#2)[c]{% -\parbox[c]{#1 \sc@unittype}{\centering #3}% +\parbox[c]{#1 \sc@unittype}{\sc@centering #3}% }% \ifthenelse{\boolean{sc@fold} \OR \equal{#4}{\sc@truestr}}% {\put(-#1,0){\line(1,0){#1}}}{}% @@ -408,7 +444,7 @@ } \DeclareRobustCommand{\inlay}[3]{% -\sc@cell{#1}{#2}{#3}{\vspace{\sc@inalign}}% +\sc@cell{#1}{#2}{#3}{\sc@inalign}% } \DeclareRobustCommand{\dvdinlay}[1]{% @@ -428,12 +464,12 @@ \sc@choicebox{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}{% \parbox[c]{\value{sc@cdjccoverwidthdraw} \sc@unittype}{% -\centering #2\ \\ \vspace{\sc@jewelalign}}% +\sc@centering #2\sc@doalign{\sc@jewelalign}}% }{\sc@truestr}{\sc@truestr}{\sc@truestr}{\sc@falsestr}% \sc@choicebox{\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}{% \parbox[c]{\value{sc@cdjccoverwidthdraw} \sc@unittype}{% -\centering #1\ \\ \vspace{\sc@jewelalign}}% +\sc@centering #1\sc@doalign{\sc@jewelalign}}% }{\sc@truestr}{\sc@truestr}{\sc@falsestr}{\sc@truestr}% }% \end{picture}% @@ -445,10 +481,10 @@ \put(1,69.5){\line(1,0){68}}% \put(66,66.5){\qbezier(4, 2)(4, 3)(3, 3)}% \put(0,56.5){% -\makebox(70,13)[c]{\rotatebox{180}{\parbox[c]{70mm}{\centering #2}}}}% +\makebox(70,13)[c]{\rotatebox{180}{\parbox[c]{70mm}{\sc@centering #2}}}}% \put(0,54){\sc@choicebox{70}{2.5}{}% {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% -\put(0,0){\makebox(70,54)[c]{\parbox[c]{70mm}{\centering #1}}}% +\put(0,0){\makebox(70,54)[c]{\parbox[c]{70mm}{\sc@centering #1}}}% \put(0,1){\line(0,1){67.5}}% \put(70,1){\line(0,1){67.5}}% \put(1,0){\line(1,0){68}}% @@ -459,10 +495,12 @@ \DeclareRobustCommand{\zipdisk}[2]{% \begin{picture}(98,120)% -\put(0,20){\makebox(98,100)[c]{\parbox[c]{98\sc@unittype}{\centering #1}}}% +\put(0,20){\makebox(98,100)[c]{\parbox[c]{98\sc@unittype}{\sc@centering #1}}}% \put(0,13){\sc@choicebox{98}{7}{}% {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% -\put(0,0){\makebox(98,13)[c]{\rotatebox{180}{\parbox[c]{98\sc@unittype}{\centering #2}}}}% +\put(0,0){% +\makebox(98,13)[c]{% +\rotatebox{180}{\parbox[c]{98\sc@unittype}{\sc@centering #2}}}}% \put(0,0){\framebox(98,120){}}% \end{picture}% } @@ -515,7 +553,7 @@ \qbezier(65.3033, 54.6967)(67.5, 56.8934)(67.5, 60.0)% \put(0,0){% \makebox(120,120)[c]{% -\parbox[c]{120\sc@unittype}{\centering #1}% +\parbox[c]{120\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -540,7 +578,7 @@ \qbezier(65.3033, 54.6967)(67.5, 56.8934)(67.5, 60.0)% \put(0,0){% \makebox(120,120)[c]{% -\parbox[c]{120\sc@unittype}{\centering #1}% +\parbox[c]{120\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -565,7 +603,7 @@ \qbezier(71.435, 44.565)(77.0, 50.1299)(77.0, 58.0)% \put(0,0){% \makebox(116,116)[c]{% -\parbox[c]{116\sc@unittype}{\centering #1}% +\parbox[c]{116\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -590,7 +628,7 @@ \qbezier(66.455, 50.545)(69.75, 53.8401)(69.75, 58.5)% \put(0,0){% \makebox(117,117)[c]{% -\parbox[c]{117\sc@unittype}{\centering #1}% +\parbox[c]{117\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -615,7 +653,7 @@ \qbezier(44.364, 31.636)(47.0, 34.2721)(47.0, 38.0)% \put(0,0){% \makebox(76,76)[c]{% -\parbox[c]{76\sc@unittype}{\centering #1}% +\parbox[c]{76\sc@unittype}{\sc@centering #1}% }}% \end{picture}% } @@ -648,20 +686,20 @@ \qbezier(71.3033, 11.1967)(73.5, 13.3934)(73.5, 16.5)% \put(22,9){\line(1,0){44}}% \put(22,24){\line(1,0){44}}% -\framebox(88,39)[c]{\parbox[c]{88\sc@unittype}{\centering #1}}% +\framebox(88,39)[c]{\parbox[c]{88\sc@unittype}{\sc@centering #1}}% \end{picture}% } \DeclareRobustCommand{\cassetteinlay}[3]{% \begin{picture}(102,104)% \put(0,38){% -\sc@choicebox{102}{66}{\parbox[c]{102\sc@unittype}{\centering #1}}% +\sc@choicebox{102}{66}{\parbox[c]{102\sc@unittype}{\sc@centering #1}}% {\sc@falsestr}{\sc@truestr}{\sc@truestr}{\sc@truestr}}% \put(0,25){% -\sc@choicebox{102}{13}{\parbox[c]{102\sc@unittype}{\centering #2}}% +\sc@choicebox{102}{13}{\parbox[c]{102\sc@unittype}{\sc@centering #2}}% {\sc@falsestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% \put(0,0){% -\sc@choicebox{102}{25}{\parbox[c]{102\sc@unittype}{\centering #3}}% +\sc@choicebox{102}{25}{\parbox[c]{102\sc@unittype}{\sc@centering #3}}% {\sc@truestr}{\sc@falsestr}{\sc@truestr}{\sc@truestr}}% \end{picture}% } @@ -685,7 +723,7 @@ \qbezier(32.5, 24.15)(35.9587, 24.15)(38.4043, 26.5957)% \qbezier(38.4043, 26.5957)(40.85, 29.0413)(40.85, 32.5)% \put(0,0){% -\makebox(65,65)[c]{\parbox[c]{65\sc@unittype}{\centering #1}}}% +\makebox(65,65)[c]{\parbox[c]{65\sc@unittype}{\sc@centering #1}}}% \end{picture}% } @@ -708,12 +746,12 @@ \qbezier(49.5, 45.5)(51.1569, 45.5)(52.3284, 46.6716)% \qbezier(52.3284, 46.6716)(53.5, 47.8431)(53.5, 49.5)% \put(0,0){% -\makebox(99,99)[c]{\parbox[c]{99\sc@unittype}{\centering #1}}}% +\makebox(99,99)[c]{\parbox[c]{99\sc@unittype}{\sc@centering #1}}}% \end{picture}% } \DeclareRobustCommand{\sc@jewelemptyl}[3]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{#2 - 10}% \setcounter{sc@layouttempb}{#3 - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% @@ -725,8 +763,8 @@ \setcounter{sc@layouttempa}{\value{sc@cdjccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@cdjccoverheightdraw} - 10}% \sc@jewelemptyl{ -\framebox(\value{sc@layouttempa},\value{sc@layouttempb})[c]{% -\parbox[c]{\value{sc@layouttempa} \sc@unittype}{\centering #1}}}% +\makebox(\value{sc@layouttempa},\value{sc@layouttempb})[c]{% +\parbox[c]{\value{sc@layouttempa} \sc@unittype}{\sc@centering #1}}}% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } @@ -734,11 +772,11 @@ \DeclareRobustCommand{\jeweldriverlempty}[7]{% \sc@jewelemptyl{% \put(0,80){% -\framebox(110,30){\parbox[c]{110mm}{\centering\scalebox{4.5}{#1}}}}% -\put(0,60){\framebox(110,20){\parbox[c]{110mm}{\centering\huge #2}}}% -\put(0,50){\framebox(55,10){\parbox[c]{55mm}{\centering #3}}}% -\put(0,40){\framebox(55,10){\parbox[c]{55mm}{\centering #4}}}% -\put(0,30){\framebox(55,10){\parbox[c]{55mm}{\centering #5}}}% +\framebox(110,30){\parbox[c]{110mm}{\sc@centering\scalebox{4.5}{#1}}}}% +\put(0,60){\framebox(110,20){\parbox[c]{110mm}{\sc@centering\huge #2}}}% +\put(0,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #3}}}% +\put(0,40){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #4}}}% +\put(0,30){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #5}}}% \put(55,30){\framebox(55,30)[t]{% \parbox[c]{4cm}{% \vspace{0.5cm}% @@ -760,21 +798,21 @@ \DeclareRobustCommand{\jewelmusiclempty}[4]{% \sc@jewelemptyl{% \put(0,60){% -\makebox(110,40)[c]{\parbox[c]{110mm}{\centering\scalebox{4}{#1}}}}% -\put(0,60){\makebox(110,10)[c]{\parbox[c]{110mm}{\centering\Large #2}}}% -\put(0,15){\makebox(110,20)[c]{\parbox[c]{110mm}{\centering\Large #4}}}% -\put(0,10){\makebox(110,10)[c]{\parbox[c]{110mm}{\centering\Large #3}}}% +\makebox(110,40)[c]{\parbox[c]{110mm}{\sc@centering\scalebox{4}{#1}}}}% +\put(0,60){\makebox(110,10)[c]{\parbox[c]{110mm}{\sc@centering\Large #2}}}% +\put(0,15){\makebox(110,20)[c]{\parbox[c]{110mm}{\sc@centering\Large #4}}}% +\put(0,10){\makebox(110,10)[c]{\parbox[c]{110mm}{\sc@centering\Large #3}}}% }% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } -\DeclareRobustCommand{\sc@jewelbackemptyl}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\DeclareRobustCommand{\sc@jewelbackemptyl}[2]{% +\setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% -\framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{#1}% +\csname#2\endcsname(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{#1}% \end{picture}% } @@ -782,38 +820,45 @@ \setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% \sc@jewelbackemptyl{% -\parbox[c]{\value{sc@layouttempa} \sc@unittype}{\centering #1}}% +\parbox[c]{\value{sc@layouttempa} \sc@unittype}{\sc@centering #1}}{framebox}% +} + +\DeclareRobustCommand{\jewelbackIIlempty}[1]{% +\setcounter{sc@layouttempa}{\value{sc@cdjcbackinwidthdraw} - 10}% +\setcounter{sc@layouttempb}{\value{sc@cdjcbackheightdraw} - 10}% +\sc@jewelbackemptyl{% +\parbox[c]{\value{sc@layouttempa} \sc@unittype}{#1}}{makebox}% } \DeclareRobustCommand{\LXlempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverwidthdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \sc@jewelemptyl{% -\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% +\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\sc@centering #1}}% {\value{sc@cdLXjccoverwidthdraw}}% {\value{sc@cdLXjccoverheightdraw}}}% } \DeclareRobustCommand{\LXXXlempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverwidthdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \sc@jewelemptyl{% -\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\centering #1}}% +\parbox[c]{\value{sc@resizertempa} \sc@unittype}{\sc@centering #1}}% {\value{sc@cdLXXXjccoverwidthdraw}}% {\value{sc@cdLXXXjccoverheightdraw}}}% } \DeclareRobustCommand{\LXdriverlempty}[7]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXjccoverheightdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% } \DeclareRobustCommand{\LXXXdriverlempty}[7]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@resizertempa}{\value{sc@cdLXXXjccoverheightdraw} - 10}% \resizebox{\value{sc@resizertempa}\sc@unittype}{!}{% \jeweldriverlempty{#1}{#2}{#3}{#4}{#5}{#6}{#7}}% @@ -830,35 +875,35 @@ } \DeclareRobustCommand{\jewelstripeslempty}[3]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \begin{picture}% (\value{sc@cdjccoverwidthdraw},\value{sc@cdjccoverheightdraw})% \put(0,75){\line(1,0){120}}% \put(0,45){\line(1,0){120}}% \put(0,45){\makebox(\value{sc@cdjccoverwidthdraw},30)[c]% -{\parbox[c]{\value{sc@cdjccoverwidthdraw}\sc@unittype}{\centering #1}}}% +{\parbox[c]{\value{sc@cdjccoverwidthdraw}\sc@unittype}{\sc@centering #1}}}% \ifthenelse{\equal{#2}{}}{}{% \put(62,117.5){\rotatebox{-40}{% \put(13.5,15){\line(1,0){49.8}}% \put(2.2,5){\line(1,0){69.8}}% -\put(5,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\centering #2}}}}}}% +\put(5,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\sc@centering #2}}}}}}% \ifthenelse{\equal{#3}{}}{}{% \put(-5,29.5){\rotatebox{-40}{% \put(-6,15){\line(1,0){69.8}}% \put(2.2,5){\line(1,0){49.8}}% -\put(0,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\centering #3}}}}}}% +\put(0,5){\makebox(60,10)[c]{\parbox[c]{50mm}{\sc@centering #3}}}}}}% \end{picture}% } \DeclareRobustCommand{\jewelgamelempty}[7]{% \sc@jewelemptyl{% \put(0,70){% -\framebox(110,40){\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% -\put(0,60){\framebox(55,10){\parbox[c]{55mm}{\centering #2}}}% -\put(55,60){\framebox(55,10){\parbox[c]{55mm}{\centering #3}}}% -\put(0,50){\framebox(55,10){\parbox[c]{55mm}{\centering #4}}}% -\put(55,50){\framebox(55,10){\parbox[c]{55mm}{\centering #5}}}% -\put(0,40){\framebox(110,10){\parbox[c]{110mm}{\centering #6}}}%% +\framebox(110,40){\parbox[c]{110mm}{\sc@centering\scalebox{3}{#1}}}}% +\put(0,60){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #2}}}% +\put(55,60){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #3}}}% +\put(0,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #4}}}% +\put(55,50){\framebox(55,10){\parbox[c]{55mm}{\sc@centering #5}}}% +\put(0,40){\framebox(110,10){\parbox[c]{110mm}{\sc@centering #6}}}%% \put(0,0){\framebox(110,40)[t]{% \parbox[c]{105mm}{\vspace{5mm} #7}% }}}% @@ -874,16 +919,16 @@ \DeclareRobustCommand{\jewelflaglempty}[3]{% \sc@jewelemptyl{% \put(0,73.33){% -\framebox(110,36.66){\parbox[c]{110mm}{\centering #1}}}% -\put(0,36.66){\framebox(110,36.66){\parbox[c]{110mm}{\centering #2}}}% -\put(0,0){\framebox(110,36.66){\parbox[c]{110mm}{\centering #3}}}% +\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #1}}}% +\put(0,36.66){\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #2}}}% +\put(0,0){\framebox(110,36.66){\parbox[c]{110mm}{\sc@centering #3}}}% }% {\value{sc@cdjccoverwidthdraw}}% {\value{sc@cdjccoverheightdraw}}% } \DeclareRobustCommand{\jewellineslempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@jewelalign}}{}% +\setboolean{sc@layout}{true}% \begin{picture}% (\value{sc@cdjccoverwidthdraw},\value{sc@cdjccoverheightdraw})% \put(5,110){\line(1,0){110}}% @@ -897,22 +942,31 @@ \put(5,30){\line(1,0){110}}% \put(5,20){\line(1,0){110}}% \put(5,10){\line(1,0){110}}% -\put(5,10){ -\makebox(110,110){ -\parbox[c]{110mm}{\centering \setlength\baselineskip{1cm} #1}}}% +\put(5,10){% +\makebox(110,110){% +\parbox[c]{110mm}{\sc@centering \setlength\baselineskip{1cm} #1}}}% +\end{picture}% +} + +\DeclareRobustCommand{\jeweltitledlempty}[2]{% +\setboolean{sc@layout}{true}% +\begin{picture}(\value{sc@cdjccoverwidthdraw}, \value{sc@cdjccoverheightdraw}) +\put(5,100){% +\makebox(110,20){\parbox[c]{110mm}{\sc@centering\huge #1}}}% +\put(5,0){\makebox(110,100){\parbox[c]{110mm}{#2}}}% \end{picture}% } \DeclareRobustCommand{\dvdmovielempty}[8]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@dvdkccoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,140){% -\framebox(118,33)[c]{\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% +\framebox(118,33)[c]{\parbox[c]{110mm}{\sc@centering\scalebox{3}{#1}}}}% \put(0,120){% -\framebox(118,20)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% -\put(0,110){\framebox(59,10)[c]{\parbox[c]{50mm}{\centering #3}}}% +\framebox(118,20)[c]{\parbox[c]{110mm}{\sc@centering\huge #2}}}% +\put(0,110){\framebox(59,10)[c]{\parbox[c]{50mm}{\sc@centering #3}}}% \put(0,100){\framebox(59,10)[c]{\parbox[c]{50mm}{#4}}}% \put(0,70){\framebox(59,30)[c]{\parbox[c]{50mm}{#5}}}% \put(0,40){\framebox(59,30)[c]{\parbox[c]{50mm}{#6}}}% @@ -928,26 +982,26 @@ } \DeclareRobustCommand{\dvdlempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@dvdkccoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,0){% \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{% -\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% +\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\sc@centering #1}}}% \end{picture}% } \DeclareRobustCommand{\bluraymovielempty}[8]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@brcoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,120){% -\framebox(118,20)[c]{\parbox[c]{110mm}{\centering\scalebox{3}{#1}}}}% +\framebox(118,20)[c]{\parbox[c]{110mm}{\sc@centering\scalebox{3}{#1}}}}% \put(0,105){% -\framebox(118,15)[c]{\parbox[c]{110mm}{\centering\huge #2}}}% -\put(0,95){\framebox(59,10)[c]{\parbox[c]{50mm}{\centering #3}}}% +\framebox(118,15)[c]{\parbox[c]{110mm}{\sc@centering\huge #2}}}% +\put(0,95){\framebox(59,10)[c]{\parbox[c]{50mm}{\sc@centering #3}}}% \put(0,85){\framebox(59,10)[c]{\parbox[c]{50mm}{#4}}}% \put(0,55){\framebox(59,30)[c]{\parbox[c]{50mm}{#5}}}% \put(0,25){\framebox(59,30)[c]{\parbox[c]{50mm}{#6}}}% @@ -963,13 +1017,13 @@ } \DeclareRobustCommand{\bluraylempty}[1]{% -\ifthenelse{\boolean{sc@align}}{\vspace{\sc@keepcasealign}}{}% +\setboolean{sc@layout}{true}% \setcounter{sc@layouttempa}{\value{sc@dvdkccoverwidthdraw} - 10}% \setcounter{sc@layouttempb}{\value{sc@brcoverheightdraw} - 10}% \begin{picture}(\value{sc@layouttempa}, \value{sc@layouttempb})% \put(0,0){% \framebox(\value{sc@layouttempa}, \value{sc@layouttempb})[c]{% -\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\centering #1}}}% +\parbox[c]{\value{sc@layouttempa}\sc@unittype}{\sc@centering #1}}}% \end{picture}% } \endinput diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 604361eecce..1bc58c3e211 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -738,6 +738,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'pitthesis', "die 'skipping, noinfo license", 'pl', "die 'skipping, not ready, cf. cc-pl, sorry", 'pl-qx', "&MAKEplqx", + 'pmx', "die 'skipping until 2013, requires binary update'", 'pmxchords', "die 'skipping, problematic musixtex scripts'", 'pointRuler', "die 'skipping, requires compilation'", 'poltawski', "&MAKEcopy", |