What's new? | Help | Directory | Sign in
Google
lilykde
LilyPond KDE Integration
  
  
  
    
Show all Featured Downloads:
lilykde-0.5.4.tar.gz
Join project
Project owners:
  wbsoft

LilyKDE

This is a Free Software project to make working with the LilyPond music typesetter within KDE very easy. If you are a LilyPond user and you have KDE, then LilyKDE is for you.

The main part of LilyKDE is a plugin for Kate, with the following features:

The other parts of LilyKDE are:

LilyKDE is translated into Dutch, French, Turkish and Spanish.

Screenshots:

How to Install

Install Kate and KPDF (from KDE 3.5.x), Python, PyQt, PyKDE, Pâté, Rumor (optional), and of course LilyPond. If possible use the tools of your operating system to install these prerequisites. (If the Pate site is unavailable, you can get Pate-0.5.1 here.)

Then unpack lilykde and type make install. This installs LilyKDE in your home directory. You may look at the README and INSTALL files for other install options.

Next launch Kate and enable the Pate plugin, which enables Kate to use Python plugins. With Pate enabled, select Settings->Configure Python Plugins and enable LilyPond. Click on the Configure tab to see if you need to adjust some commands. The defaults should "just work", however. A command is marked red if it can't be found.

Now, when editing a LilyPond file, press Ctrl+Shift+M to get a preview (with clickable notes), or Ctrl+Shift+P to get a publishable PDF (without clickable notes but much smaller). When you right-click one or more LilyPond files in Konqueror you see an action Convert to PDF, which runs LilyPond on the selected files, displaying a log with clickable error messages (if there were any).

LilyKDE tips

How to show the PDF preview: Run LilyPond once or open a document that has an updated PDF in the same directory.

How to show or hide the PDF preview page list: The PDF preview is an embedded KPDF. If you want to hide/show the page list in the PDF preview, give the preview keyboard focus by hiding and then showing it. Now you can press Ctrl+L to hide or show the page list within the preview. You can zoom the preview by dragging the middle mouse button.

How to quickly get a PNG of a LilyPond snippet: Awaiting an automatic PNG generation feature, you can right-drag on the PDF preview and copy a graphic to the clipboard. Then paste it e.g. in KMail and give it a name (with png extension), and it will automatically attached to an email.

Use the Expand Pate plugin: type satb and then Ctrl+Space. This gives you a complete choir setup. You can add other templates using the Expand configuration dialog. When you update LilyKDE, you should save a copy of the x-lilypond.conf in the expand directory if you added any local changes.

Smart use of include files (0.5.3 and higher): When you are working on a file that just contains music definitions, while another file contains the full score setup, you can put a specially formatted variable in a LilyPond comment to let LilyKDE compile the other file. You can set this separately for preview mode and publish mode. More info here.

How to help

Contributions, like code, icons or translations are very welcome. If you find bugs, please report them in the issue tracker on this site.

Using the sourcecode from SVN

Normally you would just download and install the latest release (see Downloads tab), but if you want to live at the bleeding edge, you can get LilyKDE directly from svn. Install subversion if necessary and then type:

svn checkout http://lilykde.googlecode.com/svn/trunk lilykde
cd lilykde
make
make install

You need GNU gettext to build the translations if you use the SVN sourcecode.

If you want keep your copy of the source up-to-date, type

svn update

from within the lilykde directory.