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: Andreas Leha
Subject: Re: [O] org-exp-bibtex missing in git?
Date: Wed, 06 Mar 2013 22:16:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Bastien <address@hidden> writes:
>
>> 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?
>
> If we're not going to provide a multi-backend solution, I suggest to
> keep things simple and write LaTeX code directly (or use the solution
> provided by Eric). Unless you have something else in mind with these
> link abbrevs, of course.
>

I agree.  Getting 'simple' \cite or better [[cite: ]] links to export in
other backends than LaTeX only should be the first step, anyway.

Regards,
Andreas




reply via email to

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