emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Steven Arntson <steven@stevenarntson.com>
To: emacs-orgmode@gnu.org
Subject: org-babel, lilypond, & tables
Date: Wed, 30 Apr 2014 16:27:11 -0700	[thread overview]
Message-ID: <87fvkul7ow.fsf@stevenarntson.com> (raw)

I'm wondering if someone could tell me if this idea is impossible. I'm
trying to find a way to leverage org-tables in a document containing
lilypond markup for a piano part such that both staves occupy the same
line, visually (instead of the lefthand notes occupying the top of the
doc and the righthand notes occupying the bottom). Right now I'm
accomplishing this with a vertical split in the buffer, which works, but
is clunky. I'd love to do something like:

left hand         | right hand          | measure
------------------+---------------------+----------
a16 b c d e f g a |  a8 <b d f> e4~      |  %m1
<c e gs>4 a8 g    |  <e g c'>4 <g d b>   |  %m2

et cetera. This is easy enough to lay out in org mode, and it would look
terrific, but I can't imagine how to accomplish it such that the
lilypond markup would respond correctly to ly-tangle without bracketing
every cell in #+BEGIN_SRC LILYPOND #END_SRC (and even then, I doubt what
would happen.)

Maybe the answer is "You just have to get used to the way things are,"
which is fine--even that would at least get me thinking about other
problems.

Thank you!
Steven Arntson

             reply	other threads:[~2014-04-30 23:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 23:27 Steven Arntson [this message]
2014-05-01 19:15 ` org-babel, lilypond, & tables Grant Rettke
2014-05-02  6:17 ` James Harkins

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87fvkul7ow.fsf@stevenarntson.com \
    --to=steven@stevenarntson.com \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).