From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hirn Subject: Re: org-export-latex-hyperref-options-format Date: Fri, 21 Mar 2014 12:11:25 -0500 Message-ID: References: <8738jhnx1m.fsf@gmail.com> <878ut72qyo.fsf@gmail.com> <87zjlm13st.fsf@gmail.com> <8672745997102408713@unknownmsgid> <87vbw91pac.fsf@gmail.com> <87ha7s1il4.fsf@gmail.com> <874n3r1o73.fsf@gmail.com> <87eh2vm66g.fsf@bzg.ath.cx> <87bnx0f0ca.fsf@bzg.ath.cx> <878us3bt62.fsf@gmail.com> <87fvmbbt04.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b2e0b29cc5b5304f520f992 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR2ye-0001Oc-1W for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 13:11:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR2yc-0008V2-Qp for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 13:11:27 -0400 In-Reply-To: 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: "Thomas S. Dye" Cc: Bastien , "emacs-orgmode@gnu.org" , Nicolas Goaziou --047d7b2e0b29cc5b5304f520f992 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the report. I'm not super familiar with how the texht option works. I did made the following change base on recommendation from Nicolas in the :options-alist. (:latex-hyperref-p nil "texht" org-latex-with-hyperref t) to (:latex-hyperref nil nil org-latex-hyperref-template t) >From Nicolas: "... we can replace "texht" with nil since it doesn't make much sense to specify a full template from the OPTIONS line." I believe the patch worked without substituting "texht" with nil in this line. I'm not sure if this is a regression or if your document requires updating. That's not my call. Just chiming in with what's relevant to this side effect you're experiencing. On Fri, Mar 21, 2014 at 11:51 AM, Thomas S. Dye wrote: > Aloha all, > > I noticed yesterday that a legacy document with this option: > > #+OPTIONS: texht:nil > > is now broken in a recent Org mode from master. > > The following lines now appear in the LaTeX export, when they didn't > before: > > \hypersetup{ > pdfkeywords={}, > pdfsubject={}, > pdfcreator={Emacs 24.3.1 (Org mode 8.2.5h)}} > > I haven't looked at this patch, but I'm guessing that it is responsible. > > It would be great if the texht option could still be supported. If not, > can someone offer advice on the best way to set > org-latex-hyperref-template to achieve the same file-local effect? > > All the best, > Tom > > > Bastien writes: > > > Hi Nicolas, > > > > Nicolas Goaziou writes: > > > >> I think this patch is already in master. > > > > Indeed, sorry for the noise, > > > > PS: let's confirm on the list when a patch gets applied, that > > helps archiving threads faster. > > -- > Thomas S. Dye > http://www.tsdye.com > --047d7b2e0b29cc5b5304f520f992 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks for the report. I'm not super familiar with how= the texht option works. I did made the following change base on recommenda= tion from Nicolas in the :options-alist.=A0

(:latex-hype= rref-p nil "texht" org-latex-with-hyperref t)
to=A0
(:latex-hyperref nil nil org-latex-hyperref-temp= late t)

From Nicolas: "... we can replace "texht" with = nil since it doesn't make much sense to=A0specify a full template from the OPTI= ONS line."

I believe the patch worked without substituting "texht&qu= ot; with nil in this line.=A0

I'm not sur= e if this is a regression or if your document requires updating. That's= not my call. Just chiming in with what's relevant to this side effect = you're experiencing.=A0


O= n Fri, Mar 21, 2014 at 11:51 AM, Thomas S. Dye <tsd@tsdye.com> w= rote:
Aloha all,

I noticed yesterday that a legacy document with this option:

#+OPTIONS: texht:nil

is now broken in a recent Org mode from master.

The following lines now appear in the LaTeX export, when they didn't be= fore:

\hypersetup{
=A0pdfkeywords=3D{},
=A0 pdfsubject=3D{},
=A0 pdfcreator=3D{Emacs 24.3.1 (Org mode 8.2.5h)}}

I haven't looked at this patch, but I'm guessing that it is respons= ible.

It would be great if the texht option could still be supported. =A0If not,<= br> can someone offer advice on the best way to set
org-latex-hyperref-template to achieve the same file-local effect?

All the best,
Tom


Bastien <bzg@gnu.org> writes:

> Hi Nicolas,
>
> Nicolas Goaziou <n.goaziou@g= mail.com> writes:
>
>> I think this patch is already in master.
>
> Indeed, sorry for the noise,
>
> PS: let's confirm on the list when a patch gets applied, that
> helps archiving threads faster.

--
Thomas S. Dye http://www.tsdye.com=

--047d7b2e0b29cc5b5304f520f992--