From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mikhail Titov" Subject: RE: How to reuse page keywords for LaTeX with pdfkeywords and hyperref package? Date: Tue, 22 Mar 2011 11:53:42 -0500 Message-ID: <000f01cbe8b1$b6744640$235cd2c0$@gmx.us> References: <000301cbe823$5e020080$1a060180$@us> <87ipvbxyzl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=54801 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q24r8-0005qX-F7 for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 12:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q24q0-0000lq-PB for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 12:53:49 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:33686) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q24q0-0000lY-GR for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 12:53:44 -0400 In-Reply-To: <87ipvbxyzl.fsf@gnu.org> Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 'Bastien' Cc: 'Org mailing list' 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:bastienguerry@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" writes: > I would like to be able to have same keywords for both HTML and PDF=20 > output. I was a bit surprised that it is not there yet. I=E2=80=99m = not a lisp=20 > user:( Could someone suggest what needs to be done to use=20 > org-export-page-keywords to set the value of pdfkeywords option of=20 > 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=3Dfalse, pdftitle=3D{An example PDF file from LaTeX}, pdfauthor=3D{Diego Santa Cruz}, pdfsubject=3D{From LaTeX to PDF}, pdfkeywords=3D{PDF, LaTeX, hyperlinks, hyperref}]{hyperref}=20 But your request makes sense, I might implement it someday. Best, -- Bastien