From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-exp-bibtex missing in git? Date: Wed, 06 Mar 2013 19:25:01 +0100 Message-ID: <87lia0s7wi.fsf@bzg.ath.cx> 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJ1f-0000Lh-4B for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 13:25:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDJ1b-0000Rx-2C for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 13:25:15 -0500 Received: from mail-wg0-f45.google.com ([74.125.82.45]:37001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJ1a-0000NB-O2 for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 13:25:10 -0500 Received: by mail-wg0-f45.google.com with SMTP id dq12so8124545wgb.12 for ; Wed, 06 Mar 2013 10:25:07 -0800 (PST) In-Reply-To: <87ppzcfy2e.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Wed, 06 Mar 2013 14:38:17 +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: Andreas Leha Cc: emacs-orgmode@gnu.org 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? -- Bastien