From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: org-exp-bibtex missing in git? Date: Wed, 06 Mar 2013 22:16:13 +0100 Message-ID: <878v60fcv6.fsf@med.uni-goettingen.de> 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> <87obewe5jy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDLhS-00052s-Dm for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 16:16:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDLhR-0000Gu-2o for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 16:16:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:38847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDLhQ-0000GU-Sr for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 16:16:33 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UDLhj-0002Us-VS for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 22:16:51 +0100 Received: from vpn-2097.gwdg.de ([134.76.2.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Mar 2013 22:16:51 +0100 Received: from andreas.leha by vpn-2097.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Mar 2013 22:16:51 +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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > 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. > 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