OooLilyPond

2015-02-11 Thread Martin Tarenskeen


Has anyone used OooLilyPond recently?
Today I tried it again and was getting an error that didn't happen to me 
when I last used it (quite some time ago).


The macro fails if I select "png" output in the the OooLilyPond config 
dialog. If I switch to "eps" it works again.


I am using Libre Office 4.3.5.2, LilyPond 2.19.15, OooLilyPond 0.4.0

--

MT

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


OOoLilyPond

2016-01-05 Thread Roman Stawski
Hi folks

I upgraded to LibreOffice 4.3 recently and now I'm having problems in
getting OOoLilypond to actually insert a snippet although the generation
works fine. FWIW I'm using Lilypond 2.19.33.

Is anyone still using OOoLilypond? If so have they come across the problem,
and do they have a workaround.

Sorry if this is off-subject (OOoLP and not LP itself), but for me it's
always been one of the killer features of lilypond that I can plug snippets
directly into a text document. It would be a shame if it's no longer available.

Thanks for any pointers


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


Re: OooLilyPond

2015-02-18 Thread Francisco Vila
2015-02-12 0:40 GMT+01:00 Martin Tarenskeen :
>
> Has anyone used OooLilyPond recently?
> Today I tried it again and was getting an error that didn't happen to me
> when I last used it (quite some time ago).
>
> The macro fails if I select "png" output in the the OooLilyPond config
> dialog. If I switch to "eps" it works again.
>
> I am using Libre Office 4.3.5.2, LilyPond 2.19.15, OooLilyPond 0.4.0

Jus tested with LibreOffice 4.3.3.2, LilyPond 2.19.16 and OooLilyPond
0.4.0 , works well with png output.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: OOoLilyPond

2016-01-05 Thread Noeck
Hi Roman,

I also use OOoLilyPond often and had to check immediately when I read
your mail. I am using LibreOffice 5.0.2.2 and OOoLilypond 4.0.0 and it
still works for me. What is actually happening when you insert a new
snippet?

Cheers,
Joram

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


Re: OOoLilyPond

2016-01-05 Thread Roman Stawski

On 05/01/2016 21:52, Noeck wrote:

Hi Roman,

I also use OOoLilyPond often and had to check immediately when I read
your mail. I am using LibreOffice 5.0.2.2 and OOoLilypond 4.0.0 and it
still works for me. What is actually happening when you insert a new
snippet?

Cheers,
Joram


Hello Joram

When I hit the lilypond button the console popped up as usual to run 
Lilypond, finished correctly and disappeared. The OOoLP dialogue stayed 
open. When I looked at the LP output, everything had compiled fine. 
There were no errors.


Debugging the macro, I found in the OOoLilypond/Make routine that after 
compilation it was looking for OOoLilyPond.eps in the temp directory. In 
reality I had OOoLilyPond-1.eps, OOoLilyPond-2.eps and OOoLilyPond-3.eps 
... but no OOoLilyPond.eps, so the routine just exited. I commented this 
out since the only file I'm interested in is OOoLilyPond.png which was 
there, and was included next. Debugging further kept throwing out errors 
in LibreBasic ... so I gave up.


Current state is that its now inserting the image ... but holding the 
image source open (even if I delete the image from the document). This 
means that the next run of OOoLP fails because it can't delete the 
source from the previous run.


I'm managing to make it work by unlocking the file, but optimal it's not.

Santé,
Roman

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


OooLilyPond problem

2010-11-12 Thread Martin Tarenskeen


Hi,

It has been some time ago since I used the OooLilyPond extension for 
Openoffice.org-writer. It worked nicely then.


I just upgraded to Fedora 14 and decided to use it again. But now it is 
not working anymore. I'm getting a screen with error messages beyond my 
understanding as soon as I click the "Oly" button on the menubar.


I'm using Openoffice.org 3.3.0, and OooLilypond 0.4.0.

Maybe a change or bug in the latest Openoffice causes it?

Anyone else who tried this lately ?

--

Martin Tarenskeen


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


Re: OOoLilyPond

2016-12-29 Thread Klaus Blum
Hello everybody, 

maybe it's a little late to warm up an old thread, but I had to struggle
with a similar problem: 

Roman Stawski wrote
> When I hit the lilypond button the console popped up as usual to run 
> Lilypond, finished correctly and disappeared. The OOoLP dialogue stayed 
> open. When I looked at the LP output, everything had compiled fine. 
> There were no errors.
> 
> Debugging the macro, I found in the OOoLilypond/Make routine that after 
> compilation it was looking for OOoLilyPond.eps in the temp directory. In 
> reality I had OOoLilyPond-1.eps, OOoLilyPond-2.eps and OOoLilyPond-3.eps 
> ... but no OOoLilyPond.eps, so the routine just exited. I commented this 
> out since the only file I'm interested in is OOoLilyPond.png which was 
> there, and was included next. Debugging further kept throwing out errors 
> in LibreBasic ... so I gave up.
> 
> Current state is that its now inserting the image ... but holding the 
> image source open (even if I delete the image from the document). This 
> means that the next run of OOoLP fails because it can't delete the 
> source from the previous run.

I have OpenOffice 4.1.3 and OooLilyPond 0.4.0 running on Windows 7, and I
use them a lot. 
Everything works fine as long as I use LilyPond 2.18.2, but I never got it
to work with any 2.19 version. 

Apparently, LP 2.18 produces an EPS file and converts it into a PNG file.
Both files are kept. 
With LP 2.19 (invoked by the same command) there is no EPS file with the
same file name. 

Unfortunately, OooLilyPond always checks the presence of the EPS file (and
exits if there's none), no matter if it's told to use the PNG or the EPS
file. 
The easiest way I found was to change the way LilyPond is called, in a way
that there really is an EPS file present. 

In the OooLilyPond macros, there is a section "LilyPond" containing a
function named "CallLilyPond()". 
For composing the Windows command, there is a line that reads: 

--
sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &
iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)
--

This line should be replaced by: 

--
sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt
& " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"
&Chr(10)
--

I've tested that with LP 2.18.2, LP 2.19.37 and LP 2.19.51, and it worked
with all three versions. 
By the way, I have no idea of how to use the command line parameters...
instead, I simply experimented with Frescobaldi and "stole" its output.  ;-)

I hope that this information is useful for some people. OooLilyPond is a
great tool and has literally saved my life so many times. 

Cheers, 
Klaus

P.S.: Interestingly enough, the error showed up as complaining about an
unknown variable named "CurserPosition", but that seems to be another
story...




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198655.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: OOoLilyPond

2016-12-29 Thread SoundsFromSound
Klaus Blum wrote
> Hello everybody, 
> 
> maybe it's a little late to warm up an old thread, but I had to struggle
> with a similar problem: 
> Roman Stawski wrote
>> When I hit the lilypond button the console popped up as usual to run 
>> Lilypond, finished correctly and disappeared. The OOoLP dialogue stayed 
>> open. When I looked at the LP output, everything had compiled fine. 
>> There were no errors.
>> 
>> Debugging the macro, I found in the OOoLilypond/Make routine that after 
>> compilation it was looking for OOoLilyPond.eps in the temp directory. In 
>> reality I had OOoLilyPond-1.eps, OOoLilyPond-2.eps and OOoLilyPond-3.eps 
>> ... but no OOoLilyPond.eps, so the routine just exited. I commented this 
>> out since the only file I'm interested in is OOoLilyPond.png which was 
>> there, and was included next. Debugging further kept throwing out errors 
>> in LibreBasic ... so I gave up.
>> 
>> Current state is that its now inserting the image ... but holding the 
>> image source open (even if I delete the image from the document). This 
>> means that the next run of OOoLP fails because it can't delete the 
>> source from the previous run.
> I have OpenOffice 4.1.3 and OooLilyPond 0.4.0 running on Windows 7, and I
> use them a lot. 
> Everything works fine as long as I use LilyPond 2.18.2, but I never got it
> to work with any 2.19 version. 
> 
> Apparently, LP 2.18 produces an EPS file and converts it into a PNG file.
> Both files are kept. 
> With LP 2.19 (invoked by the same command) there is no EPS file with the
> same file name. 
> 
> Unfortunately, OooLilyPond always checks the presence of the EPS file (and
> exits if there's none), no matter if it's told to use the PNG or the EPS
> file. 
> The easiest way I found was to change the way LilyPond is called, in a way
> that there really is an EPS file present. 
> 
> In the OooLilyPond macros, there is a section "LilyPond" containing a
> function named "CallLilyPond()". 
> For composing the Windows command, there is a line that reads: 
> 
> --
> sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &
> iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)
> --
> 
> This line should be replaced by: 
> 
> --
> sCommand = sCommand & " -dno-delete-intermediate-files --png " &
> sBackendOpt & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly
> >OOoLilyPond.out 2>&1" &Chr(10)
> --
> 
> I've tested that with LP 2.18.2, LP 2.19.37 and LP 2.19.51, and it worked
> with all three versions. 
> By the way, I have no idea of how to use the command line parameters...
> instead, I simply experimented with Frescobaldi and "stole" its output. 
> ;-)
> 
> I hope that this information is useful for some people. OooLilyPond is a
> great tool and has literally saved my life so many times. 
> 
> Cheers, 
> Klaus
> 
> P.S.: Interestingly enough, the error showed up as complaining about an
> unknown variable named "CurserPosition", but that seems to be another
> story...

Hello.

I mainly use Linux but recently I've tried to use OOoLilyPond with my
LibreOffice 5 on Windows 10, but it's failing. Windows 10 keeps crashing
LibreOffice whenever I try to convert the LP code into my document (as
normal).

I keep getting BASIC errors, like "BASIC runtime error. Variable not
defined".

How can I fix this on Windows, I don't understand the make and eps issues
mentioned in previous posts.

Thank you for helping!



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198659.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: OOoLilyPond

2016-12-29 Thread Martin Tarenskeen



On Thu, 29 Dec 2016, Klaus Blum wrote:


In the OooLilyPond macros, there is a section "LilyPond" containing a
function named "CallLilyPond()".
For composing the Windows command, there is a line that reads:

--
sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &
iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)
--

This line should be replaced by:

--
sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt
& " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"
&Chr(10)
--


Thanks for this info. I used OooLilyPond regularly with LibreOffice and 
LilyPond on Linux Fedora, until it stopped working with newer releases. 
This helped me to make it work again :-)


(Fedora 25, LilyPond 2.19.53, LibreOffice 5.2.3.3)

--

MT

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


Re: OOoLilyPond

2016-12-29 Thread SoundsFromSound
Martin Tarenskeen wrote
> On Thu, 29 Dec 2016, Klaus Blum wrote:
> 
>> In the OooLilyPond macros, there is a section "LilyPond" containing a
>> function named "CallLilyPond()".
>> For composing the Windows command, there is a line that reads:
>>
>> --
>> sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &
>> iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)
>> --
>>
>> This line should be replaced by:
>>
>> --
>> sCommand = sCommand & " -dno-delete-intermediate-files --png " &
>> sBackendOpt
>> & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out
>> 2>&1"
>> &Chr(10)
>> --
> 
> Thanks for this info. I used OooLilyPond regularly with LibreOffice and 
> LilyPond on Linux Fedora, until it stopped working with newer releases. 
> This helped me to make it work again :-)
> 
> (Fedora 25, LilyPond 2.19.53, LibreOffice 5.2.3.3)
> 
> -- 
> 
> MT
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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


Ah, I understand now. I edited the macro ITSELF, in LibreOffice 5 and
everything is working beautifully! I can confirm that the "variable" error
(BASIC) can be fixed by this method:

-
*In the OooLilyPond macros, there is a section "LilyPond" containing a
function named "CallLilyPond()".
For composing the Windows command, there is a line that reads:*

--
sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &
iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)
--

*This line should be replaced by:*

--
sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt
& " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"
&Chr(10)
-- 

Thank you so much for this fix!



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198661.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: OOoLilyPond

2016-12-29 Thread Philip Rhoades

Klaus,


On 2016-12-30 07:37, Klaus Blum wrote:

Hello everybody,

maybe it's a little late to warm up an old thread, but I had to 
struggle

with a similar problem:

Roman Stawski wrote

When I hit the lilypond button the console popped up as usual to run
Lilypond, finished correctly and disappeared. The OOoLP dialogue 
stayed

open. When I looked at the LP output, everything had compiled fine.
There were no errors.

Debugging the macro, I found in the OOoLilypond/Make routine that 
after
compilation it was looking for OOoLilyPond.eps in the temp directory. 
In
reality I had OOoLilyPond-1.eps, OOoLilyPond-2.eps and 
OOoLilyPond-3.eps
... but no OOoLilyPond.eps, so the routine just exited. I commented 
this

out since the only file I'm interested in is OOoLilyPond.png which was
there, and was included next. Debugging further kept throwing out 
errors

in LibreBasic ... so I gave up.

Current state is that its now inserting the image ... but holding the
image source open (even if I delete the image from the document). This
means that the next run of OOoLP fails because it can't delete the
source from the previous run.


I have OpenOffice 4.1.3 and OooLilyPond 0.4.0 running on Windows 7, and 
I

use them a lot.
Everything works fine as long as I use LilyPond 2.18.2, but I never got 
it

to work with any 2.19 version.

Apparently, LP 2.18 produces an EPS file and converts it into a PNG 
file.

Both files are kept.
With LP 2.19 (invoked by the same command) there is no EPS file with 
the

same file name.

Unfortunately, OooLilyPond always checks the presence of the EPS file 
(and
exits if there's none), no matter if it's told to use the PNG or the 
EPS

file.
The easiest way I found was to change the way LilyPond is called, in a 
way

that there really is an EPS file present.

In the OooLilyPond macros, there is a section "LilyPond" containing a
function named "CallLilyPond()".
For composing the Windows command, there is a line that reads:

--
sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &
iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)
--

This line should be replaced by:

--
sCommand = sCommand & " -dno-delete-intermediate-files --png " & 
sBackendOpt
& " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 
2>&1"

&Chr(10)
--

I've tested that with LP 2.18.2, LP 2.19.37 and LP 2.19.51, and it 
worked

with all three versions.
By the way, I have no idea of how to use the command line parameters...
instead, I simply experimented with Frescobaldi and "stole" its output. 
 ;-)


I hope that this information is useful for some people. OooLilyPond is 
a

great tool and has literally saved my life so many times.



How did OOoLP accomplish this? - by distracting an axe murderer who 
loves beautiful scores thus giving you enough time to escape?  OOoLP 
giving you external heart massage after a heart attack?


Good tip . . bad English . .

P.

--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

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


Re: OOoLilyPond

