https://wiki.archlinux.org/api.php?action=feedcontributions&user=Creatid&feedformat=atomArchWiki - User contributions [en]2024-03-28T20:45:44ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=LilyPond&diff=243352LilyPond2013-01-09T23:35:23Z<p>Creatid: /* Installation */</p>
<hr />
<div>[[Category:Applications]]<br />
== Getting Started ==<br />
<br />
Searching for a good software and not trash looking for writing sheet music in linux? '''LilyPond!'''<br />
Are you tired of pointing and clicking? '''LilyPond!'''<br />
Are you tired of having dual-boot systems so you could just write music? '''LilyPond!'''<br />
Are you tired of cracks and illegal software? '''LilyPond!'''<br />
<br />
=== Torn between two operating systems. ===<br />
<br />
My only barrier on deleting Windows from my hard disk was that i am an artist. I was searching for a good comercial software for writing sheet music. I was waiting for years on Sibelius Software to give a port for linux but like they didn't care. But due to their lack of interest i have found this amazing software that i could only dream off.<br />
<br />
=== Installation ===<br />
<br />
For a quick start:<br />
<br />
~# pacman -S lilypond<br />
<br />
To see how this software realy works create a text file called ‘test.ly’ and enter:<br />
<br />
~# cat > test.ly<br />
{<br />
c' e' g' e'<br />
}<br />
<br />
and then hit Ctrl+D to save. To process ‘test.ly’, proceed as follows:<br />
<br />
~# lilypond test.ly<br />
<br />
It will create test.pdf and test.ps files. Open it with your favorite viewer.<br />
<br />
== Tweaking ==<br />
<br />
=== Which editor to use? ===<br />
<br />
* jEdit with lilyPondTools plugin.<br />
<br />
~# pacman -S jedit<br />
<br />
Open jEdit and go to '''Plugins''' -> '''Plugin Manager'''. Select '''Install''' tab and click on LilyPondTools. Hit the '''Install''' button.<br />
<br />
* If you do not like Java, use Vim with the possibilities of compiling the code within the program along with syntax coloring tools and indenting. First install vim editor.<br />
<br />
~# pacman -S vim<br />
<br />
Go to this Lilypond website [http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/Vim-mode] and follow the instructions on how to enable the vim mode.<br />
The next thing you need to do is enable the syntaxses. To do so edit ~/.vimrc with your favorite editor and after editing your file should look like this:<br />
~# nano ~/.vimrc<br />
set runtimepath+=/usr/share/lilypond/2.12.3/vim/ <br />
syntax on " Turn on colors<br />
filetype plugin on " Enables the ftplugin options<br />
set autoindent " Automaticaly indent while writing.<br />
<br />
Now when you edit a *.ly file you can compile your code with <F5> button. Config file is in "/usr/share/lilypond/2.12.3/vim/ftplugin/lilypond.vim" and you can read your options there and edit it.<br />
<br />
=== Speed up writing notes ===<br />
<br />
One other thing that i discoverd is LilyComp [http://lilycomp.sourceforge.net/]. Its purpose is to speed up writing notes. You need python and tk to use it. I had to edit two lines (67 and 68) in lilycomp.py to enable deutsch.ly dictionary for sharp and flat symbols. It uses absolute notation (\relative is not used.)<br />
<br />
=== More usefull info ===<br />
<br />
* For JEdit: Under plugins install '''LookAndFeel'''. You can find good stuff under Visual.<br />
For better usability my settings are: under '''Global Options''' -> '''Docking''' put the '''Console''' and '''Error List''' to ''right'' and '''LilyPond PDF preview''' to ''bottom'' under Docking position. Then under '''View''' push '''Alternate docked window placement''' and '''Alternate tool bar placement''' buttons.<br />
<br />
* For tutorial on how to use this software visit LilyPond [http://lilypond.org/] website.</div>Creatid