1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
\documentclass{article}
% Note: hyperref will signal error if hyperxmp's keywords are used, w/o loading hyperxmp!
% Note also that older hyperxmp has fewer new options!
\usepackage{hyperxmp}
\usepackage[draft,pdftitle={Test Hyperref Metadata},backref]{hyperref}
\title{Test Hyperref Metadata}
\author{A..~Author}
\hypersetup{
pdfauthor={An Author},
pdfkeywords={test,hyperref},
% pdflang={English},
pdfproducer={pdfLaTeX or LaTeXML},
pdfsubject={Testing LaTeXML's processing of hyperref metadata},
}
\begin{document}
\maketitle
\section{Intentionally Left Blank}
Nothing left to say, really.
\hypersetup{
pdfcopyright={Not subject to copyright},
pdflicenseurl={http://creativecommons.org/licenses/by/3.0/},
}
\section{URL's}
Hyperref loads url, but redefines it
Special characters still neutralized:
\url{http://example.com/foo_bar},
\url{http://example.com/foo#bar},
\url{http://example.com/foo&bar}.
\def\baz{index.html}
But macros expanded: \url{http://localhost/dir/\baz}.
And, you get this: \url{http://example.com/\~{}user}
\end{document}
|