Re: OOoLilyPond: support for Cairo backend

2022-09-13 Thread Jean Abou Samra

Le 06/09/2022 à 15:17, Martin Tarenskeen a écrit :

Thanks for the update!
I tried OOoLilyPond v1.1.6 beta on Fedora 36 with Libre Office and the 
new Cairo backend seems to work nicely with it. Note for other Fedora 
users: The lilypond-2.23.12 that is currently packaged in the Fedora 
repository has been compiled /without/ the cairo backend and will not 
be capable to use this new functionality. It was easy to compile my 
own RPM package version using the Fedora specfile. I just needed to 
add --enable-cairo-backend to the configure options. Now I can enjoy 
SVG support with the Cairo backend in OOoLilyPond.




I opened a feature request on Fedora upstream for enabling Cairo, and 
the maintainer said he'd do it:


https://bugzilla.redhat.com/show_bug.cgi?id=2126555

Note that for the time being, there's no need to compile LilyPond 
yourself to get Cairo support, just download the binaries from 
lilypond.org, which do have it.


Best,
Jean




Re: OOoLilyPond: support for Cairo backend

2022-09-06 Thread Martin Tarenskeen

Thanks for the update!

I tried OOoLilyPond v1.1.6 beta on Fedora 36 with Libre Office and the 
new Cairo backend seems to work nicely with it. Note for other Fedora 
users: The lilypond-2.23.12 that is currently packaged in the Fedora 
repository has been compiled /without/ the cairo backend and will not 
be capable to use this new functionality. It was easy to compile my own 
RPM package version using the Fedora specfile. I just needed to add 
--enable-cairo-backend to the configure options. Now I can enjoy SVG 
support with the Cairo backend in OOoLilyPond.


MT




Op maandag 5 september 2022 om 11:48:21 +0200 schreef K. Blum 
:

To all OOoLilyPond users:

There is a new (experimental) release that supports using the new 
Cairo

backend (as of Ly 2.23.12):


This allows to get svg images without restrictions (like having to use
dedicated "svg" templates or additional conversion software):


Please feel free to test the new OLy version and report back any
problems you encounter.

Cheers,
Klaus





Re: OOoLilyPond: new repository

2020-10-26 Thread Klaus Blum

Ooops...

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

Sorry...



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-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 Libre Office extension : insert object large as full page

2020-02-10 Thread Dario Marrini
Hi Klaus, I found the problem

I don't know why, but the Default.ly in OOoLilyPond-templates directory ,
that's located in my home directory, /home/dario/, had no "\include
lilypond-preamble.ly" line; I think because may be it was coming from
prevoius version of the extension; after deleting every file and directory
in my home referring to OOoLilypond, I removed the extension and I added it
again, and now it works properly.
May be it would have been enough to do restore default templates, but I
didn't think to do it.
Many thanks to all you, I hope  I have made a little contribution to
someone.

Best regards

Dario

Il giorno lun 10 feb 2020 alle ore 10:10 Dario Marrini <
dario.marr...@gmail.com> ha scritto:

> Thanks Klaus, I can cnogirm I get the same results.
> So where do I have to put that \include?
>
> This is the Default.ly tha t I can extract from the .oxt :
> \transpose %{OOoLilyPondCustom1%}c c'%{OOoLilyPondEnd%}
> {
> %{OOoLilyPondCode%}% For getting started read (copy URL into your web
> browser):
> % https://github.com/openlilylib/LO-ly
> % http://lilypond.org/doc/stable/Documentation/learning/simple-notation%
> %
> % Use the "Custom 1" to transpose your music expression. E. g. try "e a'".
>
> \key e \major e8 fis gis e fis8 b,4. | e2\fermata \bar "|."
> %{OOoLilyPondEnd%}
> }
>
> *\include "lilypond-book-preamble.ly "*
> #(set-global-staff-size %{OOoLilyPondStaffSize%}20%{OOoLilyPondEnd%})
>
> \paper {
>   #(define dump-extents #t)
>   ragged-right = ##t
>   line-width = %{OOoLilyPondLineWidth%}17\cm%{OOoLilyPondEnd%}
> }
>
> \layout {
>   indent = #0
>   \context {
> \Score
> \remove "Bar_number_engraver"
>   }
> }
>
> that \include is present here, and if I copy and pas de Default.ly in
> Frescobaldi I get the correct thing (see the .png as attachment); but if I
> simply try to insert the music fragment by using the Default inside
> LibreOffice I get a whole page snippet...
>
> Il giorno lun 10 feb 2020 alle ore 00:07 Klaus Blum 
> ha scritto:
>
>> Hi Dario,
>>
>> Am 09.02.2020 um 22:26 schrieb Dario Marrini:
>> > HI tried to compile Default template in Frescobaldi, it works but I
>> > can't realize if it creates a little picture or a page, because I
>> > can't find where is the resulting .pdf file
>> >
>> on the right side of your screenshot I can see that a whole page is
>> created.
>>
>> Just try this minimal snippet:
>>
>> % --
>> \relative c' {c e g c}
>> \include "lilypond-book-preamble.ly"
>> % --
>>
>> It should create a small image.
>> If you remove or comment out the second line (\include
>> "lilypond-book-preamble.ly"), you get a whole page again.
>>
>> In the screenshots I'll attach the results that I get on my system.
>> There you can also see in the LilyPond output messages (at the bottom
>> left side) that in the version with the preamble there are some more
>> files created (*.tex, *.texi etc.).
>>
>> Can you check if you get similar results?
>> If not, I suspect that there is a problem with your LilyPond
>> installation that is independent from OOoLilyPond. In that case, I could
>> ask here on the mailing list tomorrow if someone with more Linux
>> knowlegde already knows about that problem.
>>
>> Cheers,
>> Klaus
>>
>>
>>
>>


Re: OOolilypond Libre Office extension : insert object large as full page

2020-02-09 Thread Dario Marrini
Absolutely Linux... :) I'm a Linux user since 1999, now I have been using
Linux Mint since many years. I'm out now, I will do all the tests you
suggested me as soon as I'm back.
Many thanks

