What are the effects after undoing \ hypersetup in org-mode?

I do pdf in org-mode with my own preamble, but the generated PDF or tex file always displays information obtained from:

(format "\\hypersetup{\n  pdfkeywords={%s},\n  pdfsubject={%s},\n  pdfcreator={%s}}\n"
(org-export-latex-fontify-headline keywords)
(org-export-latex-fontify-headline description)
(concat "Emacs Org-mode version " org-version))

these cod are located in ~ / .emacs.d / org-7.8.11 / lisp / org-latex.el

I canceled it to prevent useless information from appearing on the first page of my PDF file. However, is it possible to delete such codes without losing any function?

What influences will be caused by this action?

Thank you for your help.

+2
source share
2 answers

OK, I know how it is.

add code to your preamble:

\usepackage{hyperref}

All is decided.

+3
source

In the same file you specify ( lisp/org-latex.el), it suggests

org-latex-hyperref-template...
Set it to the empty string to ignore the command completely.

So the following should work

(setq org-latex-hyperref-template "")

, , org, . apropos ,

M-x apropos RET hyperref RET

org-latex-with-hyperref,

(setq org-latex-with-hyperref nil)

.

+1

All Articles