From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Internal links in LaTeX export Date: Fri, 29 Oct 2010 02:31:09 +0530 Message-ID: <81tyk6117u.fsf@gmail.com> References: <54309AAF-34E2-47F9-9DF2-236DC9BBFA69@tsdye.com> <80y69i5avh.fsf@mundaneum.com> <8439CC4F-8895-43F1-BE6A-D8E5A491A908@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47564 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBZbH-0007o4-QG for emacs-orgmode@gnu.org; Thu, 28 Oct 2010 17:01:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBZbC-0007xY-0V for emacs-orgmode@gnu.org; Thu, 28 Oct 2010 17:01:27 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:61565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBZbB-0007xN-S9 for emacs-orgmode@gnu.org; Thu, 28 Oct 2010 17:01:25 -0400 Received: by pwi1 with SMTP id 1so700976pwi.0 for ; Thu, 28 Oct 2010 14:01:24 -0700 (PDT) In-Reply-To: <8439CC4F-8895-43F1-BE6A-D8E5A491A908@tsdye.com> (Thomas S. Dye's message of "Thu, 28 Oct 2010 10:44:53 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: =?iso-8859-1?Q?S=E9bastien?= Vauban , emacs-orgmode@gnu.org "Thomas S. Dye" writes: > On Oct 28, 2010, at 10:18 AM, S=E9bastien Vauban wrote: > >> Hi Thomas, >> >> "Thomas S. Dye" wrote: >>> The manual is silent about what happens to external links on export >>> to >>> LaTeX. I'm finding that internal links export to HTML and work as >>> expected >>> there. In the pdf file via LaTeX the internal links are colored, >>> but aren't >>> active. Is this the expected behavior or am I possibly doing >>> something that >>> disables the links on their way to pdf? >> >> Internal links always worked for me in PDF, though they more >> tend(ed) to go >> to the page rather than really placing me on the section (like what >> you have >> in your browser). >> >> Questions: >> >> - Which PDF reader do you use? That could influence... >> >> - Do you want me to test some example file? If yes, send it here, or >> privately to me -- attention for delays due to spammotel, though. >> >> Best regards, >> Seb > > Thanks Seb, > > It doesn't appear to be a reader problem. The links fail in skim and > acrobat. > > I'm getting this in the LaTeX output: > \href{sec-2_5}{package loading part} > > If I read the hyperref documentation correctly, then I think it should > be: > \hyperref[sec-2_5]{package loading part} > > If I'm right about what the link should look like in LaTeX, and there > is no obvious reason why I'm not getting it in the LaTeX export, then > I'll work on finding a minimal example. > Play with this (for now). ,----[ C-h v org-export-latex-hyperref-format RET ] | org-export-latex-hyperref-format is a variable defined in `org-latex.el'. | Its value is "\\href{%s}{%s}" |=20 | Documentation: | A printf format string to be applied to hyperref links. | The format must contain two %s instances. The first will be filled with | the link, the second with the link description. |=20 | You can customize this variable. `---- This is a regression. release-7.01h is good. HEAD is bad. I get the following line with release-7.01h. Links to \hyperref[sec-1]{Heading1} Jambunathan K. > All the best, > Tom > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode