Re: LilyPond 2.19.52 identified as malware

2016-12-14 Thread Hans Aikema

> On 14 Dec 2016, at 23:44, Peter Toye  wrote:
> 
> Trying to download and install LP 2.19.52. It seemed to install OK, in the 
> sense that a load of files went into the directory.
> 
> But when I tried to install it into Frescobaldi my anti-malware program 
> (Kaspersky) came up with a load or error messages and deleted many of the 
> files in the directory. A selection of the error messages is below.
> 
> Has the repository been hacked?
> 
> Regards,
> 
> Peter
> mailto:lilyp...@ptoye.com
> www.ptoye.com
> 
> 14.12.2016 22.04.45File deleted when rolling back actions of 
> malicious programc:\program files 
> (x86)\lilypond2.19\usr\bin\_codecs_iso2022.dllObject: c:\program 
> files (x86)\lilypond2.19\usr\bin\_codecs_iso2022.dllApplication name: 
> D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication path: 
> d:\pc software\lilypond\lilypond-2.19.52-1.mingw.exeTime: 14/12/2016 
> 22:04
> 14.12.2016 22.04.45File deleted when rolling back actions of 
> malicious programc:\program files 
> (x86)\lilypond2.19\usr\bin\_codecs_cn.dllObject: c:\program files 
> (x86)\lilypond2.19\usr\bin\_codecs_cn.dllApplication name: D:\PC 
> Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication path: d:\pc 
> software\lilypond\lilypond-2.19.52-1.mingw.exeTime: 14/12/2016 22:04
> 14.12.2016 22.04.45File deleted when rolling back actions of 
> malicious programc:\program files 
> (x86)\lilypond2.19\usr\bin\_bisect.dllObject: c:\program files 
> (x86)\lilypond2.19\usr\bin\_bisect.dllApplication name: D:\PC 
> Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication path: d:\pc 
> software\lilypond\lilypond-2.19.52-1.mingw.exeTime: 14/12/2016 22:04
> 14.12.2016 22.04.45File deleted when rolling back actions of 
> malicious programc:\program files (x86)\lilypond2.19\uninstall.exe
> Object: c:\program files (x86)\lilypond2.19\uninstall.exe
> Application name: D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exe
> Application path: d:\pc software\lilypond\lilypond-2.19.52-1.mingw.exe
> Time: 14/12/2016 22:04
> 14.12.2016 22.01.44Malicious program deleted
> PDM:Trojan.Win32.GenericApplication name: D:\PC 
> Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication path: d:\pc 
> software\lilypond\lilypond-2.19.52-1.mingw.exeTime: 14/12/2016 22:01
> 14.12.2016 22.00.33Malicious program terminated
> PDM:Trojan.Win32.GenericApplication name: D:\PC 
> Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication path: D:\PC 
> Software\LilyPond\lilypond-2.19.52-1.mingw.exeTime: 14/12/2016 22:00
> 14.12.2016 22.00.32Malicious program detected
> PDM:Trojan.Win32.GenericApplication name: D:\PC 
> Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication path: d:\pc 
> software\lilypond\lilypond-2.19.52-1.mingw.exeTime: 14/12/2016 22:00
> 14.12.2016 21.57.56Application added to the Low Restricted group  
>   D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication: 
> D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exeReason: according 
> to calculated ratingApplication path: D:\PC 
> Software\LilyPond\lilypond-2.19.52-1.mingw.exeTime: 14/12/2016 21:57
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
I have just downloaded LP 2.19.52 windows binary and checked it with Kaspersky 
Online Virusscan…. result on the web: File is safe. So it might be best to 
check if your Kaspersky is fully updated with the latest definitions. Sounds 
like a false-positive on your system
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Creating a stencil from a markup

2016-12-14 Thread Thomas Morley
2016-12-14 21:59 GMT+01:00 David Nalesnik :
> On Wed, Dec 14, 2016 at 2:57 PM, David Nalesnik
>  wrote:
>> Hi Simon,
>>
>> On Wed, Dec 14, 2016 at 2:20 PM, Simon Albrecht  
>> wrote:
>>> Hello everybody,
>>>
>>> I’d like to add a caesura sign on top of a barline by modifying the
>>> barline’s stencil. Here’s my attempt:
>>>
>>> %%
>>> \version "2.19.49"
>>>
>>> {
>>>   1
>>>   \once\override BarLine.stencil =
>>>   #(ly:stencil-combine-at-edge
>>>  ly:bar-line::print
>>>  1 ; y-axis
>>>  1 ; on top
>>>  (interpret-markup layout props (make-musicglyph-markup
>>> "scripts.caesura.curved"))
>>>  2) %padding
>>>   1
>>> }
>>> %%
>>>
>>> However, layout is an unbound variable here (and so is props, I assume). How
>>> to do it correctly?
>>>
>>
>> Try:
>>
>> {
>>   1
>>   \once\override Staff.BarLine.stencil =
>>   #(lambda (grob)
>>  (let ((layout (ly:grob-layout grob)))
>>(ly:stencil-combine-at-edge
>> (ly:bar-line::print grob)
>> 1 ; y-axis
>> 1 ; on top
>> (interpret-markup
>>  layout
>>  (ly:grob-alist-chain grob (ly:output-def-lookup layout
>> 'text-font-defaults))
>>  (make-musicglyph-markup "scripts.caesura.curved"))
>> 2))) %padding
>>   1
>> }
>>
>> Best,
>> David
>
>
> For documentation, look at ly:text-interface::interpret-markup here:
> http://lilypond.org/doc/v2.18/Documentation/internals/scheme-functions


You could also use 'grob-interpret-markup' from output-lib.scm.
Usually I's recommend to use ly:stencil-aligned-to as well, to get a
center-aligned stencil. But the font-metrics for
"scripts.caesura.curved" are not symmetric.

Anyway here the code using both (\box only for checking)

\once\override Staff.BarLine.stencil =
  #(lambda (grob)
 (ly:stencil-combine-at-edge
   (ly:bar-line::print grob)
   1 ; y-axis
   1 ; on top
   (ly:stencil-aligned-to
 (grob-interpret-markup
   grob
   #{ \markup \box \musicglyph #"scripts.caesura.curved" #})
 X
 CENTER)
   2))

Cheers.
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: exchange LyricHyphen with a "proper" hyphen

2016-12-14 Thread Noeck
That went smoothly without any problems. The contrib documentation
describes it really well and more importantly, the usual configure/make
commands just work like expected.

I will have a look at the patches and their effect on my scrores on
Saturday.

Cheers,
Joram

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPond 2.19.52 identified as malware

2016-12-14 Thread SoundsFromSound
Peter Toye wrote
> Trying to download and install LP 2.19.52. It seemed to install OK, in the
> sense that a load of files went into the directory.
> 
> But when I tried to install it into Frescobaldi my anti-malware program
> (Kaspersky) came up with a load or error messages and deleted many of the
> files in the directory. A selection of the error messages is below.
> 
> Has the repository been hacked?
>  
> Regards,
> 
> Peter
> mailto:

> lilypond@

> www.ptoye.com
> 
> 14.12.2016 22.04.45   File deleted when rolling back actions of malicious
> program   c:\program files (x86)\lilypond2.19\usr\bin\_codecs_iso2022.dll
> Object: c:\program files (x86)\lilypond2.19\usr\bin\_codecs_iso2022.dll
> Application name: D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exe
> Application path: d:\pc software\lilypond\lilypond-2.19.52-1.mingw.exe
> Time: 14/12/2016 22:04
> 14.12.2016 22.04.45   File deleted when rolling back actions of malicious
> program   c:\program files (x86)\lilypond2.19\usr\bin\_codecs_cn.dll  
> Object:
> c:\program files (x86)\lilypond2.19\usr\bin\_codecs_cn.dllApplication
> name: D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication
> path: d:\pc software\lilypond\lilypond-2.19.52-1.mingw.exeTime:
> 14/12/2016 22:04
> 14.12.2016 22.04.45   File deleted when rolling back actions of malicious
> program   c:\program files (x86)\lilypond2.19\usr\bin\_bisect.dll Object:
> c:\program files (x86)\lilypond2.19\usr\bin\_bisect.dll   Application 
> name:
> D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Application path:
> d:\pc software\lilypond\lilypond-2.19.52-1.mingw.exe  Time: 14/12/2016
> 22:04
> _
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hello,

I've downloaded 2.19.52 and just installed it in a Windows 10 virtual
machine to test it, and Avira and AVG (and built-in Microsoft tools) all
detect zero threats. Perhaps Kaspersky is overreacting to something, maybe a
setting you can tweak in its panel? I can't imagine any malware being in
LilyPond.

Are you installing it on the normal C: Program Files or on your D:? I
noticed both drives in your errors messages. Sometimes Windows does not
"like" when you install things in non-C: drive locations but, malware? You
got me...






-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/LilyPond-2-19-52-identified-as-malware-tp198010p198011.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


LilyPond 2.19.52 identified as malware

2016-12-14 Thread Peter Toye
Trying to download and install LP 2.19.52. It seemed to install OK, in the 
sense that a load of files went into the directory.

But when I tried to install it into Frescobaldi my anti-malware program 
(Kaspersky) came up with a load or error messages and deleted many of the files 
in the directory. A selection of the error messages is below.

Has the repository been hacked?
 
Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

14.12.2016 22.04.45 File deleted when rolling back actions of malicious 
program c:\program files (x86)\lilypond2.19\usr\bin\_codecs_iso2022.dll 
Object: c:\program files (x86)\lilypond2.19\usr\bin\_codecs_iso2022.dll 
Application name: D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exe  
Application path: d:\pc software\lilypond\lilypond-2.19.52-1.mingw.exe  Time: 
14/12/2016 22:04
14.12.2016 22.04.45 File deleted when rolling back actions of malicious 
program c:\program files (x86)\lilypond2.19\usr\bin\_codecs_cn.dll  
Object: c:\program files (x86)\lilypond2.19\usr\bin\_codecs_cn.dll  
Application name: D:\PC Software\LilyPond\lilypond-2.19.52-1.mingw.exe  
Application path: d:\pc software\lilypond\lilypond-2.19.52-1.mingw.exe  Time: 
14/12/2016 22:04
14.12.2016 22.04.45 File deleted when rolling back actions of malicious 
program c:\program files (x86)\lilypond2.19\usr\bin\_bisect.dll Object: 
c:\program files (x86)\lilypond2.19\usr\bin\_bisect.dll Application name: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Application path: d:\pc 
software\lilypond\lilypond-2.19.52-1.mingw.exe  Time: 14/12/2016 22:04
14.12.2016 22.04.45 File deleted when rolling back actions of malicious 
program c:\program files (x86)\lilypond2.19\uninstall.exe   Object: 
c:\program files (x86)\lilypond2.19\uninstall.exe   Application name: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Application path: d:\pc 
software\lilypond\lilypond-2.19.52-1.mingw.exe  Time: 14/12/2016 22:04
14.12.2016 22.01.44 Malicious program deleted   
PDM:Trojan.Win32.GenericApplication name: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Application path: d:\pc 
software\lilypond\lilypond-2.19.52-1.mingw.exe  Time: 14/12/2016 22:01
14.12.2016 22.00.33 Malicious program terminated
PDM:Trojan.Win32.GenericApplication name: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Application path: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Time: 14/12/2016 22:00
14.12.2016 22.00.32 Malicious program detected  
PDM:Trojan.Win32.GenericApplication name: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Application path: d:\pc 
software\lilypond\lilypond-2.19.52-1.mingw.exe  Time: 14/12/2016 22:00
14.12.2016 21.57.56 Application added to the Low Restricted group   D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exeApplication: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe   Reason: according to 
calculated rating  Application path: D:\PC 
Software\LilyPond\lilypond-2.19.52-1.mingw.exe  Time: 14/12/2016 21:57___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: exchange LyricHyphen with a "proper" hyphen

2016-12-14 Thread Noeck
>> I won't be able to do more testing until the weekend.
>>
>> Can I compile lilypond on Ubuntu?
> 
> Ofcourse.

Thanks.

>> I've read
>> http://lilypond.org/doc/v2.19/Documentation/contributor/requirements-for-compiling-lilypond#ubuntu
> 
> Useful as well:
> http://lilypond.org/doc/v2.19/Documentation/contributor/setting-up

Thanks, git is already in place.

Cheers,
Joram

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: exchange LyricHyphen with a "proper" hyphen

2016-12-14 Thread Thomas Morley
2016-12-14 23:12 GMT+01:00 Noeck :
> Thank you both! That looks good. I tested it with one vocal score. I
> won't be able to do more testing until the weekend.
>
> Can I compile lilypond on Ubuntu?

Ofcourse.

> I've read
> http://lilypond.org/doc/v2.19/Documentation/contributor/requirements-for-compiling-lilypond#ubuntu

Useful as well:
http://lilypond.org/doc/v2.19/Documentation/contributor/setting-up

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: exchange LyricHyphen with a "proper" hyphen

2016-12-14 Thread Noeck
Thank you both! That looks good. I tested it with one vocal score. I
won't be able to do more testing until the weekend.

Can I compile lilypond on Ubuntu?
I've read
http://lilypond.org/doc/v2.19/Documentation/contributor/requirements-for-compiling-lilypond#ubuntu
But if you already know that it won't work because of XYZ (guile,
dependencies, ...), I would be happy to know before.

