From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Any linguists (or other gb4e/linguex users) on this list? Date: Fri, 21 Feb 2014 11:49:32 -0800 Message-ID: <87lhx4gsab.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGw82-0005SX-Nv for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 14:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGw7w-0005c3-SC for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 14:51:22 -0500 Received: from mail-pb0-f42.google.com ([209.85.160.42]:40719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGw7w-0005br-MW for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 14:51:16 -0500 Received: by mail-pb0-f42.google.com with SMTP id jt11so3887510pbb.1 for ; Fri, 21 Feb 2014 11:51:15 -0800 (PST) Received: from aquinas (c-67-164-45-159.hsd1.ca.comcast.net. [67.164.45.159]) by mx.google.com with ESMTPSA id u6sm24074889pbu.16.2014.02.21.11.51.14 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 21 Feb 2014 11:51:14 -0800 (PST) Received: from rwl by aquinas with local (Exim 4.80) (envelope-from ) id 1WGw6G-0004Du-9k for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 11:49:32 -0800 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 Org folks, I am wondering if anyone on this list uses the gb4e or linguex packages in LaTeX documents that they export from Org. I have been working on an export backend derived from the LaTeX exporter to allow exporting ordinary Org lists as linguistics examples formatted by one of these two packages. For example, a list like: #+ATTR_LATEX: :environment gb4e-exe 1) This is an example sentence. <> 2) * This ungrammatical sentence! <> would be exported as: \begin{exe} \ex[ ]{This is an example sentence.} \label{s:example} \ex[*]{This ungrammatical sentence!} \label{s:ungrammatical} \end{exe} This allows typing your examples using Org's nicer syntax, and referring to them using Org links. The backend is still in very early stages (it doesn't support linguex yet, for example, nor have I tested it with glosses), but it supports simple gb4e examples, including nested lists. If anyone else is interested in this, I can try to package it up in a form that could be shared or put in org-contrib. Let me know! -- Best, Richard (If possible, please encrypt your reply to me using my PGP key: Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646. See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)