|
From: | Julien Rioux |
Subject: | Re: ubuntu lyx lilypond latex |
Date: | Tue, 13 Sep 2011 22:59:33 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 |
On 13/09/2011 10:38 PM, Pablo Zumarán wrote:
Thank you! I've got it running now! There's only a little snag, though. Some times, the preview doesn't work; it just shows the code in the default document font (not the code font). However, all I have to do is select Tools>Reconfigure again and restart. It's not much bother, and I wouldn't have mention it if you hadn't asked for feedback some time ago. Thanks again! Julien Rioux-2 wrote:On 13/09/2011 7:43 PM, Josiah Boothby wrote:When I experimented with this, it seemed that LyX required a sufficiently recent minimum version of Lilypond. If the version of Ubuntu you're using has an outdated version of Lilypond, LyX won't use it. Make sure you have lilypond version 2.14.x or greater as well as Lyx 2.0.x. --JosiahThat's right, you will need version 2.14 of lilypond. Once you have it installed, run LyX and select the menu Tools> Reconfigure, then restart LyX. Also have a look at the example file lilypond.lyx in the menu File> Open, click the Examples button, and you will see the file lilypond.lyx among other example files. Open it and see. Do File> Save as... and then do some modifications if you would like. Cheers, Julien _______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user
You won't need to do Tools>Reconfigure each time. This is only when you install a new external tool, and you want LyX to detect it. As in: after installing a newer version of lilypond.
When playing around with lilypond in LyX, I also sometimes got previews showing the code in the document font. This occurred each time I had made a mistake in the lilypond code. The bad code is then not replaced by an image, since lilypond failed to produce any image. Instead the code is interpreted as text by latex. I hope it is not too much of a bother. I though we were already catching lilypond errors and interrupting the preview process in such case, but it seems not.
Anyway, good luck with your book project. Cheers, Julien
[Prev in Thread] | Current Thread | [Next in Thread] |