Merge pull request #133 from andlaus/handbook_improve_hyperref

handbook: use more sensible options for the hyperref package
This commit is contained in:
Andreas Lauser 2017-01-17 12:29:08 +01:00 committed by GitHub
commit bc01257087
2 changed files with 26 additions and 7 deletions

View File

@ -1,11 +1,11 @@
#! /bin/sh
# this script build the eWoms handbook from its LaTeX sources. The
# this script builds the eWoms handbook from its LaTeX sources. The
# result file is called "ewoms-handbook.pdf"
latex ewoms-handbook
bibtex ewoms-handbook
latex ewoms-handbook
latex ewoms-handbook
dvipdf ewoms-handbook
latex ewoms-handbook || exit $?
bibtex ewoms-handbook || exit $?
latex ewoms-handbook || exit $?
latex ewoms-handbook || exit $?
dvipdf ewoms-handbook || exit $?
rm ewoms-handbook.dvi

View File

@ -47,7 +47,26 @@
\lstset{showstringspaces=false,
breaklines=true}
\usepackage{hyperref}
\usepackage[
pdfpagelabels=true,
%draft,
final,
bookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=1,
breaklinks=true,
colorlinks=true,
hyperindex=true,
linkcolor=black,
citecolor=black,
urlcolor=black,
pdfpagelayout=SinglePage,
%ps2pdf
%dvips
%dvipdf
%pdftex
]{hyperref}
\usepackage{psfrag}
\usepackage{makeidx}
\usepackage{graphicx}