From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-export-latex-hyperref-options-format Date: Wed, 19 Feb 2014 14:05:03 +0100 Message-ID: <878ut72qyo.fsf@gmail.com> References: <87a9dpo0as.fsf@gmail.com> <8738jhnx1m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WG6pW-0002QG-FH for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 08:04:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WG6pO-0002fL-1o for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 08:04:50 -0500 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:39506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WG6pN-0002f9-RE for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 08:04:41 -0500 Received: by mail-wg0-f49.google.com with SMTP id y10so308545wgg.16 for ; Wed, 19 Feb 2014 05:04:40 -0800 (PST) In-Reply-To: (Joe Hirn's message of "Mon, 17 Feb 2014 17:42:40 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: Joe Hirn Cc: emacs-orgmode@gnu.org Hello, Joe Hirn writes: > So I understand, you're recommending I disable org-latex-with-hyperref and > then add my own \\hypersetup. My goal would be to avoid placing a #+ entry > into every .org file I compose. Which var would be the easiest to to adjust > so I can emit \\hypersetup by default and still access the info map that is > passed to org-latex-template. I'd like to get the keywords, subject and > creator variables that are emitted right now. On a personal level, if you only need to add keyword-value pairs, I think the simplest solution is to add a class in `org-latex-classes', where you insert an additional "\hypersetup{...}" command. You don't need to change `org-latex-with-hyperref' in this case. You can also use a (final) filter to install this command if you don't want to bother creating a new class. On a more general level, I'll welcome a solution replacing `org-latex-with-hyperref' with `org-latex-hyperref-template', which could be either nil (no hyperref command) or a string with some placeholders (e.g. %k for keywords). What do you think? Regards, -- Nicolas Goaziou