Cheers,
Joram

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Creating a stencil from a markup

2016-12-14 Thread Simon Albrecht

On 14.12.2016 21:57, David Nalesnik wrote:

\once\override Staff.BarLine.stencil =
   #(lambda (grob)


Thanks for the pointers!
Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Creating a stencil from a markup

2016-12-14 Thread David Nalesnik
On Wed, Dec 14, 2016 at 2:57 PM, David Nalesnik
 wrote:
> Hi Simon,
>
> On Wed, Dec 14, 2016 at 2:20 PM, Simon Albrecht  
> wrote:
>> Hello everybody,
>>
>> I’d like to add a caesura sign on top of a barline by modifying the
>> barline’s stencil. Here’s my attempt:
>>
>> %%
>> \version "2.19.49"
>>
>> {
>>   1
>>   \once\override BarLine.stencil =
>>   #(ly:stencil-combine-at-edge
>>  ly:bar-line::print
>>  1 ; y-axis
>>  1 ; on top
>>  (interpret-markup layout props (make-musicglyph-markup
>> "scripts.caesura.curved"))
>>  2) %padding
>>   1
>> }
>> %%
>>
>> However, layout is an unbound variable here (and so is props, I assume). How
>> to do it correctly?
>>
>
> Try:
>
> {
>   1
>   \once\override Staff.BarLine.stencil =
>   #(lambda (grob)
>  (let ((layout (ly:grob-layout grob)))
>(ly:stencil-combine-at-edge
> (ly:bar-line::print grob)
> 1 ; y-axis
> 1 ; on top
> (interpret-markup
>  layout
>  (ly:grob-alist-chain grob (ly:output-def-lookup layout
> 'text-font-defaults))
>  (make-musicglyph-markup "scripts.caesura.curved"))
> 2))) %padding
>   1
> }
>
> Best,
> David


For documentation, look at ly:text-interface::interpret-markup here:
http://lilypond.org/doc/v2.18/Documentation/internals/scheme-functions

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Creating a stencil from a markup

2016-12-14 Thread David Nalesnik
Hi Simon,

On Wed, Dec 14, 2016 at 2:20 PM, Simon Albrecht  wrote:
> Hello everybody,
>
> I’d like to add a caesura sign on top of a barline by modifying the
> barline’s stencil. Here’s my attempt:
>
> %%
> \version "2.19.49"
>
> {
>   1
>   \once\override BarLine.stencil =
>   #(ly:stencil-combine-at-edge
>  ly:bar-line::print
>  1 ; y-axis
>  1 ; on top
>  (interpret-markup layout props (make-musicglyph-markup
> "scripts.caesura.curved"))
>  2) %padding
>   1
> }
> %%
>
> However, layout is an unbound variable here (and so is props, I assume). How
> to do it correctly?
>