Dario

Il dom 9 feb 2020, 16:51 Klaus Blum  ha scritto:

> Hi Dario,
>
> Am 09.02.2020 um 16:18 schrieb Dario Marrini:
> > but let me understand where this lilypond-preamble.ly
> >  should be
>
> another question: Is it a Mac or a Linux machine that you are working on?
>
> Cheers,
> Klaus
>


Re: OOolilypond Libre Office extension : insert object large as full page

2020-02-09 Thread Klaus Blum

Hi Dario,

Am 09.02.2020 um 16:18 schrieb Dario Marrini:

but let me understand where this lilypond-preamble.ly
 should be


another question: Is it a Mac or a Linux machine that you are working on?

Cheers,
Klaus



Re: OOolilypond Libre Office extension : insert object large as full page

2020-02-09 Thread Klaus Blum
Hi Dario, 


Dario Marrini-2 wrote
> let me understand where this lilypond-preamble.ly should be

This file is a part of a complete LilyPond installation. 
On Windows, it is located inside the LilyPond program folder, in the
subfolder
/usr/share/lilypond/current/ly
On Linux and Mac, instead of "current", you will probably find a version
number. 
Inside this folder, there should be a file named
lilypond-book-preamble.ly

Your screenshots show no error message about this file missing, so I guess
you will find it there. 

Let's do another test: 
In the OOoLilyPond window, click the button "Open as temp. file in ext.
editor"
The Frescobaldi opens a file "OOoLilyPondTemp.ly"
Can you compile this file in Frescobaldi an make a screenshot again? 
Let's see if a whole page is produced again or a small snippet. 

Cheers, 
Klaus




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



Re: OOolilypond Libre Office extension : insert object large as full page

2020-02-09 Thread Klaus Blum
Klaus Blum wrote
> Could you post a screenshot of your OOoLilyPond window and your
> OOoLilyPond
> Config dialog? Maybe this could help to find the problem. 

Version 0.4.0 and 0.5.0 are very old. You should remove them and try again
with the latest stable version 0.5.12. 

Could you then provide the screenshots mentioned above? 
And: 
After inserting the full-page object, please start OOoLilyPond again and
click the "Ly Output" button. Now a new window will open. Please add a
screenshot of that as well. 

I hope this will provide enough information to find the problem.  :)


Cheers, 
Klaus



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



Re: OOolilypond LO extension : trouble with 0.5.0 and 0.4.0

2020-02-09 Thread Klaus Blum
Hi Dario, 


Dario Marrini-2 wrote
> Hi musicians,
> trying to use the LO extension, as I said in my previous post, I tried to
> use some older version; with 0.5.0 and 0.4.0 I get the same error, I have
> error message in Italian but I think it should have  been a common problem
> in the past; I get an error about an index out of range in the source
> Basic
> code, and the Basic language window opens showing the line where the error
> is located, I haven't enough knowledge to manage it, I try to attach two
> screenshots

There is still a problem when the template or the Ly code does not contain
the command
  #(define version-seen #t)
or
\include "lilypond-book-preamble.ly"
and there is no \version statement in the code. 

I hope I can soon fix this.

When modifying templates or writing new templates, one of the mentioned
commands should be contained, depending on the image format you use. Then
this error will not occur. 

Probably a solution for your problem from the other tread will solve this
one as well.


Cheers, 
Klaus



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



Re: OOolilypond Libre Office extension : insert object large as full page

2020-02-09 Thread Klaus Blum
Hi Dario, 


Dario Marrini-2 wrote
> ; it seems they are working
> properly, but they always produce a music object with a full page
> dimension, maing troubles in writing the document.

it seems that your template or your snippet is missing 
\include "lilypond-book-preamble.ly"
This command is responsible for auto-cropping the image. 

Maybe this is related to the image file format you have chosen. You can find
more information here:
https://github.com/openlilylib/LO-ly/wiki/Config#format

Could you post a screenshot of your OOoLilyPond window and your OOoLilyPond
Config dialog? Maybe this could help to find the problem. 

Cheers, 
Klaus




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



Re: OOoLilyPond-0.5.8 : SVG Issue

2019-02-14 Thread Ben

On 2/14/2019 8:02 AM, Klaus Blum wrote:

Hi Ben,


SoundsFromSound wrote

Layout output to `OOoLilyPond.svg'...

indeed, that looks quite reasonable.
It seems that a file named "OOoLilyPond.svg" is created.
Can you check inside your temp folder if that graphic file looks like
intended?

Cheers,
Klaus


Hi Klaus,

Yes the file looks correct :) Thanks!

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


Re: OOoLilyPond-0.5.8 : SVG Issue

2019-02-14 Thread Klaus Blum
Hi Ben, 


SoundsFromSound wrote
> Layout output to `OOoLilyPond.svg'...

indeed, that looks quite reasonable. 
It seems that a file named "OOoLilyPond.svg" is created. 
Can you check inside your temp folder if that graphic file looks like
intended? 

Cheers, 
Klaus




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

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


Re: OOoLilyPond-0.5.8 : SVG Issue

2019-02-13 Thread Ben

On 2/13/2019 11:24 AM, Klaus Blum wrote:

Hi Ben,

to be a little more precise:

The lilypond-book-preamble should never be used with svg format. It only
works with the png (or eps) format.

OLy needs one file named OOoLilyPond.svg.

The first point of the error window gives some hints.
Your settings defining the score size (e.g. given in "Line Width" and
"Custom 2" - depending on your template) should provide enough space to fit
your music into one page.
If not, LilyPond will split it up into multiple images. In that case, the
"Ly Output" window will talk about successful compilation and at least two
filenames

OOoLilyPond-1.svg
OOoLilyPond-2.svg
etc.

