summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/curve
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-08 21:58:39 +0000
committerKarl Berry <karl@freefriends.org>2006-06-08 21:58:39 +0000
commit718ca5f8852f8275d0d355cf6a35f49de06fceda (patch)
treef0d956029e6b6871bef08e13723ed992bfcc8a0c /Master/texmf-dist/tex/latex/curve
parent430248db37db171d6c79fa47d11882e06a2d90eb (diff)
curve update (losing pdfs?)
git-svn-id: svn://tug.org/texlive/trunk@1670 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/curve')
-rw-r--r--Master/texmf-dist/tex/latex/curve/curve.cls52
1 files changed, 35 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/curve/curve.cls b/Master/texmf-dist/tex/latex/curve/curve.cls
index 7d172c3903a..725bfbb1906 100644
--- a/Master/texmf-dist/tex/latex/curve/curve.cls
+++ b/Master/texmf-dist/tex/latex/curve/curve.cls
@@ -8,7 +8,7 @@
%%
-%% Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Didier Verna
+%% Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Didier Verna
%% This file is part of CurVe.
@@ -39,7 +39,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{curve}[2005/09/14 v1.10
+\ProvidesClass{curve}[2006/06/07 v1.11
Curriculum Vitae class for LaTeX2e]
\RequirePackage{ltxtable}
@@ -93,6 +93,8 @@
\noalign\bgroup\gdef\@beforespace{-\subrubricbeforespace}%
\@ifstar{\@sentry}{\@entry}}
+\newcommand\noentry[1]{\@nextentry
+ \noalign{\gdef\@nextentry{}}#1&&\kill}
\def\@subrubricfont{\Large\itshape}
\newcommand\subrubricfont[1]{\gdef\@subrubricfont{#1}}
@@ -113,11 +115,11 @@
\def\@clcccolsep{\hspace{\tabcolsep}\ifx\@prefix\@empty~\fi}
-\def\@subrubric@l#1{\multicolumn{3}{@{}l}{\@@subrubric{#1}}}
-\def\@subrubric@c#1{\multicolumn{3}{@{}c}{\@@subrubric{#1}}}
-\def\@subrubric@r#1{\multicolumn{3}{@{}r}{\@@subrubric{#1}}}
-\def\@subrubric@cl#1{&\multicolumn{2}{@{\@clcccolsep}l}{\@@subrubric{#1}}}
-\def\@subrubric@cc#1{&\multicolumn{2}{@{\@clcccolsep}c}{\@@subrubric{#1}}}
+\def\@subrubric@l#1{\multicolumn{3}{@{}l@{}}{\@@subrubric{#1}}}
+\def\@subrubric@c#1{\multicolumn{3}{@{}c@{}}{\@@subrubric{#1}}}
+\def\@subrubric@r#1{\multicolumn{3}{@{}r@{}}{\@@subrubric{#1}}}
+\def\@subrubric@cl#1{&\multicolumn{2}{@{\@clcccolsep}l@{}}{\@@subrubric{#1}}}
+\def\@subrubric@cc#1{&\multicolumn{2}{@{\@clcccolsep}c@{}}{\@@subrubric{#1}}}
\let\@subrubric\@subrubric@cl
@@ -150,11 +152,13 @@
\def\@@rubrichead#1{\@rubricfont#1\par\vspace\rubricspace}
-\def\@rubrichead@l#1{\multicolumn{3}{@{}l}{\@@rubrichead{#1}}\\}
-\def\@rubrichead@c#1{\multicolumn{3}{@{}c}{\@@rubrichead{#1}}\\}
-\def\@rubrichead@r#1{\multicolumn{3}{@{}r}{\@@rubrichead{#1}}\\}
-\def\@rubrichead@cl#1{&\multicolumn{2}{@{\@clcccolsep}l}{\@@rubrichead{#1}}\\}
-\def\@rubrichead@cc#1{&\multicolumn{2}{@{\@clcccolsep}c}{\@@rubrichead{#1}}\\}
+\def\@rubrichead@l#1{\multicolumn{3}{@{}l@{}}{\@@rubrichead{#1}}\\}
+\def\@rubrichead@c#1{\multicolumn{3}{@{}c@{}}{\@@rubrichead{#1}}\\}
+\def\@rubrichead@r#1{\multicolumn{3}{@{}r@{}}{\@@rubrichead{#1}}\\}
+\def\@rubrichead@cl#1{%
+ &\multicolumn{2}{@{\@clcccolsep}l@{}}{\@@rubrichead{#1}}\\}
+\def\@rubrichead@cc#1{%
+ &\multicolumn{2}{@{\@clcccolsep}c@{}}{\@@rubrichead{#1}}\\}
\let\@rubrichead\@rubrichead@c
@@ -177,16 +181,28 @@
\rightskip\z@skip\leftskip\@flushglue\parfillskip\z@skip}%
\gdef\@beforespace{0pt}%
\gdef\@nextentry{}%
- \gdef\@previouskey{}
- \begin{longtable}{@{}kl@{~}X}
+ \gdef\@previouskey{}%
+ \global\let\old@newpage\newpage%
+ \global\let\old@pagebreak\pagebreak%
+ \global\let\old@nopagebreak\nopagebreak
+ \begin{longtable}{@{}kl@{~}X@{}}
\@rubrichead{#1}
\endfirsthead
\@rubrichead{#1\@continuedname}
\endhead
- \noalign{\@rubricmark{#1}}}{%
+ \noalign{\@rubricmark{#1}%
+ \global\let\in@newpage\newpage%
+ \global\let\in@pagebreak\pagebreak%
+ \global\let\in@nopagebreak\nopagebreak%
+ \gdef\newpage{\@nextentry\noalign{\gdef\@nextentry{}}\in@newpage}
+ \gdef\pagebreak{\@nextentry\noalign{\gdef\@nextentry{}}\in@pagebreak}
+ \gdef\nopagebreak{\@nextentry\noalign{\gdef\@nextentry{}}\in@nopagebreak}}}{%
%% \end{rubric}
\@nextentry
- \end{longtable}}
+ \end{longtable}
+ \global\let\newpage\old@newpage%
+ \global\let\pagebreak\old@pagebreak%
+ \global\let\nopagebreak\old@nopagebreak}
\newcommand\continuedname[1]{\gdef\@continuedname{#1}}
@@ -358,7 +374,7 @@
\immediate\write\@auxout{\string\bibcite{##2}{##1}}}
\fi%
\ignorespaces}
- \def\@bibitem##1{\@sentry[\stepcounter{bibcount}\@biblabel{\thebibcount}]%
+ \def\@bibitem##1{\stepcounter{bibcount}\@sentry[\@biblabel{\thebibcount}]%
\if@filesw%
\immediate\write\@auxout{\string\bibcite{##1}{\thebibcount}}%
\fi%
@@ -367,6 +383,8 @@
\@nextentry
\noalign\bgroup\gdef\@beforespace{-\subrubricbeforespace}%
\@ifnextchar[\@lbibitem\@bibitem}
+ \def\@key##1{##1}
+ \def\@prefix{}
\begin{rubric}{\@listpubname}
}{%
\end{rubric}