Version 0.10 commit

This commit is contained in:
Xavier Danaux
2010-06-13 21:39:11 +02:00
parent e46223e8e9
commit 03e827c31b
3 changed files with 132 additions and 123 deletions

241
CHANGELOG
View File

@ -1,116 +1,125 @@
version 0.9 (31 May 2010) version 0.10 (13 June 2010)
- added support for the itemize, enumerate and description environments. - fixed a compatibility issue with the natbib package (natbib uses \section*
to format the bibliography title, while only \section was defined by moderncv),
version 0.8 (24 May 2010) as reported on launchpad (bug #393920).
- added support for multibib. - fixed a compatibility issues with (any package relying on) the etoolbox package,
- added a command to indicate your personal homepage (\homepage{url}), as due to the double definition of \AtEndPreamble, as reported by D. Becker.
requested by J. de Jong and A. Pairet.
- corrected an alignment bug for text following a \quote with no immediate version 0.9 (31 May 2010)
\section, as kindly reported by J. Vermeulen and L. Saliou. - added support for the itemize, enumerate and description environments.
- corrected a spacing bug when no blank line (or \par) is left after \maketitle.
Thanks to A. Menzel for reporting the strange behaviour. version 0.8 (24 May 2010)
- corrected the alignment of the extrainfo title part when no picture was used, - added support for multibib. Also modified the template to illustrate how to show
as reported by M. Bana. labels in the bibliography, as requested by Tom D. R. and Stefan K.
- corrected the missplacement of pdf bookmarks as noticed by L. Fortunato. - added a command to indicate your personal homepage (\homepage{url}), as
- corrected several bugs linked to the code for checking for empty arguments in requested by J. de Jong and A. Pairet.
\cventry, as reported by B. Ekran, L. Păncescu and E. Gregorio. - corrected an alignment bug for text following a \quote with no immediate
\section, as kindly reported by J. Vermeulen and L. Saliou.
version 0.7 (17 June 2008) - corrected a spacing bug when no blank line (or \par) is left after \maketitle.
- corrected an outstanding spacing bug (space between cvlines longer Thanks to A. Menzel for reporting the strange behaviour.
than 1 line). - corrected the alignment of the extrainfo title part when no picture was used,
- removed the need to use \closesection and \emptysection as internal as reported by M. Bana.
tabulars are now always closed. This allows she use of bibliography packages - corrected the missplacement of pdf bookmarks as noticed by L. Fortunato.
such as bibunits. Thanks to S. Busch for pointing out the incompatibility and - corrected several bugs linked to the code for checking for empty arguments in
helping testing out the bug correction. \cventry, as reported by B. Ekran (launchpad bug #268768), L. Păncescu and
- changed the definition of \photo: the first (optional) argument should E. Gregorio.
give the desired width of the picture, instead of its height
- corrected an alignment bug for \cvlistitems longer than 1 line, as version 0.7 (17 June 2008)
reported by S. Nikolopoulos. - corrected an outstanding spacing bug (space between cvlines longer
- deprecated the commands \sethintscolumnlength and \sethintscolumntowidth. than 1 line).
Instead, just set \hintscolumnwidth to the desired length by using the regular - removed the need to use \closesection and \emptysection as internal
\setlength or \settowidth commands, and call \recomputelengths. tabulars are now always closed. This allows she use of bibliography packages
- added the ability to control the width of the name placeholder in the classic such as bibunits. Thanks to S. Busch for pointing out the incompatibility and
theme, by setting the length \maketitlenamewidth. Again, don't forget to call helping testing out the bug correction.
\recomputelengths afterward. - changed the definition of \photo: the first (optional) argument should
give the desired width of the picture, instead of its height
version 0.6 (28 May 2007) - corrected an alignment bug for \cvlistitems longer than 1 line, as
- corrected some spacing bugs and cleaned up the code. reported by S. Nikolopoulos.
- corrected a bug in the bibliography file of the examples spotted by - deprecated the commands \sethintscolumnlength and \sethintscolumntowidth.
U. Stöhr. Instead, just set \hintscolumnwidth to the desired length by using the regular
- added color variants to the classic and casual style, as suggested by \setlength or \settowidth commands, and call \recomputelengths.
U. Stöhr. - added the ability to control the width of the name placeholder in the classic
- added a page counter for resumes running longer than 1 page, as requested by theme, by setting the length \maketitlenamewidth. Again, don't forget to call
A. Martin. It can be disabled by the command \nopagenumbers{}. \recomputelengths afterward.
- added commands to include a mobile phone and fax number.
- made the symbols used for the phone number, the email, ... customizable. version 0.6 (28 May 2007)
To modify those symbols, just redefine \phonesymbol, emailsymbol, ... - corrected some spacing bugs and cleaned up the code.
- corrected the pdf information given to hyperref as pointed out by - corrected a bug in the bibliography file of the examples spotted by
C. Knuepfer. U. Stöhr.
- rewrote the examples. - added color variants to the classic and casual style, as suggested by
U. Stöhr.
version 0.5 (9 September 2006) - added a page counter for resumes running longer than 1 page, as requested by
- added a \photo command to display a picture. That command takes the name of A. Martin. It can be disabled by the command \nopagenumbers{}.
the file with the picture as argument, and the desired height as optional - added commands to include a mobile phone and fax number.
argument. - made the symbols used for the phone number, the email, ... customizable.
- implemented the needed commands to make moderncv compatible with BibTeX, as To modify those symbols, just redefine \phonesymbol, emailsymbol, ...
suggested by J. Lie. This makes it possible to display one's publications, - corrected the pdf information given to hyperref as pointed out by
stored in the BibTeX file 'publications.bib' C. Knuepfer.
by using: - rewrote the examples.
\nocite{*}
\bibliographystyle{plain} version 0.5 (9 September 2006)
\bibliography{publications} - added a \photo command to display a picture. That command takes the name of
As usual, the name of the section title can be changed by redefining the the file with the picture as argument, and the desired height as optional
command \refname. argument.
- added the \today command, useful for example if one need to add the date the - implemented the needed commands to make moderncv compatible with BibTeX, as
resumé was produced with suggested by J. Lie. This makes it possible to display one's publications,
\closesection{} stored in the BibTeX file 'publications.bib'
\vfill{\hfill{\scriptsize Produced \today.}} by using:
at the end of your CV, as suggested by F. Hammann. \nocite{*}
\bibliographystyle{plain}
version 0.4 (2 May 2006) \bibliography{publications}
- removed the dependency on the geometry package, so that users can now invoke As usual, the name of the section title can be changed by redefining the
it themselve, and easily change the geometry of the page. command \refname.
- added the \today command, useful for example if one need to add the date the
version 0.3 (10 April 2006) resumé was produced with
- moderncv now uses the 'longtable' class, allowing cv sections to split \closesection{}
across multiple pages. \vfill{\hfill{\scriptsize Produced \today.}}
- the different lengths used by moderncv are now customizable! In particular, at the end of your CV, as suggested by F. Hammann.
the first column (the one containing the date in the examples), can now be set
to any width, for people needing a smaller or larger one. To do that, either version 0.4 (2 May 2006)
use - removed the dependency on the geometry package, so that users can now invoke
\sethintscolumnlength{<length>}, it themselve, and easily change the geometry of the page.
where <length> is the desired length in a unit LaTeX understands, or
\sethintscolumntowidth{<string>}, version 0.3 (10 April 2006)
where <string> is a string of the desired length (usually, the longest string - moderncv now uses the 'longtable' class, allowing cv sections to split
that has to appear in the column). Thanks to A. Pöge for pointing out the need across multiple pages.
of such a feature. - the different lengths used by moderncv are now customizable! In particular,
- added the command \emptysection{}, which makes it possible to start a the first column (the one containing the date in the examples), can now be set
section without name. In combination with \closesection{}, this makes it to any width, for people needing a smaller or larger one. To do that, either
possible to drop out of the layout of moderncv, and come back to it later. use
This should make the inclusion of arbitrary elements not covered by moderncv \sethintscolumnlength{<length>},
code possible. where <length> is the desired length in a unit LaTeX understands, or
- corrected a spacing problem in the cventry command, as pointed out and \sethintscolumntowidth{<string>},
solved by B. Eßmann. where <string> is a string of the desired length (usually, the longest string
that has to appear in the column). Thanks to A. Pöge for pointing out the need
version 0.2 (6 March 2006) of such a feature.
- rewrite of the code to have the styles (fonts, colours, headers and footers) - added the command \emptysection{}, which makes it possible to start a
be defined in different files than the class. The styles are now defined in a section without name. In combination with \closesection{}, this makes it
separate file per style, named moderncvstyle<style_name>. It should now be possible to drop out of the layout of moderncv, and come back to it later.
easy to write your own style, starting from moderncvstyleempty.sty. If you This should make the inclusion of arbitrary elements not covered by moderncv
feel you have created a nice style, just email it to me and I'll include it in code possible.
the next version. - corrected a spacing problem in the cventry command, as pointed out and
- due to the previous point, styles are now loaded by the command solved by B. Eßmann.
\moderncvstyle{style_name}. I couldn't figure out a way to preserve the old
"casual" and "classic" class options, so these are now broken! Use version 0.2 (6 March 2006)
\moderncvstyle{casual} or \moderncvstyle{classic} at the beginning of your - rewrite of the code to have the styles (fonts, colours, headers and footers)
document. This should be the only incompatibility with version 0.1. be defined in different files than the class. The styles are now defined in a
- added class option "nolmodern" for people without the latin modern fonts. separate file per style, named moderncvstyle<style_name>. It should now be
- corrected some English mistakes in the examples. Thanks to M. H. Prager for easy to write your own style, starting from moderncvstyleempty.sty. If you
pointing them out. feel you have created a nice style, just email it to me and I'll include it in
- added a \cvlistitem to produce items with a bullet (or whatever is defined the next version.
in \listitemsymbol), and renamed \cvresume to \cvlistdoubleitem for - due to the previous point, styles are now loaded by the command
consistency purpose. For compatibility reasons, the command \cvresume still \moderncvstyle{style_name}. I couldn't figure out a way to preserve the old
works, but should be avoided. "casual" and "classic" class options, so these are now broken! Use
\moderncvstyle{casual} or \moderncvstyle{classic} at the beginning of your
version 0.1 (1 March 2006) document. This should be the only incompatibility with version 0.1.
- first release. - added class option "nolmodern" for people without the latin modern fonts.
- corrected some English mistakes in the examples. Thanks to M. H. Prager for
pointing them out.
- added a \cvlistitem to produce items with a bullet (or whatever is defined
in \listitemsymbol), and renamed \cvresume to \cvlistdoubleitem for
consistency purpose. For compatibility reasons, the command \cvresume still
works, but should be avoided.
version 0.1 (1 March 2006)
- first release.

View File

@ -1,4 +1,4 @@
%% start of file `template_en.tex'. %% start of file `letter.tex'.
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com). %% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
% %
% This work may be distributed and/or modified under the % This work may be distributed and/or modified under the

View File

@ -83,12 +83,12 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% required packages % required packages
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% \AtEndPreamble hook (could load package etoolbox instead of defining it) % \AtEndPreamble hook (loading tetoolbox instead of defining the macro, as to avoid incompatibilities with etoolbox (and packages relying on it) defining the macro too)
%\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\let\@endpreamblehook\@empty %\let\@endpreamblehook\@empty
\def\AtEndPreamble{\g@addto@macro\@endpreamblehook} %\def\AtEndPreamble{\g@addto@macro\@endpreamblehook}
\let\moderncv@document\document %\let\moderncv@document\document
\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document} %\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document}
% if... then... else... constructs % if... then... else... constructs
\RequirePackage{ifthen} \RequirePackage{ifthen}