Added a check on the emptyness of \title when setting the hyperref document properties

This commit is contained in:
Xavier Danaux
2014-01-20 18:47:47 -05:00
parent fc04d21ed3
commit 6d5bc29478
3 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,13 @@
version 1.6.0 (xx MMM 2013)
- added an optional argument to \moderncvstyle to specify style options, i.e.
\moderncvstyle[options]{style}.
- added style options to the banking style, to specify how the section- and
subsectionrules should behave: "fullrules", "shortrules", "mixedrules" (full
rules for sections, short rules for subsections) and "norules".
- corrected the color of \addressstyle to match the one effectively used
(color2).
- added a check on the emptyness of \title when setting the hyperref document
properties.
version 1.5.1 (29 Apr 2013)
- made sure that XeLaTeX or LuaLaTeX is in use before loading the awesome icon

View File

@ -128,7 +128,7 @@
bookmarksopen = true,
bookmarksdepth= 2,% to show sections and subsections
pdfauthor = {\@firstname{}~\@lastname{}},
pdftitle = {\@firstname{}~\@lastname{} -- \@title{}},
pdftitle = {\@firstname{}~\@lastname{}\notblank{\@title}{ -- \@title}{}},
pdfsubject = {Resum\'{e} of \@firstname{}~\@lastname{}},
pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, resum\'{e}}}}

View File

@ -198,8 +198,8 @@
\renewcommand*{\cventry}[7][.25em]{
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}%
{\bfseries #4} & {\bfseries #5} \\%
{\itshape #3\ifthenelse{\equal{#6}{}}{}{, #6}} & {\itshape #2}\\%
{\bfseries #4} & {\bfseries #5} \\%
{\itshape #3\ifthenelse{\equal{#6}{}}{}{, #6}} & {\itshape #2}\\%
\end{tabular*}%
\ifx&#7&%
\else{\\\vbox{\small#7}}\fi%