Turned unicode support in hyperref on by default
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
version 1.1.0 (xx Apr 2012)
|
||||
version 1.1.0 (xx Jul 2012)
|
||||
- prepared moderncv for fontspec font loading (still commented in code).
|
||||
- changed the handling of the "sans" and "roman" class options, to be reflected
|
||||
at the beginning of the document and override style font choices.
|
||||
- turned unicode support in hyperref on by default.
|
||||
|
||||
version 1.0.0 (26 Mar 2012)
|
||||
- added commands to generate letters for every resume style: \recipient, \date,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
34
moderncv.cls
34
moderncv.cls
@ -119,24 +119,22 @@
|
||||
\RequirePackage{url}
|
||||
\urlstyle{tt}
|
||||
\AtEndPreamble{
|
||||
\@ifpackageloaded{CJK}
|
||||
{\RequirePackage[unicode]{hyperref}}
|
||||
{\RequirePackage{hyperref}}
|
||||
\hypersetup{
|
||||
breaklinks,
|
||||
baseurl = http://,
|
||||
pdfborder = 0 0 0,
|
||||
pdfpagemode = UseNone,% do not show thumbnails or bookmarks on opening
|
||||
pdfpagelabels = false,% to avoid a warning setting it automatically to false anyway, because hyperref detects \thepage as undefined (why?)
|
||||
pdfstartpage = 1,
|
||||
pdfcreator = {\LaTeX{} with `moderncv' package},
|
||||
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used
|
||||
bookmarksopen = true,
|
||||
bookmarksdepth= 2,% to show sections and subsections
|
||||
pdfauthor = {\@firstname{}~\@familyname{}},
|
||||
pdftitle = {\@firstname{}~\@familyname{} -- \@title{}},
|
||||
pdfsubject = {Resum\'{e} of \@firstname{}~\@familyname{}},
|
||||
pdfkeywords = {\@firstname{}~\@familyname{}, curriculum vit\ae{}, resum\'{e}}}
|
||||
\RequirePackage[unicode]{hyperref}
|
||||
\hypersetup{
|
||||
breaklinks,
|
||||
baseurl = http://,
|
||||
pdfborder = 0 0 0,
|
||||
pdfpagemode = UseNone,% do not show thumbnails or bookmarks on opening
|
||||
pdfpagelabels = false,% to avoid a warning setting it automatically to false anyway, because hyperref detects \thepage as undefined (why?)
|
||||
pdfstartpage = 1,
|
||||
pdfcreator = {\LaTeX{} with 'moderncv' package},
|
||||
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used
|
||||
bookmarksopen = true,
|
||||
bookmarksdepth= 2,% to show sections and subsections
|
||||
pdfauthor = {\@firstname{}~\@familyname{}},
|
||||
pdftitle = {\@firstname{}~\@familyname{} -- \@title{}},
|
||||
pdfsubject = {Resum\'{e} of \@firstname{}~\@familyname{}},
|
||||
pdfkeywords = {\@firstname{}~\@familyname{}, curriculum vit\ae{}, resum\'{e}}}
|
||||
\pagenumbering{arabic}% has to be issued after loading hyperref
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user