Try:

{
  1
  \once\override Staff.BarLine.stencil =
  #(lambda (grob)
 (let ((layout (ly:grob-layout grob)))
   (ly:stencil-combine-at-edge
(ly:bar-line::print grob)
1 ; y-axis
1 ; on top
(interpret-markup
 layout
 (ly:grob-alist-chain grob (ly:output-def-lookup layout
'text-font-defaults))
 (make-musicglyph-markup "scripts.caesura.curved"))
2))) %padding
  1
}

Best,
David

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Creating a stencil from a markup

2016-12-14 Thread Simon Albrecht

Hello everybody,

I’d like to add a caesura sign on top of a barline by modifying the 
barline’s stencil. Here’s my attempt:


%%
\version "2.19.49"

{
  1
  \once\override BarLine.stencil =
  #(ly:stencil-combine-at-edge
 ly:bar-line::print
 1 ; y-axis
 1 ; on top
 (interpret-markup layout props (make-musicglyph-markup 
"scripts.caesura.curved"))

 2) %padding
  1
}
%%

However, layout is an unbound variable here (and so is props, I assume). 
How to do it correctly?


Best, Simon


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF-Editor Links in Windows

2016-12-14 Thread Thomas WillNot
I don't think that is the problem.

I've attached a screenshot of the error message given by TextPad.  It asks 
to create a file with the Desktop path, followed by the actual file path, 
followed by the line numbers.  Even if the first part could be stripped out 
somehow, I don't think any of these editors would understand the textedit 
protocol or that the numbers at the end of the path refer to a line numbre.

"Phil Holmes"  wrote in message 
news:B084FC566DA94CE3A4570136544F6BC3@Advent...
> Looks like your reply worked OK.  I'd not yet post this in -bugs, but it
> could be argued that -devel is more appropriate.
>
> Anyway, looking at the error message again, it looks like LilyPad is 
> trying
> to open "texedit://filename".  The "texedit://" appears to be 
> superfluous -
> are you able to strip that off in any way?
>
> --
> Phil Holmes
>
>
> - Original Message - 
> From: "Thomas Wilmot" <1137...@acadiau.ca>
> To: "'Phil Holmes'" 
> Cc: 
> Sent: Wednesday, December 14, 2016 4:24 PM
> Subject: RE: PDF-Editor Links in Windows
>
>
> I hope I'm doing this right...still trying to figure out this mailing list
> after all these years!
>
> I replied to the message but sent a carbon copy to lilypond-user@gnu.org?
>
> I used the Gmane Web interface in the past, but it's down, so trying to do
> it the "normal" way by actually using eMail!  Quite a barrier to new users 
> I
> think!
>
> Anyway,  I did try doing everything from the root of the drive, with a
> one-word file name and got the same error message.  I also tried it with
> another text editor (TextPad) and got a similar error message.  I just 
> don't
> think any of the text editors (including LilyPad) are programmed to
> understand this textedit protocol!
>
> Should I be posting in the bug mailing list?
>
> Thanks,
>Thomas
>
>
>> -Original Message-
>> From: Phil Holmes [mailto:m...@philholmes.net]
>> Sent: Wednesday December 14, 2016 6:20 a.m.
>> To: Thomas Wilmot
>> Subject: Re: PDF-Editor Links in Windows
>>
>>
>> - Original Message - 
>> From: "Thomas Wilmot" <1137...@acadiau.ca>
>> To: "LilyPond Usergroup!" 
>> Sent: Wednesday, December 14, 2016 5:15 AM
>> Subject: PDF-Editor Links in Windows
>>
>>
>> > Hello everyone,
>> >
>> > I just thought I should once again draw some attention to the PDF
>> > Document-Text Editor hyperlink bug which exists at least in
>> Microsoft
>> > Windows.
>> >
>> > There is a post archived here:
>> >
>> http://lists.gnu.org/archive/html/bug-lilypond/2013-04/msg00055.html
>> > in which Phil concludes that this is in fact a bug, as the Windows
>> > installer does not create a functioning environment.
>> >
>> > I posted a while back about the same issue here:
>> >
>> http://lilypond.1069038.n5.nabble.com/PDF-Links-in-Windows-td181761.ht
>> > ml
>> >
>> > I ran into it again today, but seem to have made new progress!
>> >
>> > I was again trying to follow the guidelines at this page:
>> > https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
>> >
>> > I tried simply making a text file with .REG extension, then
>> > double-clicking
>> > to merge with the registry, but it didn't work.  When I dug
>> in with the
>> > Registry Editor, the Guile scheme was there, presumably
>> from the initial
>> > installation.
>> >
>> > Anyway, after messing around with the registry for a while,
>> I finally
>> > got the [editor] application I requested to open!
>> >
>> > This means that all the links in the hyperlink chain are
>> working but
>> > the last!
>> >
>> > 1.  The PDF viewer is recognizing and sending out the URI request
>> > properly.
>> > 2.  Internet Explorer is translating the URI, as described
>> on the MSDN
>> > page.
>> > 3.  The registry is calling the editor application (or whatever
>> > application
>> > I tell it to)
>> > 4.  The Editor Application is receiving the message from MSIE and
>> > appearing
>> > when called for even though the slashes are the wrong way!
>> > 5.  The last step is the editor actually understanding the URI and
>> > handling
>> > it correctly.
>> >
>> > All the people who have this working seem to be using Vim,
>> Emacs, or
>> > some other crazy editor! I just want any simple text editor
>> to be able
>> > to understand the URI. I would
>> > personally like Frescobaldi to understand it (which is
>> probably something
>> > I
>> > should go contact them about), but given that LilyPad is
>> the text editor
>> > which is included with LilyPond, it would make sense for it
>> to be fully
>> > functional out of the box, including the hyperlinking
>> between the original
>> > and Gold standard PDF reader from the creators of the
>> format (Acrobat
>> > Reader) and the LilyPond-included text editor!
>> >
>> > It seems that some Unicode support has been gained by
>> LilyPad since I
>> > last used it which is great! (hence the lilypad-ascii.exe version),
>> > though I think this 

