all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: Any linguists (or other gb4e/linguex users) on this list?
Date: Fri, 21 Feb 2014 11:49:32 -0800	[thread overview]
Message-ID: <87lhx4gsab.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> (raw)

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. <<s:example>>
2) * This ungrammatical sentence! <<s:ungrammatical>>

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.)

             reply	other threads:[~2014-02-21 19:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-21 19:49 Richard Lawrence [this message]
2014-02-25  4:37 ` Any linguists (or other gb4e/linguex users) on this list? Aaron Ecay
2014-02-25  6:16   ` Richard Lawrence

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhx4gsab.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me \
    --to=richard.lawrence@berkeley.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.