Maybe use a hook like the following.. It's for cref, please modify to
your liking:
(defun creflink()
"Change all solitary [[]] links to [[target][\cref]] links"
(regex-replace "\\[\\[\\([^:\[]+?\\)\\]\\]" "[[\\1][\\\\cref{\\1}]]")
)
(add-hook 'org-export-preprocess-hook 'creflink)
Indraneel
On 10/15/2010 04:10 PM, Guy Wiener wrote:
Hello,
Is there a way to tweak the LaTeX export so that for a link
[[label][desc]] it will produce the standard "\ref{label}" instead of
"\hyperref[label]{desc}"? I want to be able to use the standard
article writing, such as "in Section~\ref{sec:bla}...".
Thanks,
Guy
_______________________________________________
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
_______________________________________________
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