From mboxrd@z Thu Jan  1 00:00:00 1970
From: Mikhail Titov <mlt@gmx.us>
Subject: Re: How to reuse page keywords for LaTeX with pdfkeywords and
 hyperref package?
Date: Sat, 12 Nov 2011 00:52:38 +0000 (UTC)
Message-ID: <loom.20111112T014324-901@post.gmane.org>
References: <4E59262C.8000108@gmx.us> <87hb31jsvp.fsf@gnu.org>
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]:50455)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1RP2GP-0001eR-3z
	for emacs-orgmode@gnu.org; Fri, 11 Nov 2011 20:20:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1RP2GN-0000sc-PM
	for emacs-orgmode@gnu.org; Fri, 11 Nov 2011 20:20:09 -0500
Received: from lo.gmane.org ([80.91.229.12]:51837)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1RP2GN-0000qk-Im
	for emacs-orgmode@gnu.org; Fri, 11 Nov 2011 20:20:07 -0500
Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1RP2GM-0002KJ-8R
	for emacs-orgmode@gnu.org; Sat, 12 Nov 2011 02:20:06 +0100
Received: from bbe200951282.cfans.umn.edu ([134.84.209.6])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Sat, 12 Nov 2011 02:20:06 +0100
Received: from mlt by bbe200951282.cfans.umn.edu with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Sat, 12 Nov 2011 02:20:06 +0100
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: emacs-orgmode@gnu.org

Bastien <bzg <at> altern.org> writes:
> Hi Mikhail,
> 
> Mikhail Titov <mlt <at> 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.

Yes! It does exactly what I've wanted and even adds application name to PDF.
Sweet!

> 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?   

I'm afraid I don't get it.
I can see org-export-latex-hyperref-format in org-latex.el .
Isn't it already in there?

Mikhail