From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Any linguists (or other gb4e/linguex users) on this list? Date: Mon, 24 Feb 2014 23:37:41 -0500 Message-ID: <87r46rn6y2.fsf@gmail.com> References: <87lhx4gsab.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WI9mA-0003Uj-9q for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 23:37:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WI9m4-00062k-MP for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 23:37:50 -0500 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:41870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WI9m4-00062f-Hk for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 23:37:44 -0500 Received: by mail-qg0-f48.google.com with SMTP id a108so17548268qge.7 for ; Mon, 24 Feb 2014 20:37:44 -0800 (PST) In-Reply-To: <87lhx4gsab.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> 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: Richard Lawrence , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Richard, This looks very interesting. I have created some code that uses tables for glossed examples. So it turns this: --=-=-= Content-Type: text/x-org Content-Disposition: inline #+name: ex:ilurdotz #+header: :gloss yes #+header: :trans You carried me in the car. #+header: :cite /MVAV/ Southern High Navarre, p.\space{}160 | zuek | ekarri | n-ai-zue | neri | kotxe-an | | 2PL.ERG | bring | 1SG-AUX-2PL.ERG | 1SG.DAT | car-LOC | --=-=-= Content-Type: text/plain into: --=-=-= Content-Type: text/x-tex; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable \ex \begingl \gla[] zuek ekarri n-ai-zue neri kotxe-an// \glb[] \textsc{2pl.erg} bring \textsc{1sg-aux-2pl.erg} \textsc{1sg.dat} car= -\textsc{loc}// \glft =E2=80=98You carried me in the car.=E2=80=99 \trailingcitation{\emph{= MVAV} Southern High Navarre, p.\ 160}// \endgl \label{ex:ilurdotz} \xe --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This uses the expex glossing package , which I find to be the most flexible (despite also having some annoying quirks, such as being targeted towards plain TeX use and thus not being fully integrated with LaTeX conventions). I also have some code for embedding syntax trees, which basically just passes them through to LaTeX (with some niceties such as translating #+caption to \caption{}). I=E2=80=99ve been meaning to rewrite this for so= me time so that it compiles the trees to SVG to enable embedding into html. 2014ko otsailak 21an, Richard Lawrence-ek idatzi zuen: [...] >=20 > \begin{exe} > \ex[ ]{This is an example sentence.} \label{s:example} > \ex[*]{This ungrammatical sentence!} \label{s:ungrammatical} > \end{exe} Does this work correctly when the \label is outside the brackets of the \ex? I guess it must, but I was surprised... --=20 Aaron Ecay --=-=-=--