Re: Stem does not fit in beam error
Ahem. Let me correct that. I am trying to beam across a rest, not a quarter note. It works fine in the rest of my other scores. Andrew == snip \version "2.19.42" { \time 1/4 \stemUp \stemNeutral \tuplet 3/2 { dis''16[ b'4\rest cis''16] } | \tuplet 3/2 { dis''16 b'4\rest cis''16 } | } == snip ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Stem does not fit in beam error
Why does this throw an error when trying to use a beam? Andrew == snip \version "2.19.42" { \time 1/4 \stemUp \tuplet 3/2 { dis''16[ b'4 cis''16] } | \tuplet 3/2 { dis''16 b'4 cis''16 } | } [frescobaldi log:] Parsing... Interpreting music... /home/andro/work/lilypond/fp/mwe.ly:5:26: warning: stem does not fit in beam \tuplet 3/2 { dis''16[ b'4 cis''16] } | /home/andro/work/lilypond/fp/mwe.ly:5:24: warning: beam was started here \tuplet 3/2 { dis''16 [ b'4 cis''16] } | Preprocessing graphical objects... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems... Layout output to `/tmp/lilypond-vgr8Dt'... Converting to `mwe.pdf'... Deleting `/tmp/lilypond-vgr8Dt'... Success: compilation successfully completed == snip ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cannot install lilypond on a shared Hostmonster server
On Sat 04 Jun 2016 at 20:30:08 (+), Mike wrote: > > First cd to your home directory. Then issue the command: > > > > bash path/to/lilypond-2.19.42-1.linux-x86.sh --prefix lilypond-2.19.42.1 > > Thank you so much for trying to help, but unfortunately I'm getting the same > errors, after executing this in my home dir: > > [~]# bash lilypond_install/lilypond-2.18.2-1.linux-64.sh --prefix lilypond I can't understand this. It looks like root's prompt, not a user's. > [...] > tar: ./usr/lib/libgs.so: Cannot create symlink to `libgs.so.8.70': > Permission denied > [...] Please post all the output. It ought to be about 40 lines at most. If there are lots of error messages beyond that, you could snip after the first one or two. What is the output of: $ md5sum lilypond_install/lilypond-2.18.2-1.linux-64.sh Is it precisely: 143a646f90740f4daa754a20eb34005d lilypond_install/lilypond-2.18.2-1.linux-64.sh What is the output of: $ pwd ; ls -l lilypond/usr/lib/libgs* lilypond/usr/etc/fonts/conf.d/ (Run these commands in the same home directory as before. You don't need any privileges to run them.) Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cannot install lilypond on a shared Hostmonster server
> First cd to your home directory. Then issue the command: > > bash path/to/lilypond-2.19.42-1.linux-x86.sh --prefix lilypond-2.19.42.1 Thank you so much for trying to help, but unfortunately I'm getting the same errors, after executing this in my home dir: [~]# bash lilypond_install/lilypond-2.18.2-1.linux-64.sh --prefix lilypond [...] tar: ./usr/lib/libgs.so: Cannot create symlink to `libgs.so.8.70': Permission denied [...] ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Page Break in Lilypond-book
On 04/06/16 20:17, Alberto Simões wrote: On 26/05/16 10:23, Alberto Simões wrote: On 16/05/16 19:32, Alberto Simões wrote: On 16/05/16 18:50, David Wright wrote: On Sat 14 May 2016 at 15:34:30 (+0100), Alberto Simões wrote: > It seems that \pageBreak is not honored by Lilypond. > I found an old post [1] that seems to state that it is needed to > enclose each portion in a different \book block (?). > > Can anybody confirm? Or explain the better way to force page break > from within a .ly file, to happen in the lilypond-book tex file? I'm not experienced with lilypond-book, but is it as simple as using \bookpart to make the page breaks? Or are you trying to make \pageBreaks within a \score? I think you might need to give more context, ie an example of the structure of your file with the \book \bookpart \score commands, and indicating where the page breaks are that you want to force. I am trying to break inside a score. In fact, my "main document" is only: \score{ \new PianoStaff << \new Staff = "up" \up \new Dynamics = "dynamics" \dynamics \new Staff = "down" \down >> } My current solution: \def\betweenLilyPondSystem[1]{} \newcommand{\breakAt}[1]{\renewcommand{\betweenLilyPondSystem}[1]{\ifthenelse{##1 = #1}{\newpage}{\linebreak\vfill}}} and then, before a score: \breakAt{1} at it makes a linebreak after first line. Problem will be when my music doesn't fit in two pages. But a thing at a time. Best ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cannot install lilypond on a shared Hostmonster server
On Sat 04 Jun 2016 at 18:38:33 (+), Mike wrote: > > tar: ./usr/lib/libltdl.so: Cannot create symlink to `libltdl.so.7.2.0': > Permission denied > > If it weren't for that "./", I would have interpreted the above as trying to > create a symlink in /usr/lib (where I cannot do it) linking into > ~/lilypond/usr/lib/libltdl.so.7.2.0 (I can see that file there). > > To illustrate what I think might be happening: > > [~]# ln -s ~/lilypond/usr/lib/libltdl.so.7.2.0 libltdl.so > [~]# ls -l libltdl.so > lrwxrwxrwx 1 guilioco guilioco 49 Jun 4 12:35 libltdl.so -> > /home1/myusername/lilypond/usr/lib/libltdl.so.7.2.0* > [~]# ln -s ~/lilypond/usr/lib/libltdl.so.7.2.0 /usr/lib/libltdl.so > ln: creating symbolic link `/usr/lib/libltdl.so': Read-only file system > [~]# It was not the best advice to say don't use a prefix. That tries to install it exactly where you cannot: under /usr/local. First cd to your home directory. Then issue the command: bash path/to/lilypond-2.19.42-1.linux-x86.sh --prefix lilypond-2.19.42.1 where bash is some shell, and lilypond will be installed under ${HOME}/lilypond-2.19.42.1/ Avoid using absolute pathnames (though that doesn't matter in path/to/lilypond-2.19.42-1.linux-x86.sh). Avoid ~ as bash understands it but not every shell does. Excuse my installing a newer version than 2.18.2, but what you should see is: $ bash /home/debian/non-debian/lilypond/lilypond-2.19.42-1.linux-x86.sh --prefix lilypond-2.19.42.1 lilypond installer for version 2.19.42 release 1, i686 build. For a list of options, abort (^C) then do: sh /home/debian/non-debian/lilypond/lilypond-2.19.42-1.linux-x86.sh --help You are about to install LilyPond in /home/david/lilypond-2.19.42.1/lilypond A script in /home/david/lilypond-2.19.42.1/bin will be created as a shortcut. Press ^C to abort, or Enter to proceed. Making /home/david/lilypond-2.19.42.1/lilypond Making /home/david/lilypond-2.19.42.1/bin Creating script /home/david/lilypond-2.19.42.1/bin/lilypond Creating script /home/david/lilypond-2.19.42.1/bin/lilypond-wrapper.python Creating script /home/david/lilypond-2.19.42.1/bin/lilypond-wrapper.guile Creating script /home/david/lilypond-2.19.42.1/bin/uninstall-lilypond Untarring /home/debian/non-debian/lilypond/lilypond-2.19.42-1.linux-x86.sh To uninstall lilypond, run /home/david/lilypond-2.19.42.1/bin/uninstall-lilypond For license and warranty information, consult /home/david/lilypond-2.19.42.1/lilypond/license/README Full documentation can be found at http://lilypond.org/doc $ Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Page Break in Lilypond-book
On 26/05/16 10:23, Alberto Simões wrote: On 16/05/16 19:32, Alberto Simões wrote: On 16/05/16 18:50, David Wright wrote: On Sat 14 May 2016 at 15:34:30 (+0100), Alberto Simões wrote: > It seems that \pageBreak is not honored by Lilypond. > I found an old post [1] that seems to state that it is needed to > enclose each portion in a different \book block (?). > > Can anybody confirm? Or explain the better way to force page break > from within a .ly file, to happen in the lilypond-book tex file? I'm not experienced with lilypond-book, but is it as simple as using \bookpart to make the page breaks? Or are you trying to make \pageBreaks within a \score? I think you might need to give more context, ie an example of the structure of your file with the \book \bookpart \score commands, and indicating where the page breaks are that you want to force. I am trying to break inside a score. In fact, my "main document" is only: \score{ \new PianoStaff << \new Staff = "up" \up \new Dynamics = "dynamics" \dynamics \new Staff = "down" \down >> } Tried to create two bookparts, but lilypond-book still doesn't change pages where I want. Anybody with expertise on lilypond-book who can give me a hint on how to force, from lilypond code, a new page in the lilypond-book output?? Thank you Alberto ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cannot install lilypond on a shared Hostmonster server
> Is this a Samba mount or NFS or something? Maybe you just cannot create > symbolic links? Thanks for helping. It is not a Samba mount or NFS, to my knowledge. I am definitely not using it from Windows or anything, I'm just logging in via puTTY. I am able to create symbolic links, but I think the script is trying to create them where it cannot tar: ./usr/lib/libltdl.so: Cannot create symlink to `libltdl.so.7.2.0': Permission denied If it weren't for that "./", I would have interpreted the above as trying to create a symlink in /usr/lib (where I cannot do it) linking into ~/lilypond/usr/lib/libltdl.so.7.2.0 (I can see that file there). To illustrate what I think might be happening: [~]# ln -s ~/lilypond/usr/lib/libltdl.so.7.2.0 libltdl.so [~]# ls -l libltdl.so lrwxrwxrwx 1 guilioco guilioco 49 Jun 4 12:35 libltdl.so -> /home1/myusername/lilypond/usr/lib/libltdl.so.7.2.0* [~]# ln -s ~/lilypond/usr/lib/libltdl.so.7.2.0 /usr/lib/libltdl.so ln: creating symbolic link `/usr/lib/libltdl.so': Read-only file system [~]# ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: 4 hands piano pieces book
Greetings Urs, You had asked for a reminder concerning the piano four-hand solution and wrapping it into the page-layout library. Also, I would like to reiterate my correction regarding the use of pdftk for arranging the pages. The option to use is "shuffle," not "collate." From the manual, the following template applies: pdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf For my own purposes, I recast it as follows: pdftk A=Secondo.pdf B=Primo.pdf shuffle A B output PerformanceScore.pdf Hwaen Ch'uqi On 5/9/16, Hwaen Ch'uqiwrote: > Greetings David, > > In fact, your process of determining pagebreaks is exactly what I do. > I choose to write the breaks directly into my files. It's just a > personal preference as I have never been fond of global settings or > variables. > > On the subject of pdftk, I miswrote: it is the "shuffle" option which > is used, like this: > > pdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf > > Or, mor practically, > > pdftk A=Secondo.pdf B=Primo.pdf shuffle A B output PerformanceScore.pdf > > VERY easy and straightforward. > > Hwaen Ch'uqi > > > On 5/9/16, David Wright wrote: >> On Mon 09 May 2016 at 14:35:17 (-0400), Hwaen Ch'uqi wrote: >>> I have been wwriting A LOT of four-hand music, and I agree in >>> principle with most of what I have read in this thread. Even so, I >>> thought to chime in with my approach. >> >> I bow to your experience... >> >>> In my experience, I have found that there can be no "master file" used >>> for determining page breaks, due to the lovely but unpredictable way >>> that LilyPond lays out pages. So this must still be done by trial and >>> error. I do, however, use the Secondo file in the end as a "master" >>> for generating a Table of Contents. >> >> ... but that *sounds* a bit hit-or-miss. Can you find fault with the >> following? >> >> Set primo and secondo separately. Examine pairs of pages starting at >> the beginning. If the page break occurs at the same bar, insert a >> \pageBreak at that point in your master variable. Once you meet a >> discrepancy, insert the \pageBreak at the earlier position. Rerun >> LP. Re-examine from where you left off. >> >> (I don't know where the "master file" concept came in. However, you >> certainly want a master *variable*, rather than inserting the page >> breaks into the source at two different places.) >> >>> Finally, I also use pdftk to produce the full book, but the process >>> outlined earlier can be extremely streamlined if you use the "collate" >>> feature. You do not need to burst the files into separate pages; pdftk >>> will automatically alternate the pages when combining the two files. >> >> Sorry not to suggest the collate option; I forget it exists because I >> never use it, the reason being that I typically don't build files >> from mere pairs of L and R pages, but from scanned pages which have >> needed masking at the margins. I put different masked/offset copies >> into different directories, then move the best version of each page >> into the assembly-directory. Everything's quick and easy to that >> point, but the final collation has to be done manually. I find >> moving pages in Midnight Commander less error-prone even than using >> page-ranges in pdftk. >> >> Cheers, >> David. >> > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cannot install lilypond on a shared Hostmonster server
Mikewrites: >> I would try running the install script *without* the --prefix option. It >> should then install just fine in your home directory where you should >> have write permissions. > > Thanks! Unfortunately it didn't work. > After uninstalling, I have changed to my home dir and issued > > $lilypond_install/lilypond-2.18.2-1.linux-64.sh > > I got the below > > [...] > Untarring lilypond_install/lilypond-2.18.2-1.linux-64.sh > tar: ./usr/lib/libgs.so: Cannot create symlink to `libgs.so.8.70': > Permission denied > [...] > > It's not clear to me where it's trying to symlink what... anyway I have > checked and I have write access to all dirs under ~/lilypond/usr > Any more clues please? Many thanks. Is this a Samba mount or NFS or something? Maybe you just cannot create symbolic links? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cannot install lilypond on a shared Hostmonster server
> I would try running the install script *without* the --prefix option. It > should then install just fine in your home directory where you should > have write permissions. Thanks! Unfortunately it didn't work. After uninstalling, I have changed to my home dir and issued $lilypond_install/lilypond-2.18.2-1.linux-64.sh I got the below [...] Untarring lilypond_install/lilypond-2.18.2-1.linux-64.sh tar: ./usr/lib/libgs.so: Cannot create symlink to `libgs.so.8.70': Permission denied [...] It's not clear to me where it's trying to symlink what... anyway I have checked and I have write access to all dirs under ~/lilypond/usr Any more clues please? Many thanks. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cannot install lilypond on a shared Hostmonster server
Am 04.06.2016 um 19:28 schrieb Mike: > Hi there, sorry I'm not too versed in Linux. I'm having trouble installing > Lilypond on a Hostmonster account. The host is shared, and I am not root, so > I don't have complete freedom. > I downloaded lilypond-2.18.2-1.linux-64.sh in > /home1/myaccountname/lilypond_install, made it executable and then issued > ./lilypond-2.18.2-1.linux-64.sh --prefix /home1/myaccountname/ > from that directory (/home1/myaccountname/lilypond_install). > After successfully creating dirs and binaries, I get loads of errors when > untarring, see below. > Does it mean that I just cannot install it unless I buy a virtual server all > for myself? No, you shouldn't need that. LilyPond should be installable without any root privileges. > Any suggestions on what to ask/request from Hostmonster's support? I would try running the install script *without* the --prefix option. It should then install just fine in your home directory where you should have write permissions. HTH Urs > > Thanks! > Mike > > tar: ./usr/lib/libgs.so: Cannot create symlink to `libgs.so.8.70': > Permission denied > tar: ./usr/lib/libgmodule-2.0.so: Cannot create symlink to > `libgmodule-2.0.so.0.2105.0': Permission denied > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- Urs Liska www.openlilylib.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Cannot install lilypond on a shared Hostmonster server
Hi there, sorry I'm not too versed in Linux. I'm having trouble installing Lilypond on a Hostmonster account. The host is shared, and I am not root, so I don't have complete freedom. I downloaded lilypond-2.18.2-1.linux-64.sh in /home1/myaccountname/lilypond_install, made it executable and then issued ./lilypond-2.18.2-1.linux-64.sh --prefix /home1/myaccountname/ from that directory (/home1/myaccountname/lilypond_install). After successfully creating dirs and binaries, I get loads of errors when untarring, see below. Does it mean that I just cannot install it unless I buy a virtual server all for myself? Any suggestions on what to ask/request from Hostmonster's support? Thanks! Mike tar: ./usr/lib/libgs.so: Cannot create symlink to `libgs.so.8.70': Permission denied tar: ./usr/lib/libgmodule-2.0.so: Cannot create symlink to `libgmodule-2.0.so.0.2105.0': Permission denied ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Thickness of tick style barlines
2016-06-04 4:52 GMT+02:00 Andrew Bernard: > Hi Harm, > > Absolutely perfect. > > Many thanks. Glad I could help. > Worthy of the LSR don’t you think? Not sure about this. The changes in the bar-line-interface (since 2.17.5) were motivated by giving users the chance to create their own custom bar-lines. This may be done by combining exsting bar-line-types using \defineBarLine (or its scheme-equivalent), which is covered in the NR: http://lilypond.org/doc/v2.19/Documentation/notation/bars#bar-lines Or even by defining a new bar-line from scratch. Though, you'll always need scheme for this task, so the NR simply says: "If additional elements are needed, LilyPond provides a simple way to define them. For more informations on modifying or adding bar lines, see file ‘scm/bar-line.scm’." We have an example for it in the regression-tests, bar-line-define-bar-glyph.ly, although one has to say users are not expected to search there. Another example is in LSR http://lsr.di.unimi.it/LSR/Item?id=913 , but it's not that obvious. It emphasizes to deal with dots in repeat-bar-lines and defines new bar-lines accordingly. But it's not a "how-to-do-new-bar-lines". A snippet explicitely explaining how to define bar-lines from scratch would be nice. Though, I've not a good idea how to do it. The general route is clear. - define a printing-procedure (define (make-whatever-barline ...)) - assign a string to it (add-bar-glyph-print-procedure ...) - define the barline (define-bar-line ...) Though defining the printing-procedure can be whatever you manage to code. (I once put some eps into a BarLine) Adding the new definition for `make-tick-bar-line` to LSR would give an example, yes, though it would only cover this special use-case, I doubt about the benefit. Otoh, it may be worth considering making `calc-blot` public. It's a simple c/p from bar-line.scm and I was annoyed by the need to do so before. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user