Re: [O] ox and links to equation

2015-02-15 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I have two issues with linking to equations. Consider the following example: \begin{alinged} \Label{eq:1} \min f(x)\\ \label{eq:2} \st c(x)=0 \end{aligned} Insightful comments on [[eq:1]] and [[eq:2]] * Issue 1 If

Re: [O] ox and links to equation

2015-02-15 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: For the problem at hand, you can use \label{eq:2} directly in the document. Less pretty and I can't click on it. [For me a custom link type is fine, but every line of customization makes it harder to reproduce down the road]. Anyway, I found out

Re: [O] ox and links to equation

2015-02-15 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: It really seems overkill. Note that you can write ([[eq1]]), too. What I tried to say in the first email. If I add my patch, which indeed just adds a clause to org-latex-link, it would break documents which uses the above. Regarding the

Re: [O] ox and links to equation

2015-02-15 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I definitely think it is the more proper way to refer to an equation. But it really depends on the document. E.g. mathtools also offer a set of commands for referring to equations. I was considering an alist of (DESTINATION-TYPE REF-CMD-WITH-DESCRIPTION

Re: [O] ox and links to equation

2015-02-15 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: It really seems overkill. Note that you can write ([[eq1]]), too. What I tried to say in the first email. If I add my patch, which indeed just adds a clause to org-latex-link, it would break documents which uses

Re: [O] ox and links to equation

2015-02-15 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: It would appear as, e.g., ((2)) indeed. So what's the verdict? The upside is that \eqref{·} is more robust. and *why* is orgmode.org hosting it? Privacy? I don't think CDN service was available at the time mathjax support was implemented.

Re: [O] ox and links to equation

2015-02-15 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: So what's the verdict? The upside is that \eqref{·} is more robust. Your call. You face the consequences. Alone. I think this is safe to make the change as long as there is a ORG-NEWS entry. Of course, I never wrote that last sentence.

Re: [O] ox and links to equation

2015-02-15 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: It would appear as, e.g., ((2)) indeed. So what's the verdict? The upside is that \eqref{·} is more robust. Your call. You face the consequences. Alone. I think this is safe to make the change as long as there is a ORG-NEWS entry. Of course, I never wrote that

[O] ox and links to equation

2015-02-14 Thread Rasmus
Hi, I have two issues with linking to equations. Consider the following example: \begin{alinged} \Label{eq:1} \min f(x)\\ \label{eq:2} \st c(x)=0 \end{aligned} Insightful comments on [[eq:1]] and [[eq:2]] * Issue 1 If org-link-search-must-match-exact-headline is