Tux Guitar

Open Discussion

Subject LilyPond: solution to generate PDF with multitrack

Author Message
Post: Nov 7th 2009 at 6:04 PM

Lilypond: a solution to generate PDF with two or more tracks

One solution to create PDF with all the tracks of a project is:
save the project in Lilypond format (.ly), and with LilyPond installed, make the program turns it into PDF.
The procedure is explained here:


My explanation:

With Lilypond installed, open the terminal, navigate to the directory where the file created by TuxGuitar (in this example the name is YourFileTuxGuitar.ly) and type:

$lilypond YourFileTuxGuitar.ly

After giving "Enter", it appears, and was created in the same folder a file .ps and others .pdf

daniel@ubuntu:~/Desktop/Test$ lilypond YourFileTuxGuitar.ly
GNU LilyPond 2.10.33
Processing `YourFileTuxGuitar.ly'
Interpreting music... [1]
Preprocessing graphical objects...
Layout output to `YourFileTuxGuitar.ps'...
Converting to `YourFileTuxGuitar.pdf'...

In link has the explanation for Windows.

Back to Top
Post: May 5th 2010 at 3:16 PM

To generate PDF with Lilypond in Windows:

Download the installer for Windows on http://lilypond.org/install/

After installation a shortcut was created on the desktop.

By giving two clicks will open the "LilyPad" with the message:

Welcome to LilyPond


Congratulations, LilyPond has been installed successfully.

Now to take it for the first test run.

1. Save this LilyPond file on your desktop with the name "test.ly".

2. Pick it up from the desktop with your mouse pointer, drag and drop

it onto the LilyPond icon.

3. LilyPond automatically produces a PDF file from the musical scale


4. To print or view the result, click on the newly produced file



5. If you see a piece of music with a scale, LilyPond is working properly.

Next, you'll want to get started on your own scores. To do this you'll

need to learn about using LilyPond.

LilyPond's interface is text-based, rather than graphical. Please visit the

help page at http://lilypond.org/web/help. This will point you to a quick

tutorial and extensive documentation.

Good luck with LilyPond! Happy engraving.

Remembering how to save the TuxGuitar project in Lilypond format (.ly):

File > Export > Export Lilypond

In "Options" select "Export all tracks" and check what you want in "Layout Options" and click "OK".

See you later!

Back to Top
Post: May 5th 2010 at 3:31 PM

There are several topics open on this subject:

print/export multiple tracks on one sheet

Multitrack printing.


printing multiple tracks?


Print intire score as score

And now I'll post only in this topic:

LilyPond: solution to generate PDF with multitrack

I will soon post a video demonstrating the procedure.

See you later!

Back to Top
Post: May 5th 2010 at 9:47 PM

Hey, i see you exited with this topic :)

You could fill this info at the lilypond's plugin wiki :p

Back to Top
Post: May 5th 2010 at 10:25 PM

Ok, sure I will post, and more fully soon. Currently I'm a little busy.

Soon I will edit the page of the plugin.

I want to add more stuff, but I have to do with care, since I'm not good with english.

Back to Top
Post: Nov 5th 2010 at 10:21 AM


I noticed many threads as listed above regarding this topic, but still no solution:

WANT: tracks printed in Lilypond as a conductor's score (each instrument/track lined up under each other).

PROBLEM: TuxGuitar export to Lilypond result is each track separated from each other (I.e. all track 1 first, break, all track 2, break, etc).

Can anyone post some Lilypond hacks to get the tracks aligned like a conductor's score? I.e. 'StaffGroup' in Lilypond?


Thanks in advance.

Back to Top
Post: Nov 9th 2010 at 11:45 PM

My bad :(

I have discovered the 'group tracks' option in the LilyPond export.

Thanks again Julian for a great piece of software.


Back to Top
Chris F
Post: Mar 18th 2012 at 5:20 PM

This isn't working for me...log file shows a ton of errors and no pdf file is created. Got it to work by exporting one track, but exporting both or just the other doesn't work. Need to be able to print a score of at least 2 tracks. Can someone help?

Back to Top
Sac Gucci
Post: Mar 20th 2012 at 8:36 AM

Quand nous Sac Gucci aimons shopping sur leur magnifique ! Shopping Gucci Femme Festival mars femmes gracieux paiement recommandé. Sac Gucci Pas Cher Femme est de bonne volonté suggèrent. Maintenant, le sac est chaud vente en ce moment. Gucci Hemme Et vous pouvez en choisir un pour elle. Sacs Gucci a beaucoup vous inattendue surprenez wait for you. Gucci Pas Cher plus mieux avec nous-mêmes, nous Gucci Sac Hobo peut avoir une vie plus heureuse.

Back to Top
Post: Apr 2nd 2012 at 3:55 AM

Do you know that there are many Louis Vuitton Outlet Stores Online,which offer the very cheap fashion items ,like the Louis Vuitton Handbags,Louis Vuitton scarf,Louis Vuitton shoes and so on.But they are not the original items from LVM.

Back to Top