emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Target and link text normalised to `orgtargetn'


From: Nicolas Goaziou
Subject: Re: [O] Target and link text normalised to `orgtargetn'
Date: Sun, 19 Apr 2015 15:40:07 +0200

Suvayu Ali <address@hidden> writes:

> Okay I see it now, in your last email I got a bit confused, but now I
> follow.  With your solution I use both label and reference using LaTeX,
> bypassing Org.  Of course this leaves me with links not working inside
> Org.  I was eventually going to use filters to transform the ref
> commands to the alternate ones from refstyle and varioref to get both
> LaTeX and Org side working as I wanted.  Something like this:
>
>   <<sec:interesting>>
>
>   [[sec:interesting]]
>
> Then transform \ref{sec:interesting} → \secref{sec:interesting} with a
> filter; that way I would have my cake and eat it too!  I see your point
> though.

You can do that with a non-nil `org-latex-prefer-user-labels'.
Otherwise, <<sec:interesting>> becomes \label{whatever}, defeating your
filter.


Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]