Hello. Thanks for your answer, Helge. I know this possibility, but then the problem is the use of PostScript code inside LilyPond code... this generates a GUILE error, I could use, instead this codes, .svg graphics but lilypond-book doesn't process any external material... I've solved using the .pdf LilyPond exit files directly into the .lyx file and it is not a bad solution... At the moment.
Thanks. J.C. 2015-06-18 10:57 GMT+02:00 Helge Hafting <helge.haft...@hist.no>: > > > Den 03. juni 2015 10:56, skrev Juan Carlos Gómez Fernández: > > Hello all > > This is my first post to the list so I'll introduce myself: my name is > Juan, I'm spanish, and I'm a beginner in LYX.. > I'm transcribing a violin manual to use it with viola and I'm usig > Lilypond files as external material, and it works fine with small scores. > The problem I have is with larger scores (more than one page), when lyx > compile the file it works well, but only one page appears in the .pdf > file... I tried several changes in preferences menu with no success (most > of the times I don't understand options because I'm a complete beginner > with LaTex...) > > Any suggestions? > > > Yes. When you include "external material", it is included as a pdf image. > Usually, that only works for a single page. > > But LyX has lilypond support. If you put lilypond stuff directly into LyX, > then lyx and lilypond will cooperate on the page breaking and you can have > several pages of music in the lyx document. > > I have attached a file that demonstrate this. It has some lines of plain > text, and two pages of (random) music. If you add more text lines, some > music lines moves to the next page. If you want the music to start on top > of the page, insert a page break in front. > > Helge Hafting > -- Juan C. Gómez