If your code contains something like "page-count = 1" (e.g. the "Piano
[SVG]" template does), no image at all will be created. Then the output
window will report successful compiling but also errors like
  number of pages is out of bounds
  tried to space systems on a bad number of pages

In both cases, try to provide more space in the OLy settings.

Does that help?

Cheers,
Klaus




Hi Klaus,

The ly output looks pretty standard to my eyes in LO:

--
GNU LilyPond 2.19.82
Processing `OOoLilyPond.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Fitting music on 1 page...
Drawing systems...
Layout output to `OOoLilyPond.svg'...
Success: compilation successfully completed
--

However, I was using my own /custom/ SVG template when the errors popped 
up, but when I switched to the included-DefaultSVG config, it worked 
ok...hmm


I didn't know about the SVG limitation in OOoLilyPond, because for 
multiple SVG pages I've just been using Inkscape and manually dragging 
them into my LO documents. But it's good to know about OOo and 
multi-page SVGs.


So I guess there must have been something wrong with my SVG 
template...but I can't see anything that stands out.


I think I'll rebuild it based on the included-DefaultSVG config and see 
if I can pinpoint the error.


Thanks for your help Klaus! :)




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


Re: OOoLilyPond-0.5.8 : SVG Issue

2019-02-13 Thread Klaus Blum
Hi Ben, 

to be a little more precise: 

The lilypond-book-preamble should never be used with svg format. It only
works with the png (or eps) format. 

OLy needs one file named OOoLilyPond.svg.

The first point of the error window gives some hints. 
Your settings defining the score size (e.g. given in "Line Width" and
"Custom 2" - depending on your template) should provide enough space to fit
your music into one page. 
If not, LilyPond will split it up into multiple images. In that case, the
"Ly Output" window will talk about successful compilation and at least two
filenames 

OOoLilyPond-1.svg
OOoLilyPond-2.svg
etc. 

