von Stamm- » Fr 13. Feb 2015, 12:15
Und in Abschnitt 3 der Anleitung zu »
hyperref« (6.83m) ist auch zu lesen, wie es richtig gemacht wird. Da braucht es keine Tilde (
~) für ein Leerzeichen. Das dürfte nämlich auch Fehler hervorrufen.
Anleitung »[url=http://ctan.org/pkg/hyperref]hyperref[/url]«, Abschnitt 3 hat geschrieben:As seen in the previous example, information entries (pdftitle, pdfauthor, ...) should be set after the package is loaded. Otherwise LaTeX expands the values of these options prematurely. Also LaTeX strips spaces in options. Especially option ‘pdfborder’ requires some care. Curly braces protect the value, if given as package option. They are not necessary in
\hypersetup.
Und so sieht das Ganze dann aus.
\usepackage[
colorlinks=true,
linkcolor=blue
]{hyperref}
\hypersetup{%
pdfauthor={Autor des Dokuments},
pdftitle={Titel des Dokuments}
}
Und auch eine Lösung ist besser brauchbar als kompilierbares Dokument. Das von dir zuletzt gelieferte Code-Fragment ist daher ziemlich nutzlos.
Und in Abschnitt 3 der Anleitung zu »[url=http://ctan.org/pkg/hyperref]hyperref[/url]« (6.83m) ist auch zu lesen, wie es richtig gemacht wird. Da braucht es keine Tilde ([tt][color=brown]~[/color][/tt]) für ein Leerzeichen. Das dürfte nämlich auch Fehler hervorrufen.
[quote="Anleitung »[url=http://ctan.org/pkg/hyperref]hyperref[/url]«, Abschnitt 3"]As seen in the previous example, information entries (pdftitle, pdfauthor, ...) should be set after the package is loaded. Otherwise LaTeX expands the values of these options prematurely. Also LaTeX strips spaces in options. Especially option ‘pdfborder’ requires some care. Curly braces protect the value, if given as package option. They are not necessary in [tt][color=brown]\hypersetup[/color][/tt].[/quote]
Und so sieht das Ganze dann aus.
[code]\usepackage[
colorlinks=true,
linkcolor=blue
]{hyperref}
\hypersetup{%
pdfauthor={Autor des Dokuments},
pdftitle={Titel des Dokuments}
}[/code]
Und auch eine Lösung ist besser brauchbar als kompilierbares Dokument. Das von dir zuletzt gelieferte Code-Fragment ist daher ziemlich nutzlos.