summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-25 00:36:57 +0000
committerKarl Berry <karl@freefriends.org>2010-05-25 00:36:57 +0000
commitca39ed065f3a457ba5383ae7a3910ecca532ca15 (patch)
tree5f5e2d846753b5cba356fc0cd6b11f2e32d6b6c6
parentd5d8be071d52baec91f2c830f11d1efd1f8f3b14 (diff)
moderncv 0.8 (24may10)
git-svn-id: svn://tug.org/texlive/trunk@18460 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/CHANGELOG20
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/KNOWN_BUGS5
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/letter.tex8
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/publications.bib28
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/template.pdfbin0 -> 164477 bytes
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/template.tex (renamed from Master/texmf-dist/doc/latex/moderncv/examples/template_en.tex)35
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/template_casual_orange.pdfbin0 -> 164482 bytes
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/template_classic_green.pdfbin0 -> 230583 bytes
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/template_en_casual_blue.pdfbin153886 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/template_en_classic_green.pdfbin225545 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/moderncv/examples/template_multibib.pdfbin0 -> 164678 bytes
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncv.cls137
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty4
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncvthemecasual.sty9
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncvthemeclassic.sty20
-rw-r--r--Master/texmf-dist/tex/latex/moderncv/moderncvthemeempty.sty4
16 files changed, 190 insertions, 80 deletions
diff --git a/Master/texmf-dist/doc/latex/moderncv/CHANGELOG b/Master/texmf-dist/doc/latex/moderncv/CHANGELOG
index c1d10bc5937..cf604533b2f 100644
--- a/Master/texmf-dist/doc/latex/moderncv/CHANGELOG
+++ b/Master/texmf-dist/doc/latex/moderncv/CHANGELOG
@@ -1,9 +1,24 @@
+version 0.8 (24 May 2010)
+ - added support for multibib.
+ - added a command to indicate your personal homepage (\homepage{url}), as
+ requested by J. de Jong and A. Pairet.
+ - corrected an alignment bug for text following a \quote with no immediate
+ \section, as kindly reported by J. Vermeulen and L. Saliou.
+ - corrected a spacing bug when no blank line (or \par) is left after \maketitle.
+ Thanks to A. Menzel for reporting the strange behaviour.
+ - corrected the alignment of the extrainfo title part when no picture was used,
+ as reported by M. Bana.
+ - corrected the missplacement of pdf bookmarks as noticed by L. Fortunato.
+ - corrected several bugs linked to the code for checking for empty arguments in
+ \cventry, as reported by B. Ekran, L. Păncescu and E. Gregorio.
+
version 0.7 (17 June 2008)
- corrected an outstanding spacing bug (space between cvlines longer
than 1 line).
- removed the need to use \closesection and \emptysection as internal
tabulars are now always closed. This allows she use of bibliography packages
- such as bibunits.
+ such as bibunits. Thanks to S. Busch for pointing out the incompatibility and
+ helping testing out the bug correction.
- changed the definition of \photo: the first (optional) argument should
give the desired width of the picture, instead of its height
- corrected an alignment bug for \cvlistitems longer than 1 line, as
@@ -21,7 +36,8 @@ version 0.6 (28 May 2007)
U. Stöhr.
- added color variants to the classic and casual style, as suggested by
U. Stöhr.
- - added a requested by A. Martin.
+ - added a page counter for resumes running longer than 1 page, as requested by
+ A. Martin. It can be disabled by the command \nopagenumbers{}.
- added commands to include a mobile phone and fax number.
- made the symbols used for the phone number, the email, ... customizable.
To modify those symbols, just redefine \phonesymbol, emailsymbol, ...
diff --git a/Master/texmf-dist/doc/latex/moderncv/KNOWN_BUGS b/Master/texmf-dist/doc/latex/moderncv/KNOWN_BUGS
index 93940991301..bc1a20860f8 100644
--- a/Master/texmf-dist/doc/latex/moderncv/KNOWN_BUGS
+++ b/Master/texmf-dist/doc/latex/moderncv/KNOWN_BUGS
@@ -1,2 +1,5 @@
- The \cvsection command seems to be unable to handle a Chinese argument, using
-CJK.
+ CJK.
+- Moderncv produces an error ("lonely \item--perhaps a missing list environment")
+ when used with bibentry, through the output is actually correct. Amongst other,
+ this causes compilation by LyX to stop.
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/letter.tex b/Master/texmf-dist/doc/latex/moderncv/examples/letter.tex
index bb613b0ee73..a4aa825cbc2 100644
--- a/Master/texmf-dist/doc/latex/moderncv/examples/letter.tex
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/letter.tex
@@ -1,3 +1,11 @@
+%% start of file `template_en.tex'.
+%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License version 1.3c,
+% available at http://www.latex-project.org/lppl/.
+
+
\documentclass[11pt]{article}
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/publications.bib b/Master/texmf-dist/doc/latex/moderncv/examples/publications.bib
index 2149ec056e2..dc1f22c9f1e 100644
--- a/Master/texmf-dist/doc/latex/moderncv/examples/publications.bib
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/publications.bib
@@ -6,16 +6,36 @@
% available at http://www.latex-project.org/lppl/.
-@BOOK{publication1,
- author = {Author 1 and Author 2},
+@BOOK{book1,
+ author = {John Doe and Author 1},
title = {Title},
publisher = {Publisher},
edition = {edition},
year = {year},
}
-@MISC{publication2,
- author = {Author},
+@BOOK{book2,
+ author = {John Doe and Author 2},
+ title = {Title},
+ publisher = {Publisher},
+ edition = {edition},
+ year = {year},
+}
+
+@MISC{misc1,
+ author = {John Doe},
+ title = {Title},
+ year = {year},
+}
+
+@MISC{misc2,
+ author = {John Doe and Author 3},
+ title = {Title},
+ year = {year},
+}
+
+@MISC{misc3,
+ author = {John Doe},
title = {Title},
year = {year},
}
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/template.pdf b/Master/texmf-dist/doc/latex/moderncv/examples/template.pdf
new file mode 100644
index 00000000000..8db04f4f33b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/template.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/template_en.tex b/Master/texmf-dist/doc/latex/moderncv/examples/template.tex
index 3ed87b0e501..a2e05297a2e 100644
--- a/Master/texmf-dist/doc/latex/moderncv/examples/template_en.tex
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/template.tex
@@ -1,5 +1,5 @@
-%% start of file `template_en.tex'.
-%% Copyright 2006-1008 Xavier Danaux (xdanaux@gmail.com).
+%% start of file `template.tex'.
+%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
@@ -19,7 +19,7 @@
\usepackage[scale=0.8]{geometry}
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}} % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
-\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths
+%\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths
% personal data
\firstname{John}
@@ -30,13 +30,21 @@
\phone{phone (optional)} % optional, remove the line if not wanted
\fax{fax (optional)} % optional, remove the line if not wanted
\email{email (optional)} % optional, remove the line if not wanted
+\homepage{homepage (optional)} % optional, remove the line if not wanted
\extrainfo{additional information (optional)} % optional, remove the line if not wanted
\photo[64pt]{picture} % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted
\quote{Some quote (optional)} % optional, remove the line if not wanted
-%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
+% for BibTeX numerical labels
+%\makeatletter
+%\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
+%\makeatother
+% bibliography with mutiple entries
+%\usepackage{multibib}
+%\newcites{book,misc}{{Books},{Others}}
+%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
@@ -60,9 +68,9 @@
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2}% arguments 3 to 6 are optional
\section{Languages}
-\cvlanguage{language 1}{Skill level}{Comment}
-\cvlanguage{language 2}{Skill level}{Comment}
-\cvlanguage{language 3}{Skill level}{Comment}
+\cvlanguage{Language 1}{Skill level}{Comment}
+\cvlanguage{Language 2}{Skill level}{Comment}
+\cvlanguage{Language 3}{Skill level}{Comment}
\section{Computer skills}
\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
@@ -83,14 +91,23 @@
\section{Extra 2}
\cvlistdoubleitem[\Neutral]{Item 1}{Item 4}
-\cvlistdoubleitem[\Neutral]{Item 2}{Item 5}
+\cvlistdoubleitem[\Neutral]{Item 2}{Item 5\cite{book1}}
\cvlistdoubleitem[\Neutral]{Item 3}{}
-% Publications from a BibTeX file
+% Publications from a BibTeX file without multibib\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% for BibTeX numerical labels
\nocite{*}
\bibliographystyle{plain}
\bibliography{publications} % 'publications' is the name of a BibTeX file
+% Publications from a BibTeX file using the multibib package
+%\section{Publications}
+%\nocitebook{book1,book2}
+%\bibliographystylebook{plain}
+%\bibliographybook{publications} % 'publications' is the name of a BibTeX file
+%\nocitemisc{misc1,misc2,misc3}
+%\bibliographystylemisc{plain}
+%\bibliographymisc{publications} % 'publications' is the name of a BibTeX file
+
\end{document}
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/template_casual_orange.pdf b/Master/texmf-dist/doc/latex/moderncv/examples/template_casual_orange.pdf
new file mode 100644
index 00000000000..77c75ac3eb5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/template_casual_orange.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/template_classic_green.pdf b/Master/texmf-dist/doc/latex/moderncv/examples/template_classic_green.pdf
new file mode 100644
index 00000000000..b6df167df3f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/template_classic_green.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/template_en_casual_blue.pdf b/Master/texmf-dist/doc/latex/moderncv/examples/template_en_casual_blue.pdf
deleted file mode 100644
index e1db45ba2c4..00000000000
--- a/Master/texmf-dist/doc/latex/moderncv/examples/template_en_casual_blue.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/template_en_classic_green.pdf b/Master/texmf-dist/doc/latex/moderncv/examples/template_en_classic_green.pdf
deleted file mode 100644
index 9128c8c4976..00000000000
--- a/Master/texmf-dist/doc/latex/moderncv/examples/template_en_classic_green.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/moderncv/examples/template_multibib.pdf b/Master/texmf-dist/doc/latex/moderncv/examples/template_multibib.pdf
new file mode 100644
index 00000000000..3b6d98d0f76
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moderncv/examples/template_multibib.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
index ff667f8beeb..f06b0e7d760 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncv.cls
@@ -1,5 +1,5 @@
%% start of file `moderncv.cls'.
-%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
+%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{moderncv}[2008/06/17 v0.7 modern curriculum vitae document class]
+\ProvidesClass{moderncv}[2010/05/24 v0.8 modern curriculum vitae document class]
%-------------------------------------------------------------------------------
@@ -68,6 +68,10 @@
\newif\if@color\@colortrue
\DeclareOption{nocolor}{\@colorfalse}
+% CJK option
+%\newif\if@CJK\@CJKfalse
+%\DeclareOption{CJK}{\@CJKtrue}
+
% execute default options
\ExecuteOptions{a4paper,11pt,color,final}
@@ -79,29 +83,36 @@
%-------------------------------------------------------------------------------
% required packages
%-------------------------------------------------------------------------------
-% ifthen package
+% \AtEndPreamble hook (could load package etoolbox instead of defining it)
+%\RequirePackage{etoolbox}
+\let\@endpreamblehook\@empty
+\def\AtEndPreamble{\g@addto@macro\@endpreamblehook}
+\let\moderncv@document\document
+\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document}
+
+% if... then... else... constructs
\RequirePackage{ifthen}
-% ifpdf package
+% pdf vs ps compilation
\RequirePackage{ifpdf}
-% color package
+% color
\ifpdf
\RequirePackage[pdftex]{color}
\else
\RequirePackage[dvips]{color}
\fi
-% fontenc package
+% font encoding
\RequirePackage[T1]{fontenc}
% scalable Computer Modern fonts
%\usepackage{type1cm}
% latin modern fonts
-\AtEndOfClass{%
+%\AtEndOfClass{%
\if@lmodern
- \RequirePackage{lmodern}\fi}
+ \RequirePackage{lmodern}\fi%}
% symbols like \Telefon, \Mobilefone, \Letter and \Email
\RequirePackage{marvosym}
@@ -119,27 +130,33 @@
% hyperrefs
\RequirePackage{url}
-\ifpdf
- \RequirePackage[pdftex,]{hyperref}
-\else
- \RequirePackage[dvips]{hyperref}\fi
-\hypersetup{%
- breaklinks,
- baseurl = http://,%
- pdfborder = 0 0 0,%
- pdfpagemode = UseNone,%
-% pdfstartview = XYZ,%
- pdfstartpage = 1,%
- pdfcreator = \LaTeX{} with `moderncv' package,%
- pdfproducer = \LaTeX}
-\AtEndOfClass{%
- \AtBeginDocument{%
- \hypersetup{%
- pdfauthor = \@firstname~\@familyname,%
- pdftitle = \@title,%
- pdfsubject = \@firstname~\@familyname,%
- pdfkeywords = \@firstname~\@familyname{} curriculum vit\ae{}}}}
\urlstyle{tt}
+% load hyperred at the end of the preamble to pass options required by loaded packages (like CJK)
+\AtEndPreamble{
+ \@ifpackageloaded{CJK}
+ {
+ \ifpdf\RequirePackage[pdftex,CJKbookmarks]{hyperref}
+ \else\RequirePackage[dvips,CJKbookmarks]{hyperref}\fi}
+ {
+ \ifpdf\RequirePackage[pdftex]{hyperref}
+ \else\RequirePackage[dvips]{hyperref}\fi}
+ \AtBeginDocument{
+ \hypersetup{
+ breaklinks,
+ baseurl = http://,
+ pdfborder = 0 0 0,
+ pdfpagemode = UseNone,% do not show thumbnails or bookmarks on opening
+% pdfstartview = FitH,
+ pdfstartpage = 1,
+ pdfcreator = \LaTeX{} with `moderncv' package,
+ pdfproducer = \LaTeX{},
+ bookmarksopen = true,
+ pdfauthor = \@firstname~\@familyname,
+ pdftitle = \@title,
+ pdfsubject = \@firstname~\@familyname,
+ pdfkeywords = \@firstname~\@familyname{} curriculum vit\ae{}}}
+ \pagenumbering{arabic}% has to be issued after loading hyperref
+}
% graphics
\ifpdf
@@ -149,7 +166,7 @@
% headers and footers
\usepackage{fancyhdr}
-\fancypagestyle{plain}{%
+\fancypagestyle{plain}{
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhf{}}
@@ -170,8 +187,17 @@
\setlength{\parskip}{0pt}
\setlength\columnsep{10\p@}
\setlength\columnseprule{0\p@}
+
+% TO BE TESTED
+%\setlength\arraycolsep{5\p@}
+%\setlength\tabcolsep{6\p@}
+%\setlength\arrayrulewidth{.4\p@}
+%\setlength\doublerulesep{2\p@}
+%\setlength\tabbingsep{\labelsep}
+%\setlength\fboxsep{3\p@}
+%\setlength\fboxrule{.4\p@}
+
\pagestyle{empty}
-\pagenumbering{arabic}
\raggedbottom
\onecolumn
@@ -186,6 +212,7 @@
\providecommand*{\phonesymbol}{\Telefon}
\providecommand*{\faxsymbol}{\FAX}
\providecommand*{\emailsymbol}{\Letter}
+\providecommand*{\homepagesymbol}{{\Large\ComputerMouse}}
% colors
\definecolor{firstnamecolor}{rgb}{0,0,0}
@@ -222,8 +249,8 @@
\newcommand*{\moderncvtheme}[2][]{
\def\@moderncvtheme{#2}
\def\@moderncvthemeoptions{#1}}
-\moderncvtheme{casual} % default theme
-\AtBeginDocument{\RequirePackage[\@moderncvthemeoptions]{moderncvtheme\@moderncvtheme}}
+\moderncvtheme{casual}% default theme
+\AtEndPreamble{\RequirePackage[\@moderncvthemeoptions]{moderncvtheme\@moderncvtheme}}
%-------------------------------------------------------------------------------
@@ -237,6 +264,7 @@
\newcommand*{\phone}[1]{\def\@phone{#1}}
\renewcommand*{\fax}[1]{\def\@fax{#1}}
\newcommand*{\email}[1]{\def\@email{#1}}
+\newcommand*{\homepage}[1]{\def\@homepage{#1}}
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
\def\@photowidth{0pt}
\newcommand*{\photo}[2][64pt]{\def\@photowidth{#1}\def\@photo{#2}}
@@ -285,8 +313,8 @@
\recomputelengths
% makes the cv title
+%\newcommand*{\maketitle}{}%
\title{}% to avoid LaTeX complaining that \maketitle is a called without first a call to \title
-\renewcommand*{\maketitle}{}%
% draws a colored rectangle
% usage: \colorrule[optional height]{width}
@@ -294,17 +322,21 @@
% usage: \section{<title>}
\newcommand*{\section}[1]{%
- \vspace*{2.5ex \@plus 1ex \@minus .2ex}%
+ \vspace*{2.5ex}%
+ \parbox[m]{\hintscolumnwidth}{\raggedleft\hintfont{\color{sectionrectanglecolor}\rule{\hintscolumnwidth}{1ex}}}%
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{part}{#1}%
- \parbox[m]{\hintscolumnwidth}{\raggedleft\hintfont{\color{sectionrectanglecolor}\rule{\hintscolumnwidth}{1ex}}}%
\hspace{\separatorcolumnwidth}%
\parbox[m]{\maincolumnwidth}{\sectionstyle{#1}}\\[1ex]}
% \cvline[1ex]{\color{sectionrectanglecolor}\rule[0]{\hintscolumnwidth}{1ex}}{\sectionstyle{#1}}}% gives bad alignment of rectangle; too bad m{width} columns seem not to work as a valid column definition for tabular environments
% usage: \subsection{title}
\newcommand*{\subsection}[1]{%
- \cvline[0.45em]{}{\subsectionstyle{#1}}}
+ \cvline[0.5ex]{}{%
+ \subsectionstyle{#1}%
+% \phantomsection{}% reset the anchor for hyperrefs
+% \addcontentsline{toc}{chapter}{#1}% does not work, the bookmark is placed at the same level as sections (placed themselves at part level to be visible, as hyperref does not allow sections without parents...)
+ }}
% usage: \cvline{margintext}{linetext}
\newcommand*{\cvline}[3][.25em]{%
@@ -334,12 +366,13 @@
\newcommand*{\cventry}[6]{%
\cvline{#1}{%
{\bfseries#2}%
- \ifx#3\else{, {\slshape#3}}\fi%
- \ifx#4\else{, #4}\fi%
- \ifx#5\else{, #5}\fi%
+ \ifthenelse{\equal{#3}{}}{}{, {\slshape#3}}%
+ \ifthenelse{\equal{#4}{}}{}{, #4}%
+ \ifthenelse{\equal{#5}{}}{}{, #5}%
.%
- \ifx#6\else{\newline{}\begin{minipage}[t]{\linewidth}\small#6\end{minipage}}\fi
- }}%
+ \ifx&#6&%
+ \else{\newline{}\begin{minipage}[t]{\linewidth}\small#6\end{minipage}}\fi%
+ }}%
% usage (inside 'language' cvsection environment): \cvlanguage{name}{level}{comment}
\newcommand*{\cvlanguage}[3]{%
@@ -370,26 +403,30 @@
% usage: \nopagenumbers{}
\newif\if@displaypagenumbers\@displaypagenumberstrue
\newcommand*{\nopagenumbers}{\@displaypagenumbersfalse}
+\AtEndPreamble{%
\AtBeginDocument{%
\if@displaypagenumbers%
\@ifundefined{r@lastpage}{}{%
\ifthenelse{\pageref{lastpage} > 1}{%
- \fancypagestyle{plain}{%
- \fancyfoot[r]{\addressfont\color{quotecolor}\footnotesize\thepage/\pageref{lastpage}}}%
- \pagestyle{plain}}{}}%
- \AtEndDocument{\label{lastpage}}%
- \fi}
+ \fancypagestyle{plain}{%
+ \fancyfoot[r]{\addressfont\color{quotecolor}\footnotesize\thepage/\pageref{lastpage}}}%
+ \pagestyle{plain}}{}}%
+ \AtEndDocument{\label{lastpage}}\else\fi}}
-% thebibliography environment, for use with BibTeX
+% thebibliography environment, for use with BibTeX and possibly multibib
\newcommand{\refname}{Publications}
\newlength{\bibindent}
\setlength{\bibindent}{1.5em}
% bibliography item label
\newcommand*{\bibliographyitemlabel}{}% use \@biblabel{\arabic{enumiv}} for BibTeX labels
+%\newif\if@multibibfirstbib\@multibibfirstbibfalse
+% bibliography head (section, etc}, depending on whether multibib is used
+\newcommand*{\bibliographyhead}[1]{\section{#1}}
+\AtEndPreamble{\@ifpackageloaded{multibib}{\renewcommand*{\bibliographyhead}[1]{\subsection{#1}}}{}}
+% thebibliography environment definition
\newenvironment{thebibliography}[1]%
{%
- \section{\refname}%
-% \vspace*{-0.65em}%
+ \bibliographyhead{\refname}%
\small%
\begin{list}{\bibliographyitemlabel}%
{%
@@ -413,7 +450,7 @@
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\let\@openbib@code\@empty
-% the classical \today definition
+% classical \today definition
\def\today{\ifcase\month\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\fi
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
index 19b62d88345..88adfb79819 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncvcompatibility.sty
@@ -1,5 +1,5 @@
%% start of file `moderncvcompatibility.sty'.
-%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
+%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{moderncvcompatibility}[2008/06/17 v0.7 modern curriculum vitae compatibility patches]
+\ProvidesPackage{moderncvcompatibility}[2010/05/24 v0.8 modern curriculum vitae compatibility patches]
%-------------------------------------------------------------------------------
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvthemecasual.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvthemecasual.sty
index ebb7dd2455c..e5b3ea42b7d 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncvthemecasual.sty
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncvthemecasual.sty
@@ -1,5 +1,5 @@
%% start of file `moderncvthemecasual.sty'.
-%% Copyright 2007 Xavier Danaux (xdanaux@gmail.com).
+%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{moderncvthemecasual}[2008/06/17 v0.7 modern curriculum vitae style: casual]
+\ProvidesPackage{moderncvthemecasual}[2010/05/24 v0.8 modern curriculum vitae style: casual]
%-------------------------------------------------------------------------------
@@ -117,8 +117,8 @@
% optional quote
\ifthenelse{\isundefined{\@quote}}%
{}%
- {\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}%
- }%
+ {{\centering{}\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
+ \par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle
% cv footer
\newif\if@firstfooterelement\@firstfooterelementtrue
@@ -142,6 +142,7 @@
\ifthenelse{\isundefined{\@phone}}{}{\footersymbol\phonesymbol~\@phone\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@fax}}{}{\footersymbol\faxsymbol~\@fax\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@email}}{}{\footersymbol\emailsymbol~\emaillink{\@email}\@firstfooterelementfalse}%
+ \ifthenelse{\isundefined{\@homepage}}{}{\footersymbol\homepagesymbol~\httplink{\@homepage}\@firstfooterelementfalse}%
\ifthenelse{\isundefined{\@extrainfo}}{}{\footersymbol\@extrainfo\@firstfooterelementfalse}}}%
}%
\pagestyle{plain}}
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvthemeclassic.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvthemeclassic.sty
index 872d67d5796..2d2f191a4b1 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncvthemeclassic.sty
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncvthemeclassic.sty
@@ -1,5 +1,5 @@
%% start of file `moderncvthemeclassic.sty'.
-%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
+%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{moderncvthemeclassic}[2008/06/17 v0.7 modern curriculum vitae style: classic]
+\ProvidesPackage{moderncvthemeclassic}[2010/05/24 v0.8 modern curriculum vitae style: classic]
%-------------------------------------------------------------------------------
@@ -121,8 +121,10 @@
\renewcommand*{\recomputethemelengths}{%
\setlength{\maketitledetailswidth}{\textwidth}%
\addtolength{\maketitledetailswidth}{-\maketitlenamewidth}%
- \addtolength{\maketitledetailswidth}{-\separatorcolumnwidth}%
- \addtolength{\maketitledetailswidth}{-\maketitlepicturewidth}}
+ \ifthenelse{\lengthtest{\maketitlepicturewidth=0pt}}%
+ {}%
+ {\addtolength{\maketitledetailswidth}{-\separatorcolumnwidth}%
+ \addtolength{\maketitledetailswidth}{-\maketitlepicturewidth}}}
\recomputethemelengths
\newif\if@firstdetailselement\@firstdetailselementtrue
\newcommand*{\maketitledetailsnewline}{
@@ -147,16 +149,22 @@
\ifthenelse{\isundefined{\@phone}}{}{\maketitledetailsnewline\phonesymbol~\@phone}%
\ifthenelse{\isundefined{\@fax}}{}{\maketitledetailsnewline\faxsymbol~\@fax}%
\ifthenelse{\isundefined{\@email}}{}{\maketitledetailsnewline\emailsymbol~\emaillink{\@email}}%
+ \ifthenelse{\isundefined{\@homepage}}{}{\maketitledetailsnewline\homepagesymbol~\httplink{\@homepage}}%
\ifthenelse{\isundefined{\@extrainfo}}{}{\maketitledetailsnewline\@extrainfo}%
\end{minipage}%
% optional photo
\ifthenelse{\isundefined{\@photo}}%
{}%
- {\hspace*{\separatorcolumnwidth}\color{firstnamecolor}\framebox{\includegraphics[width=\maketitlepicturewidth]{\@photo}}}\\[3em]%
+ {%
+ \hspace*{\separatorcolumnwidth}%
+ \begin{minipage}[b]{\maketitlepicturewidth}%
+ \raggedleft{}\addressfont\color{addresscolor}% required to correctly align content
+ \framebox{\includegraphics[width=\maketitlepicturewidth]{\@photo}}%
+ \end{minipage}}\\[3em]%
% optional quote
\ifthenelse{\isundefined{\@quote}}%
{}%
- {\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}%
+ {{\centering{}\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
}
diff --git a/Master/texmf-dist/tex/latex/moderncv/moderncvthemeempty.sty b/Master/texmf-dist/tex/latex/moderncv/moderncvthemeempty.sty
index de6c94a3a54..9c1aeab8c23 100644
--- a/Master/texmf-dist/tex/latex/moderncv/moderncvthemeempty.sty
+++ b/Master/texmf-dist/tex/latex/moderncv/moderncvthemeempty.sty
@@ -1,5 +1,5 @@
%% start of file `moderncvthemeempty.sty'.
-%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
+%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
@@ -10,7 +10,7 @@
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{moderncvthemeempty}[2008/06/17 v0.7 modern curriculum vitae style: empty]
+\ProvidesPackage{moderncvthemeempty}[2010/05/24 v0.8 modern curriculum vitae style: empty]
%-------------------------------------------------------------------------------