2016-12-29 Thread SoundsFromSound
Klaus Blum wrote
> This line should be replaced by: 
> 
> --
> sCommand = sCommand & " -dno-delete-intermediate-files --png " &
> sBackendOpt & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly
> >OOoLilyPond.out 2>&1" &Chr(10)
> --
> 
> 
> Cheers, 
> Klaus
> 
> P.S.: Interestingly enough, the error showed up as complaining about an
> unknown variable named "CurserPosition", but that seems to be another
> story...

One question, hopefully someone knows how to fix this. 

I really think the font of the macro editor window is too difficult to see
in its default font/size. Look at the attachment photo and you'll see what I
mean. It looks kind of deformed, squished, and generally difficult to see
unless you really stop and squint. Not sure why it looks so rough.

Anyone know how to change the font of the macro editor window /itself /in
OooLilyPond?

Thanks!

See here:  bad_font.PNG
<http://lilypond.1069038.n5.nabble.com/file/n198666/bad_font.PNG>  



-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198666.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: OOoLilyPond

2016-12-29 Thread Simon Albrecht

On 29.12.2016 23:17, Philip Rhoades wrote:

OooLilyPond is a
great tool and has literally saved my life so many times.


How did OOoLP accomplish this? - by distracting an axe murderer who 
loves beautiful scores thus giving you enough time to escape? OOoLP 
giving you external heart massage after a heart attack?


Good tip . . bad English . . 


Well, it’s an oxymoron to use the word ‘literally’ figuratively… but no 
reason to deride people for not knowing what ‘literally’ literally 
means… Easy, man :-)


Best, Simon

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


Re: OOoLilyPond

2016-12-30 Thread m.tarensk...@zonnet.nl
Shouldn't this go in a real bugreport/patchsuggestion somewhere, so we can expect a new OooLP some day? The latest release is quite old. Is someone maintaining it?MTVerzonden vanaf mijn Huawei mobiele telefoon Oorspronkelijk bericht Onderwerp: Re: OOoLilyPondVan: Martin Tarenskeen Aan: Klaus Blum Cc: lilypond-user@gnu.orgOn Thu, 29 Dec 2016, Klaus Blum wrote:> In the OooLilyPond macros, there is a section "LilyPond" containing a> function named "CallLilyPond()".> For composing the Windows command, there is a line that reads:>> --> sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &> iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)> -->> This line should be replaced by:>> --> sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt> & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"> &Chr(10)> --Thanks for this info. I used OooLilyPond regularly with LibreOffice and LilyPond on Linux Fedora, until it stopped working with newer releases. This helped me to make it work again :-)(Fedora 25, LilyPond 2.19.53, LibreOffice 5.2.3.3)-- MT___lilypond-user mailing listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OOoLilyPond

2016-12-30 Thread Urs Liska


Am 30. Dezember 2016 09:32:42 MEZ, schrieb "m.tarensk...@zonnet.nl" 
:
>Shouldn't this go in a real bugreport/patchsuggestion somewhere, so we
>can expect a new OooLP some day? The latest release is quite old. Is
>someone maintaining it?


IIRC it is officially unmaintained.
Quite a pity ...

Urs

>
>MT
>
>Verzonden vanaf mijn Huawei mobiele telefoon
>
>
>
> Oorspronkelijk bericht 
>Onderwerp: Re: OOoLilyPond
>Van: Martin Tarenskeen 
>Aan: Klaus Blum 
>Cc: lilypond-user@gnu.org
>
>
>
>
>On Thu, 29 Dec 2016, Klaus Blum wrote:
>
>> In the OooLilyPond macros, there is a section "LilyPond" containing a
>> function named "CallLilyPond()".
>> For composing the Windows command, there is a line that reads:
>>
>> --
>> sCommand = sCommand & " " & sBackendOpt & " -f png -dresolution=" &
>> iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1" &Chr(10)
>> --
>>
>> This line should be replaced by:
>>
>> --
>> sCommand = sCommand & " -dno-delete-intermediate-files --png " &
>sBackendOpt
>> & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out
>2>&1"
>> &Chr(10)
>> --
>
>Thanks for this info. I used OooLilyPond regularly with LibreOffice and
>
>LilyPond on Linux Fedora, until it stopped working with newer releases.
>
>This helped me to make it work again :-)
>
>(Fedora 25, LilyPond 2.19.53, LibreOffice 5.2.3.3)
>
>-- 
>
>MT
>
>___
>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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


Re: OOoLilyPond

2016-12-30 Thread Klaus Blum
SoundsFromSound wrote
> Anyone know how to change the font of the macro editor window 
/
> itself 
/
> in OooLilyPond?

I can only speak for OpenOffice, but I guess it works in a similar way on
LibreOffice, so here we go: 

Open the OooLilyPond macro, just as you did before. 
There you have some tabs called "Config", "Editor", "LilyPond" etc. 
Select the tab called "GUI_Editor" and you get the main OLy window. 
Click on the editor pane to select it. Now right-click on it, a context menu
should offer to edit its properties. 
Here you can change the font and/or font size. 
Somewhere in the macro editor there should also be a button or menu entry to
save your changes. 

Does that work? 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198682.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: OOoLilyPond

2016-12-30 Thread Klaus Blum

Hi guys,

thanks for all the replies!

Am 30.12.2016 um 07:36 schrieb Brian Barker:



At 09:17 30/12/2016 +1100, Philip Rhoades wrote:
How did OOoLP accomplish this? - by distracting an axe murderer who 
loves beautiful scores thus giving you enough time to escape?  OOoLP 
giving you external heart massage after a heart attack?


Good tip . . bad English . .


Charles Dickens wrote of Nicholas Nickleby "His looks were very 
haggard, and his limbs and body literally worn to the bone, ...". 
Will you tell Mr Dickens he wrote "bad English" or should I?


James Joyce, in Dubliners: "Lily, the caretaker’s daughter, was 
literally run off her feet." Will you speak to Mr Joyce?


Charlotte Brontë, in Jane Eyre: "Literally, I was (what he often 
called me) the apple of his eye." Will you approach Ms Brontë about 
her error?


And there we were, thinking these were writers of excellent English!

Brian Barker

Don't walk away... Bad English doesn't always have to be a shame:
https://www.youtube.com/watch?v=1MaO0OAZZUE
;-)
(To all Germans: Don't be afraid, it's NOT that famous Oettinger video...)

Cheers,
Klaus



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


Re: OOoLilyPond

2016-12-30 Thread SoundsFromSound
Klaus Blum wrote
> 
> SoundsFromSound wrote
>> Anyone know how to change the font of the macro editor window 
/
>> itself 
/
>> in OooLilyPond?
> I can only speak for OpenOffice, but I guess it works in a similar way on
> LibreOffice, so here we go: 
> 
> Open the OooLilyPond macro, just as you did before. 
> There you have some tabs called "Config", "Editor", "LilyPond" etc. 
> Select the tab called "GUI_Editor" and you get the main OLy window. 
> Click on the editor pane to select it. Now right-click on it, a context
> menu should offer to edit its properties. 
> Here you can change the font and/or font size. 
> Somewhere in the macro editor there should also be a button or menu entry
> to save your changes. 
> 
> Does that work? 
> 
> Cheers, 
> Klaus

Klaus,

I can't believe how easy it was - your advice worked perfectly step by step!
Thank you thank you! :)





-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198686.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: OOoLilyPond

2016-12-30 Thread Urs Liska


Am 30.12.2016 um 12:59 schrieb Klaus Blum:
> Don't walk away... Bad English doesn't always have to be a shame:
> https://www.youtube.com/watch?v=1MaO0OAZZUE
> ;-)
> (To all Germans: Don't be afraid, it's NOT that famous Oettinger
> video...)

LOL. To which of the numerous highlights are you refering?


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


Re: OOoLilyPond

2017-01-01 Thread Noeck
Hi,

> IIRC it is officially unmaintained.
> Quite a pity ...

If there is interest in maintaining it, I think the original author
would agree to do so. I don't remember if there is a license with it,
but I can dig out the conversation with the author next week.

IIUC, the extension is just a compressed (zip?) set of files, so the
required changes could be combined again in a compressed file and
published, once the license is clear. Such a best-effort maintenance
might be better than nothing.

Cheers,
Joram

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


Re: OOoLilyPond

2017-01-01 Thread Urs Liska


Am 31. Dezember 2016 08:50:51 MEZ, schrieb Noeck :
>Hi,
>
>> IIRC it is officially unmaintained.
>> Quite a pity ...
>
>If there is interest in maintaining it, I think the original author
>would agree to do so. 

I think so too. IIRC it was just the usual lack of time. 

> I don't remember if there is a license with it,
>but I can dig out the conversation with the author next week.
>
>IIUC, the extension is just a compressed (zip?) set of files, so the
>required changes could be combined again in a compressed file and
>published, once the license is clear. Such a best-effort maintenance
>might be better than nothing.

So it might be a good idea to move it to a repository (e.g. under 
https://github.com/openlilylib.

I can do some "hosting" but not really maintain it. Especially as I don't use 
it personally (because LibreOffice can't include vector graphics (if that still 
is true)).

Best 
Urs 

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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


Re: OOoLilyPond

2017-01-01 Thread David Kastrup
Urs Liska  writes:

> Am 31. Dezember 2016 08:50:51 MEZ, schrieb Noeck :
>>Hi,
>>
>>> IIRC it is officially unmaintained.
>>> Quite a pity ...
>>
>>If there is interest in maintaining it, I think the original author
>>would agree to do so. 
>
> I think so too. IIRC it was just the usual lack of time. 
>
>> I don't remember if there is a license with it,
>>but I can dig out the conversation with the author next week.
>>
>>IIUC, the extension is just a compressed (zip?) set of files, so the
>>required changes could be combined again in a compressed file and
>>published, once the license is clear. Such a best-effort maintenance
>>might be better than nothing.
>
> So it might be a good idea to move it to a repository (e.g. under
> https://github.com/openlilylib.
>
> I can do some "hosting" but not really maintain it. Especially as I
> don't use it personally (because LibreOffice can't include vector
> graphics (if that still is true)).

I think that has changed years ago already, but the last time I looked,
Oolilypond did not make any use of it.

-- 
David Kastrup

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


Re: OOoLilyPond

2017-01-01 Thread Urs Liska


Am 1. Januar 2017 20:49:50 MEZ, schrieb David Kastrup :
>Urs Liska  writes:
>
>> Am 31. Dezember 2016 08:50:51 MEZ, schrieb Noeck
>:
>>>Hi,
>>>
 IIRC it is officially unmaintained.
 Quite a pity ...
>>>
>>>If there is interest in maintaining it, I think the original author
>>>would agree to do so. 
>>
>> I think so too. IIRC it was just the usual lack of time. 
>>
>>> I don't remember if there is a license with it,
>>>but I can dig out the conversation with the author next week.
>>>
>>>IIUC, the extension is just a compressed (zip?) set of files, so the
>>>required changes could be combined again in a compressed file and
>>>published, once the license is clear. Such a best-effort maintenance
>>>might be better than nothing.
>>
>> So it might be a good idea to move it to a repository (e.g. under
>> https://github.com/openlilylib.
>>
>> I can do some "hosting" but not really maintain it. Especially as I
>> don't use it personally (because LibreOffice can't include vector
>> graphics (if that still is true)).
>
>I think that has changed years ago already, but the last time I looked,
>Oolilypond did not make any use of it.

Oh, then it would definitely be worth looking into again. Being able to 
maintain vector quality examples in a word processor like this would be a huge 
selling point for getting musicologists away from MS Word.

Urs

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


Re: OOoLilyPond

2017-01-01 Thread Wols Lists
On 01/01/17 19:56, Urs Liska wrote:
>> I think that has changed years ago already, but the last time I looked,
>> >Oolilypond did not make any use of it.

> Oh, then it would definitely be worth looking into again. Being able to 
> maintain vector quality examples in a word processor like this would be a 
> huge selling point for getting musicologists away from MS Word.

Just make sure you look in the right place ... :-)

I follow the LO dev mailing list, and last I remember (probably mid last
year) it was a bit of a mess with some filters importing vectors
unchanged, and other filters converting it to internal LO structures.
And it was a bit of a russian roulette which one was applied to your file.

I know the aim was to clean it up, and it was clear that stuff imported
should NOT be converted unless/until the user tried to edit it, but I
don't know where that went.

(Oh, and it should be renamed LO-lilypond, seeing as OO is - to all
intents and purposes nowadays - dead in the water.)

Cheers,
Wol

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


Re: OOoLilyPond

2017-01-01 Thread Henning Hraban Ramm

Am 2017-01-01 um 21:07 schrieb Wols Lists :

> On 01/01/17 19:56, Urs Liska wrote:
>>> I think that has changed years ago already, but the last time I looked,
 Oolilypond did not make any use of it.
> 
>> Oh, then it would definitely be worth looking into again. Being able to 
>> maintain vector quality examples in a word processor like this would be a 
>> huge selling point for getting musicologists away from MS Word.
> 
> Just make sure you look in the right place ... :-)
> 
> I follow the LO dev mailing list, and last I remember (probably mid last
> year) it was a bit of a mess with some filters importing vectors
> unchanged, and other filters converting it to internal LO structures.
> And it was a bit of a russian roulette which one was applied to your file.
> 
> I know the aim was to clean it up, and it was clear that stuff imported
> should NOT be converted unless/until the user tried to edit it, but I
> don't know where that went.

Several years ago I looked into OO’s vector drawing structures and found them 
to be a subset of SVG.
Maybe there is a good conversion of LilyPond’s SVG subset to LO’s possible?

Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net




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


Re: OOoLilyPond

2017-01-01 Thread Wols Lists
On 01/01/17 23:34, Henning Hraban Ramm wrote:
> 
> Am 2017-01-01 um 21:07 schrieb Wols Lists :
> 
>> On 01/01/17 19:56, Urs Liska wrote:
 I think that has changed years ago already, but the last time I looked,
> Oolilypond did not make any use of it.
>>
>>> Oh, then it would definitely be worth looking into again. Being able to 
>>> maintain vector quality examples in a word processor like this would be a 
>>> huge selling point for getting musicologists away from MS Word.
>>
>> Just make sure you look in the right place ... :-)
>>
>> I follow the LO dev mailing list, and last I remember (probably mid last
>> year) it was a bit of a mess with some filters importing vectors
>> unchanged, and other filters converting it to internal LO structures.
>> And it was a bit of a russian roulette which one was applied to your file.
>>
>> I know the aim was to clean it up, and it was clear that stuff imported
>> should NOT be converted unless/until the user tried to edit it, but I
>> don't know where that went.
> 
> Several years ago I looked into OO’s vector drawing structures and found them 
> to be a subset of SVG.
> Maybe there is a good conversion of LilyPond’s SVG subset to LO’s possible?
> 
I'm sure there is. I'm just saying that the import procedure was broken
such that users were likely to get a substandard experience. I hope it's
been fixed by now.

Cheers,
Wol


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


Re: OOoLilyPond

2017-01-02 Thread Urs Liska


