emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-exp-bibtex missing in git?


From: Bastien
Subject: Re: [O] org-exp-bibtex missing in git?
Date: Wed, 06 Mar 2013 19:25:01 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Andreas and all,

Andreas Leha <address@hidden> writes:

> Eric suggested/uses this format (thanks for sharing, Eric):
>   [[cite:jones-etal-2000][Jones et al., 2000]]
>          ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
>              key           displayed in org

I'd suggest to treat org-link-abbrev-alist and locally defined
abbreviated links differently when opening the link at point and
when exporting the buffer.

At expand time, the exporter could attach a list of export functions
(filters?) to the expanded link, depending on the local setting for
the abbreviated link or `org-link-abbrev-alist'.  For example:

 #+LINK: cite file:my.bib::%s org-latex-bibtex-link
 
 (setq org-link-abbrev-alist
   '(("cite" "file:my.bib::%s" 'org-latex-bibtex-link)))
 
Then org-latex-bibtex-link would internally find the link, process
the BibTeX entry and return a sensible \cite{...} string.

What do you think?

-- 
 Bastien



reply via email to

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