[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Adding source location information when tangling
From: |
Grant Rettke |
Subject: |
Re: [O] Adding source location information when tangling |
Date: |
Tue, 27 May 2014 11:23:59 -0500 |
Something like "
Jumping between code and Org
here?
http://orgmode.org/manual/Extracting-source-code.html#Extracting-source-code
Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
address@hidden | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
On Sun, May 25, 2014 at 11:28 AM, Thomas Morgan <address@hidden> wrote:
> Dear Org hackers,
>
> I have a question about tangling LilyPond code blocks.
>
> Is there a way to put the commands `\sourcefilename' and
> `\sourcefileline' in the tangled file before each block,
> perhaps in place of the comment that includes the same information?
> (These commands are equivalent to the `#line LINENUM "FILE"'
> directive in C.) If possible I'd like to let LilyPond know how
> to give error messages that refer to the originating Org file.
>
> Thanks,
> Thomas
>