If your code contains something like "page-count = 1" (e.g. the "Piano
[SVG]" template does), no image at all will be created. Then the output
window will report successful compiling but also errors like 
 number of pages is out of bounds
 tried to space systems on a bad number of pages

In both cases, try to provide more space in the OLy settings. 

Does that help?

Cheers, 
Klaus



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

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


Re: OOoLilyPond-0.5.8 : SVG Issue

2019-02-13 Thread Klaus Blum
Hi Ben,

could you post the contents of the "Ly Output" window clicking away the
error message?
If the music is split into multiple svg images, OLy cannot handle it.
It could be interesting to know if (at the time of that error message) there
are multiple svg output files in your temp folder or none at all.

Cheers,
Klaus 


SoundsFromSound wrote
> SVG output into my documents won't work, no matter what changes I make 
> to the template, config, or the file itself.





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

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


Re: OOoLilyPond-0.5.8 : SVG Issue

2019-02-13 Thread Klaus Blum
Hi Ben, 


SoundsFromSound wrote
> SVG output into my documents won't work, no matter what changes I make 
> to the template, config, or the file itself

could you post the contents of the "Ly Output" window clicking away the
error message? 
If the music is split into multiple svg images, OLy cannot handle it. 
It could be interesting to know if (at the time of that error message) there
are multiple svg output files in your temp folder or none at all. 

Cheers, 
Klaus



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

___
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


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 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==1484832348_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 not always lead to sensible results, because everything 

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-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-11 Thread Henning Hraban Ramm
Am 2017-01-11 um 15:54 schrieb SoundsFromSound :

> Klaus Blum wrote
>> Does it work now?
>> 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 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   
> 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 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   
> 
> 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 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   
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 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
>   
> 
> 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   
> 
> 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

  
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-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   
> 
> 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-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
  

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   
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-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-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 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 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 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: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
> 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 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 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-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-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 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 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 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 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 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

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

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 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 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 Urs Liska


Am 30. Dezember 2016 09:32:42 MEZ, schrieb "m.tarensk...@zonnet.nl" 
<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" (10)
>> --
>>
>> This line should be replaced by:
>>
>> --
>> sCommand = sCommand & " -dno-delete-intermediate-files --png " &
>sBackendOpt
>> & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out
>2>&1"
>> (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 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" (10)> -->> This line should be replaced by:>> --> sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt> & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"> (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-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-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" (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
  



-
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 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" (10)
--

This line should be replaced by:

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

(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
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" (10)
>> --
>>
>> This line should be replaced by:
>>
>> --
>> sCommand = sCommand & " -dno-delete-intermediate-files --png " &
>> sBackendOpt
>> & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out
>> 2>&1"
>> (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" (10)
--

*This line should be replaced by:*

--
sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt
& " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"
(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 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" (10)
--

This line should be replaced by:

--
sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt
& " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"
(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
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" (10)
> --
> 
> This line should be replaced by: 
> 
> --
> sCommand = sCommand & " -dno-delete-intermediate-files --png " &
> sBackendOpt & " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly
> >OOoLilyPond.out 2>&1" (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 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" (10)
--

This line should be replaced by: 

--
sCommand = sCommand & " -dno-delete-intermediate-files --png " & sBackendOpt
& " -dresolution=" & iGraphicDPI & " OOoLilyPond.ly >OOoLilyPond.out 2>&1"
(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-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


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

2015-02-18 Thread Francisco Vila
2015-02-12 0:40 GMT+01:00 Martin Tarenskeen m.tarensk...@zonnet.nl:

 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 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


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 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 samuel.hartmann...@gmail.com:
 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 paconet@gmail.com:
 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 samuel.hartmann...@gmail.com:
 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.3.3 available

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

2009/1/10 Samuel Hartmann samuel.hartmann...@gmail.com:
 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: FW: Re. OOoLilyPond, \include language does not work.

2008-10-23 Thread Daniel Hulme
On Tue, Oct 21, 2008 at 05:56:29PM -0400, Music Site of Larry Jackson wrote:
 Hi,
 
 Anyone know how to get the \include language statement to work for
 LilyPond v2.10.33 compiling within OOOLilyPond v0.32?

If nobody here answers (which seems likely, as OOoLilypond is a
separately maintained project), I suggest you ask on the OOoLilypond
forum at http://sourceforge.net/forum/forum.php?forum_id=614285

Good luck solving this problem.

-- 
Sufficiently advanced humour is indistinguishable from tedium.
corollary:
Humour distinguishable from tedium is insufficiently advanced.
http://surreal.istic.org/Why did you resign?


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


Re: OOoLilypond instilation problems and coding help

2008-04-09 Thread Michael Watts

Hi Levi,

The example drum notation you give shows how to use the short form of 
polyphonic notation when entering percussion, with the DrumVoices 
instantiated by hand first.


You might find verbose polyphonic notation easier to use; both forms are 
given here:

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Percussion-staves#Percussion-staves

The {s1 *2 } means simply a semibreve ('whole note') skip, multiplied by 
two.



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


Re: OOoLilypond instilation problems and coding help

2008-04-09 Thread Trevor Daniels

Hi Levi

You have taken this example from a section of the manual which has not been 
updated recently, and I can see why it might be confusing - if you remove 
the two statements which create the Voice contexts the example still works 
perfectly in the more recent versions of the LilyPond.  If you have not 
already done so, please read section 3.2.1 in the 2.11 Learning Manual 
called I'm hearing Voices, but here's an explanation of this particular 
piece of code.


First, all notes -must- be contained in a Voice.  If a Voice is not defined 
explicitly one is created behind the scenes.


To explain, first consider the example with the two lines beginning \new 
DrumVoice removed.


The construction following \drummode contains two bars of music.  The first 
bar ( bd4 sn4 bd4 sn4) goes into a default Voice context, as one has not 
been explicitly created for it.  This is followed by a  ...\\ ... 
construct for the second bar.  This construct places { \repeat unfold 16 
hh16 } in a Voice called 1 and { bd4 sn4 bd4 sn4 } in a Voice called 2. 
If these voices have not been explicitly defined they are created behind 
the scenes automatically with these names.  The music in these two voices 
is then played in parallel, both in bar 2.  Two voices are required because 
the rhythms are different.


Finally, in earlier versions of LilyPond, the voices 1 and 2 had to be 
explicitly defined before they could be used, hence the explicit 
declarations \new Voice etc in the example you quoted.  The {s1*2} following 
simply enters two bars of skip notes, and these are in parallel with the 
rest of the music due to the  ..  round the contents of \DrumStaff.


HTH.  I'm afraid I can't help with Open Office though.

Trevor D

- Original Message - 
From: Levi Hendricks [EMAIL PROTECTED]

To: lilypond-user@gnu.org; [EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 4:14 AM
Subject: OOoLilypond instilation problems and coding help


I am  running windows XP (with sp2) and open office v 2.0.2 . I followed the 
instructions on using lilypad with open office. I have downloaded (and 
written in) the lilypond script as well as the open office macro, i 
installed the macro as said in the instructions, but when i press alt m an 
error orccurs. The message is this: BASIC syntax error. Dimension 
specifications do not match. it highlights a portion of the 
code:SortStringArray(sTemplate approximately 4/5ths the way down the page. 
I cant get the macro to work, can anyone help me?


On another note, I am reading the tutorial and manuals for lilypond, but am 
having trouble assimilating all the information. I have done some html and 
java programing so im no stranger to computer code, but the voices concept 
is giving me trouble. I am using this program to write percussion music for 
lessons that I am giving, and if someone could help me disect some code this 
would be great:

\new DrumStaff 
  \new DrumVoice = 1 { s1 *2 }
  \new DrumVoice = 2 { s1 *2 }
  \drummode {
bd4 sn4 bd4 sn4

  { \repeat unfold 16 hh16 }
  \\
  { bd4 sn4 bd4 sn4 }

  }


here is what I understand: DrumStaff creates a staff, thats simple. drummode 
initiates the acceptance of sn bd hh etc. as valid input. I also understand 
that there is a measure of alternating bd/sn hits for 4 beats before the 
'polyphonic' measures. I understand that the polyphonic measure uses two 
'voices, one that is just the hh and one that is the bd and sn.


Here is what I don't understand: the creation of  \new DrumVoice = 1 { s1 
*2 }. Why do i need to create new drum voices. And if im not referencing 
them later, how does the code know which one is which. Are 1 and 2 
simply names, or do they have do do with stem directions, or what? and what 
in heck does {s1 *2} mean?


Thank you for your help. I am new at using lilypad, i stumble across it and 
don't know anyone else who can help me. This is the first time I've used 
this mailing list so even if you cant help me, letting me know that I've 
succeeded in asking for help would be nice. thanks.






___
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 instilation problems and coding help

2008-04-09 Thread Trevor Daniels


Thanks again, Mats.

Actually, I did try it myself, and was fooled into thinking it worked by not 
reading the error messages and just looking at the pdf output.  I'd 
carelessly left the pdf open from the previous run with the \new DrumVoice 
statements in, so it wasn't changed and when I opened it again it looked 
like it had worked. :(


Ah well, we now all have a good explanation which I can use somewhere in the 
manuals.


Trevor

Mats Bengtsson wrote

Trevor Daniels wrote:

Hi Levi

You have taken this example from a section of the manual which has not 
been updated recently, and I can see why it might be confusing - if you 
remove the two statements which create the Voice contexts the example 
still works perfectly in the more recent versions of the LilyPond.
No! If you try it yourself, you'll see that it fails. The reason that 
these lines are needed here is
quite intricate and has to do with the fact that you want two DrumVoice 
contexts, not ordinary
Voice contexts. The {...} \\ {...} construct that's used here, will 
automatically create two
Voice contexts named 1 and 2, if these don't already exist. If you 
explicitly defining contexts
with these names yourself, then LilyPond will use these two contexts in 
the {...} \\ {...}
construct. This trick is used here to fool LilyPond to use DrumVoice 
contexts instead.


  /Mats




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


Re: OOoLilypond instilation problems and coding help

2008-04-09 Thread Mats Bengtsson



Trevor Daniels wrote:

Hi Levi

You have taken this example from a section of the manual which has not 
been updated recently, and I can see why it might be confusing - if 
you remove the two statements which create the Voice contexts the 
example still works perfectly in the more recent versions of the LilyPond.
No! If you try it yourself, you'll see that it fails. The reason that 
these lines are needed here is
quite intricate and has to do with the fact that you want two DrumVoice 
contexts, not ordinary
Voice contexts. The {...} \\ {...} construct that's used here, will 
automatically create two
Voice contexts named 1 and 2, if these don't already exist. If you 
explicitly defining contexts
with these names yourself, then LilyPond will use these two contexts in 
the {...} \\ {...}
construct. This trick is used here to fool LilyPond to use DrumVoice 
contexts instead.


  /Mats
  If you have not already done so, please read section 3.2.1 in the 
2.11 Learning Manual called I'm hearing Voices, but here's an 
explanation of this particular piece of code.


First, all notes -must- be contained in a Voice.  If a Voice is not 
defined explicitly one is created behind the scenes.


To explain, first consider the example with the two lines beginning 
\new DrumVoice removed.


The construction following \drummode contains two bars of music.  The 
first bar ( bd4 sn4 bd4 sn4) goes into a default Voice context, as one 
has not been explicitly created for it.  This is followed by a  
...\\ ... construct for the second bar.  This construct places { 
\repeat unfold 16 hh16 } in a Voice called 1 and { bd4 sn4 bd4 sn4 } 
in a Voice called 2. If these voices have not been explicitly 
defined they are created behind the scenes automatically with these 
names.  The music in these two voices is then played in parallel, both 
in bar 2.  Two voices are required because the rhythms are different.


Finally, in earlier versions of LilyPond, the voices 1 and 2 had 
to be explicitly defined before they could be used, hence the explicit 
declarations \new Voice etc in the example you quoted.  The {s1*2} 
following simply enters two bars of skip notes, and these are in 
parallel with the rest of the music due to the  ..  round the 
contents of \DrumStaff.


HTH.  I'm afraid I can't help with Open Office though.

Trevor D

- Original Message - From: Levi Hendricks 
[EMAIL PROTECTED]

To: lilypond-user@gnu.org; [EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 4:14 AM
Subject: OOoLilypond instilation problems and coding help


I am  running windows XP (with sp2) and open office v 2.0.2 . I 
followed the instructions on using lilypad with open office. I have 
downloaded (and written in) the lilypond script as well as the open 
office macro, i installed the macro as said in the instructions, but 
when i press alt m an error orccurs. The message is this: BASIC 
syntax error. Dimension specifications do not match. it highlights a 
portion of the code:SortStringArray(sTemplate approximately 4/5ths 
the way down the page. I cant get the macro to work, can anyone help me?


On another note, I am reading the tutorial and manuals for lilypond, 
but am having trouble assimilating all the information. I have done 
some html and java programing so im no stranger to computer code, but 
the voices concept is giving me trouble. I am using this program to 
write percussion music for lessons that I am giving, and if someone 
could help me disect some code this would be great:

\new DrumStaff 
  \new DrumVoice = 1 { s1 *2 }
  \new DrumVoice = 2 { s1 *2 }
  \drummode {
bd4 sn4 bd4 sn4

  { \repeat unfold 16 hh16 }
  \\
  { bd4 sn4 bd4 sn4 }

  }


here is what I understand: DrumStaff creates a staff, thats simple. 
drummode initiates the acceptance of sn bd hh etc. as valid input. I 
also understand that there is a measure of alternating bd/sn hits for 
4 beats before the 'polyphonic' measures. I understand that the 
polyphonic measure uses two 'voices, one that is just the hh and one 
that is the bd and sn.


Here is what I don't understand: the creation of  \new DrumVoice = 1 
{ s1 *2 }. Why do i need to create new drum voices. And if im not 
referencing them later, how does the code know which one is which. Are 
1 and 2 simply names, or do they have do do with stem directions, 
or what? and what in heck does {s1 *2} mean?


Thank you for your help. I am new at using lilypad, i stumble across 
it and don't know anyone else who can help me. This is the first time 
I've used this mailing list so even if you cant help me, letting me 
know that I've succeeded in asking for help would be nice. thanks.






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



___
lilypond-user mailing list
lilypond-user@gnu.org

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 errors and unknown escaped strings and
unexpected strings.
 
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-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 errors and unknown escaped strings and 
unexpected strings.
 
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 on Windows

2007-05-09 Thread Samuel Hartmann

Tim Reeves wrote:


Thanks John,
So is there a simple way to change the OOoLilyPond macro to send 
-dbackend=foo instead of -b foo?


You can edit the Macro in OpenOffice.org. Go to Tools -- Macros --
Organise Macros -- OpenOffice.org Basic

Then select the Module Subs from the OOoLilyPond library and then
the Macro CallLilyPond. Click Edit. You will find the following
strings two times. Once for Windows and once for Linux:
 -b eps -f png -dresolution= and
 -b eps -f eps OOoLilyPond.ly OOoLilyPond.out 21

Change the strings appropriately to get it working with LilyPond 2.11.


Otherwise you could use the stable version 2.10.x for OOoLilyPond.


regards,

Samuel



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


Re: OOoLilyPond on Windows

2007-05-08 Thread John Mandereau
Le mardi 08 mai 2007 à 10:42 -0700, Tim Reeves a écrit :
 
 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? 

Yes, see 2.11 NEWS ( -b foo - -dbackend=foo )

Cheers
-- 
John Mandereau [EMAIL PROTECTED]



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


Re: OOoLilyPond on Windows

2007-05-08 Thread Tim Reeves
Thanks John,
So is there a simple way to change the OOoLilyPond macro to send 
-dbackend=foo instead of -b foo?



Tim Reeves





John Mandereau [EMAIL PROTECTED] 
05/08/2007 11:24 AM

To
Tim Reeves [EMAIL PROTECTED]
cc
lilypond-user@gnu.org
Subject
Re: OOoLilyPond on Windows






Le mardi 08 mai 2007 à 10:42 -0700, Tim Reeves a écrit :
 
 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? 

Yes, see 2.11 NEWS ( -b foo - -dbackend=foo )

Cheers
-- 
John Mandereau [EMAIL PROTECTED]


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


Bug in lilypond-book-preamble (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1))

2007-03-11 Thread Paul Harouff
I narrowed the problem down to lilypond-book-preamble.ly
 
lilypond -dbackend eps lilypond-book-preamble.ly
GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t

I haven't made any changes, but here is the contents of
lilypond-book-preamble.ly ... maybe someone on the list can find the bug.
The only thing I could do would be comment out each line one at a time, but
I still wouldn't know what the correct syntax should be.
 
\version 2.10.0

%% toplevel \book gets output per page,
%% everything else gets output per system/title
#(define default-toplevel-book-handler
  print-book-with-defaults-as-systems )

#(define toplevel-book-handler
  (lambda ( . rest)
  (set! output-empty-score-list #f)
  (apply print-book-with-defaults rest)))

#(define toplevel-music-handler
  (lambda ( . rest)
   (apply collect-music-for-book rest)))

#(define toplevel-score-handler
  (lambda ( . rest)
   (apply collect-scores-for-book rest)))

#(define toplevel-text-handler
  (lambda ( . rest)
   (apply collect-scores-for-book rest)))

#(set! output-empty-score-list #t)


#(ly:set-option (quote no-point-and-click))
#(define inside-lilypond-book #t)
#(define version-seen #t)





From: Paul Harouff [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 05, 2007 2:07 PM
To: Graham Percival
Cc: lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)


Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look. 

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out. 

Paul



On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote: 

Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in
all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load
the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include  lilypond-book-preamble.ly
http://lilypond-book-preamble.ly 
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

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

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM 
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham







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


Not a lilypond-book-preamble.ly bug (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1))

2007-03-11 Thread Paul Harouff
It helps if you include the = in the -dbackend=eps option. You can see
from my previous message that I read the documentation correctly. We all
make mistakes. :-)
 
Is it possible to include more helpful error messages for the command line
options, when somebody gets a chance?
 
It appears that I have OOoLilyPond working now, but there are some issues:
 
1. The default templates with OOoLilyPond assume simple notes, you have to
modify the templates to delete the { and } before and after the snippet in
order to accept a \score {} block. Since the discussions on the list
indicate that the project is leaning toward requiring \score {} blocks in
the future, the default templates probably need to be updated.
 
2. The eps images paste into the swriter file transparent, you can't view
and proofread the music until you print -- I can't figure out how to change
this. It's really annoying. The documentation says the image is supposed to
be in low resolution, not invisible.
 
3. The temporary files are in the C:\WINDOWS\Temp directory, if you have
find the OOoLilypond.ly and OOoLilypond.out files to debug a problem.
Looking at the OOoLilypond.ly file is the only way to see how your music
snippet really looks to the LilyPond compiler.
 
Paul

  _  

From: Paul Harouff [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 05, 2007 2:07 PM
To: Graham Percival
Cc: lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)


Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look. 

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out. 

Paul



On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote: 

Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include   http://lilypond-book-preamble.ly lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

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

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM 
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham




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


Re: OOolilypond and openoffice 2.1

2007-03-07 Thread Johan Vromans
Samuel Hartmann [EMAIL PROTECTED] writes:

 I think this is a problem with lilypond that may be is not binary
 compatible with your linux distribution. I'm sorry I can not help in this.

OOo supplies its own versions of several libraries, and sets the
LD_LIBRARY_PATH environment variable to force loading the private
libs. When starting lilypond via OOoLilyPond LD_LIBRARY_PATH is passed
to lilypond as well, and it chokes on the non-compatible version of
the libs.

I posted a simple workaround a couple of days ago.

-- Johan


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


Re: OOolilypond and openoffice 2.1

2007-03-07 Thread Johan Vromans
Samuel Hartmann [EMAIL PROTECTED] writes:

 You can change the template path by *copying* the templates to another
 path, changeing the path settings in OOoLilyPond configuration dialog.
 Test whether it is working and after that you can delete the old path.

I just changed the BASIC to eliminate the error so I could use the
config dialog to change the path.

Anyway, did I already THANK YOU VERY MUCH for this nice tool?

-- Johan


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


Re: OOolilypond and openoffice 2.1

2007-03-07 Thread Samuel Hartmann

Johan Vromans wrote:

OOo supplies its own versions of several libraries, and sets the
LD_LIBRARY_PATH environment variable to force loading the private
libs. When starting lilypond via OOoLilyPond LD_LIBRARY_PATH is passed
to lilypond as well, and it chokes on the non-compatible version of
the libs.

I posted a simple workaround a couple of days ago.
Thanks a lot for your workaround. I think it is a good idea to 
automatically append the lilypond command to the env command. Or do you 
see there any problems?


regards,

Samuel


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


Re: OOolilypond and openoffice 2.1

2007-03-07 Thread Johan Vromans
Samuel Hartmann [EMAIL PROTECTED] writes:

 Thanks a lot for your workaround. I think it is a good idea to
 automatically append the lilypond command to the env command. Or do
 you see there any problems?

In most cases, no.
Best solution would be to only remove any OOo library paths from
LD_LIBRARY_PATH, and leave anything else.

-- Johan


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


Re: OOolilypond and openoffice 2.1

2007-03-07 Thread Samuel Hartmann

Johan Vromans wrote:

Samuel Hartmann [EMAIL PROTECTED] writes:


Thanks a lot for your workaround. I think it is a good idea to
automatically append the lilypond command to the env command. Or do
you see there any problems?


In most cases, no.
Best solution would be to only remove any OOo library paths from
LD_LIBRARY_PATH, and leave anything else.


I decided not implement this for the moment. Instead I have written a
FAQ on the home page. So people that have this problem can find the
answer there.

http://ooolilypond.sourceforge.net/#FAQ


regards,

Samuel



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


Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-06 Thread René Brandenburger
On Mon, 2007-03-05 at 14:06 -0600, Paul Harouff wrote:
 Thanks, Graham.
 
 I failed to mention that the -dbackend=eps option works
outside of
 OOo. I verified that before making the changes to Subs.xba.
 
 I think this is some other script error inside OOoLilypond
passing a
 bad value to Lilypond, but I don't have a clue from the
LilyPond error
 message where to look. 
 
 Even thinking about using LaTeX and LilyPondBook gives me
chills. And
 while LilyPond is great at handling musical notation, it is
horrible
 at handling text outside of a score (which is completely
 understandable - because that's not what it's designed for).
 OOoLilypond looks like it could be a real production tool for
laying
 out hymnbooks and worship services, etc., by combining the
strengths
 of LilyPond and OOoWriter. I'm really excited to see if I can
get it
 working and try it out. 
 
 Paul
 
Hi Paul,

if you're looking for a WYSIWYG solution comparable to
OOoLilypond,
you could give the newest LyX Release (LyX Version 1.4.4) a try,
as it
has now support for including lilypond snippets into the
document.
All I had to change in my lilypond files to include complete
scores was
adding \include lilypond-book-preamble.ly. To get inline
snippets, you
can add a ragged-right.
This works fine for me.

rene





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


Re: OOolilypond and openoffice 2.1

2007-03-06 Thread Samuel Hartmann

luis jure wrote:

please excuse my ignorance, but are the authors of the lilypond plug-in
for openoffice monitoring this list? 

I'm the author, and yes I'm monitoring this list.



i visited http://ooolilypond.sourceforge.net/ but i couldn't find the
names of the developers or how to contact them.

You can find my name and email at the sourceforge project page and in
the source code of OOoLilyPond.



i wanted to report that i couldn't make the plug-in work with
openoffice 2.1 on linux (gentoo). the plug-in installs and opens its
window, but it fails to compile any code, with this message:

lilypond: /usr/lib/openoffice/program/libstdc++.so.6: version
'CXXABI_1.3.1' not found (required by lilypond)

I think this is a problem with lilypond that may be is not binary
compatible with your linux distribution. I'm sorry I can not help in this.





(btw, i'm using lilypond 2.10.19)

according to the web site, the plug-in was tested with OO 2.0.2, and
later It is supposed to work an all Unix like operating systems with
OpenOffice.org 2.0.0 or higher installed.

i downgraded to 2.0.4 and it works, but not with 2.1. it's a pity
because i find 2.1 a great improvement over 2.0.4, which for me at
least is rather buggy...

This seems to me very strange, that it is working with the older version
because LilyPond is reporting the error and not OpenOffice.org.

regards,

Samuel



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


Re: OOolilypond and openoffice 2.1

2007-03-06 Thread Samuel Hartmann

Johan Vromans wrote:

Hmm. You get farther than I... When I try to use the macro with Ctrl-M
I get the BASIC debugger on an Index out of range in ListTemplates.


This is a bug I know and I will correct in the next version of
OOoLilyPond. OOoLilyPond is looking for templates under
~/OOoLilyPond/templates/2.10

If the path does not exist and if there are not templates this error
appears.

You can change the template path by *copying* the templates to another
path, changeing the path settings in OOoLilyPond configuration dialog.
Test whether it is working and after that you can delete the old path.


regards,

Samuel



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


Re: OOolilypond and openoffice 2.1

2007-03-05 Thread Johan Vromans
luis jure [EMAIL PROTECTED] writes:

 lilypond: /usr/lib/openoffice/program/libstdc++.so.6: version
 'CXXABI_1.3.1' not found (required by lilypond)

The problem is that lilypond is executed in the environment of
OpenOffice.org, that has several special presets to use the OOo
version of shared libraries. In this case, the culpit is
LD_LIBRARY_PATH.

In OOOLilypond's Config, change LilyPond Executable from 

   lilypond

to

   env LD_LIBRARY_PATH= lilypond

(Note the space between = and lilypond!).

Alternatively, you can make a small shell wrapper script and use that
instead of lilypond:

   #!/bin/sh
   LD_LIBRARY_PATH=
   export LD_LIBRARY_PATH
   exec /usr/bin/lilypond ${1+$@}

-- Johan


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


Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-05 Thread Paul Harouff

Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look.

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out.

Paul


On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote:


Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

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

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham


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


Re: OOolilypond and openoffice 2.1

2007-03-04 Thread Johan Vromans
luis jure [EMAIL PROTECTED] writes:

 i wanted to report that i couldn't make the plug-in work with
 openoffice 2.1 on linux (gentoo). the plug-in installs and opens its
 window, but it fails to compile any code, with this message:

 lilypond: /usr/lib/openoffice/program/libstdc++.so.6: version
 'CXXABI_1.3.1' not found (required by lilypond)

Hmm. You get farther than I... When I try to use the macro with Ctrl-M
I get the BASIC debugger on an Index out of range in ListTemplates.

-- Johan


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


-b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-04 Thread Paul Harouff
On the highlighted line in the basic editor, change the (i-1) to (i) and the
next time you type Ctrl-M the edit window will work.

My problem is Lilypond 2.11.20 is not recognizing either 
-b eps or --backend=eps so the code fragment won't compile.

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan
Vromans
Sent: Sunday, March 04, 2007 3:22 PM
To: lilypond-user@gnu.org
Subject: Re: OOolilypond and openoffice 2.1

luis jure [EMAIL PROTECTED] writes:

 i wanted to report that i couldn't make the plug-in work with
 openoffice 2.1 on linux (gentoo). the plug-in installs and opens its
 window, but it fails to compile any code, with this message:

 lilypond: /usr/lib/openoffice/program/libstdc++.so.6: version
 'CXXABI_1.3.1' not found (required by lilypond)

Hmm. You get farther than I... When I try to use the macro with Ctrl-M
I get the BASIC debugger on an Index out of range in ListTemplates.

-- Johan


___
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: -b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-04 Thread Graham Percival

Paul Harouff wrote:
My problem is Lilypond 2.11.20 is not recognizing either 
-b eps or --backend=eps so the code fragment won't compile.


Please see the NEWS for 2.11.

Cheers,
- Graham


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


RE: -b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-04 Thread Paul Harouff
Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

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

Paul
 

-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 04, 2007 6:05 PM
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either 
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham



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


Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

2007-03-04 Thread Mats Bengtsson

I would recommend you to first make sure that the lilypond command
works correctly when you run in from a command prompt. Once you
have that working, you could integrate it with OOolilypond.
I just tried your example and it runs just fine with
lilypond -dbackend=eps testfile.ly

  /Mats

Paul Harouff wrote:

Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

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

Paul
 


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 04, 2007 6:05 PM

To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
  
My problem is Lilypond 2.11.20 is not recognizing either 
-b eps or --backend=eps so the code fragment won't compile.



Please see the NEWS for 2.11.

Cheers,
- Graham



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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: OOoLilyPond macro installation and use

2006-10-20 Thread Daniel Tonda Castillo
I've tried  the OOoLilypond and after a change in openoffice version or 
a change in lilypond it somehow puts the version of the lilypond back to 
2.6.


I changed it back, and checked the path for the macro and it worked.

Daniel T.

Gordon Gilbert wrote:

Samuel Hartmann wrote:

Hi Gordon,

Gordon Gilbert wrote:

Hi folks!

I looked at this idea of OOoLilypond, and thought -- what a fabulous 
idea for how I use Lilypond!  So I installed the latest Lily 
(2.9.23), and installed and followed slavishly the instructions to 
download and install the macro.


I don't expect OOoLilyPond to work with LilyPond 2.9.23. Use a stable 
version of LilyPond for which the corresponding templates are 
available (I recommend the version 2.6 for use with OOoLilyPond) .




But it won't work!  It seemed to install just fine, although when I 
went to bind the macro, I had trouble following the instructions.  
The biggest thing in that was that you used the word Append as 
part of the menu instructions.  After some cogitation, I figured out 
that the menu button I should try is Import.
Maybe the the button is called differently in different versions of 
OpenOffice.org. I'm using OpenOffice.org 2.0.2 that comes with Ubuntu 
Dapper.


But anyhow. The installation procedure is too complex. The next 
development step of OOoLilyPond will be to simplify the installation.




So now I had the macro installed, and I opened it, and inserted the 
lily code.  When I clicked Lilypond, it crashed OpenOffice.  OOo was 
kind enough to recover my document upon reopening, but now, when I 
type Ctrl-M, I get a dialog with the following cryptic text in it:


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




This error appears when OpenOffice.org does not find the macro 
anymore. Usually it helps to once again assign Ctrl-M to tha macro. 
It may also be that you have to repeat the complete Installation 
procedure.



regards,

Samuel


Hi again,

I tried going with 2.8.7, and installed the macro just as instructed, 
and it still crashed OO.  Any ideas?




begin:vcard
fn:Daniel Tonda Castillo
n:Tonda Castillo;Daniel
email;internet:[EMAIL PROTECTED]
version:2.1
end:vcard

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


Re: OOoLilyPond macro installation and use

2006-10-20 Thread Samuel Hartmann

Hi Gordon,

Gordon Gilbert wrote:


I tried going with 2.8.7, and installed the macro just as instructed, 
and it still crashed OO.  Any ideas?




Please check what files you find in ~/.ooolilypond-tmp and post it here.

If lilypond was called by OOoLilyPond you should find files like this:

OOoLilyPond-1.eps
OOoLilyPond.eps
OOoLilyPond.out
OOoLilyPond-systems.tex
OOoLilyPond-2.eps
OOoLilyPond.ly
OOoLilyPond.png
OOoLilyPond-systems.texi


regards

Samuel


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


Re: OOoLilyPond macro installation and use

2006-10-20 Thread Martial

Hello

I tried going with 2.8.7, and installed the macro just as instructed, 
and it still crashed OO.  Any ideas?


I use 2.9.25, and OoLilypond is fine after this hanging !


Associate a keyboard shortcut with the macro
- Create a new writer document
- Select from the Menu: Tools -- Customize...
- Go to the tab Keyboard

- SELECT the CASE OpenOffice.org

- Select Control-M as Shortcut key
- Select OpenOffice.org Macros/user/OOoLilyPond/Main as Functions Category
- Select main as Funtion
- Click Modify

Regards



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


Re: OOoLilyPond macro installation and use

2006-10-20 Thread Gordon Gilbert

Samuel Hartmann wrote:

Hi Gordon,

Gordon Gilbert wrote:


I tried going with 2.8.7, and installed the macro just as instructed, 
and it still crashed OO.  Any ideas?




Please check what files you find in ~/.ooolilypond-tmp and post it here.

If lilypond was called by OOoLilyPond you should find files like this:

OOoLilyPond-1.eps
OOoLilyPond.eps
OOoLilyPond.out
OOoLilyPond-systems.tex
OOoLilyPond-2.eps
OOoLilyPond.ly
OOoLilyPond.png
OOoLilyPond-systems.texi


regards

Samuel


Right.  Here is the contents of /u/gord/.ooolilypond-tmp:
OOoLilyPond-1.eps   OOoLilyPond.eps
OOoLilyPond-systems.tex OOoLilyPond.ly
OOoLilyPond-systems.texiOOoLilyPond.out

Having seen that, I tried opening  the .eps file in gv -- that worked. 
And even though OO would not show dot files, I could type in the path to 
the open dialogue and open and manipulate the image.  But I would like 
OO and LilyPond to talk if at all possible ...


Gordon+


--

+=+
| Angels' Roost Farm  |
|   Rev. Fr. Gordon Gilbert  Susan Gilbert   |
|   705-549-5056  |
|[EMAIL PROTECTED]  |
|[EMAIL PROTECTED] |
+=+


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


  1   2   >