From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: org-babel, lilypond, & tables Date: Fri, 2 May 2014 06:17:52 +0000 (UTC) Message-ID: References: <87fvkul7ow.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wg6nV-0005ZA-SN for emacs-orgmode@gnu.org; Fri, 02 May 2014 02:18:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wg6nN-0005fb-Ox for emacs-orgmode@gnu.org; Fri, 02 May 2014 02:18:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:57456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wg6nN-0005fU-Hp for emacs-orgmode@gnu.org; Fri, 02 May 2014 02:18:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wg6nL-0005El-2T for emacs-orgmode@gnu.org; Fri, 02 May 2014 08:18:03 +0200 Received: from 223.104.1.35 ([223.104.1.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 May 2014 08:18:03 +0200 Received: from jamshark70 by 223.104.1.35 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 May 2014 08:18:03 +0200 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 Steven Arntson stevenarntson.com> writes: > 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'm quite sure you'll have to write custom emacs-lisp for this. I'd suggest not using tables, though. It looks fine when you have only notes, but as soon as you need an override (and, in piano music, you *will*, sooner or later), the table will become very wide and you'll lose the advantage of seeing both columns at once. I'd probably use plain lists, one item per staff. You could even nest lists for passages of temporary polyphony: ** Bar 1    - ... right hand notes...    - Poly      - ... left hand voice 1 notes...      - ... left hand voice 2 notes... It'll take some extra lisp code to parse all this, but it could work. I have a sneaky feeling, though, that more complex notation requirements may become inconvenient. hjh