From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: Citations, continued Date: Wed, 04 Feb 2015 09:44:44 -0800 Message-ID: <54d25a8e.23c3440a.10ac.7263@mx.google.com> References: <87vbjmn6wy.fsf@berkeley.edu> <87sieokx8e.fsf@berkeley.edu> <54d04780.cb58460a.5243.2603@mx.google.com> <87h9v3li8t.fsf@berkeley.edu> <54d078ff.b044440a.06ec.3cf6@mx.google.com> <87d25rkmag.fsf@berkeley.edu> <54d1bc7b.c57d440a.3c5d.2dca@mx.google.com> <87vbjh284z.fsf@nicolasgoaziou.fr> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ40S-0000wD-Uv for emacs-orgmode@gnu.org; Wed, 04 Feb 2015 12:44:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJ40O-0008Ej-3g for emacs-orgmode@gnu.org; Wed, 04 Feb 2015 12:44:52 -0500 Received: from mail-pd0-f181.google.com ([209.85.192.181]:39042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ40N-0008Ef-Ub for emacs-orgmode@gnu.org; Wed, 04 Feb 2015 12:44:48 -0500 Received: by pdbfl12 with SMTP id fl12so2052296pdb.6 for ; Wed, 04 Feb 2015 09:44:47 -0800 (PST) In-Reply-To: <87vbjh284z.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou , Richard Lawrence , emacs-orgmode@gnu.org On Wed, 4 Feb 2015 at 04:06:36 PST, Nicolas Goaziou wrote: >=20 > Hello, >=20 > Erik Hetzner writes: >=20 > > I concentrated on getting the parser to recognize valid citations > > first. I have now finished this part (excepting any bugs, of course :) > > and will need to add code to generate a proper parse tree. Then it can > > be integrated into org-element.el. >=20 > The point of "org-element.el" is to generate a parse tree. If you > generate it yourself, you do not need the library. Therefore, I'm not > sure to understand the "integration" part. >=20 > Also, AFAIU, the syntax for valid citations is not defined explicitly so > far. For example, I don't think it was discussed if any subset of Org > objects (e.g., macros or bold text) is allowed in a citation. Is there > any document we could merge into Org syntax document? Hi Nicolas, I didn=E2=80=99t mean to push too far ahead. I=E2=80=99m hoping that when w= e have working code, we can work out some of these tricky issues and get the syntax properly documented. Embedding italic text and links in citations is, for instance, something that I think is important to support. Regarding org-element.el, I meant that this code would extend org-element to generate org-element.el compatible objects for the citations. Does that make sense? I admit that I have not read org-element.el carefully, so I might be wrong about how to proceed. The pandoc grammar is, I believe, more complicated than any structure currently present in org-mode, and so the parser was a little trickier. best, Erik -- Sent from my free software system .