From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hirn Subject: Re: org-export-latex-hyperref-options-format Date: Mon, 17 Feb 2014 17:42:40 -0600 Message-ID: References: <87a9dpo0as.fsf@gmail.com> <8738jhnx1m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0118370217f7e904f2a2b6f0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFXpi-0003sH-VZ for emacs-orgmode@gnu.org; Mon, 17 Feb 2014 18:42:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFXph-0005X6-RC for emacs-orgmode@gnu.org; Mon, 17 Feb 2014 18:42:42 -0500 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:59053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFXph-0005Wn-Bq for emacs-orgmode@gnu.org; Mon, 17 Feb 2014 18:42:41 -0500 Received: by mail-ob0-f182.google.com with SMTP id wm4so17795830obc.13 for ; Mon, 17 Feb 2014 15:42:40 -0800 (PST) In-Reply-To: <8738jhnx1m.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --089e0118370217f7e904f2a2b6f0 Content-Type: text/plain; charset=ISO-8859-1 I'm sorry man. That may have came off wrong. Did not mean to sound ungrateful. Thanks for offering the workarounds and thanks for responding. I definitely agree with drawback #2. 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 Mon, Feb 17, 2014 at 5:23 PM, Nicolas Goaziou wrote: > Joe Hirn writes: > > > Hm. That's disappointing. I really prefer the original behavior. I don't > > want to copy #+latex_header to get this default behavior into each of my > > org-mode files. > > I suggested other ways to handle it. > > Anyway your patch has two drawbacks: > > 1. It is partly redundant with `org-latex-with-hyperref'. > > 2. A mere format string doesn't provide real flexibility (e.g., what if > I don't want the pdfkeywords part?) when you want some. Perhaps > something based on `format-spec' would be better. > > > Regards, > > -- > Nicolas Goaziou > --089e0118370217f7e904f2a2b6f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm sorry man. That may have came off wrong. Did = not mean to sound ungrateful.=A0

Thanks for offeri= ng the workarounds and thanks for responding.=A0

I definitely agree with drawback #2.=A0

So I understand, you're recommending I disable org-= latex-with-hyperref and then add my own \\hypersetup. My goal would be to a= void 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 ac= cess 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.=A0=




On Mon, Feb 17, 2014 at 5:23 PM, Nicolas Goaziou <n.goazio= u@gmail.com> wrote:
Joe Hirn <joseph.hirn@gmail.com> writes:

> Hm. That's disappointing. I really prefer the original behavior. I= don't
> want to copy #+latex_header to get this default behavior into each of = my
> org-mode files.

I suggested other ways to handle it.

Anyway your patch has two drawbacks:

=A0 1. It is partly redundant with `org-latex-with-hyperref'.

=A0 2. A mere format string doesn't provide real flexibility (e.g., wha= t if
=A0 =A0 =A0I don't want the pdfkeywords part?) when you want some. =A0P= erhaps
=A0 =A0 =A0something based on `format-spec' would be better.


Regards,

--
Nicolas Goaziou

--089e0118370217f7e904f2a2b6f0--