Am 02.01.2017 um 00:58 schrieb Wols Lists:
> On 01/01/17 23:34, Henning Hraban Ramm wrote:
>> Am 2017-01-01 um 21:07 schrieb Wols Lists :
>>
>>> On 01/01/17 19:56, Urs Liska wrote:
> I think that has changed years ago already, but the last time I looked,
>> Oolilypond did not make any use of it.
 Oh, then it would definitely be worth looking into again. Being able to 
 maintain vector quality examples in a word processor like this would be a 
 huge selling point for getting musicologists away from MS Word.
>>> Just make sure you look in the right place ... :-)
>>>
>>> I follow the LO dev mailing list, and last I remember (probably mid last
>>> year) it was a bit of a mess with some filters importing vectors
>>> unchanged, and other filters converting it to internal LO structures.
>>> And it was a bit of a russian roulette which one was applied to your file.
>>>
>>> I know the aim was to clean it up, and it was clear that stuff imported
>>> should NOT be converted unless/until the user tried to edit it, but I
>>> don't know where that went.
>> Several years ago I looked into OO’s vector drawing structures and found 
>> them to be a subset of SVG.
>> Maybe there is a good conversion of LilyPond’s SVG subset to LO’s possible?
>>
> I'm sure there is. I'm just saying that the import procedure was broken
> such that users were likely to get a substandard experience. I hope it's
> been fixed by now.

OK, I was on my proper computer for the first time now since this thread
restarted.
I checked with LibreOffice 5.2.4 and could properly include a
LilyPond-generated .eps graphic and export the whole document to PDF
without obvious issues.

So it should be possible to make OOLilyPond use vector graphics for its
snippets. I think this would be a terrific feature for all those who
need to include music fragments in text documents and aren't ready to
take the plunge to use LaTeX. I think this should be a real incentive
for (academic) music teachers to promote the use of LibreOffice and
LilyPond.

So it would be really great to pick up this extension and make it usable
again.

Urs

> Cheers,
> Wol
>
>
> ___
> 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: OOoLilyPond

2017-01-02 Thread Urs Liska


Am 02.01.2017 um 10:25 schrieb Urs Liska:
> So it would be really great to pick up this extension and make it usable
> again.

For the record:
The original package on SourceForge does *not* have a license included,
so I have written an email to the original developer. It has been
delivered, so the email account still exists - but of course that
doesn't mean I will get a response.

In the meantime I have extracted the archive and set up a Git
repository, and if I get a positive answer I will upload it to Github
under the new name LiLily.

This still doesn't mean I'm ready to actually develop and maintain it
further, as I don't have any experience with LibreOffice extensions.

Urs

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


Re: OOoLilyPond

2017-01-02 Thread Klaus Blum
Urs Liska wrote
> The original package on SourceForge does *not* have a license included

The macro code itself is preceeded by a comment: 

> '  OOoLilyPond - using LilyPond in OpenOffice.org
> ' 
> 'Copyright (C) 2005  geoffroy piroux
> 'Copyright (C) 2009  Samuel Hartmann
> '
> 'This program is free software; you can redistribute it and/or modify
> 'it under the terms of the GNU General Public License as published by
> 'the Free Software Foundation; either version 2 of the License, or
> '(at your option) any later version.
> '
> 'This program is distributed in the hope that it will be useful,
> 'but WITHOUT ANY WARRANTY; without even the implied warranty of
> 'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> 'GNU General Public License for more details.
> '
> 'You should have received a copy of the GNU General Public License
> 'along with this program; if not, write to the Free Software
> 'Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 
> USA

Maybe this is what you are looking for.


Urs Liska wrote
> I checked with LibreOffice 5.2.4 and could properly include a
> LilyPond-generated .eps graphic and export the whole document to PDF
> without obvious issues.

Hmmm... I just installed LibreOffice 5.2.4.2 and had no luck with .eps
graphics. In OpenOffice 4.1.2 and 4.1.3 it works. That's what I'm using
literally/figuratively every day. 
However, .svg import seems to work fine in LibreOffice (but not in
OpenOffice). 

Right now I'm trying to add an option to use .svg in OooLilyPond. 

Cheers, 
Klaus




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198756.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: OOoLilyPond

2017-01-02 Thread Urs Liska


Am 02.01.2017 um 14:07 schrieb Klaus Blum:
> Urs Liska wrote
>> The original package on SourceForge does *not* have a license included
> The macro code itself is preceeded by a comment: 
>
>> ' OOoLilyPond - using LilyPond in OpenOffice.org
>> '
>> 'Copyright (C) 2005  geoffroy piroux
>> 'Copyright (C) 2009  Samuel Hartmann
>> '
>> 'This program is free software; you can redistribute it and/or modify
>> 'it under the terms of the GNU General Public License as published by
>> 'the Free Software Foundation; either version 2 of the License, or
>> '(at your option) any later version.
>> '
>> 'This program is distributed in the hope that it will be useful,
>> 'but WITHOUT ANY WARRANTY; without even the implied warranty of
>> 'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> 'GNU General Public License for more details.
>> '
>> 'You should have received a copy of the GNU General Public License
>> 'along with this program; if not, write to the Free Software
>> 'Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 
>> USA
> Maybe this is what you are looking for.

Ehm, yes ...

>
>
> Urs Liska wrote
>> I checked with LibreOffice 5.2.4 and could properly include a
>> LilyPond-generated .eps graphic and export the whole document to PDF
>> without obvious issues.
> Hmmm... I just installed LibreOffice 5.2.4.2 and had no luck with .eps
> graphics. In OpenOffice 4.1.2 and 4.1.3 it works. That's what I'm using
> literally/figuratively every day. 
> However, .svg import seems to work fine in LibreOffice (but not in
> OpenOffice). 

*After* writing my last comment I wrote something (but for OpenOffice)
that support for file formats may vary by OS (then it said: .eps is not
possible on Windows).

>
> Right now I'm trying to add an option to use .svg in OooLilyPond. 

That would be good.
While I think on the long run a Python based development from scratch
would be the best option this looks like more work than expected, and I
think it will only happen if someone with Python knowledge and
OOo/LibreOffice experience steps in. OTOH this also may be two different
persons collaborating.

Urs

>
> Cheers, 
> Klaus
>
>
>
>
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198756.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-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OOoLilyPond

2017-01-02 Thread Klaus Blum
Urs Liska wrote
> Am 02.01.2017 um 14:07 schrieb Klaus Blum:
>> Hmmm... I just installed LibreOffice 5.2.4.2 and had no luck with .eps
>> graphics. In OpenOffice 4.1.2 and 4.1.3 it works. That's what I'm using
>> literally/figuratively every day. 
>> However, .svg import seems to work fine in LibreOffice (but not in
>> OpenOffice). 
> 
> *After* writing my last comment I wrote something (but for OpenOffice)
> that support for file formats may vary by OS (then it said: .eps is not
> possible on Windows).

Ooops, I forgot to mention that this only counts for Windows 7. 
I don't have a Linux installation that could be called up-to-date. ;-)



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198758.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: OOoLilyPond

2017-01-02 Thread Urs Liska


Am 02.01.2017 um 14:38 schrieb Klaus Blum:
> Urs Liska wrote
>> Am 02.01.2017 um 14:07 schrieb Klaus Blum:
>>> Hmmm... I just installed LibreOffice 5.2.4.2 and had no luck with .eps
>>> graphics. In OpenOffice 4.1.2 and 4.1.3 it works. That's what I'm using
>>> literally/figuratively every day. 
>>> However, .svg import seems to work fine in LibreOffice (but not in
>>> OpenOffice). 
>> *After* writing my last comment I wrote something (but for OpenOffice)
>> that support for file formats may vary by OS (then it said: .eps is not
>> possible on Windows).
> Ooops, I forgot to mention that this only counts for Windows 7. 
> I don't have a Linux installation that could be called up-to-date. ;-)

So it might be useful to add an option to use EPS, PNG or SVG. This
should accordingly invoke LilyPond and then import the right image file.
So users can configure the behaviour to their needs and OS.

Urs

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


Re: OOoLilyPond

2017-01-02 Thread Wols Lists
On 02/01/17 13:41, Urs Liska wrote:
> 
> 
> Am 02.01.2017 um 14:38 schrieb Klaus Blum:
>> Urs Liska wrote
>>> Am 02.01.2017 um 14:07 schrieb Klaus Blum:
 Hmmm... I just installed LibreOffice 5.2.4.2 and had no luck with .eps
 graphics. In OpenOffice 4.1.2 and 4.1.3 it works. That's what I'm using
 literally/figuratively every day. 
 However, .svg import seems to work fine in LibreOffice (but not in
 OpenOffice). 
>>> *After* writing my last comment I wrote something (but for OpenOffice)
>>> that support for file formats may vary by OS (then it said: .eps is not
>>> possible on Windows).
>> Ooops, I forgot to mention that this only counts for Windows 7. 
>> I don't have a Linux installation that could be called up-to-date. ;-)
> 
> So it might be useful to add an option to use EPS, PNG or SVG. This
> should accordingly invoke LilyPond and then import the right image file.
> So users can configure the behaviour to their needs and OS.
> 
Bear in mind that Apache OO hasn't been updated in heaven knows how
long. Last I heard it took over six months to get a serious (read
"dangerous") bug fixed, because no one knew how to get the build system
to work to create a new release.

So before you spend time "supporting" OO (that's probably why it still
works for OO, because it's not been updated ...) check the release date
of the version you are supporting. I think there's only been one proper
release of OO since it became Apache OO, and that's how many years ago?

otoh, LO is a moving target with regular releases. But the dev list is
very active so if you want some help from the LO guys, feel free to join
in. If I spot you there I'll try to help, but my involvement with LO
code isn't that much.

Cheers,
Wol


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


Re: OOoLilyPond

2017-01-02 Thread Urs Liska


Am 02.01.2017 um 16:27 schrieb Wols Lists:
> On 02/01/17 13:41, Urs Liska wrote:
>>
>> Am 02.01.2017 um 14:38 schrieb Klaus Blum:
>>> Urs Liska wrote
 Am 02.01.2017 um 14:07 schrieb Klaus Blum:
> Hmmm... I just installed LibreOffice 5.2.4.2 and had no luck with .eps
> graphics. In OpenOffice 4.1.2 and 4.1.3 it works. That's what I'm using
> literally/figuratively every day. 
> However, .svg import seems to work fine in LibreOffice (but not in
> OpenOffice). 
 *After* writing my last comment I wrote something (but for OpenOffice)
 that support for file formats may vary by OS (then it said: .eps is not
 possible on Windows).
>>> Ooops, I forgot to mention that this only counts for Windows 7. 
>>> I don't have a Linux installation that could be called up-to-date. ;-)
>> So it might be useful to add an option to use EPS, PNG or SVG. This
>> should accordingly invoke LilyPond and then import the right image file.
>> So users can configure the behaviour to their needs and OS.
>>
> Bear in mind that Apache OO hasn't been updated in heaven knows how
> long. Last I heard it took over six months to get a serious (read
> "dangerous") bug fixed, because no one knew how to get the build system
> to work to create a new release.
>
> So before you spend time "supporting" OO (that's probably why it still
> works for OO, because it's not been updated ...) check the release date
> of the version you are supporting. I think there's only been one proper
> release of OO since it became Apache OO, and that's how many years ago?

I didn't intend to support OOo.
However, it seems unclear (at least to me) which graphics formats the
various versions of LO support on the different platforms. The official
help page
https://help.libreoffice.org/Writer/Inserting_a_Graphic_From_a_File
actually tells *nothing* about supported formats, let alone any platform
differences.

>
> otoh, LO is a moving target with regular releases. But the dev list is
> very active so if you want some help from the LO guys, feel free to join
> in. If I spot you there I'll try to help, but my involvement with LO
> code isn't that much.

I met two of them at the GSoC mentors summit but unfortunately I don't
recall their names ... otherwise I'd try to write them directly.

But as said, I think there should be someone with actual OO/LO
experience to start working on this, be it by updating the existing
extension or by writing a new one with Python (and python-ly).

Urs

>
> Cheers,
> Wol
>
>
> ___
> 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: OOoLilyPond

2017-01-02 Thread Klaus Blum
Urs Liska wrote
> So it might be useful to add an option to use EPS, PNG or SVG. This
> should accordingly invoke LilyPond and then import the right image file.
> So users can configure the behaviour to their needs and OS.

Agreed! 
I've always wondered why nobody added that option to OLy. Now I know: 

To auto-crop the images, OLy relies on lilypond-book-preamble.ly which only
works with the EPS backend. 
There's already a thread for that problem, but no solution:
http://lilypond.1069038.n5.nabble.com/How-does-the-lilypond-book-preamble-work-td191523.html

It seems that lilypond-book-preamble.ly has lots of abilities... most of
which are not needed here. We only need to auto-crop the resulting image. 
Maybe someone knows how to achieve that?




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198768.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: OOoLilyPond

2017-01-10 Thread Klaus Blum
Hi again, 

recently I've done some homework...  ;-)
I've tried to make some additions, and the result is
OOoLilyPond-0.4.2rc1.oxt - see attached.
OOoLilyPond-0.oxt
<http://lilypond.1069038.n5.nabble.com/file/n199060/OOoLilyPond-0.oxt>  

Notice: This is based on the most "recent" release OOoLilyPond-0.4.1rc1.oxt
from 2009 which isn't on the official site, but you can find it here: 
https://sourceforge.net/p/ooolilypond/discussion/614285/thread/d200563d/

On Windows, it worked fine with LibreOffice, but not with OpenOffice.

New features: 

1.) It's now possible to add include paths in the config dialog. 

2.) Ability to save the current code to a temporary LY file and open it in
an external editor, e.g. Frescobaldi. The path to the executable can be
customized in the config dialog. Another button re-imports code from the
temporary file back to the editor window. 

3.) LilyPond's svg backend still doesn't support lilypond-book-preamble.ly
would be needed for auto-cropping. 
Any current attempt to use OLy with svg format must work without
lilypond-book-preamble.ly, e.g. with the "Direct to Lilypond" template.
Paper size must be found by trial-and-error. As line-width must be given
anyway, only the paper height would have to be a guess, which is maybe not
that bad. 
Also, text fonts seem to be replaced - don't know where and why. Is there
already a discussion about that?
That being said: I've added svg support, and on Windows 7 I had no problems
with the graphics import. 

It would be cool if someone also could test it on Linux and report errors.
I've added two templates to play with. 
Attempt.ly <http://lilypond.1069038.n5.nabble.com/file/n199060/Attempt.ly>  
Attempt2.ly <http://lilypond.1069038.n5.nabble.com/file/n199060/Attempt2.ly>  

Cheers, 
Klaus

P.S.: I hope the attachments work, as I'm posting from nabble:
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198768.html



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p199060.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: OOoLilyPond

