From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: exporting zotxt or orgref links to HTML and ODF Date: Tue, 27 Jan 2015 23:08:42 +0100 Message-ID: <87r3ufx4et.fsf@gmx.us> References: <878ugo8i60.fsf@gmx.us> <8761bsp26n.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGEJi-0003AU-Rw for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 17:09:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGEJe-0001H3-Rh for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 17:09:02 -0500 Received: from plane.gmane.org ([80.91.229.3]:37808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGEJe-0001Ge-DO for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 17:08:58 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YGEJa-0004i1-CM for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 23:08:54 +0100 Received: from 102.201.133.37.dynamic.jazztel.es ([37.133.201.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 23:08:54 +0100 Received: from rasmus by 102.201.133.37.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 23:08:54 +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 --=-=-= Content-Type: text/plain Hi, Christian Moe writes: >> Blah blah [see @doe99, pp. 33-35; also @smith04, ch. 1]. > > In my current homebrewn solution for Zotero, I have tried to do > something similarly readable using Org link syntax (sorry, Rasmus!) with > the database entry ID as link target, and parsing the description part > for prefix/author-date/locator/suffix, but with a slightly different > syntax than Pandoc uses. In my solution the above would be: > > Blah blah [[zotero:0_A43F89;0_E25CB3][(see: Doe 1999: p.33-35; also: > Smith 2004: ch. 1)]]. The problem is that your information can become out of sync if you are not careful, e.g.: > [[zotero:0_A43F89;0_E25CB3][(see: Doe 1999: p.33-35; also: Smith 2004: ch. 1)]] > [[zotero:0_A43F89;0_E25CB3][(see: Forbar 1999: p.33-35)]] IMO nice displays should be solved with overlays(?) like org-entities, tex-fold-mode etc. >> Does anyone have citation needs that this syntax doesn't cover? > > It's great, as long as your database uses mnemonic citekeys like > doe99. Zotero doesn't, but uses keys that are meaningless to humans, > like 0_A43F89. Unfortunately [see @0_A43F89, p. 5] wouldn't look nearly > as nice as [see @doe99, p.5], and it wouldn't help you remember what you > referenced. Selection is solved by Reftex or Zotero or whatever. Still, bad keys are an issue! One idea would be to allow file-specific pointers to citations or allow easy insertion of entries in org-bibtex format. > But that workflow doesn't help with something I often want to do, which > is to export to ODT and have 'live' Zotero citations that I can continue > to work with in LibreOffice. Are they like bib(la)tex citations? Like with click and dynamic bibliography and the like. > Possibly more work if it's worth if we adopt Pandoc syntax, > since Pandoc-citeproc seems to handle nearly everything that is based on > plain text. bibtex.el and org-bibtex.el seems rather competent. Of course, styles is an issue. Here's my notes on this topic: --=-=-= Content-Type: application/vnd.lotus-organizer Content-Disposition: inline; filename=notes-on-citation.org Content-Transfer-Encoding: base64 IytUSVRMRTogTm90ZXMgb24gY2l0YXRpb24KIytBVVRIT1I6IFJhc211cwpUaGUgbGFzdCBiaWcg dGhpbmcgbWlzc2luZyBpbiBPcmctc3ludGF4IGZvciBtZSBpcyBjaXRhdGlvbnMuICBIZXJlCmFy ZSBzb21lIG5vdGVzIHJlbGF0ZWQgdG8gaG93IGNpdGF0aW9uIHN1cHBvcnQg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