Bastien: Thank you! I understand that it is not possible right now through simple settings. However hyperref is getting added to packages alist at some point. Is there a way to dereference org-export-page-keywords let's say in my custom LaTeX class definition in my dot emacs file or even in source code. Or is the problem in that that variable is not defined that time?
Mikhail -----Original Message----- From: Bastien Guerry [mailto:bastiengue...@googlemail.com] On Behalf Of Bastien Sent: Tuesday, March 22, 2011 4:54 AM To: Mikhail Titov Cc: 'Org mailing list' Subject: Re: [O] How to reuse page keywords for LaTeX with pdfkeywords and hyperref package? Hi Mikhail, "Mikhail Titov" <m...@gmx.us> writes: > I would like to be able to have same keywords for both HTML and PDF > output. I was a bit surprised that it is not there yet. I’m not a lisp > user:( Could someone suggest what needs to be done to use > org-export-page-keywords to set the value of pdfkeywords option of > hyperref LaTeX package? This is not possible right now. You can do it manually by removing hyperref from the `org-export-latex-default-packages-alist' variable, and by adding such a header in your org file: #+LATEX_HEADER: \usepackage[dvips, bookmarks, colorlinks=false, pdftitle={An example PDF file from LaTeX}, pdfauthor={Diego Santa Cruz}, pdfsubject={From LaTeX to PDF}, pdfkeywords={PDF, LaTeX, hyperlinks, hyperref}]{hyperref} But your request makes sense, I might implement it someday. Best, -- Bastien