From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-exp-bibtex missing in git? Date: Wed, 06 Mar 2013 19:39:29 +0100 Message-ID: <87obewe5jy.fsf@gmail.com> References: <20130303070635.GA12112@panahar> <87fw0cg42y.fsf@allisson.co> <87vc98be83.fsf@bzg.ath.cx> <87ehfwwgdd.fsf@gmail.com> <87ppzg2r05.fsf@med.uni-goettingen.de> <87ppzgusem.fsf@gmail.com> <87ppzcfy2e.fsf@med.uni-goettingen.de> <87lia0s7wi.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJFj-0006tZ-LD for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 13:39:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDJFe-00064K-P1 for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 13:39:47 -0500 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:44894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJFe-000647-JZ for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 13:39:42 -0500 Received: by mail-we0-f179.google.com with SMTP id p43so8307396wea.38 for ; Wed, 06 Mar 2013 10:39:41 -0800 (PST) In-Reply-To: <87lia0s7wi.fsf@bzg.ath.cx> (Bastien's message of "Wed, 06 Mar 2013 19:25:01 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Andreas Leha , emacs-orgmode@gnu.org Hello, Bastien writes: > Hi Andreas and all, > > Andreas Leha 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. Regards, -- Nicolas Goaziou