all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Any linguists (or other gb4e/linguex users) on this list?
@ 2014-02-21 19:49 Richard Lawrence
  2014-02-25  4:37 ` Aaron Ecay
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Lawrence @ 2014-02-21 19:49 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-25  6:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 19:49 Any linguists (or other gb4e/linguex users) on this list? Richard Lawrence
2014-02-25  4:37 ` Aaron Ecay
2014-02-25  6:16   ` Richard Lawrence

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.