2017-01-10 Thread SoundsFromSound
Klaus Blum wrote
> Hi again, 
> 
> recently I've done some homework...  ;-)
> I've tried to make some additions, and the result is
> OOoLilyPond-0.4.2rc1.oxt - see attached.
> 
> New features: 
> 
> 1.) It's now possible to add include paths in the config dialog. 
> 
> 2.) Ability to save the current code to a temporary LY file and open it in
> an external editor, e.g. Frescobaldi. The path to the executable can be
> customized in the config dialog. Another button re-imports code from the
> temporary file back to the editor window. 
> 
> I've added svg support, and on Windows 7 I had no problems with the
> graphics import. 
> 
> It would be cool if someone also could test it on Linux and report errors.
> I've added two templates to play with. 
> Attempt.ly <http://lilypond.1069038.n5.nabble.com/file/n199060/Attempt.ly>  
> 
> Attempt2.ly
> <http://lilypond.1069038.n5.nabble.com/file/n199060/Attempt2.ly>  
> 
> Cheers, 
> Klaus
> 
> P.S.: I hope the attachments work, as I'm posting from nabble:
> http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198768.html

Thank you so much for working on this extension! I just downloaded it and
tried it in Windows LO, but I will now try it on my Linux XFCE machine and
let you know how it goes.





-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p199061.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: OOoLilyPond

2017-01-11 Thread SoundsFromSound
Klaus Blum wrote
> Hi again, 
> 
> recently I've done some homework...  ;-)
> I've tried to make some additions, and the result is
> OOoLilyPond-0.4.2rc1.oxt - see attached.
> OOoLilyPond-0.oxt
> <http://lilypond.1069038.n5.nabble.com/file/n199060/OOoLilyPond-0.oxt>  
> 
> Notice: This is based on the most "recent" release
> OOoLilyPond-0.4.1rc1.oxt from 2009 which isn't on the official site, but
> you can find it here: 
> https://sourceforge.net/p/ooolilypond/discussion/614285/thread/d200563d/
> 
> On Windows, it worked fine with LibreOffice, but not with OpenOffice.
> 
> New features: 
> 
> 1.) It's now possible to add include paths in the config dialog. 
> 
> 2.) Ability to save the current code to a temporary LY file and open it in
> an external editor, e.g. Frescobaldi. The path to the executable can be
> customized in the config dialog. Another button re-imports code from the
> temporary file back to the editor window. 
> 
> 3.) LilyPond's svg backend still doesn't support lilypond-book-preamble.ly
> would be needed for auto-cropping. 
> Any current attempt to use OLy with svg format must work without
> lilypond-book-preamble.ly, e.g. with the "Direct to Lilypond" template.
> Paper size must be found by trial-and-error. As line-width must be given
> anyway, only the paper height would have to be a guess, which is maybe not
> that bad. 
> Also, text fonts seem to be replaced - don't know where and why. Is there
> already a discussion about that?
> That being said: I've added svg support, and on Windows 7 I had no
> problems with the graphics import. 
> 
> It would be cool if someone also could test it on Linux and report errors.
> I've added two templates to play with. 
> Attempt.ly <http://lilypond.1069038.n5.nabble.com/file/n199060/Attempt.ly>  
> 
> Attempt2.ly
> <http://lilypond.1069038.n5.nabble.com/file/n199060/Attempt2.ly>  
> 
> Cheers, 
> Klaus
> 
> P.S.: I hope the attachments work, as I'm posting from nabble:
> http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p198768.html


I cannot get your version of the extension to show up at all in LibreOffice
5 in Windows 10. If I revert to an older "official" version of the OOo, it
shows up correctly in add-ons.

Not sure why but as of now nothing I can do will make your modified version
of OOoLilyPond show up in Windows LibreOffice. 

Even from the extension manager, it shows a blank instance listed of
"OOoLilyPond" with no other information (which is normally would with older
version). Do you know what could cause this or how to fix?

*See attached images*

Older_Extension_(Works).png
<http://lilypond.1069038.n5.nabble.com/file/n199072/Older_Extension_%28Works%29.png>
  
Your_Extension.png
<http://lilypond.1069038.n5.nabble.com/file/n199072/Your_Extension.png>  




-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p199072.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: OOoLilyPond

2017-01-11 Thread Klaus Blum
Hi Ben, 


SoundsFromSound wrote
> I cannot get your version of the extension to show up at all in
> LibreOffice 5 in Windows 10. If I revert to an older "official" version of
> the OOo, it shows up correctly in add-ons.
> 
> Not sure why but as of now nothing I can do will make your modified
> version of OOoLilyPond show up in Windows LibreOffice. 
> 
> Even from the extension manager, it shows a blank instance listed of
> "OOoLilyPond" with no other information (which is normally would with
> older version). Do you know what could cause this or how to fix?

maybe I made some mistakes in composing the oxt file. 
Here is another attempt. This time I took the version 0.4.0 oxt file and
only replaced the updated ingredients. On my LO 5.2.4.2/Win7 it now shows up
as expected. 
BTW: Even with the original 0.4.0, I did not get any automatic creation of a
menu entry or toolbar button. I had to manually create a button and link the
correct marco with it (see picture). 
I don't know if there is some secret I have missed...

Does it work now?

Cheers, 
Klaus

Macros.gif <http://lilypond.1069038.n5.nabble.com/file/n199086/Macros.gif>  
OOoLilyPond-0.oxt
<http://lilypond.1069038.n5.nabble.com/file/n199086/OOoLilyPond-0.oxt>  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p199086.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: OOoLilyPond

2017-01-11 Thread SoundsFromSound
Klaus Blum wrote
> Hi Ben, 
> SoundsFromSound wrote
>> I cannot get your version of the extension to show up at all in
>> LibreOffice 5 in Windows 10. If I revert to an older "official" version
>> of the OOo, it shows up correctly in add-ons.
>> 
>> Not sure why but as of now nothing I can do will make your modified
>> version of OOoLilyPond show up in Windows LibreOffice. 
>> 
>> Even from the extension manager, it shows a blank instance listed of
>> "OOoLilyPond" with no other information (which is normally would with
>> older version). Do you know what could cause this or how to fix?
> maybe I made some mistakes in composing the oxt file. 
> Here is another attempt. This time I took the version 0.4.0 oxt file and
> only replaced the updated ingredients. On my LO 5.2.4.2/Win7 it now shows
> up as expected. 
> BTW: Even with the original 0.4.0, I did not get any automatic creation of
> a menu entry or toolbar button. I had to manually create a button and link
> the correct marco with it (see picture). 
> I don't know if there is some secret I have missed...
> 
> Does it work now?
> 
> Cheers, 
> Klaus
> Macros.gif <http://lilypond.1069038.n5.nabble.com/file/n199086/Macros.gif>  
> 
> OOoLilyPond-0.oxt
> <http://lilypond.1069038.n5.nabble.com/file/n199086/OOoLilyPond-0.oxt>  


Yes you fixed it!

This new version is working perfectly :) It shows up automatically as it
should and the extension information is intact. Whatever you did just now
fixed it, thank you for working on this!

Ben



-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p199088.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: OOoLilyPond

2017-01-11 Thread Noeck
Dear Klaus,

it works here, too. With LibreOffice: 5.1.4.2 on Ubuntu.
Also the svg output works for a preamble-free template.

Thanks a lot for your changes!

Best,
Joram


> Does it work now?
> 
> Cheers, 
> Klaus
> 
> Macros.gif <http://lilypond.1069038.n5.nabble.com/file/n199086/Macros.gif>  
> OOoLilyPond-0.oxt
> <http://lilypond.1069038.n5.nabble.com/file/n199086/OOoLilyPond-0.oxt>  

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


Re: OOoLilyPond

2017-01-11 Thread Henning Hraban Ramm
Am 2017-01-11 um 15:54 schrieb SoundsFromSound :

> Klaus Blum wrote
>> Does it work now?
>> OOoLilyPond-0.oxt
>> <http://lilypond.1069038.n5.nabble.com/file/n199086/OOoLilyPond-0.oxt>  

Hi Klaus,
I tried it with LibreOffice 5.1.6.2 on OSX. All messages translated from German.

- Installation works.
- If I try to check for extension updates, I get a modal dialog 
"http://extensions.openoffice.org/extension/ooolilypond.xml doesn’t exist.". No 
wonder, but I can’t close it (probably a bug in LO).
- Killed LO, checked extension manager, extension is still there.
- Toolbar has a "OLy" button now. Click.
- Macro editor opens with an error message "Invalid value or data type. Index 
out of range." in line 123, function LilyPondVersion():
sLilyPondVersion = Split(sWords(UBound(sWords)), ".")
- Same if I open OOoLilyPond via Extras/Add-Ons menu.
- I didn’t find the settings dialog.

- Updated to LibreOffice 5.2.4.2, first check without language pack:
- Icon is gone, check extension manager: OOoLilyPond is gone.
- Update fails with the same error message for a different OO extension.
- Killed app, restartet. Re-installed OOoLilyPond.
- Same error, this time in English: "Inadmissible value or data type. Index out 
of defined range."
- I comment the conflicting lines.
- Calling the macro again tells me there was a templates folder created. (Yes 
it is.)
- Error message: "Cannot open the template file: 
~/OOoLilyPond-Templates/Default.ly" (Folder is empty)
- Error message: "No templates are found at ... LilyPond will not work without 
a template." OOoLy Editor opens.
- Extracted the templates from your OXT. Configured the path to my lilypond 
binary.
- Load Default.ly
- Button "Ly Output" shows version statement, seems to be ok.
- Button "LilyPond" … waterballing … YES it works! (PNG mode)
- SVG mode finds no output, EPS mode places text of EPS file into frame

HTH

Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net




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


Re: OOoLilyPond

2017-01-11 Thread Klaus Blum
Hi Henning, 

thanks for your observations. 
I have no idea what exactly happens when LO installs an extension. I'm glad
you could fix it manually so far.


Henning Hraban Ramm-3 wrote
> - SVG mode finds no output, EPS mode places text of EPS file into frame

I completely forgot to talk about EPS, I only did in an earlier post. EPS
didn't work for me on LO, only on OO. 
SVG mode should work as long as you don't use lilypond-book-preamble which
is "hidden" in most of the templates. 

Cheers, 
Klaus




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p199104.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: OOoLilyPond

2017-01-12 Thread SoundsFromSound
Klaus Blum wrote
> Hi Henning, 
> 
> SVG mode should work as long as you don't use lilypond-book-preamble which
> is "hidden" in most of the templates. 
> 
> Cheers, 
> Klaus

Klaus,

This extension is working great on my XFCE LibreOffice, thank you so much
for modifying this and sharing with us.





-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-tp185560p199133.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: OOoLilyPond

2017-01-21 Thread Klaus Blum

...Done some homework again...   ;-)

Here is another take on updating OOoLilyPond.
It contains some more additions:
* font name and font size for editor windows can be specified
* user now can choose between two different ways to import graphic into 
document (methods from 0.4.0 and 0.4.1rc1).


and, of course, the additions already contained in rc1:
* fixed: Runtime error - Variable not defined: line 40 CurserPosition=1
* additional include paths can be specified
* added button to save the current code into temporary file and open it 
in external editor

* added button to re-import code from temporary file back to editor window
* added support for the use of SVG graphics format (with the known 
restrictions)


In the attachment, there is also a readme file with more detailed 
information.


I'v done some testing with the attached version, but certainly not in an 
exhaustive way...   ;-)
If there is (or will be) a collaboration to further develop OOoLilyPond, 
I'm gladly willing to join in.
However, I have no idea of the python language, so I could never do a 
re-write from scratch on my own.
In addition, my knowledge about collaboration with git repositories is 
absolutely zero, but I'm always open to learn. Can anyone recommend a 
good introduction for Windows users?


Cheers,
Klaus



OOoLilyPond-0.4.2rc4.oxt
Description: application/vnd.openofficeorg.extension

  OooLilyPond 0.4.2rc4 ReadMe  (January 2017)
===


This release is based on the two most recent versions that have been published 
by the original developer Samuel Hartmann.

Version 0.4.0:
---
http://ooolilypond.sourceforge.net/
https://sourceforge.net/projects/ooolilypond/
http://extensions.openoffice.org/de/project/ooolilypond
(direct download:)
https://downloads.sourceforge.net/project/ooolilypond/ooolilypond/OOoLilyPond-0.4.0/OOoLilyPond-0.4.0.oxt?r=&ts=1484832348&use_mirror=netix

Version 0.4.1rc1:
--
https://sourceforge.net/p/ooolilypond/discussion/614285/thread/d200563d/#52fd/5aef
(direct download:)
http://www.hartmann-weine.ch/OOoLilyPond-0.4.1rc1.oxt



On the LilyPond mailing list, there are some considerations to continue the 
OOoLilyPond project. 
You can follow the discussion here: 
http://lilypond.1069038.n5.nabble.com/OOoLilyPond-td185560.html


Changes to OOoLilyPond 0.4.2rc4 since 0.4.0/0.4.1:
===

* fixed: Runtime error - Variable not defined: line 40 CurserPosition=1
* additional include paths can be specified 
* added button to save the current code into temporary file and open it in 
external editor 
* added button to re-import code from temporary file back to editor window 
* added support for the use of SVG graphics format
* user now can choose between two different ways to import graphic into 
document 
* font name and font size for editor windows can be specified


1.) fixed: Runtime error - Variable not defined: line 40 CurserPosition=1
--

Apparently, a small bug in OOoLilyPond prevented the correct error handling, if 
the expected graphics file (produced by LilyPond) could not be found. Instead, 
the macro stopped with the mentioned runtime error. This has now been fixed. 

Up to LilyPond 2.18, both an EPS file and a PNG file were present if LilyPond 
had been executed in PNG format. In LilyPond 2.19, this seems to have changed, 
only a PNG file is produced. 
Unfortunatly, OOoLilyPond always checked for the presence of an EPS file and 
stopped if there was none. 
This now has been changed as well: Whatever format is chosen (EPS, PNG or SVG), 
OOoLilyPond checks if the corresponding graphics file is present.


2.) Additional include paths can be specified 
--

In the configuration dialog, there is a text field where you can specify 
statements for additional include paths. Its entire contents is literally 
passed to LilyPond as a parameter. 
It can simply be left empty, or it can contain one or multiple include path 
definitions (i.e. the -I parameter) as described here:
http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage#basic-command-line-options-for-lilypond

for example:
  -I"C:/Users/Klaus/" -I"C:/Program Files (x86)/"
(Even in Windows, LilyPond expects the paths given with forward slashes instead 
of backward slashes. OOoLilyPond will adapt the path statements, if necessary.)


3.) Save the current code into temporary file / re-import code from temporary 
file
-

