From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Citation syntax: a revised proposal Date: Tue, 17 Mar 2015 20:42:32 +0000 Message-ID: References: <87k2zjnc0e.fsf@berkeley.edu> <87mw4bpaiu.fsf@nicolasgoaziou.fr> <8761aznpiq.fsf@berkeley.edu> <87twyjnh0r.fsf@nicolasgoaziou.fr> <87oaopx24e.fsf@berkeley.edu> <87k2zd4f3w.fsf@nicolasgoaziou.fr> <87egpkv8g9.fsf@berkeley.edu> <877fv6xfaq.fsf@gmail.com> <87twya2ak0.fsf@berkeley.edu> <87zj81aa97.fsf@nicolasgoaziou.fr> <87ioep2r6p.fsf@berkeley.edu> <87y4ngbgm7.fsf@nicolasgoaziou.fr> <87bnkbi61v.fsf@gmail.com> <87a8zlmujp.fsf@gmail.com> <87ioe8yftp.fsf@berkeley.edu> <871tkwmh87.fsf@gmail.com> <87sidb8mm7.fsf@berkeley.edu> <87lhj07ol0.fsf@berkeley.edu> <87y4mw19yj.fsf@berkeley.edu> <87twxj1tfh.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXyJA-0004RU-Nv for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 16:41:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXyJ5-0007Vu-Tw for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 16:41:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:57039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXyJ5-0007Va-K2 for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 16:41:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YXyJ3-0001t6-Cv for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 21:41:41 +0100 Received: from vpn-2080.gwdg.de ([134.76.2.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Mar 2015 21:41:41 +0100 Received: from andreas.leha by vpn-2080.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Mar 2015 21:41:41 +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 Hi Richard, Thank you very much for your detailed answer. Richard Lawrence writes: > Hi Andreas, > > Andreas Leha writes: > >> I have been following this thread from (quite) some distance as I am >> very interested in more general citation support from orgmode. Please >> allow some basic questions: >> >> 1. For the LaTeX user >> This change means that the LaTeX user can use org syntax for citations >> rather than bare LaTeX (or links of some sort)? >> >> And this org syntax could then (I guess is the future) be extended with >> additional link-like functionality (maybe similar to org-ref)? > > Yes, exactly. > >> 2. The non-LaTeX exports >> These are all treated the same and will contain just text, that is >> produced to mimic LaTeX's output to some extent? > > Well, that depends on what you mean by `just' text. Citations can still > contain or be wrapped in markup that is specific to the output format, > like span tags or anchor tags in HTML. > I meant especially link-like functionality in the exported document. Just as references in a LaTeX generated PDF can link to the bibliography (and back). >> I think I read some question about e.g. having zotero handling the >> citations in the odt export. Are there plans for such thing? > > Maybe. As far as I know, no one has done any work on Zotero integration > yet. But Vaidheeswaran did some work to make JabRef (a different > reference database) handle citations in ODT export. > >> 3. The database >> As I understand the database currently is either bibtex or org? > > Yes. > >> But that list could in principle be extended to zotero ... ? > > Yes, in principle. Any database that can export to bibtex format is > supported to some degree, if we support that format. Whether we want to > integrate with any particular reference database more tightly than that > hasn't really been discussed, as far as I'm aware. I don't have a good > sense of what other software Org users rely on for this purpose. > >> And any other database X (zotero ...) would need translations X -> >> bibtex to make the LaTeX export work with it as well? > > Not necessarily. Obviously, if you want to have bibtex/biblatex do the > processing of the citations and bibliography in the document, that is > required. But there is another approach, which is the one that Pandoc > takes: directly rendering citations and bibliography into the output > .tex file. If you're not relying on bibtex/biblatex to do the > rendering, you don't need to have the database in its format. > > The org-citeproc tool I've been working on supports reading databases in > any of these formats (via pandoc-citeproc): > > Format File extension > ------------ -------------- > MODS .mods > BibLaTeX .bib > BibTeX .bibtex > RIS .ris > EndNote .enl > EndNote XML .xml > ISI .wos > MEDLINE .medline > Copac .copac > JSON citeproc .json > > org-citeproc (via pandoc-citeproc) should already be able to read > databases in these other formats. It would be trivial to add a LaTeX > writer to org-citeproc that would allow rendering citations and > bibliographies directly, as Pandoc does (since org-citeproc is just a > small wrapper around pandoc and pandoc-citeproc). > I see. Very interesting. >> 4. Example >> Could you post one of your examples? I'd love to see the prototype in >> action to have a proper picture of this. > > A couple of other people (Vaidheeswaran, Aaron Ecay) have posted > examples in other messages. Here's an example of a simple Org document > being processed by org-citeproc: > [ deleted the examples ] Thank you very much. These look really nice! > > Note that citations containing multiple references are not supported at > the moment, but that is coming soon. > > Best, > Richard This citation support will make my lock-in into orgmode perfect, I guess..... Thanks again, Andreas