lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \sourcefilename "foo"


From: Menu Jacques
Subject: Re: \sourcefilename "foo"
Date: Sat, 26 Dec 2015 18:07:19 +0100

Hello David,

I had no expectations, just seemed strange that there was no other mention of 
it in the docs.

Thanks for the explanation!

JM

> Le 26 déc. 2015 à 17:56, David Kastrup <address@hidden> a écrit :
> 
> Menu Jacques <address@hidden> writes:
> 
>> I found in the notation reference manual that one can use that to rename the 
>> input file:
>> 
>> • At any point in a file, any of the following lexical instructions can be 
>> entered:
>> 
>>  • \version
>>  • \include
>>  • \sourcefilename
>>  • \sourcefileline
>>  • A single-line comment, introduced by a leading % sign. • A multi-line 
>> comment delimited by %{ ... %}.
>> 
>> 
>> With the:
>> 
>>      \sourcefilename "foo » 
>> 
>> command, I get:
>> 
>>      Renaming input to: `foo’
>> 
>> in the log, but that seems to be its sole effect…?
> 
> What do you expect it to do?
> 
> This will affect LilyPond's concept of its current sourcefile and line
> number.  It does not change the actually accessed file name or file
> position.  The effects will be visible only in error messages (which
> point out source file name and source file line) and for point-and-click
> information going back from the PDF to the source file.
> 
> What else do you expect?
> 
> -- 
> David Kastrup
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]