Working in the small editor window can be somewhat cumbersome. 
However, it only contains the portion of the code between the 
%{OOoLilyPondCode%} and %{OOoLilyPondEnd%} tags. 
Copying its contents into an external editor like Frescobaldi is possible, but 
compiling will n

Re: OOoLilyPond

2017-01-21 Thread Andrew Bernard
Hi Klaus,

Git is cross platform, so unless you want specifically some Windows GUI
front ends, it's good to read up in the core git functionality, as it
applies universally on any platform. Here is a good free online book:

https://git-scm.com/book/en/v2

Using github and the like - they are just interfaces over core git, and
github for example has extensive online help about github specific features.

The UNIX man pages for git are clear and helpful, and even include git
tutorials, and summary pages of the 20% of commands you use 80% of the
time. [They don't put it like that, but you know what I mean.]

Andrew




On 21 January 2017 at 22:54, Klaus Blum  wrote:

>
> In addition, my knowledge about collaboration with git repositories is
> absolutely zero, but I'm always open to learn. Can anyone recommend a
> good introduction for Windows users?
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OOoLilyPond

2017-01-21 Thread Trevor Daniels

Klaus Blum wrote Saturday, January 21, 2017 11:54 AM

> In addition, my knowledge about collaboration with git repositories is 
> absolutely zero, but I'm always open to learn. Can anyone recommend a 
> good introduction for Windows users?

A fairly basic introduction is here:

http://lilypond.org/doc/v2.19/Documentation/contributor/git-on-windows

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


OOoLilyPond trouble

2006-10-04 Thread David Bobroff
I just downloaded and installed OOoLilyPond.  I followed the
instructions on the sourceforge.net page for installation/set-up.  There
were two or three differences in the sub-menus, but I think I got it
figured out.   When I try to use it, though, it doesnothing.  I
tried "Testing the Script".  I did Crtl-M and the Editor box opened.  I
keyed in some Lily code and hit the 'lilypond' button.  Nothing.  I
tried the 'configure' button.  Noththing.  No response at all.

I'm running LilyPond 2.8.5 on Fedora Core 3.  LilyPond was installed
from an auto-installer.

Help?

-David



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


OOoLilyPond problem

2006-10-05 Thread Dave Phillips

Hi Samuel:

I'd love to get this working but I hit a problem when I get to the 
rendering. I've installed everything according to directions, I'm using 
LP 2.8.4 and OOo 2.0.3 on a Debian Etch system. The dialog panes appear, 
and I've configured everything properly (AFAICT) but when I click on the 
LilyPond button I receive this cryptic error:


terminate called after throwing an instance of 'std::logic_error'
what():basic_string::_S_construct NULL not valid

The error appears to be related to C++. Any suggestions towards a solution ?

Best,

Dave Phillips




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


OOoLilyPond question

2006-10-10 Thread David Bobroff
I've got OOoLilyPond apparently working.  I'm collaborating with someone 
who prefers to work in a word processing environment.  I got him to 
install OpenOffice on his WindowBox.  That way we can easily pass the 
file back and forth.


Now, to the real question: I put in a short musical example as a test.  
It was more than one line long.  This was intentional.  It was a nine 
measure snippet.  It came out on three lines.  Four measures on the 
first line, four on the second, and one on the last.  Additionally, the 
two four-measure lines were not the same width.  Why is this?  Is 
OOoLilyPond limited to one-liners?  I hope not.  This would be a 
show-stopper.  Is it because the Lily code is not contained within a 
\score {} block?  OOoLilyPond chokes on \score {} blocks (at least on my 
machine).


Also, I added a symlink to the templates etc. but this is not remembered 
by OOoLilyPond when I start it OpenOffice again (or perhaps it's after a 
new login or reboot).


Help?

-David
LilyPond 2.8.7
Fedora Core 5
OOoLilyPond 0.2.1 (2006-09-27)


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


ooolilypond user

2007-07-17 Thread PabloZum
OooLilyPond seems to be EXACTLY what I was looking for to write a book on jazz 
improvisation.

I use Window XP and I can get it to insert simple scores in OpenOffice.org such 
as:

\key c \minor \relative c'' { c16 es, d es c es d es c' es, d es c es d es }

which is the test given in the sourceforge webpage.

However, other scores that are created in LilyPond without problems, such as 
this one given in the LilyPond tutorial:

 \version "2.10.10"
 melody = \relative c' {
\clef treble
\key c \major
\time 4/4
 
a b c d
 }
 
 text = \lyricmode {
Aaa Bee Cee Dee
 }
 
 harmonies = \chordmode {
a2 c2
 }
 
 \score {
<<
   \new ChordNames {
  \set chordChanges = ##t
  \harmonies
   }
\new Voice = "one" {
   \autoBeamOff
   \melody
}
\new Lyrics \lyricsto "one" \text
>>
\layout { }
\midi { }
 }get quite a lot of "syntax error"s and "unknown escaped string"s and 
"unexpected string"s.

Does OooLilyPond have a shorter scope than LilyPond?

I've tried running both "lilypond.exe" and "lilipon-window.exe" as the 
executable on "config", with the same results.

Thank you!

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


ANN: OOoLilyPond 1.0.0

2020-04-09 Thread Klaus Blum
Hi all, 

I'm happy to announce a new version of OOoLilyPond (OLy), an extension to
include LilyPond snippets into LibreOffice/OpenOffice documents. 

There are several bugfixes and some new and hopefully cool and useful
features: 
https://github.com/openlilylib/LO-ly/releases/tag/1.0.0
Here is a presentation of all new features: 
https://github.com/openlilylib/LO-ly/wiki/Whats-new#v-100---whats-new

And finally, you can find a tutorial and a detailed documentation in the
project's wiki: 
https://github.com/openlilylib/LO-ly/wiki#ooolilypond

I hope that there are no more bugs left. If you find some, please don't
hesitate to report them. 
A big THANK YOU to all contributors and previous authors. 


Happy Easter!

Cheers, 
Klaus



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



OOoLilyPond: new repository

2020-10-25 Thread Klaus Blum

Dear LilyPond community,

OOoLilyPond, the extension for LibreOffice and OpenOffice, has a new home:
https://github.com/OOoLilyPond

In the last few years, it was located inside the openLilyLib repo at
GitHub (which is now orphaned as openLilyLib has moved to GitLab).
Therefore I decided to create a repo of its own.

Apart from that, everything about OOoLilyPond stays the same... except
for a new release with some minor changes.  :-)

Have fun and stay safe,
Klaus




Re: OooLilyPond problem

2010-11-12 Thread Nick Payne

AFAIK OpenOffice 3.3 is still beta.

Nick

On 12/11/10 20:11, Martin Tarenskeen wrote:


Hi,

It has been some time ago since I used the OooLilyPond extension for 
Openoffice.org-writer. It worked nicely then.


I just upgraded to Fedora 14 and decided to use it again. But now it 
is not working anymore. I'm getting a screen with error messages 
beyond my understanding as soon as I click the "Oly" button on the 
menubar.


I'm using Openoffice.org 3.3.0, and OooLilypond 0.4.0.

Maybe a change or bug in the latest Openoffice causes it?

Anyone else who tried this lately ?




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


Re: OooLilyPond problem

2010-11-12 Thread Tim McNamara
There has been a significant fork which may affect this particular  
Lilypond project.  Many/possibly most of the OOo developers quit the  
OOo project and have started LibreOffice in protest against the  
parent company that was paying for OOo development.  I don't know the  
details but they are out there on the interwebs.


LibreOffice is also at 3.3.0 beta and does not seem significantly  
different in any way.


For Macs, there is also NeoOffice which is based on OOo, but has  
various patches applied to use native Mac features.  IME OOoLilyPond  
is very problematic with NeoOffice, although I no longer remember the  
issues or details.


On Nov 12, 2010, at 12:36 PM, Nick Payne wrote:


AFAIK OpenOffice 3.3 is still beta.

Nick

On 12/11/10 20:11, Martin Tarenskeen wrote:


Hi,

It has been some time ago since I used the OooLilyPond extension  
for Openoffice.org-writer. It worked nicely then.


I just upgraded to Fedora 14 and decided to use it again. But now  
it is not working anymore. I'm getting a screen with error  
messages beyond my understanding as soon as I click the "Oly"  
button on the menubar.


I'm using Openoffice.org 3.3.0, and OooLilypond 0.4.0.

Maybe a change or bug in the latest Openoffice causes it?

Anyone else who tried this lately ?




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



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


Re: OooLilyPond problem

2010-11-12 Thread Wols Lists
On 12/11/10 20:09, Tim McNamara wrote:
> There has been a significant fork which may affect this particular
> Lilypond project.  Many/possibly most of the OOo developers quit the
> OOo project and have started LibreOffice in protest against the parent
> company that was paying for OOo development.  I don't know the details
> but they are out there on the interwebs.
>
> LibreOffice is also at 3.3.0 beta and does not seem significantly
> different in any way.
>
> For Macs, there is also NeoOffice which is based on OOo, but has
> various patches applied to use native Mac features.  IME OOoLilyPond
> is very problematic with NeoOffice, although I no longer remember the
> issues or details.
>
LibreOffice is afaict the Go-OO version of OpenOffice.

The important point is that it is no longer "OOo plus patches", it is an
actively maintained project in its own right. All of the patches are now
being aggressively merged into the code base (seeing as it is no longer
constrained by the Sun/Oracle copyright assignment policy).

They are also keen to attract developers (my name is slowly climbing up
the stats of people committing changes).

But pretty much all of the non-Oracle devs have jumped ship to the new
project. And bear in mind that several companies (for example Novell)
were expending significant resource maintaining an "OOo plus patches"
program - they can now throw those resources at a proper Open Source
project.

It's *probable* that OpenOffice will fade into obscurity - eclipsed by
the new fork. You can see the effort being thrown at it ...

And while I can't be a champion for lilypond, I do read a lot of the
messages on the list, even when they're outside my sphere of interest
(database), so rest assured if I do see anything that I think would
affect lilypond, I'll but in and mention it.

That said, if you're interested in lilypond integration, go along to the
website (www.libreoffice.org will redirect you), join the mailing list,
and do something about it ... :-)

Cheers,
Wol

(an unemployed NoSQL database programmer looking for a job :-)

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


Re: OooLilyPond problem

2010-11-13 Thread Martin Tarenskeen



On Fri, 12 Nov 2010, Martin Tarenskeen wrote:



Hi,

It has been some time ago since I used the OooLilyPond extension for 
Openoffice.org-writer. It worked nicely then.


I just upgraded to Fedora 14 and decided to use it again. But now it is not 
working anymore. I'm getting a screen with error messages beyond my 
understanding as soon as I click the "Oly" button on the menubar.


I'm using Openoffice.org 3.3.0, and OooLilypond 0.4.0.


To answer my own question:

yum --enablerepo=updates-testing update openoffice*

seems to have fixed my problem.

--

Martin Tarenskeen


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


ANN: OOoLilyPond 0.5.0

2017-03-05 Thread Klaus Blum
Dear LilyPond community, 

I am happy to announce a new version of OOoLilyPond - an extension for
LibreOffice/OpenOffice. 
OOoLilyPond enables you to enter LilyPond code from within your Office
document. Both the resulting image and its source code will be embedded
within the document. No need to keep any additional files other than the
Writer/Draw/Impress document itself.

The project has been unmaintained during the last few years. With the
agreement of the original author, the development of the project is now
continued under the roof of openlilylib.org:
https://github.com/openlilylib/LO-ly/releases


Changes since v. 0.4.0:

*   fixed: Runtime error "Variable not defined: line 40 CurserPosition=1"
*   additional include paths can be specified
*   added button to save the current code into temporary file and open it in
external editor
*   added button to re-import code from temporary file back to editor window
*   added support for the use of SVG graphics format (please read the
verbose release notes)
*   fixed: wrong size of vector graphics in Impress/Draw
*   size and crop settings of existing graphics can be preserved
*   user now can choose between two different ways to import graphic into
document
*   font name and font size for editor windows can be specified
*   user interface can be translated into other languages


Compatibility:

OOoLilyPond (OLy) works with recent versions of LibreOffice (5.3.0.3) and
OpenOffice (4.1.3). Older versions should work as well. It has even been
tested with OpenOffice 2.4 without issues.

Any content (LilyPond code, templates, OLy configuration files) created
with/for OLy 0.4.x will work with OLy 0.5.x - and vice versa. (Fully
compatible, forward and backward.)
Older snippets created with OLy 0.3.x will also work with 0.4.x and 0.5.x,
but not (necessarily) vice versa.


Direct download:
https://github.com/openlilylib/LO-ly/releases/download/0.5.0/OOoLilyPond-0.5.0.oxt
Verbose release notes:
https://github.com/openlilylib/LO-ly/releases/download/0.5.0/OOoLilyPond-0.5.0-Release-Notes.txt

The project is also listed in the official extension centers for LibreOffice
and OpenOffice:
https://extensions.libreoffice.org/extensions/ooolilypond
http://extensions.openoffice.org/en/project/ooolilypond

I hope this will be useful for many people. 

Cheers, 
Klaus





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-OOoLilyPond-0-5-0-tp200737.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


OOoLilypond, ChoirStaff, italiano.ly

2008-12-25 Thread Valentin Villenave
2008/12/25  :
>
> Hello, I'm Alessandro from Italy. Your Report about OooLilypond is
> interesting but ... I did not solve some problems about using a
> \ChoirStaff template and an \italiano.ly input option. Actually, they both
> give me an error message. Any suggestion? I'm just using openoffice 3.0,
> lilypond 2.10 and the last OooLilypond available...

Greetings,

I think there is something wrong with your code; could you send an
example? For instance, the following syntax should work:

%

\include "italiano.ly"