musicxml2ly makes an apparently defective lilypond file

2016-12-14 Thread Patrick Karl

So, I have the following lilypond file, named test.ly:




\version "2.19.46"
music = { c'' }
\score {
  \new Staff \music
  \layout { }
  \midi { }
}


I compile it so:  lilypond test.ly

which generates a pdf file and a midi file.

I open the midi file in Musescore 2.0.3.1 and export an xml file, named 
test_midi_Musescore.xml



I run musicxml2ly test_midi_Musescore.xml, which generates a lilypond 
file named test_midi_Musescore.ly.



There seem to be two problems with the output of musicxml2ly:

  *  file test_midi_Musescore.ly produces: test_midi_Musescore.ly: data

  It should probably produce: test_midi_Musescore.ly:  ASCII text.  
Another indication that something is aglee with test_midi_Musescore.ly 
is the output of "more test_midi_Musescore.ly", namely:  
"test_midi_Musescore.ly" may be a binary file.  See it anyway?



  *  lilypond is unable to compile test_midi_Musescore.ly.  It fails with


pat$ lilypond test_midi_Musescore.ly
GNU LilyPond 2.19.46
Processing `test_midi_Musescore.ly'
Parsing...
test_midi_Musescore.ly:6:25: error: EOF found inside string
encodingsoftware =
"
test_midi_Musescore.ly:6:25: error: syntax error, unexpected end of 
input, expecting \header

encodingsoftware =
"
fatal error: failed files: "test_midi_Musescore.ly"

I am attaching test.midi, test_midi_Musescore.ly and 
test_midi_Musescore.xml.



Is there a workaround?  Is this a bug?






test.midi
Description: MIDI audio


test_midi_Musescore.ly
Description: Binary data

http://www.musicxml.org/dtds/partwise.dtd;>

  

  MuseScore 2.0.3.1
  2016-12-14
  
  
  
  
  
  

  

  7.05556
  40
  

  1683.78
  1190.55
  
56.6929
56.6929
56.6929
113.386

  
56.6929
56.6929
56.6929
113.386

  



  

  Piano
  Pno.
  
Piano

  
  
1
1
78.7402
0

  

  

  

  
0.00
697.91

  70.00
  

  
1

  0
  

  4
  4
  

  G
  2
  

  

  
quarter
60

  


  

  C
  5
  
1
1
quarter
down

  single
  creator: 
  

  

1
1
quarter

  

2
1
half

  

  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF-Editor Links in Windows

2016-12-14 Thread Phil Holmes
Looks like your reply worked OK.  I'd not yet post this in -bugs, but it 
could be argued that -devel is more appropriate.


Anyway, looking at the error message again, it looks like LilyPad is trying 
to open "texedit://filename".  The "texedit://" appears to be superfluous - 
are you able to strip that off in any way?


--
Phil Holmes


- Original Message - 
From: "Thomas Wilmot" <1137...@acadiau.ca>

To: "'Phil Holmes'" 
Cc: 
Sent: Wednesday, December 14, 2016 4:24 PM
Subject: RE: PDF-Editor Links in Windows


I hope I'm doing this right...still trying to figure out this mailing list
after all these years!

I replied to the message but sent a carbon copy to lilypond-user@gnu.org?

I used the Gmane Web interface in the past, but it's down, so trying to do
it the "normal" way by actually using eMail!  Quite a barrier to new users I
think!

Anyway,  I did try doing everything from the root of the drive, with a
one-word file name and got the same error message.  I also tried it with
another text editor (TextPad) and got a similar error message.  I just don't
think any of the text editors (including LilyPad) are programmed to
understand this textedit protocol!

Should I be posting in the bug mailing list?

Thanks,
   Thomas



-Original Message-
From: Phil Holmes [mailto:m...@philholmes.net]
Sent: Wednesday December 14, 2016 6:20 a.m.
To: Thomas Wilmot
Subject: Re: PDF-Editor Links in Windows


- Original Message - 
From: "Thomas Wilmot" <1137...@acadiau.ca>

To: "LilyPond Usergroup!" 
Sent: Wednesday, December 14, 2016 5:15 AM
Subject: PDF-Editor Links in Windows


> Hello everyone,
>
> I just thought I should once again draw some attention to the PDF
> Document-Text Editor hyperlink bug which exists at least in
Microsoft
> Windows.
>
> There is a post archived here:
>
http://lists.gnu.org/archive/html/bug-lilypond/2013-04/msg00055.html
> in which Phil concludes that this is in fact a bug, as the Windows
> installer does not create a functioning environment.
>
> I posted a while back about the same issue here:
>
http://lilypond.1069038.n5.nabble.com/PDF-Links-in-Windows-td181761.ht
> ml
>
> I ran into it again today, but seem to have made new progress!
>
> I was again trying to follow the guidelines at this page:
> https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
>
> I tried simply making a text file with .REG extension, then
> double-clicking
> to merge with the registry, but it didn't work.  When I dug
in with the
> Registry Editor, the Guile scheme was there, presumably
from the initial
> installation.
>
> Anyway, after messing around with the registry for a while,
I finally
> got the [editor] application I requested to open!
>
> This means that all the links in the hyperlink chain are
working but
> the last!
>
> 1.  The PDF viewer is recognizing and sending out the URI request
> properly.
> 2.  Internet Explorer is translating the URI, as described
on the MSDN
> page.
> 3.  The registry is calling the editor application (or whatever
> application
> I tell it to)
> 4.  The Editor Application is receiving the message from MSIE and
> appearing
> when called for even though the slashes are the wrong way!
> 5.  The last step is the editor actually understanding the URI and
> handling
> it correctly.
>
> All the people who have this working seem to be using Vim,
Emacs, or
> some other crazy editor! I just want any simple text editor
to be able
> to understand the URI. I would
> personally like Frescobaldi to understand it (which is
probably something
> I
> should go contact them about), but given that LilyPad is
the text editor
> which is included with LilyPond, it would make sense for it
to be fully
> functional out of the box, including the hyperlinking
between the original
> and Gold standard PDF reader from the creators of the
format (Acrobat
> Reader) and the LilyPond-included text editor!
>
> It seems that some Unicode support has been gained by
LilyPad since I
> last used it which is great! (hence the lilypad-ascii.exe version),
> though I think this hyperlinking is a much more basic feature! (At
> least for an English speaker :P)
>
> I have attached a screenshot of the error message given by
LilyPad for
> not knowing what to do with the URI.
>
> Thanks,
>  Thomas


It's possible that it doesn't like the spaces in your
filename's directory
path. Could you try with a file that's on a path with no spaces?

--
Phil Holmes






___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: PDF-Editor Links in Windows

2016-12-14 Thread Thomas Wilmot
I hope I'm doing this right...still trying to figure out this mailing list
after all these years!

I replied to the message but sent a carbon copy to lilypond-user@gnu.org?

I used the Gmane Web interface in the past, but it's down, so trying to do
it the "normal" way by actually using eMail!  Quite a barrier to new users I
think!

Anyway,  I did try doing everything from the root of the drive, with a
one-word file name and got the same error message.  I also tried it with
another text editor (TextPad) and got a similar error message.  I just don't
think any of the text editors (including LilyPad) are programmed to
understand this textedit protocol!

Should I be posting in the bug mailing list?

Thanks,
Thomas


> -Original Message-
> From: Phil Holmes [mailto:m...@philholmes.net] 
> Sent: Wednesday December 14, 2016 6:20 a.m.
> To: Thomas Wilmot
> Subject: Re: PDF-Editor Links in Windows
> 
> 
> - Original Message - 
> From: "Thomas Wilmot" <1137...@acadiau.ca>
> To: "LilyPond Usergroup!" 
> Sent: Wednesday, December 14, 2016 5:15 AM
> Subject: PDF-Editor Links in Windows
> 
> 
> > Hello everyone,
> >
> > I just thought I should once again draw some attention to the PDF 
> > Document-Text Editor hyperlink bug which exists at least in 
> Microsoft 
> > Windows.
> >
> > There is a post archived here: 
> > 
> http://lists.gnu.org/archive/html/bug-lilypond/2013-04/msg00055.html 
> > in which Phil concludes that this is in fact a bug, as the Windows 
> > installer does not create a functioning environment.
> >
> > I posted a while back about the same issue here: 
> > 
> http://lilypond.1069038.n5.nabble.com/PDF-Links-in-Windows-td181761.ht
> > ml
> >
> > I ran into it again today, but seem to have made new progress!
> >
> > I was again trying to follow the guidelines at this page: 
> > https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
> >
> > I tried simply making a text file with .REG extension, then
> > double-clicking
> > to merge with the registry, but it didn't work.  When I dug 
> in with the
> > Registry Editor, the Guile scheme was there, presumably 
> from the initial
> > installation.
> >
> > Anyway, after messing around with the registry for a while, 
> I finally 
> > got the [editor] application I requested to open!
> >
> > This means that all the links in the hyperlink chain are 
> working but 
> > the last!
> >
> > 1.  The PDF viewer is recognizing and sending out the URI request
> > properly.
> > 2.  Internet Explorer is translating the URI, as described 
> on the MSDN 
> > page.
> > 3.  The registry is calling the editor application (or whatever 
> > application
> > I tell it to)
> > 4.  The Editor Application is receiving the message from MSIE and 
> > appearing
> > when called for even though the slashes are the wrong way!
> > 5.  The last step is the editor actually understanding the URI and 
> > handling
> > it correctly.
> >
> > All the people who have this working seem to be using Vim, 
> Emacs, or 
> > some other crazy editor! I just want any simple text editor 
> to be able 
> > to understand the URI. I would
> > personally like Frescobaldi to understand it (which is 
> probably something 
> > I
> > should go contact them about), but given that LilyPad is 
> the text editor
> > which is included with LilyPond, it would make sense for it 
> to be fully
> > functional out of the box, including the hyperlinking 
> between the original
> > and Gold standard PDF reader from the creators of the 
> format (Acrobat
> > Reader) and the LilyPond-included text editor!
> >
> > It seems that some Unicode support has been gained by 
> LilyPad since I 
> > last used it which is great! (hence the lilypad-ascii.exe version), 
> > though I think this hyperlinking is a much more basic feature! (At 
> > least for an English speaker :P)
> >
> > I have attached a screenshot of the error message given by 
> LilyPad for 
> > not knowing what to do with the URI.
> >
> > Thanks,
> >  Thomas
> 
> 
> It's possible that it doesn't like the spaces in your 
> filename's directory 
> path. Could you try with a file that's on a path with no spaces?
> 
> --
> Phil Holmes 
> 
> 


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Circled numbers for live electronics

2016-12-14 Thread Gilberto Agostinho
SoundsFromSound wrote
> Thank you for this very useful code! I can use this in my electro-acoustic
> works for sure. 

I am glad to hear you found this useful! And because the function has a
markup section, it should also be easily hackable depending on how you want
your scores with live electronics to look like (e.g. some people prefer to
use dashed lines instead of arrows for this sort of notation).

By the way, I also added it to the LSR.

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Circled-numbers-for-live-electronics-tp197953p197981.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Circled numbers for live electronics

2016-12-14 Thread SoundsFromSound
Gilberto Agostinho wrote
> Hi all,
> 
> I started using the raw tag for enclosing any LilyPond code because
> without it the Nabble interface often does not display the code properly
> (because it sometimes thinks the chords are tags and end up omitting part
> of it, making the code shown at Nabble uncompilable!). 
> 
> As for these functions for live electronics, I am pasting the code below,
> I hope this time you guys will be able to see it.
> 
> Cheers,
> Gilberto

Gilberto,

Thank you for this very useful code! I can use this in my electro-acoustic
works for sure. 

I was able to see your code in the first post, but I usually access the
mailing list from the nabble.com interface vs. a mailing list app like
Thunderbird, for example. 

Huge thanks for sharing this with us!






-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Circled-numbers-for-live-electronics-tp197953p197977.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Circled numbers for live electronics

2016-12-14 Thread Gilberto Agostinho
Hi all,

I started using the raw tag for enclosing any LilyPond code because without
it the Nabble interface often does not display the code properly (because it
sometimes thinks the chords are tags and end up omitting part of it, making
the code shown at Nabble uncompilable!). It happened to me in the past (see:
http://lilypond.1069038.n5.nabble.com/Experiences-from-voice-handling-wanted-td157895.html#a158004
), and it's a pity the Nabble interface and the mailing list conflict in
something so relevant. Anyway, I will either use plain text or I will upload
files from now on. 

As for these functions for live electronics, I am pasting the code below, I
hope this time you guys will be able to see it.

Cheers,
Gilberto

%

\version "2.19.37"

LE = #(define-event-function 
 (parser location N vlength)
 (number? number?)
 (define Nstring (number->string N))
 (if (< N 10) 
 (set! Nstring (string-append "  " Nstring "  "))
 )
 (if (and (>= N 10) (< N 100)) 
 (set! Nstring (string-append " " Nstring " "))
 )
  #{
-\markup { 
  \hspace #-1.2
  \center-column {
\raise #1
\combine
\arrow-head #Y #UP ##t
\draw-line #(cons 0 (* -1 vlength))
\circle #Nstring
  }
}
  #}  
   )

LEtext = #(define-event-function 
 (parser location N vlength description)
 (number? number? string?)
 (define Nstring (number->string N))
 (if (< N 10) 
 (set! Nstring (string-append "  " Nstring "  "))
 )
 (if (and (>= N 10) (< N 100)) 
 (set! Nstring (string-append " " Nstring " "))
 )
  #{
-\markup { 
  \hspace #-1.2
  \center-column {
\raise #1
\combine
\arrow-head #Y #UP ##t
\draw-line #(cons 0 (* -1 vlength))
\circle #Nstring
  }
  \raise #(+ -2 (* -1 vlength)) $description
}
  #}  
   )

{  
  \textLengthOn
  c'1\LE #1 #3
  g1\LE #2 #1.5
  c''1\LE #37 #4.4
  f'1\LE #123 #2
  c'1\LEtext #3 #8 "harmonizer"
  f1\LEtext #20 #6 "frozen reverb"
  c'1\LEtext #300 #3 "EQ -3.7 A +1.2"
}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Circled-numbers-for-live-electronics-tp197953p197974.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Circled numbers for live electronics

2016-12-14 Thread Gerdau, Michael
> I was keen to see - and use - your code, but as Simon mentioned, it is not
> visible. Would you post it again please?

I had the same problem - luckily I could view it using the HTML interface via
http://lilypond.1069038.n5.nabble.com/Circled-numbers-for-live-electronics-tp197953p197968.html

Kind regards,
Michael
--
Michael Gerdau   email: m...@qata.de
GPG-keys available on request or at public keyserver

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Circled numbers for live electronics

2016-12-14 Thread Andrew Bernard
Hi Gilberto,

I was keen to see - and use - your code, but as Simon mentioned, it is not
visible. Would you post it again please?

Andrew



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Circled numbers for live electronics

2016-12-14 Thread Simon Albrecht

Hi Gilberto,

sorry to say this, but the way you inserted the code here is _very_ 
impractical. Only the Nabble interface allows seeing it at all: 
, 
so many people will just skip the e-mail or miss the code. Don’t do that!
There’s nothing wrong with sending a _plain text_ e-mail with the code 
inline, without any distinction (save maybe lines of %%). Or, if you 
must, use an ordinary attachment.


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Automatic lyric extenders

2016-12-14 Thread Alexander Kobel

On 2016-12-14 11:03, Urs Liska wrote:



Am 14.12.2016 um 10:45 schrieb Alexander Kobel:

On 2016-12-14 07:50, Knut Petersen wrote:

Hi Alexander!


add-lyric-extenders =
#(define-music-function (parser location lyrics) (ly:music?)


You don't need "parser location".


Hi Knut,

I think I do - see the post on lily-devel. AFAIK, the type check
(here: ly:music?) is applied to the third argument of the function.
Only 90 % sure though, can't test right now.

But you're right that I don't /use/ parser and location, so I could
also use a plain define without harm.


"parser location" is not used anymore in general, and I assume it will
be removed one day.
So this really should be

#(define-music-function (lyrics)(ly:music?)

(if ly:music? is the right predicate for lyrics, that is).

(if you have to access the parser or the location you can by now use
(*parser*) and (*location*) anywhere without having to explicitly add it
to the function signature (one of the great improvements in 2.19)


Oh, thanks, I missed that news. So I stand corrected!


Cheers,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Circled numbers for live electronics

2016-12-14 Thread Gilberto Agostinho
A small revision of the functions above, the functions now take numbers as
input and I then used Scheme to automatically ensure that all circles have
the same size for inputs up to 999. For inputs larger than that, use some
\override TextScript.extra-offset if the arrows are slightly off place in
the horizontal axis.



Producing:

 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Circled-numbers-for-live-electronics-tp197953p197968.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Automatic lyric extenders

2016-12-14 Thread Alexander Kobel

On 2016-12-14 07:12, Knut Petersen wrote:

Am 13.12.2016 um 22:43 schrieb Alexander Kobel:

On 2016-12-12 13:48, Knut Petersen wrote:

Hi everybody!

Please test and comment, patch and examples attached.


Hi Knut,

works beautifully, as far as your code is concerned. But I found a bug
in my function (add-lyric-extenders): Unintuitively, adding an
extender after _ makes extenders disappear: compare { Foo __ _ }
against { Foo __ _ __ }.



Very interesting. Have a look at the scheme code produced from your
example, you'll see the reason: every _ is translated to an " " and an
extender event is added by your scheme code. But then in
lyric-engraver.cc there is a special handling for the " " case:
[...]
A hackish solution, but it works ;-)


I guess a more proper way would be to introduce an additional event 
type, say 'LyricContinuation, have _ translated to that, and get rid of 
this case distinction. But it doesn't seem to me that this is worth the 
effort; the current solution works, and I can't remember anyone 
complaining that their cherished hidden " " lyrics broke the alignment.



The fixed function is in your regtest, along with a testcase for it.


Yes, your extended \add-lyric-extenders is correct.

I think \has-hypen? and \add-extender! should be merged with
add-lyric-extenders.


True.


Then the code should be put into a file in the scm
directory. E.g. scm/music-functions.scm. It's your code, will you
prepare a patch?


Can do it, but I really don't mind if you wrap everything together into 
one single patch. Just let's wait for some input whether this should be 
active per default or not (see my lily-devel mail).



Cheers,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Automatic lyric extenders

2016-12-14 Thread Urs Liska


Am 14.12.2016 um 10:45 schrieb Alexander Kobel:
> On 2016-12-14 07:50, Knut Petersen wrote:
>> Hi Alexander!
>>
>>> add-lyric-extenders =
>>> #(define-music-function (parser location lyrics) (ly:music?)
>>
>> You don't need "parser location".
>
> Hi Knut,
>
> I think I do - see the post on lily-devel. AFAIK, the type check
> (here: ly:music?) is applied to the third argument of the function.
> Only 90 % sure though, can't test right now.
>
> But you're right that I don't /use/ parser and location, so I could
> also use a plain define without harm.

"parser location" is not used anymore in general, and I assume it will
be removed one day.
So this really should be

#(define-music-function (lyrics)(ly:music?)

(if ly:music? is the right predicate for lyrics, that is).

(if you have to access the parser or the location you can by now use
(*parser*) and (*location*) anywhere without having to explicitly add it
to the function signature (one of the great improvements in 2.19)

Urs

>
>
> Cheers,
> Alexander
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Automatic lyric extenders

2016-12-14 Thread Alexander Kobel

On 2016-12-14 07:50, Knut Petersen wrote:

Hi Alexander!


add-lyric-extenders =
#(define-music-function (parser location lyrics) (ly:music?)


You don't need "parser location".


Hi Knut,

I think I do - see the post on lily-devel. AFAIK, the type check (here: 
ly:music?) is applied to the third argument of the function.

Only 90 % sure though, can't test right now.

But you're right that I don't /use/ parser and location, so I could also 
use a plain define without harm.



Cheers,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user