When I use your setup and insert a citation then export to latex I get:
[[cite:Paper]]
turns into:
\ref{cite-Paper}


On Fri, Aug 3, 2012 at 7:38 PM, Rasmus <ras...@gmx.us> wrote:

> (defun org-mode-reftex-setup ()
>     (load-library "reftex")
>     (and (buffer-file-name)
>          (file-exists-p (buffer-file-name))
>          (reftex-parse-all))
>     (make-local-variable 'reftex-cite-format)
>     (setq reftex-cite-format 'org)
>     (define-key org-mode-map (kbd "C-c )") 'reftex-citation))
>
>   (add-hook 'org-mode-hook 'org-mode-reftex-setup)
>
>
> (eval-after-load 'reftex-vars
>   '(progn
>
>      (add-to-list 'reftex-cite-format-builtin
>                   '(org "Org-mode citation"
>                         ((?\C-m . "[[cite:%l]]")
>                          (?t . "[[textcite:%l]]")
>                          (?p . "[[parencite:%l]]")
>                          (?s . "[[posscite:%l]]")
>                          (?a . "[[citeauthor:%l]]")
>                          (?y . "[[citeyear:%l]]"))))))
>

Reply via email to