From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kyeong Soo (Joseph) Kim" Subject: Re: Changed behaviours of LaTeX exporter in version 8.0+ Date: Mon, 29 Sep 2014 12:51:42 +0800 Message-ID: References: <87lhpg3o60.fsf@berkeley.edu> <8738bn391c.fsf@berkeley.edu> <87mw9rlk6h.fsf@nicolasgoaziou.fr> <87ppegrae5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c266a8df38c905042d0543 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYSwA-0007YV-0X for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 00:51:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYSw9-00031A-04 for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 00:51:49 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:34315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYSw8-00030m-M9 for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 00:51:48 -0400 Received: by mail-wg0-f41.google.com with SMTP id k14so12595293wgh.24 for ; Sun, 28 Sep 2014 21:51:42 -0700 (PDT) In-Reply-To: <87ppegrae5.fsf@nicolasgoaziou.fr> 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: "Kyeong Soo (Joseph) Kim" , Richard Lawrence , emacs-orgmode@gnu.org --001a11c266a8df38c905042d0543 Content-Type: text/plain; charset=UTF-8 Hi Nicolas, On Sun, Sep 28, 2014 at 6:01 AM, Nicolas Goaziou wrote: > > > You can use a link filter. Also, `org-export-latex-hyperref-format' > doesn't exist in Org 8.0+. > > > - By name (using C-c l & C-c C-l): Sec. [[*Two%20Words][Two Words]] > > [...] > > > [[*With%20&%20in%20the%20Title][With & in the Title]] > > This is the problem. The path isn't expected to be url-encoded. AFAICT, > "C-c l" doesn't encoded headlines. I don't know how yours generates such > a link. > > > Regards, > > -- > Nicolas Goaziou > The real problem is that, except for using the custom id, the current export engine cannot refer to the correct label (e.g., "\label{se-1}") which is automatically generated during the export process. See the case of section title with only one word in the ECM (e.g., " \hyperref[sec-1]{OneWord}"), where the export engine still cannot properly refer to the automatically generated label. This has nothing to do with the URL-encoding. Note that the issue of URL-encoding has gone once I cleared up my org-mode configurations (i.e., commented all out for testing). Still, however, the issue of wrong cross-referencing is there. Regards, Joseph --001a11c266a8df38c905042d0543 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi N= icolas,


On Sun, Sep 28, 2014 at 6:01 AM, Nic= olas Goaziou <mail@nicolasgoaziou.fr> wrote:
You can use a link filter. Also, `org-export-latex-hyperref-format&#= 39;
doesn't exist in Org 8.0+.

> - By name (using C-c l & C-c C-l): Sec. [[*Two%20Words][Two Words]= ]

[...]

> [[*With%20&%20in%20the%20Title][With & in the Title]]

This is the problem. The path isn't expected to be url-encoded. = AFAICT,
"C-c l" doesn't encoded headlines. I don't know how yours= generates such
a link.


Regards,

--
Nicolas Goaziou

The real = problem is that, except for using the custom id, the current export engine = cannot refer to the correct label (e.g., "\label{se-1}") which is= automatically generated during the export process.=C2=A0

See the case of section title with only one word in the ECM (e.g., = "\hyperref= [sec-1]{OneWord}"), where the export engine still cannot proper= ly refer to the automatically generated label. This has nothing to do with = the URL-encoding.

Note that the issue of URL-encod= ing has gone once I cleared up my org-mode configurations (i.e., commented = all out for testing). Still, however, the issue of wrong cross-referencing = is there.

Regards,
Joseph
--001a11c266a8df38c905042d0543--