Re: Error when trying to install LilyPond under kubuntu
You have to replace the X.Y.Z with the actual version number of the file you downloaded. First of all, make sure that your working directory is the directory where you downloaded your file. Then, the easiest way to get the filename correct is to let the command shell automatically fill in the file name. So, type in sh lily and then press the TAB key, which fills in the file name and results in something like sh lilypond-2.10.33-1.linux-x86.sh Then you can press enter. I would recommend you to do this as root, since then the lilypond program will installed in /usr/local/bin/ which should be included in your search path by default. If you run the installation as a normal user, the lilypond program will instead be installed in $HOME/bin/, which on most Linux installations means that you have to add $HOME/bin/ to your $PATH environment variable in order to be able to run the program. /Mats Silvan wrote: Hi @ all I tried to install LilyPond using the command "sh lilypond-X.Y.Z.linux-x86.sh". Unfortunately i get the reply "sh: Can't open lilypond-X.Y.Z.linux-x86.sh". Executing the command as root doesn't change anything. My OS is kubuntu 8.04. Can you help me? Thanks in advance Silvan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
problem with lilypond-book
Dear lilypond-users, after running lilypond-book (I attached the .tex-file to the mail) I got a very long error message, I don't understand. I'm not able to produce a pdf or dvi-file. What have I done wrong? Here is the message: lilypond-book (GNU LilyPond) 2.11.43 Reading notennamen.tex... Running latex...latex: /usr/local/lilypond/usr/lib/libpng12.so.0: no version information available (required by latex) This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (/tmp/tmp3BI6fX.tex LaTeX2e <2005/12/01> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/share/texmf-texlive/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-texlive/tex/latex/base/size12.clo)) (/usr/share/texmf-texlive/tex/generic/babel/babel.sty (/usr/share/texmf-texlive/tex/generic/babel/ngermanb.ldf (/usr/share/texmf-texlive/tex/generic/babel/babel.def) Package babel Warning: No hyphenation patterns were loaded for (babel)the language `ngerman' (babel)I will use the patterns loaded for \language=0 instead. )) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty (/usr/share/texmf-texlive/tex/latex/base/utf8.def (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu) (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu) (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu))) (/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)) No file tmp3BI6fX.aux. textwidth=483.69687pt columnsep=10.0pt (./tmp3BI6fX.aux) ) No pages of output. Transcript written on tmp3BI6fX.log. Dissecting... Writing snippets... Processing... Running lilypond...GNU LilyPond 2.11.43 »snippet-map-1402216768.ly« wird verarbeitet Analysieren... »notennamen.tex« wird verarbeitet Analysieren... Interpretation der Musik... Vorverarbeitung der grafischen Elemente... Zeilenumbrüche werden berechnet... Systeme erstellen... Layout nach »lily-d386da5049-1.eps« ausgeben... Layout nach »lily-d386da5049.eps« ausgeben... lily-d386da5049-systems.texi wird geschrieben... lily-d386da5049-systems.tex wird geschrieben... lily-d386da5049-systems.count wird geschrieben... Traceback (most recent call last): File "/usr/local/lilypond/usr/bin/lilypond-book", line 1930, in ? main () File "/usr/local/lilypond/usr/bin/lilypond-book", line 1912, in main chunks = do_file (files[0]) File "/usr/local/lilypond/usr/bin/lilypond-book", line 1822, in do_file progress (_ ("Compiling %s...") % output_filename) File "/usr/local/lilypond/usr/share/lilypond/current/python/lilylib.py", line 67, in stderr_write encoded_write (sys.stderr, s) File "/usr/local/lilypond/usr/share/lilypond/current/python/lilylib.py", line 59, in encoded_write f.write (s.encode (f.encoding or 'utf_8')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 37: ordinal not in range(128) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
re: problem with lilypond-book
Sorry, I forgot the attachment. I 've copied a little snppet of it in the mail: \documentclass[a4paper,12pt]{article} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[paper=a4paper,left=20mm,right=20mm,top=25mm,bottom=25mm]{geometry} \begin{document} \begin{center} \textbf{Notennamen im Violinschlüssel} \\ \end{center} \textbf{Noten im Violinschlüssel} \\ Die Basisnote des Violinschlüssels ist die Note g. Sie liegt da wo der \glqq Kringel \grqq des Violinschlüssels liegt. \begin{lilypond} \relative c'' {g1} \end{lilypond} \end{document} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error when trying to install LilyPond under kubuntu
Mats Bengtsson wrote: > So, type in > sh lily > and then press the TAB key, which fills in the file name and results in > something like > sh lilypond-2.10.33-1.linux-x86.sh > Then you can press enter. > I would recommend you to do this as root N.B. in Kubuntu you can't directly access root -- so type, sudo sh lily ... and press the tab key. The complete command should then look something like, sudo sh lilypond-2.10.33-1.linux-x86.sh Alternatively, load up Konsole and look for a little icon in the bottom left looking like the sun and clouds. Click on it and hold down the mouse button. You'll get a little menu which has an option 'Root shell' -- select that and enter your password as requested. Then do everything as Mats has indicated. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Compilation setup (Was: Modules)
On 20 May 2008, at 04:42, Han-Wen Nienhuys wrote: My original reply was to Karl Hammar said: I would be nice to be able to do like lilypond a.ly .. o.ly z.ly i.e. treat a.ly .. o.ly as if they where included in z.ly, without having to say so in z.ly. to which I said it is not needed with the Haskell system. But I think there were some discussions about making it easier to share code, just set some local fonts. I wouldn't be against a -dconcat-args flag, which would concat all the argument contents and then run lily over the result. You have to keep in mind though, that this make life more difficult for others if you ever ship your .ly files to others. I felt this, too, that it would lead to C-like setups, which are complicated to maintain. In Haskell, one can write ghc --make A.hs where A.hs contains a top node "main". C and Haskell have in common that one can produce separate object code components which can be linked together later, thus saving overall compile time. So if Lilypond could produce (if usable) separate compiles (like score sections or part) which later are linked together, then each such unit might be a module. Then I think the Haskell system, where each file from within contains the information for a complete compile, is simpler to use. Haskell has a default module "Prelude", which can be removed by importing it explicitly. So also in this case, a startup command for removing it is unnecessary. If people want to share code, and find it difficult to pick together package, the idea of a lilypond --make-package comes to my mind. Instead of producing a PDF, it would pick together say a .tgz package. Hans Åberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: rhythm template function
On Tue, May 20, 2008 at 6:44 AM, Jay Anderson <[EMAIL PROTECTED]> wrote: > Here's a snippet I've used a couple times. If there's interest I'll > add it to the LSR. (I'm currently getting an 'invalid security > certificate' when I go here > https://lsr.dsi.unimi.it/list.php?type=usr). This is very similar to > http://lsr.dsi.unimi.it/LSR/Item?id=302 except that it's easier to > define a new rhythm template and add rests, articulations, and other > stuff as well. > > -Jay Excellent! I added snippet 302 some time ago; I couldn't find a way to easily add articulations etc. This is much easier to use and works great, thanks! -- Groeten, Alard. Ceterum censeo MS Word esse delendam. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics to rests?
Valentin Villenave wrote: \addlyrics { "1" "+ 2 " "+" "3" "4" | "1" "+ 2 +" "3 4" } You are using explicit durations here; No! The \addlyrics construct copies the durations from the music, i.e. any durations specified explicitly in the lyrics are ignored. The simplest way I can think of to align a syllable with a rest is to add an invisible note in parallel with the rest, which the lyrics can align to: \version "2.11" \new RhythmicStaff { \override Score.StaffSymbol #'stencil = ##f f8 f4 f8 f4 f | <> f4. f2 | } \addlyrics { "1" "+ 2 " "+" "3" "4" | "1" "+ 2 +" "3 4" } An alternatative is to do what Valentin hinted at, namely to not use \addlyrics but rather use explicit durations for each syllable. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lyrics to rests?
2008/5/20 Mats Bengtsson <[EMAIL PROTECTED]>: > Valentin Villenave wrote: >> You are using explicit durations here; > > No! The \addlyrics construct copies the durations from the music, i.e. any > durations specified > explicitly in the lyrics are ignored. Oh gosh, I should stop pretending I know the commands I don't use :-) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error when trying to install LilyPond under kubuntu
surely those same copy-pasters will simply paste sh lilypond-*.*.*.linux-x86.sh and get an error it's always best to give an example like: "at the command line type sh lilypond-X.Y.Z.linux-x86.sh according to your version and platform (e.g. for Version 2.11.14 type sh lilypond-2.11.14.linux-x86.sh)" it isn't always obvious, even for experienced users d On 20 May 2008, at 10:44, Valentin Villenave wrote: 2008/5/19 Silvan <[EMAIL PROTECTED]>: I tried to install LilyPond using the command "sh lilypond- X.Y.Z.linux-x86.sh". 2008/5/20 Mats Bengtsson <[EMAIL PROTECTED]>: You have to replace the X.Y.Z with the actual version number of the file you downloaded. Maybe we'd better change the instructions into "sh lilypond-*.*.*.linux-x86.sh", in case users want to blindly copy/paste? (we must keep in mind that some Linux users are not familiar with the command-line, and copy/pasting is about all they can do) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error when trying to install LilyPond under kubuntu
2008/5/19 Silvan <[EMAIL PROTECTED]>: > I tried to install LilyPond using the command "sh > lilypond-X.Y.Z.linux-x86.sh". 2008/5/20 Mats Bengtsson <[EMAIL PROTECTED]>: > You have to replace the X.Y.Z with the actual version number of the file you > downloaded. Maybe we'd better change the instructions into "sh lilypond-*.*.*.linux-x86.sh", in case users want to blindly copy/paste? (we must keep in mind that some Linux users are not familiar with the command-line, and copy/pasting is about all they can do) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
an output question
I was just wondering if it's possible to get lilypond to print 2-up. So I get two A4 sheets on one A3 sheet? I know I can do it in acrobat, but I like to use acrobat as infrequently as possible, and I've actually never used ghostscript directly. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
AW: Error when trying to install LilyPond under kubuntu
Thank you very much Two of your advice were necessary: First I didn't replace X.Y.Z by the version-numer, second I tried to execute the installation in an other folder than the installation file was placed. have a nice evening Silvan Ursprüngliche Nachricht Von: [EMAIL PROTECTED] Datum: 19.05.2008 21:37 An: Betreff: Error when trying to install LilyPond under kubuntu Hi @ all I tried to install LilyPond using the command "sh lilypond-X.Y.Z.linux-x86.sh". Unfortunately i get the reply "sh: Can't open lilypond-X.Y.Z.linux-x86.sh". Executing the command as root doesn't change anything. My OS is kubuntu 8.04. Can you help me? Thanks in advance Silvan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 12/8 problems
I'm really starting to wrap my brain around the idea of using this software over other notation software, but I am having a problem. Here is a basic template below: \version "2.10.33" \header { } \include "english.ly" staffTrombone = \new Staff { \time 4/4 \set Staff.timeSignatureFraction = #'(12 . 8) \set Staff.instrument="Trombone" \set Staff.midiInstrument="trombone" \key d \major \clef bass \relative c' { %bar 1 d4. d4. d4. d4. } } When I run the script and the music gets parsed, the dotted quarter notes are in groups of three instead of four, like it is 9/8 instead of 12/8. Any way to get this properly notated? Thanks a bunch for the help. Jon ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 12/8 problems
2008/5/21 Jon <[EMAIL PROTECTED]>: > \time 4/4 > \set Staff.timeSignatureFraction = #'(12 . 8) Is there any reason why you're using a 4/4 time signature, but setting it to be equal to 12/8? Why not just use \time 12/8 in the first place? -- Matthew Rowles - Be Alert. Australia needs lerts. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 12/8 problems
2008/5/21 Jonathan Siddle <[EMAIL PROTECTED]>: > Matthew, > > For whatever reason when I was trying it earlier, it didn't want to parse > correctly. Always the simplest thing...thank you very much. > > Jon maybe you wrote /time 12/8? I've know I've done that at least once. :} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
building a DIY Lilypond engraving server
Hey y'all, I've got a long-term Lilypond-related project I'm interested in working on, and I wanted to brainstorm a bit... I'm planning to publish all my music using Lilypond... of course! ;-) And for the most part, I will be personally making all the engraving choices (ahead of time), generating the appropriate PDFs, and making them available as "static documents" -- the standard publishing workflow. However, for my (Broadway-style) musicals, I'm hoping to allow the "consumers" to make certain choices and have Lilypond "dynamically" generate them the scores/parts/etc. Specifically, the customer should be able to accomplish as many as possible/feasible of the following: 1. Specify transpositions (on a per-song or even per section basis). 2. Make cuts (i.e., omit sections of the music). 3. Add/remove/modify repeats (e.g., "In Song #1, make mm. 22-24 a vamp"). 4. Force page turns. 5. Choose cue setups (e.g., "Reed 4 music: Song #1 goes into the synth part; Song #2 into the Reed 3 part; ..."). I'm sure there are other potential/desirable mods I'm not thinking of right now, but that's a good place to start this thread... What I'm looking for are some "best practices" for how this might be set up -- first from a technological standpoint (e.g., how to configure such a server), and second from a Lily-code standpoint (e.g., how to write code that would allow "in-line" modifications of the volta structures). Like I said, this is a *long-term* thought, so there's no rush... but if anyone has any bright ideas, I'd love to hear them! =) Best wishes, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user