\new ChoirStaff <<

  \new Staff \new Voice = "soprano" \relative { do'1 }
  \new Lyrics \lyricsto "soprano" \lyricmode { aah }

  \new Staff \new Voice = "alto" \relative { do1 }
  \new Lyrics \lyricsto "alto" \lyricmode { aah }

>>

%

Cheers,
Valentin


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


OOoLilyPond 0.3.3 available

2009-01-10 Thread Samuel Hartmann
OOoLilyPond 0.3.3 is now available.

What's new:


The installation of OOoLilyPond is now much easier thanks to Goran
Rakic who provided the OpenOffice.org extension package.

The new release now works with LilyPond 2.12.

Special characters in lyrics like german Umlaute are now possible
under Windows.


web-site:
http://ooolilypond.sourceforge.net/


have fun,

Samuel


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


OOoLilyPond 0.4.0 released

2009-06-13 Thread Samuel Hartmann
I'm glad to announce version 0.4.0 of OOoLilyPond, the software that
combines the power of OpenOffice.org and LilyPond.

The new version is now easier to use and it has many new features:
- The line width and the staff size can be set in the OLy dialog.
- OLy has a built in template editor.
- The templates include example code and documentation (comments).
- The LilyPond output is parsed and Oly jumps to the location of the
error or warning while displaying the corresponding message.


About OOoLilyPond:

With OOoLilyPond (OLy) you can use musical notation within
OpenOffice.org. Use it for writing a book on music theory or for
writing down exercises for music instruments or voice which need to be
commented with text. OLy is not limited to classic musical notation,
you can also create guitar fret diagrams with it.

You enter the music notes as text code using the LilyPond language
(http://www.lilypond.org) and OLy converts it into an image within
OpenOffice.org. You will need some time to get familiar with the
LilyPond language but once learned, you can typeset small pieces of
music much faster than with any other sofware.

More information and download:
http://ooolilypond.sourceforge.net


Samuel Hartmann, July 13 2009


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


OOoLilyPond "unrecognized option"

2006-09-27 Thread Thomas Scharkowski
Hello list,

using OpenOfficeorg 2.0 with OOoLilyPond I get the following message:

LilyPond: unrecognized option "-b"

and nothing else.
Anything I can do about this?

Thanks,
Thomas

Windows XP
LilyPond 2.8.6



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


Re: OOoLilyPond trouble

2006-10-04 Thread Samuel Hartmann

Hi David,

David Bobroff wrote:

I just downloaded and installed OOoLilyPond.  I followed the
instructions on the sourceforge.net page for installation/set-up.  There
were two or three differences in the sub-menus, but I think I got it
figured out.   When I try to use it, though, it doesnothing.  I
tried "Testing the Script".  I did Crtl-M and the Editor box opened.  I
keyed in some Lily code and hit the 'lilypond' button.  Nothing.  I
tried the 'configure' button.  Noththing.  No response at all.

I'm running LilyPond 2.8.5 on Fedora Core 3.  LilyPond was installed
from an auto-installer.
May be this is the problem. The auto installer installs LilyPond under 
/home/username/bin. Maybe this path is not in your system search path.

Try the following commands in bash:
$ export PATH="$PATH:home//bin"
$ ooffice

If this does not help, wait for the next release of OOoLilyPond in one 
or two weeks. I changed a lot since the last release.



regards,

Samuel


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


Re: OOoLilyPond problem

2006-10-05 Thread Samuel Hartmann

Hi Dave,

Dave Phillips wrote:
I'd love to get this working but I hit a problem when I get to the 
rendering. I've installed everything according to directions, I'm using 
LP 2.8.4 and OOo 2.0.3 on a Debian Etch system. The dialog panes appear, 
and I've configured everything properly (AFAICT) but when I click on the 
LilyPond button I receive this cryptic error:


terminate called after throwing an instance of 'std::logic_error'
what():basic_string::_S_construct NULL not valid

The error appears to be related to C++. Any suggestions towards a 
solution ?


I have no idea, what this error message means. I did not use any C code,
only OOoBasic and Bash.

I propose, you wait for the next version of OOoLilyPond. I changed most
of the code. I will release the next version in one or two weeks.



regards,

Samuel



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


OOoLilyPond trouble 2

2006-10-05 Thread David Bobroff
In the midst of having trouble with OOoLilypond I decided it was time to 
go ahead and update my Linux installation.  I did a fresh install of 
Fedora Core 5 (was using FC3 before).  I updated everything and then 
installed LilyPond 2.8.7 from the install.sh.  Then I installed 
OOoLilyPond.  Then I followed the instructions and perhaps got it right 
this time.  I was able to make it work as advertised.  Yay!  It was 
pretty cool.


New problem.  I had saved the small test file in *.doc format as I'm 
doing some work for someone who is using Word on Windows (this may or 
may not be relevant).  When I reopened the test file and tried to edit 
one of the little music snippets, or add a new one, I get an error box:


A Scripting Framework error occured while running the Basic script 
vnd.sun.star.script:OOoLilypond.OOoLilyPondMusic.main?language=Basic&locaction=application.


Message: BasicProviderlmpl::getScript: no script!


What happened?

-David


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


Re: OOoLilyPond question

2006-10-10 Thread Samuel Hartmann

Hi David,

David Bobroff wrote:
[...]

Now, to the real question: I put in a short musical example as a test.  
It was more than one line long.  This was intentional.  It was a nine 
measure snippet.  It came out on three lines.  Four measures on the 
first line, four on the second, and one on the last.  Additionally, the 
two four-measure lines were not the same width.  Why is this?  Is 
OOoLilyPond limited to one-liners?  I hope not.  This would be a 
show-stopper.  Is it because the Lily code is not contained within a 
\score {} block?  OOoLilyPond chokes on \score {} blocks (at least on my 
machine).

Could you please post the example code?
I think a can create a template for that all the lines have the same 
width. This should correspond to the fragment/nofragment option in 
lilypond-book code.






Also, I added a symlink to the templates etc. but this is not remembered 
by OOoLilyPond when I start it OpenOffice again (or perhaps it's after a 
new login or reboot).
Please explain this in more detail, I don't understand where you put a 
symlink to which files.



regards,

Samuel


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


Re: OOoLilyPond question

2006-10-10 Thread David Bobroff

Samuel Hartmann wrote:

Hi David,

David Bobroff wrote:
[...]

Now, to the real question: I put in a short musical example as a 
test.  It was more than one line long.  This was intentional.  It was 
a nine measure snippet.  It came out on three lines.  Four measures 
on the first line, four on the second, and one on the last.  
Additionally, the two four-measure lines were not the same width.  
Why is this?  Is OOoLilyPond limited to one-liners?  I hope not.  
This would be a show-stopper.  Is it because the Lily code is not 
contained within a \score {} block?  OOoLilyPond chokes on \score {} 
blocks (at least on my machine).

Could you please post the example code?


Um, I just tried placing my code in a \score {} block and now it's not 
objecting.  Ah, but that's because I was using 'nofragment20.0y'.  I 
changed to default16 and it gave me an error box:


*
programming error: Cannot find file for FontConfig cache.
continuing, cross fingers
Processing `tmpfile.ly'
tmpfile.ly:32:0: error: syntax error, unexpected \score

\score{
tmpfile.ly:28:0: error: errors found, ignoring music expression

{
error: failed files: "tmpfile.ly"
*

So this error occurs in "fragment mode" if a \score {} block is 
included.  Feature or bug?  Now that I understand the behavior it's not 
a problem for me.  I'll be using mostly 'nofragment' anyway.


I think a can create a template for that all the lines have the same 
width. This should correspond to the fragment/nofragment option in 
lilypond-book code.





Well, I started poking around and found a 'nofragment20.ly' template.  
That seems to be what I was after.  It also appears simple enough to 
create my own templates for different sizes.  So, my question about 
multi-line music in OOoLilyPond is answered.




Also, I added a symlink to the templates etc. but this is not 
remembered by OOoLilyPond when I start it OpenOffice again (or 
perhaps it's after a new login or reboot).
Please explain this in more detail, I don't understand where you put a 
symlink to which files.


The OOoLilyPond files I put in a user's (mine) home directory.  When 
running as root, rather than copying the scripts/templates etc. to 
root's home I created a symlink to the directory.  When I start of 
OpenOffice, though, it doesn't find the templates.  The 'config' box 
shows the path to /root/OOoLilyPond/...and so on, rather than to 
/home/david/OOoLilyPond/  But, /root/OOoLilyPond is a symlink to 
/home/david/OOoLilyPond.  OOoLilyPond does not appear to be convinced 
that the symlink works.  I have tried simply changing the template and 
script paths and saving them, but that doesn't work either.  The next 
time I start OpenOffice it has reverted back to the old path.  I can get 
around this by copying the files to the path it wants to search, but 
that seems a bit clumsy.


-David




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


Re: OOoLilyPond question

2006-10-10 Thread Erik Sandberg
On Tuesday 10 October 2006 23:40, David Bobroff wrote:
> Samuel Hartmann wrote:
> > Hi David,
> >
>
> So this error occurs in "fragment mode" if a \score {} block is
> included.  Feature or bug?  

Feature; lilypond-book does the same. with fragment, you let lilypond-book 
place a \score block around your snippet.

-- 
Erik


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


OOoLilyPond 0.3 released

2006-10-11 Thread Samuel Hartmann
The new release of OOoLilyPond can be downloaded now 
(http://ooolilypond.sourceforge.net).


The main change is that is does not call a bash script anymore. So on 
Windows OOoLilyPond can be used with the MinGW-Version of lilypond 
without the need for installing cygwin.


Here is the ChangeLog:

* Code cleaned up
* No bash script is needed anymore
* No cygwin is needed on Windows
* Works with MinGW version of LilyPond
* cygwin version of LilyPond is not supported anymore
* Cleaned up configuration Dialog
* LilyPond executable can be specified
* Templates can be selected using a pop up menu
* on Linux, ~/.ooolilypond-tmp is used for temporary files
* on Windows, %SystemRoot%\Temp is used for temporary files
* on Linux, Settings are stored in ~/.ooolilypond
* on Windows, Settings are stored in %APPDATA%\ooolilypond
	* Changed the way the LilyPond Code and Template name is stored in the 
graphic



have fun,

Samuel


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


OOoLilyPond 0.3 trouble

2006-10-12 Thread David Bobroff

Samuel Hartmann wrote:

Hi David,

David Bobroff wrote:

I've grabbed v0.3 and the install instructions are not consistent 
with what I'm seeing.  When I get to the part where it says:


- Select "OpenOffice.org Macros/user/OOoLilyPond/OOoLilyPondMusic" as 
Functions Category


that path is not there.  I get:

OpenOffice.org/user/OOoLilyPond/

Is there something missing in the distribution, or is there something 
amiss in the instructions?


Maybe you read the wrong instructions. On the web page and in the file 
offline version which you find in the tar.gz or zip file you find 
these instructions:


Associate a keyboard shortcut with the macro
- Create a new writer document
- Select from the Menu: "Tools" --> "Customize..."
- Go to the tab "Keyboard"
- Select "Control-M" as Shortcut key
- Select "OpenOffice.org Macros/user/OOoLilyPond/Main" as Functions 
Category

- Select "main" as Funtion
- Click "Modify"

The path "OpenOffice.org Macros/user/OOoLilyPond/Main" seems to be the 
correct one. Did you read the instructions on the web page? May be 
your browser cage had an older version of the web page which was 
loaded when visiting it. 
Ok, all was well, but now I'm getting this error box when trying to edit 
a piece of music:


***
A Scripting Framework error occurred while running the Basic script 
vnd.sun.star.script:OOoLilyPond.Main.main?language=Basic&location=application.



Message: BasicProviderlmpl:getScript: no script!
***

I tried setting up the macro again but it didn't help.  It worked fine 
for a while.  I was able to put in a lot of short bits of music and it 
was working like a charm.  OpenOffice *did* crash at one point (don't 
know why).  Could this have something to do with it?


-David


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


OOoLilyPond on Windows

2007-05-08 Thread Tim Reeves
I tried to set up OOoLilyPond on Windows XP, OpenOffice.org 2.1, Lilypond 
2.11.23, OOoLilyPond 0.3.1 (i.e. all the latest) and when I try to run it 
I get the following error:

lilypond: unrecognized option '-b'

Any ideas how to fix this? Is it due to OOoLilypond not being up to date 
with LilyPond changes?


Thanks,


Tim Reeves
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ooolilypond user

2007-07-17 Thread Martial

just write this
---cut-
 <<
   \new ChordNames {
 \set chordChanges = ##t
 \chordmode {  a2 c2  }
 }

  \new Voice = "one" { \autoBeamOff
\relative c' { \clef treble  \key c \major  \time 4/4  a b c d }
}

  \new Lyrics \lyricsto "one" \lyricmode { Aaa Bee Cee Dee}
   >>
----cut---

OooLilyPond seems to be EXACTLY what I was looking for to write a book 
on jazz improvisation.
 
I use Window XP and I can get it to insert simple scores in 
OpenOffice.org such as:
 
\key c \minor \relative c'' { c16 es, d es c es d es c' es, d es c es d es }
 
which is the test given in the sourceforge webpage.
 
However, other scores that are created in LilyPond without problems, 
such as this one given in the LilyPond tutorial:
 


 \version "2.10.10"
 melody = \relative c' {
\clef treble
\key c \major
\time 4/4
 
a b c d

 }
 
 text = \lyricmode {

Aaa Bee Cee Dee
 }
 
 harmonies = \chordmode {

a2 c2
 }
 
 \score {

<<
   \new ChordNames {
  \set chordChanges = ##t
  \harmonies
   }
\new Voice = "one" {
   \autoBeamOff
   \melody
}
\new Lyrics \lyricsto "one" \text
>>
\layout { }
\midi { }
 }

get quite a lot of "syntax error"s and "unknown escaped string"s and 
"unexpected string"s.
 
Does OooLilyPond have a shorter scope than LilyPond?
 
I've tried running both "lilypond.exe" and "lilipon-window.exe" as the 
executable on "config", with the same results.
 
Thank you!




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


RE: ooolilypond user

2007-07-18 Thread Paul Harouff
Yes. The default templates that come with OOoLilyPond automatically insert
everything you type into a \score block, which causes problems if you are
doing more than a little snippet.
 
Use the following as an outline to create your own template and make it your
default. You will now have to include a \score { } block in your OOoLiliPond
snippet, but it gives you much more flexibility. NOTE: This template is for
doing church bulletins or 8-/12x11 folded booklets. Set the paper size and
margins to your preferences.
 
\version "2.11.15"
 
\include "lilypond-book-preamble.ly"
 
\paper {
  #(define dump-extents #t)
  #(set-paper-size "letter")
  paper-height = 8.5\in
  paper-width = 5.5\in
  top-margin = 0.25\in
  bottom-margin = 0.35\in
  left-margin = 0.25\in
  line-width = 4.75\in
%  between-system-padding = 0.5\in
%  between-system-space = 0.25\in
  ragged-last = ##f
  ragged-bottom = ##t
  ragged-right = ##f
% system-count = #1
% print-first-page-number = ##f
% print-page-number = ##t
  oddFooterMarkup = \markup { \fill-line { \hspace #0 { \bold \fromproperty
#'page:page-number-string } } }
  evenFooterMarkup = \markup { \fill-line { { \bold \fromproperty
#'page:page-number-string } \hspace #0 } }
  oddHeaderMarkup = \markup { \fill-line { \hspace #0 { "" } } }
  evenHeaderMarkup = \markup { \fill-line { { "" } \hspace #0 } }
}
 
global = {
  #(set-global-staff-size 14)
  \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 0.5)
  % \override Lyrics.LyricText #'font-size = #0.0
  % \override Lyrics.LyricText #'word-space = #0.6
  % \override Lyrics.LyricSpace #'minimum-distance = #1.0
}
 

% ly snippet contents follows:
c' d' e'
% end ly snippet

 
 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
PabloZum
Sent: Tuesday, July 17, 2007 4:24 PM
To: lilypond-user@gnu.org
Subject: ooolilypond user


OooLilyPond seems to be EXACTLY what I was looking for to write a book on
jazz improvisation.
 
I use Window XP and I can get it to insert simple scores in OpenOffice.org
such as:
 
\key c \minor \relative c'' { c16 es, d es c es d es c' es, d es c es d es }
 
which is the test given in the sourceforge webpage.
 
However, other scores that are created in LilyPond without problems, such as
this one given in the LilyPond tutorial:
 
 \version "2.10.10"

 melody = \relative c' {

\clef treble

\key c \major

\time 4/4

 

a b c d

 }

 

 text = \lyricmode {

Aaa Bee Cee Dee

 }

 

 harmonies = \chordmode {

a2 c2

 }

 

 \score {

<<

   \new ChordNames {

  \set chordChanges = ##t

  \harmonies

   }

\new Voice = "one" {

   \autoBeamOff

   \melody

}

\new Lyrics \lyricsto "one" \text

    >>

\layout { }

\midi { }

 }
get quite a lot of "syntax error"s and "unknown escaped string"s and
"unexpected string"s.
 
Does OooLilyPond have a shorter scope than LilyPond?
 
I've tried running both "lilypond.exe" and "lilipon-window.exe" as the
executable on "config", with the same results.
 
Thank you!
 
 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ANN: OOoLilyPond 1.0.0

2020-04-09 Thread Ben

On 4/9/2020 6:37 AM, Klaus Blum wrote:

Hi all,

I'm happy to announce a new version of OOoLilyPond (OLy), an extension to
include LilyPond snippets into LibreOffice/OpenOffice documents.

There are several bugfixes and some new and hopefully cool and useful
features:
https://github.com/openlilylib/LO-ly/releases/tag/1.0.0
Here is a presentation of all new features:
https://github.com/openlilylib/LO-ly/wiki/Whats-new#v-100---whats-new

And finally, you can find a tutorial and a detailed documentation in the
project's wiki:
https://github.com/openlilylib/LO-ly/wiki#ooolilypond

I hope that there are no more bugs left. If you find some, please don't
hesitate to report them.
A big THANK YOU to all contributors and previous authors.


Happy Easter!

Cheers,
Klaus



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html


Klaus,

This is really wonderful. Thank you so much for working on this - it's 
great! Essential and awesome. :)





Re: ANN: OOoLilyPond 1.0.0

2020-04-09 Thread Noeck
Dear Klaus,

thanks a lot for your work, the great improvements to this extension and
for getting out this new version!

Happy Easter!
Joram



Re: OOoLilyPond: new repository

2020-10-25 Thread Andrew Bernard
Hi Klaus,

I will be opening the newly revivified openLilyLib repository in the
next couple of weeks. I'm sorry I have not been able to do it
instantly! It would be great if you could come back over there. I am
trying hard to unify the OLL project so that we don't have the
balkanisation and fragmentation of LilyPond into many individual git
repos. I feel this makes it hard for end users. Tell a beginning user
they have to fetch from five or six git repos and they likely won't
stay with it long.

Welcome to chat about this on the Discourse forum.

Andrew

On Mon, 26 Oct 2020 at 01:29, Klaus Blum  wrote:

>
> OOoLilyPond, the extension for LibreOffice and OpenOffice, has a new home:
> https://github.com/OOoLilyPond



Re: OOoLilyPond: new repository

2020-10-26 Thread Klaus Blum

Hi Martin,

Am 25.10.2020 um 16:17 schrieb lilypond-user-requ...@gnu.org:

>Hi Klaus,



I will be opening the newly revivified openLilyLib repository in the
next couple of weeks. I'm sorry I have not been able to do it
instantly! It would be great if you could come back over there. I am
trying hard to unify the OLL project so that we don't have the
balkanisation and fragmentation of LilyPond into many individual git
repos. I feel this makes it hard for end users. Tell a beginning user
they have to fetch from five or six git repos and they likely won't
stay with it long.


Please don't feel pushed or criticized in any way. Thanks for taking over the 
maintainership!

OOoLilyPond has never been an OLL package and therefore always has been 
somewhat out of place in the repo. In the past, Urs already thought about 
placing it somewhere else.
Or course I will stay on board and continue my work on anaLYsis.

Cheers,
Klaus




Re: OOoLilyPond: new repository

2020-10-26 Thread Klaus Blum

Ooops...

Hi Andrew
(where did I grab the name "Martin"?)

Sorry...



OOoLilyPond-0.5.8 : SVG Issue

2019-02-13 Thread Ben

Good morning!

For those of you who use OOoLilyPond:

I am having some problems using the OOoLilyPond extension in LibreOffice 
and I was just wondering if someone knew how to get this fixed.


SVG output into my documents won't work, no matter what changes I make 
to the template, config, or the file itself. I have plenty of space for 
the SVG in the paragraph location and all commands are configured 
correctly to run outside LibreOffice just fine.


I noticed no change when using/not using the preamble either. PNG 
insertion works fine however, it's just SVG on both GNU/Linux and 
Windows systems. SVG won't seem to work into the document at all.


I've included some attachments to show what it looks like now.

Has anyone experienced this issue when using SVG and OOoLilyPond? Thanks!


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


Re: ANN: OOoLilyPond 0.5.0

2017-03-05 Thread Martin Tarenskeen



On Sun, 5 Mar 2017, Klaus Blum wrote:


Dear LilyPond community,
(...)
I hope this will be useful for many people.


I am sure it will be, thanks!

--

MT

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


Re: ANN: OOoLilyPond 0.5.0

2017-03-05 Thread Henning Hraban Ramm
Am 2017-03-05 um 19:26 schrieb Klaus Blum :

> I am happy to announce a new version of OOoLilyPond - an extension for
> LibreOffice/OpenOffice. 

Thank you for the effort!

> Compatibility:
> 
> OOoLilyPond (OLy) works with recent versions of LibreOffice (5.3.0.3) and
> OpenOffice (4.1.3). Older versions should work as well. It has even been
> tested with OpenOffice 2.4 without issues.
> 
> Any content (LilyPond code, templates, OLy configuration files) created
> with/for OLy 0.4.x will work with OLy 0.5.x - and vice versa. (Fully
> compatible, forward and backward.)
> Older snippets created with OLy 0.3.x will also work with 0.4.x and 0.5.x,
> but not (necessarily) vice versa.

In my installation (LibreOffice 5.2.4.2 and LilyPond 2.18.2 on OSX 10.9.5) only 
the SVG mode works; in EPS mode I get an image with two lines of text (Title: 
... / Creator: ...)


Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net




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


Re: ANN: OOoLilyPond 0.5.0

2017-03-05 Thread Klaus Blum
Hi Henning, 


Henning Hraban Ramm-3 wrote
> In my installation (LibreOffice 5.2.4.2 and LilyPond 2.18.2 on OSX 10.9.5)
> only the SVG mode works; in EPS mode I get an image with two lines of text
> (Title: ... / Creator: ...)

yes, that's a known limitation of LibreOffice. EPS graphics only work in
OpenOffice (Windows), which is not preferred by everyone.   ;-) 
But we now have SVG versions for all templates inherited from 0.4.0, and
working without the auto-crop feature might be easier than it seems at the
first glance. 
Detailed informations can be found in the verbose release notes
(https://github.com/openlilylib/LO-ly/releases/download/0.5.0/OOoLilyPond-0.5.0-Release-Notes.txt).

Cheers, 
Klaus




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-OOoLilyPond-0-5-0-tp200737p200740.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: ANN: OOoLilyPond 0.5.0

2017-03-05 Thread SoundsFromSound
Klaus Blum wrote
> yes, that's a known limitation of LibreOffice. EPS graphics only work in
> OpenOffice (Windows), which is not preferred by everyone.   ;-) 
> But we now have SVG versions for all templates inherited from 0.4.0, and
> working without the auto-crop feature might be easier than it seems at the
> first glance. 
> Detailed informations can be found in the verbose release notes
> (https://github.com/openlilylib/LO-ly/releases/download/0.5.0/OOoLilyPond-0.5.0-Release-Notes.txt).
> 
> Cheers, 
> Klaus

Hi Klaus!

This extension works beautifully on Linux Mint, thank you for sharing this
with us! 

However, not sure if it's user error or a bug or something, but on Windows
10 LibreOffice 5, I am constantly seeing an error when trying to simply
enter a small musical example into a document:
*
Error: No png output found*

Just wanted to share this with you, in case you knew what the cause/fix was!






-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-OOoLilyPond-0-5-0-tp200737p200741.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: ANN: OOoLilyPond 0.5.0

2017-03-05 Thread Klaus Blum
Another thought about graphic file formats: 

The brand new LibreOffice supports importing PDF graphics, *but* embedded
fonts are not yet recognized, which makes this feature not (yet?) usable for
LilyPond-created PDFs. If this changes in the forseable future, using PDF
format might solve all our problems. 

The developer of this LO feature has already made some changes:
https://disqus.com/home/discussion/vmiklos/insert_pdf_as_image_in_libreoffice_53_01/
Maybe his comment means that in LO 5.4.0.0 this might be solved.

There is also a bug report on the LO buglist:
https://bugs.documentfoundation.org/show_bug.cgi?id=106203
A comment there sounds as if someone could confirm the same bug for LO
5.4.0.0... that's all I know about that for the moment. 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-OOoLilyPond-0-5-0-tp200737p200742.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: ANN: OOoLilyPond 0.5.0

2017-03-05 Thread Klaus Blum
Hi Ben, 


SoundsFromSound wrote
> on Windows 10 LibreOffice 5, I am constantly seeing an error when trying
> to simply enter a small musical example into a document:
*
> Error: No png output found
*
> 
> Just wanted to share this with you, in case you knew what the cause/fix
> was!

could you add the contents of the "Ly Output" window? Maybe this could help.

Cheers, 
Klaus




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-OOoLilyPond-0-5-0-tp200737p200744.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


Python LiLily (was: OOoLilyPond)

2017-01-02 Thread Urs Liska


Am 02.01.2017 um 10:49 schrieb Urs Liska:
>
> Am 02.01.2017 um 10:25 schrieb Urs Liska:
>> So it would be really great to pick up this extension and make it usable
>> again.
> For the record:
> The original package on SourceForge does *not* have a license included,
> so I have written an email to the original developer. It has been
> delivered, so the email account still exists - but of course that
> doesn't mean I will get a response.
>
> In the meantime I have extracted the archive and set up a Git
> repository, and if I get a positive answer I will upload it to Github
> under the new name LiLily.
>
> This still doesn't mean I'm ready to actually develop and maintain it
> further, as I don't have any experience with LibreOffice extensions.
>
> Urs
>

One more thought on the issue (hopefully the last for this morning):
Looking at the wiki pages for LibreOffice extension development I saw
that extensions can be written in a number of languages including
Python. The sample project
https://github.com/kunaldeo/Py-LibreOffice-Love-Letter-Writer/ also
seems to make use of PyQt, so I thought it might be an even better idea
to create a LilyPond extension for LibreOffice from scratch. This could
then at least provide syntax highlighting (I must say that the visual
appearance of the extension was also somewhat off-putting) and over the
time one could add lightweight editing features to it (although it
should not actually double Frescobaldi's functionality).
In this context it would also be straightforward to add UI to configure
the output (PNG/EPS, size/resolution etc.).

I think that looks promising. What do you think?

Urs

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


German Umlaute in OOoLilyPond

2008-03-20 Thread Peter Freitag
In many Postings the Umlaut-Problem is treated to solve with an UTF8-Editor.

But in OOoLilypond for OpenOffice, it was quite a difficult problem for me to 
solve but with a very easy solution.

1. Look at http://www.utf8-zeichentabelle.de/unicode-utf8-table.pl?names=-
&utf8=dec&text=2 for the two UTF-8 decimal-Codes

2. Type the two Numbers with ALT+0+xxx at your Numpad. Thats it!

For example:
ü
ALT+0195 AlT+0188 -> ü

etc.

(Sorry Pro's for disturbing you)
Peter



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


Re: OOoLilyPond 0.3.3 available

2009-01-10 Thread Antanas Budriūnas
Hello,

2009/1/10 Samuel Hartmann :
> OOoLilyPond 0.3.3 is now available.

Just yesterday my colleague (music teacher) asked me for instructions
how to insert music examples into text document. You gave me the extra
argument why to use OOoLilyPond.
I haven't tested it comprehensively but seems it works. Thank you!

Antanas Budriūnas
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OOoLilyPond 0.4.0 released

2009-06-15 Thread Francisco Vila
Samuel,

I have translated the page into Spanish (except the old news).

http://www.paconet.org/ooolilypond/

I you want, link it from yours.

Later I'll put a Spanish version of the sample ODT file and screenshot.

2009/6/13 Samuel Hartmann :
> I'm glad to announce version 0.4.0 of OOoLilyPond, the software that
> combines the power of OpenOffice.org and LilyPond.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org


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


Re: OOoLilyPond 0.4.0 released

2009-06-15 Thread Samuel Hartmann
Hi Francisco,

Thanks for the translation. I have updated the web-site with a link.

regards,

Samuel



2009/6/15 Francisco Vila :
> Samuel,
>
> I have translated the page into Spanish (except the old news).
>
> http://www.paconet.org/ooolilypond/
>
> I you want, link it from yours.
>
> Later I'll put a Spanish version of the sample ODT file and screenshot.
>
> 2009/6/13 Samuel Hartmann :
>> I'm glad to announce version 0.4.0 of OOoLilyPond, the software that
>> combines the power of OpenOffice.org and LilyPond.
> --
> Francisco Vila. Badajoz (Spain)
> www.paconet.org
>


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


OOoLilyPond and LilyPond 2.8

2006-09-26 Thread Samuel Hartmann

Hi,

The OpenOffice.org Plugin OOoLilyPond comes with templates that only 
work with lilypond 2.6. I have now built some templates that work with 
2.8. You can find the templates attached to this mail.


Unfortunately the music fragments generated with LilyPond 2.8 always 
have some margin at the left side. Up to now I was not able to get rid 
of it. Does anybody have an idea?



regards,

Samuel
%% Generated by lilypond-book
%% Options: [fragment,alt=[image of music],ragged-right,indent=0\mm]
\include "lilypond-book-preamble.ly"







% 
% Start cut-&-pastable-section 
% 

\paper {
  #(define dump-extents #t)
  
  ragged-right = ##t
  indent = 0\mm
  line-width = 6.5\in
}

\layout {
  
}


{

% ly snippet contents follows:

\relative c'' {
a4 b c d
}

% end ly snippet

}
%% Generated by lilypond-book
%% Options: [indent=0\mm,fragment,staffsize=26,ragged-right,alt=[image of 
music]]
\include "lilypond-book-preamble.ly"
#(set-global-staff-size 26)






% 
% Start cut-&-pastable-section 
% 

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  ragged-right = ##t
}

\layout {
  
}


{


% ly snippet contents follows:

\relative c'' {
a4 b c d
}

% end ly snippet

}
%% Generated by lilypond-book
%% Options: [indent=0\mm,fragment,notime,ragged-right,alt=[image of music]]
\include "lilypond-book-preamble.ly"







% 
% Start cut-&-pastable-section 
% 

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  ragged-right = ##t
  line-width = 6.5\in
}

\layout {
  
 \context {
  \Score
  timing = ##f
 }
 \context {
  \Staff
  \remove Time_signature_engraver
 }
}


{

% ly snippet contents follows:

\relative c'' {
a4 b c d
}

% end ly snippet

}
%% Generated by lilypond-book
%% Options: [alt=[image of music],indent=0\mm,line-width=345\pt]
\include "lilypond-book-preamble.ly"







% 
% Start cut-&-pastable-section 
% 

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 6.5\in
}

\layout {
  
}


% ly snippet contents follows:

\relative c'' {
a4 b c d
}

% end ly snippet
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OOoLilyPond "unrecognized option"

2006-09-27 Thread Samuel Hartmann

Hi Thomas,


Thomas Scharkowski wrote:

LilyPond: unrecognized option "-b"
LilyPond 2.8.6 on Linux knows this option. On windows this should not be 
different. Try to run LilyPond directly on the template to see weather 
there is a problem with your LilyPond installation.


$ lilypond -b eps fragment.ly

if this does not work try:

$ lilypond --backend=eps eps fragment.ly

if the later is working, change the lilypond options in the bash script 
OOoLilyPond.sh.



If this does not work. Use lilypond 2.6.4 that comes with the cygwin 
distribution.



regards,

Samuel


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


Re: OOoLilyPond "unrecognized option"

2006-09-28 Thread Thomas Scharkowski
Samuel, thanks for your suggestion.

$ lilypond -b eps fragment.ly

does work from cmd. 
I tried LilyPond 2.6.4 for cygwin when it came out some time ago, but 
could not get it to work (someone else also reported).
2.4.6 cygwin still works fine though, but I rarely use it now.

Thomas

> Thomas Scharkowski wrote:
> > LilyPond: unrecognized option "-b"
> LilyPond 2.8.6 on Linux knows this option. On windows this should not be 
> different. Try to run LilyPond directly on the template to see weather 
> there is a problem with your LilyPond installation.
> 
> $ lilypond -b eps fragment.ly
> 
> if this does not work try:
> 
> $ lilypond --backend=eps eps fragment.ly
> 
> if the later is working, change the lilypond options in the bash script 
> OOoLilyPond.sh.
> 
> 
> If this does not work. Use lilypond 2.6.4 that comes with the cygwin 
> distribution.
> 
> 
> regards,
> 
> Samuel




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


Re: OOoLilyPond "unrecognized option"

2006-09-28 Thread Thomas Scharkowski
> Samuel-
> This is the problem with your potentially great addition, Cygwin
> version(s) of lilypond didn't work for me at all- I never could get it to
> go while the current (is 2.8x non or not I don't really know)stable
> version works great as did the non-cygwin stable version 2.6x.
> I'm kinda hoping that you come up with a way to do this without Cygwin

Yes, me too!

Thomas


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


Re: OOoLilyPond "unrecognized option"

2006-09-28 Thread Samuel Hartmann

Hi Jay,

I already answered to your personal mail address and forgot to send it 
also to the list. Additionally I have corrected some instructions 
(single quotes instead of double quotes in the path to lilypond), please 
ignore the first mail I sent to you directly.


Jay Hamilton wrote:

Samuel-
This is the problem with your potentially great addition, Cygwin
version(s) of lilypond didn't work for me at all- I never could get it to
go while the current (is 2.8x non or not I don't really know)stable
version works great as did the non-cygwin stable version 2.6x.


The cygwin version 2.6.4 just works out of the box on my Windows XP for
use with OOoLilyPond. Otherwise I'm not using LilyPond on Windows, so
may be there are other problems with the cygwin version.


I'm kinda hoping that you come up with a way to do this without Cygwin

I now installed the mingw-version of LilyPond 2.8.6 and got it to work
with OOoLilyPond. What you must do is the following:

Install the newest OOoLilyPond 0.2.1 (this already has the templates for
LilyPond 2.8 included).

find the bash script and open it with a text editor:
C:\OOoLilyPond\bin\OOoLilyPond
(May be it is in unix format, so notepad is not a suitable editor. I
used notepad plus: http://notepad-plus.sourceforge.net/de/site.htm)

find the lines:
if [ "$ext" = "eps" ]; then
lilypond -b eps -f eps "${filename}.ly" 2> "${filename%.ly}.out"
fi
if [ "$ext" = "png" ]; then
lilypond -b eps -f png -dresolution=$dpi "${filename}.ly" 2>
"${filename%.ly}.out"
fi

Replace the two words "lilypond" with the full path of your lilypond
executable. For example (line breaks are wrong in the mail):
if [ "$ext" = "eps" ]; then
'C:\Program Files\LilyPond\usr\bin\lilypond' -b eps -f eps
"${filename}.ly" 2> "${filename%.ly}.out"
fi
if [ "$ext" = "png" ]; then
'C:\Program Files\LilyPond\usr\bin\lilypond' -b eps -f png
-dresolution=$dpi "${filename}.ly" 2> "${filename%.ly}.out"
fi

When running OOoLilyPond make sure the template path is set to the
templates for version 2.8.

Note that you still need cygwin. OOoLilyPond calls a bash script which
needs cygwin to run. But you don't need the cygwin lilypond package.


In future versions of OOoLilyPond I also try to get rid of the bash
script. Then it should be completely independent of cygwin.



regards,

Samuel




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


Re: OOoLilyPond trouble 2

2006-10-05 Thread Samuel Hartmann

Hi David,

David Bobroff wrote:
New problem.  I had saved the small test file in *.doc format as I'm 
doing some work for someone who is using Word on Windows (this may or 
may not be relevant).  When I reopened the test file and tried to edit 
one of the little music snippets, or add a new one, I get an error box:


A Scripting Framework error occured while running the Basic script 
vnd.sun.star.script:OOoLilypond.OOoLilyPondMusic.main?language=Basic&locaction=application. 



Message: BasicProviderlmpl::getScript: no script!


What happened?
I tried that too. I don't get the "BasicProviderlmpl::getScript: no 
script!" Error. And I can start LilyPond to creat new music snippets. 
But it is not possible to reopen the already existing music snippets 
which I expected. See below an explanation for this.


May be your problem is that script cannot be called. Check the 
installation of the script. Open the Dialog "Tools --> Macros --> 
Organize Macros --> OpenOffice.org Basic" and check whether the macro is 
still there. You can also try to run the macro using this dialog.



Now why OOoLilyPond cannot be used in .doc files:

OOoLilyPond stores the LilyPond code as additional attribute in the odt 
file. When unziping and the odt file and opening content.xml you can see 
the code for the OOoLilyPond Image:



OOoLilyPondArgs="default16§AsCharacter§NoWrap§c' d' e'" 
draw:stroke="none" svg:stroke-width="0in" svg:stroke-color="#00" 
draw:marker-start="" draw:marker-start-width="0.1181in" 
draw:marker-start-center="false" draw:marker-end="" 
draw:marker-end-width="0.1181in" draw:marker-end-center="false" 
draw:fill="none" draw:fill-color="#99ccff" 
draw:textarea-horizontal-align="center" 
draw:textarea-vertical-align="middle" fo:padding-top="0.0492in" 
fo:padding-bottom="0.0492in" fo:padding-left="0.0984in" 
fo:padding-right="0.0984in" draw:shadow="hidden" 
draw:shadow-offset-x="0.1181in" draw:shadow-offset-y="0.1181in" 
draw:shadow-color="#808080" draw:color-mode="standard" 
draw:luminance="0%" draw:contrast="0%" draw:gamma="100%" draw:red="0%" 
draw:green="0%" draw:blue="0%" fo:clip="rect(0in 0in 0in 0in)" 
draw:image-opacity="100%" style:mirror="none" fo:margin-top="0in" 
fo:margin-bottom="0in" style:run-through="foreground" style:wrap="none" 
style:vertical-pos="from-top" style:horizontal-pos="from-left" 
style:horizontal-rel="paragraph"/>



The lilypond code ist stored in the additional graphic-property 
OOoLilyPondArgs="default16§AsCharacter§NoWrap§c' d' e'"



I assume that this property is lost when converting to the .doc format 
and back again to .odt. I think it is not easy to find a clean way to 
store the lilypond code such that it remains correct when converting to 
.doc.


I will one have a closer look at this issue, but this does not have 
priority for the development of OOoLilyPond.



regards,

Samuel


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


Re: OOoLilyPond trouble 2

2006-10-06 Thread David Bobroff

Samuel Hartmann wrote:

Hi David,

David Bobroff wrote:
New problem.  I had saved the small test file in *.doc format as I'm 
doing some work for someone who is using Word on Windows (this may or 
may not be relevant).  When I reopened the test file and tried to 
edit one of the little music snippets, or add a new one, I get an 
error box:


A Scripting Framework error occured while running the Basic script 
vnd.sun.star.script:OOoLilypond.OOoLilyPondMusic.main?language=Basic&locaction=application. 



Message: BasicProviderlmpl::getScript: no script!


What happened?
I tried that too. I don't get the "BasicProviderlmpl::getScript: no 
script!" Error. And I can start LilyPond to creat new music snippets. 
But it is not possible to reopen the already existing music snippets 
which I expected. See below an explanation for this.



I could not even create new snippets in a new document.

May be your problem is that script cannot be called. Check the 
installation of the script. Open the Dialog "Tools --> Macros --> 
Organize Macros --> OpenOffice.org Basic" and check whether the macro 
is still there. You can also try to run the macro using this dialog.



It looked as though the, or at least *a* script was still there.  I 
deleted it and re-did the macro set-up.  Now it's working again.



Now why OOoLilyPond cannot be used in .doc files:

OOoLilyPond stores the LilyPond code as additional attribute in the 
odt file. When unziping and the odt file and opening content.xml you 
can see the code for the OOoLilyPond Image:



OOoLilyPondArgs="default16§AsCharacter§NoWrap§c' d' e'" 
draw:stroke="none" svg:stroke-width="0in" svg:stroke-color="#00" 
draw:marker-start="" draw:marker-start-width="0.1181in" 
draw:marker-start-center="false" draw:marker-end="" 
draw:marker-end-width="0.1181in" draw:marker-end-center="false" 
draw:fill="none" draw:fill-color="#99ccff" 
draw:textarea-horizontal-align="center" 
draw:textarea-vertical-align="middle" fo:padding-top="0.0492in" 
fo:padding-bottom="0.0492in" fo:padding-left="0.0984in" 
fo:padding-right="0.0984in" draw:shadow="hidden" 
draw:shadow-offset-x="0.1181in" draw:shadow-offset-y="0.1181in" 
draw:shadow-color="#808080" draw:color-mode="standard" 
draw:luminance="0%" draw:contrast="0%" draw:gamma="100%" draw:red="0%" 
draw:green="0%" draw:blue="0%" fo:clip="rect(0in 0in 0in 0in)" 
draw:image-opacity="100%" style:mirror="none" fo:margin-top="0in" 
fo:margin-bottom="0in" style:run-through="foreground" 
style:wrap="none" style:vertical-pos="from-top" 
style:horizontal-pos="from-left" style:horizontal-rel="paragraph"/>



The lilypond code ist stored in the additional graphic-property 
OOoLilyPondArgs="default16§AsCharacter§NoWrap§c' d' e'"



I assume that this property is lost when converting to the .doc format 
and back again to .odt. I think it is not easy to find a clean way to 
store the lilypond code such that it remains correct when converting 
to .doc.


I will one have a closer look at this issue, but this does not have 
priority for the development of OOoLilyPond.





Ok, fair enough.  I'll keep that in mind.  BUT, can it be safely saved 
as a *.doc file and still have the surrounding text edited in Word 
without trouble?


I'm also wondering about my Linux installation.  I'm getting some random 
freezes which require a hard reboot.  I'm also getting an error box when 
Gnome starts up.  Something about the Settings Daemon restarting too 
many times.  I'm wondering if this is part of this trouble with the 
macro suddenly not working.


Thanks,

David



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


Re: OOoLilyPond trouble 2

2006-10-06 Thread Samuel Hartmann

Hi David,

David Bobroff wrote:

Ok, fair enough.  I'll keep that in mind.  BUT, can it be safely saved 
as a *.doc file and still have the surrounding text edited in Word 
without trouble?

You can edit the whole document in Word as you like. But when reopening
the document in OpenOffice.org, you will not be able anymore to edit the
lilypond code of the music snippets.

If you want to write a document in collaboration with somebody else,
your collaboration partner should install OpenOffice.org. OpenOffice.org
is for free and available for all major platforms.

regards,

Samuel



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


Re: OOoLilyPond 0.3 released

2006-10-11 Thread David Bobroff

Samuel Hartmann wrote:
The new release of OOoLilyPond can be downloaded now 
(http://ooolilypond.sourceforge.net). 


I've grabbed v0.3 and the install instructions are not consistent with 
what I'm seeing.  When I get to the part where it says:


- Select "OpenOffice.org Macros/user/OOoLilyPond/OOoLilyPondMusic" as 
Functions Category


that path is not there.  I get:

OpenOffice.org/user/OOoLilyPond/

Is there something missing in the distribution, or is there something 
amiss in the instructions?


-David


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


Re: OOoLilyPond 0.3 released

2006-10-11 Thread Samuel Hartmann

Hi David,

David Bobroff wrote:

I've grabbed v0.3 and the install instructions are not consistent with 
what I'm seeing.  When I get to the part where it says:


- Select "OpenOffice.org Macros/user/OOoLilyPond/OOoLilyPondMusic" as 
Functions Category


that path is not there.  I get:

OpenOffice.org/user/OOoLilyPond/

Is there something missing in the distribution, or is there something 
amiss in the instructions?


Maybe you read the wrong instructions. On the web page and in the file 
offline version which you find in the tar.gz or zip file you find these 
instructions:


Associate a keyboard shortcut with the macro
- Create a new writer document
- Select from the Menu: "Tools" --> "Customize..."
- Go to the tab "Keyboard"
- Select "Control-M" as Shortcut key
- Select "OpenOffice.org Macros/user/OOoLilyPond/Main" as Functions Category
- Select "main" as Funtion
- Click "Modify"

The path "OpenOffice.org Macros/user/OOoLilyPond/Main" seems to be the 
correct one. Did you read the instructions on the web page? May be your 
browser cage had an older version of the web page which was loaded when 
visiting it.



Regards,

Samuel



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


  1   2   3   >