Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyperref support #6

Open
tohecz opened this issue Mar 3, 2015 · 2 comments
Open

hyperref support #6

tohecz opened this issue Mar 3, 2015 · 2 comments

Comments

@tohecz
Copy link
Owner

tohecz commented Mar 3, 2015

Make a nice hyperref support, passing reasonable information to the pdf fields. I would use some help discussing what are the reasonable values for each field.

@tohecz
Copy link
Owner Author

tohecz commented Mar 8, 2015

There is a problem of handling hyperref w.r.t. diacritics in the fields and the setup. Things cannot be set up at the time of \ctuprocess, in case someone changed the relevant fields after. Another option is to freeze the other fields at \ctuprocess (that's how we document it, after all). The most important ones are only author and title, anyways. So maybe we shall set just couple fields and that's it? It could be:

  • Author: Author
  • Title: Title -- Subtitle
  • Subject: Doctype
  • Publisher: Unversity - Faculty

@widlarizer
Copy link

Because this doesn't really work, I recommend not using hyperref set up by ctuthesis. Instead I do:

\ctusetup{
  pkg-hyperref = false,
% ...
}
% ...
\usepackage{hyperref}
\hypersetup{
  pdftitle = {somethingsomething},
  pdfauthor = {me},
  pdfusetitle,
  colorlinks=false,
  linktocpage=true,
  allbordercolors=ctuorange,
}

When I don't do this, I get PDF metadata like "titletitle - doc.pdf" in the browser tab name. Example PDFs in this repo have the same problem. I suggest setting pkg-hyperref defaults to false and adjusting the example files, since they don't work either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants