Latex 在组织模式下取消\hypersetup后有什么影响?
我使用自己的前言在组织模式下制作pdf,但生成的pdf或tex文件始终显示以下信息:Latex 在组织模式下取消\hypersetup后有什么影响?,latex,org-mode,Latex,Org Mode,我使用自己的前言在组织模式下制作pdf,但生成的pdf或tex文件始终显示以下信息: (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 ver
(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))
这些代码位于~/.emacs.d/org-7.8.11/lisp/org-latex.el中
我取消了它,以防止无用的信息出现在它的PDF文件的第一页。
但是,在不丢失任何功能的情况下删除这些代码可以吗
这一行动将产生什么影响
谢谢你的帮助。好的,我知道是怎么回事
将代码添加到序言中:
\usepackage{hyperref}
所有问题都解决了。在您提到的同一个文件中,(
lisp/org latex.el
),它建议
org-latex-hyperref-template...
Set it to the empty string to ignore the command completely.
因此,下面的方法应该有效
(setq org-latex-hyperref-template "")
唉,我读的下载源代码与我当前的org
版本不一样,所以这不起作用apropos
可能是一个简单的解决方案,因此
M-x apropos RET hyperref RET
将我带到变量org latex with hyperref
,因此现在我尝试
(setq org-latex-with-hyperref nil)
这对我有用