|
From: | Indraneel Majumdar |
Subject: | Re: [Orgmode] Using \ref instead of \hyperref in LaTeX export? |
Date: | Fri, 15 Oct 2010 23:58:58 +0530 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100917 Iceowl/1.0b1 Icedove/3.0.8 |
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:
|
[Prev in Thread] | Current Thread | [Next in Thread] |