From mboxrd@z Thu Jan  1 00:00:00 1970
From: Bastien <bzg@altern.org>
Subject: Re: How to reuse page keywords for LaTeX with pdfkeywords and
 hyperref package?
Date: Sat, 22 Oct 2011 11:08:26 +0200
Message-ID: <87hb31jsvp.fsf@gnu.org>
References: <4E59262C.8000108@gmx.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([140.186.70.92]:59824)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) id 1RHXYH-0005yP-59
	for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 05:07:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) id 1RHXYF-0005LF-Oy
	for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 05:07:37 -0400
Received: from mail-wy0-f169.google.com ([74.125.82.169]:35916)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) id 1RHXYF-0005LA-Cu
	for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 05:07:35 -0400
Received: by wyg34 with SMTP id 34so5584634wyg.0
	for <emacs-orgmode@gnu.org>; Sat, 22 Oct 2011 02:07:34 -0700 (PDT)
In-Reply-To: <4E59262C.8000108@gmx.us> (Mikhail Titov's message of "Sat, 27
	Aug 2011 12:15:24 -0500")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Mikhail Titov <mlt@gmx.us>
Cc: emacs-orgmode@gnu.org

Hi Mikhail,

Mikhail Titov <mlt@gmx.us> writes:

> In case someone else also wants page keywords to appear in latex export.
> Here is the link to original thread
> http://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01429.html .
> There is a patch at the bottom that does that. It assumes that hyperred
> package is used and doesn't check that!

Yes, hyperref is in ̀org-export-latex-default-packages-alist' and is
available.

> I'm not sure if I'm doing it right as I don't know lisp and emacs
> much.

I pushed a commit with a slightly adapted version of your patch.

Please check it does the right thing for you.

Further improvements in this area: have a defcustom allowing the user 
to select what hyperref options he wants in the .tex output.  Maybe you
can improve your ELisp trying to provide a patch for this?   

Thanks,

-- 
 Bastien