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

2010-11-12 Thread Carsten Dominik
nt-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] Re: Internal links in LaTeX export > Date: Fri, 29 Oct 2010 10:01:12 - > From: Noorul Islam > X-Patchwork-Id: 349 > Message-Id: <871v79h9t3@noorul.m

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

2010-11-02 Thread Jambunathan K
suvayu ali writes: > Hi Jambunathan > > On 29 October 2010 03:17, Jambunathan K 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

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

2010-10-30 Thread suvayu ali
Hi Jambunathan On 29 October 2010 03:17, Jambunathan K 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 rather > than 851 t

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 o

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

2010-10-29 Thread Nick Dokos
Noorul Islam 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: M-x

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 wrote: > Noorul Islam K M wrote: > >> Carsten Dominik writes: >> >> > On Oct 29, 2010, at 5:22 AM, Jambunathan K wrote: >> > >> >> "Thomas S. Dye" writes: >> >> >> >>> Aloha Jambunathan K., >> >>> >> >>> Yes, thanks for that suggestion.  It should wo

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

2010-10-29 Thread Nick Dokos
Noorul Islam K M wrote: > Carsten Dominik writes: > > > On Oct 29, 2010, at 5:22 AM, Jambunathan K wrote: > > > >> "Thomas S. Dye" writes: > >> > >>> Aloha Jambunathan K., > >>> > >>> Yes, thanks for that suggestion. It should work on your example, but > >>> it breaks external links, like thi

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

2010-10-28 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, N

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

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

[Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Noorul Islam K M
Carsten Dominik writes: > On Oct 29, 2010, at 5:22 AM, Jambunathan K wrote: > >> "Thomas S. Dye" writes: >> >>> 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-a

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

2010-10-28 Thread Nick Dokos
Thomas S. Dye wrote: > ... > I did hit on a revision that was neither good nor bad: > > commit 8562273b272024a630a582b0e1b94c481d8abeec > Author: Eric Schulte > Date: Sat Oct 16 13:21:47 2010 -0600 > > ob-ref: don't forget arguments to referenced code blocks > > * lisp/ob-ref.el (or

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 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
On Oct 28, 2010, at 12:35 PM, Nick Dokos wrote: Thomas S. Dye 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

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

2010-10-28 Thread Nick Dokos
Thomas S. Dye 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 Jambunathan

[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" 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

[Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Jambunathan K
"Thomas S. Dye" 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.

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 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 behav