Added a macro to control what is visible upon opening compiled pdfs

This commit is contained in:
Xavier Danaux
2012-12-07 01:48:21 -05:00
parent 5c64e4e961
commit c08522abcc
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,9 @@
version 1.3.0 (xx xxx 201x)
- added a macro (\pdfpagemode) to control what is visible upon opening compiled
pdfs (assuming pdf reader support), as suggested by U. Stöhr.
Possible values include: "UseNone" (only the document), "UseThumbs" (show
thumbnails), "UseOutlines" (show bookmarks) and "FullScreen" (open in
fullscreen mode).
- added a 3rd, fully optional (can be omitted or left blank) argument to
\address to specify a country, as requested on launchpad (launchpad bug
#1063995).

View File

@ -120,6 +120,7 @@
%\fi
% hyper links (hyperref is loaded at the end of the preamble to pass options required by loaded packages such as CJK)
\newcommand*\pdfpagemode{UseNone}% do not show thumbnails or bookmarks on opening (on supporting browsers); set \pdfpagemode to "UseOutlines" to show bookmarks
\RequirePackage{url}
\urlstyle{tt}
\AtEndPreamble{
@ -129,7 +130,7 @@
breaklinks,
baseurl = http://,
pdfborder = 0 0 0,
pdfpagemode = UseNone,
pdfpagemode = \pdfpagemode,
pdfstartpage = 1,
pdfcreator = {\LaTeX{} with 'moderncv' package},
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used