Re: [Orgmode] Re: Internal links in LaTeX export

2010-11-02 Thread Jambunathan K
suvayu ali fatkasuvayu+li...@gmail.com writes: Hi Jambunathan On 29 October 2010 03:17, Jambunathan K kjambunat...@gmail.com wrote: wish there was a way to say this: - do bisection on the revisions where org-latex.el changed (as opposed   to revisions where HEAD moved) The candidate

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-30 Thread suvayu ali
Hi Jambunathan On 29 October 2010 03:17, Jambunathan K kjambunat...@gmail.com wrote: wish there was a way to say this: - do bisection on the revisions where org-latex.el changed (as opposed   to revisions where HEAD moved) The candidate commits then would have reduced to 30 odd commits

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-29 Thread Tom Dye
Many thanks to all of you for figuring this out and fixing it. I can confirm that internal and external links both work in the pdf file compiled from the Org-mode LaTeX export, which is way cool and seems miraculous to a dirt archaeologist. All the best, Tom On Oct 28, 2010, at 7:01 PM,

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-29 Thread Nick Dokos
Noorul Islam K M noo...@noorul.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Oct 29, 2010, at 5:22 AM, Jambunathan K wrote: Thomas S. Dye t...@tsdye.com writes: Aloha Jambunathan K., Yes, thanks for that suggestion. It should work on your example, but it

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-29 Thread Noorul Islam
On Fri, Oct 29, 2010 at 12:50 PM, Nick Dokos nicholas.do...@hp.com wrote: Noorul Islam K M noo...@noorul.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Oct 29, 2010, at 5:22 AM, Jambunathan K wrote: Thomas S. Dye t...@tsdye.com writes: Aloha Jambunathan K., Yes,

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-29 Thread Nick Dokos
Noorul Islam noo...@noorul.com wrote: For the same thing I get this \section{Foo} \label{sec-1} Here is a link to section Bar: \hyperref[sec-2]{Bar} \section{Bar} \label{sec-2} And here is an external link: \href{http://www.google.com}{google} You are right and I'm wrong:

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-29 Thread Jambunathan K
Nick I hunted down the bug with heuristics. Speaking of bisections, In this instance, I actually bisected it down to the bad commit that Jambunathan K. identified (and Carsten reverted). I guess I was lucky in the sense that I pulled a couple of days ago, so HEAD was 851 commits ahead of

[Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Sébastien Vauban
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

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Thomas S. Dye
On Oct 28, 2010, at 10:18 AM, Sébastien 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

[Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Jambunathan K
Thomas S. Dye t...@tsdye.com writes: On Oct 28, 2010, at 10:18 AM, Sébastien 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

[Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Thomas S. Dye
On Oct 28, 2010, at 11:01 AM, Jambunathan K wrote: Thomas S. Dye t...@tsdye.com writes: On Oct 28, 2010, at 10:18 AM, Sébastien 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

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote: On Oct 28, 2010, at 11:01 AM, Jambunathan K wrote: 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. Aloha

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Thomas S. Dye
On Oct 28, 2010, at 12:35 PM, Nick Dokos wrote: Thomas S. Dye t...@tsdye.com wrote: On Oct 28, 2010, at 11:01 AM, Jambunathan K wrote: 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}

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Jambunathan K
Thomas There was a hint at possible solution (or atleast a partial solution) in my original post. Did you try it before jumping in to rough waters or digging deeper? Do , | M-x customize-variable RET org-export-latex-hyperref-format' ` so that your .emacs has an entry like this

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Thomas S. Dye
Aloha Jambunathan K., Yes, thanks for that suggestion. It should work on your example, but it breaks external links, like this: \hyperref[http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/ ]{KOMA-script} External links require the \href{}{} command. It appears the LaTeX

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote: ... I did hit on a revision that was neither good nor bad: commit 8562273b272024a630a582b0e1b94c481d8abeec Author: Eric Schulte schulte.e...@gmail.com Date: Sat Oct 16 13:21:47 2010 -0600 ob-ref: don't forget arguments to referenced code blocks

[Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Noorul Islam K M
Carsten Dominik carsten.domi...@gmail.com writes: On Oct 29, 2010, at 5:22 AM, Jambunathan K wrote: Thomas S. Dye t...@tsdye.com writes: Aloha Jambunathan K., Yes, thanks for that suggestion. It should work on your example, but it breaks external links, like this:

Re: [Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Thomas S. Dye t...@tsdye.com wrote: ... I did hit on a revision that was neither good nor bad: commit 8562273b272024a630a582b0e1b94c481d8abeec Author: Eric Schulte schulte.e...@gmail.com Date: Sat Oct 16 13:21:47 2010 -0600