Re: vim pointing to pdf-viewer and reverse
On 03/07/2012 11:09 AM, Rutger Hofman wrote: On 03/07/2012 09:12 AM, David Kastrup wrote: Stjepan Horvat writes: On Tue, Mar 6, 2012 at 5:48 PM, David Kastrup wrote: Stjepan Horvat writes: Hello..can somebody please tell me how to get vim and a pdf viewer (xpdf or evince of zathura) to work with vim lilypond-invoke-editor function..i read everything that is on the web [snip] Have you set up your EDITOR environment variable? I quote: The program ‘lilypond-invoke-editor’ is a small helper program. It will invoke an editor for the special textedit URIs, and run a web browser for others. It tests the environment variable EDITOR for the following patterns, emacs this will invoke emacsclient --no-wait +line:column file gvim this will invoke gvim --remote +:line:normcolumn file nedit this will invoke nc -noask +line file' The environment variable LYEDITOR is used to override this. It contains the command line to start the editor, where %(file)s, %(column)s, %(line)s is replaced with the file, column and line respectively. The setting emacsclient --no-wait +%(line)s:%(column)s %(file)s for LYEDITOR is equivalent to the standard emacsclient invocation. From gvim's man page, I understand how one can position the cursor at startup on a line (+line or +:line), but I do /not/ grasp how it is put on a column. Indeed, gvim gives me an error if I follow the lilypond-invoke-editor example: the +:line:column syntax is wrong. Oops, sorry, I was wrong here. I cut out the 'norm' thingy in my test. Wrong. It puts the cursor on the column. Sorry for the noise. Rutger ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: collision of notehead and stem
Hello Eluze, thanks for your quick reply! Eluze wrote: > > why do you specify once \override Stem #'direction = #up each time? > with \voiceOne or \voiceThree this happens automatically! > and with \voiceTwo all stems (and other grobs) are directed down! > The snippet comes from a generated file therefore it is not optimized for readability. If you remove all stem direction overrides except for the half note, the problem persists. Eluze wrote: > > look for inner voices in > http://lilypond.org/doc/v2.15/Documentation/notation-big-page#collision-resolution > and how voices should be arranged. > Thanks for the link. The best solution I found was using \shiftOff for the half note. I would have preferred the half note be placed to the right of the colliding chord instead of merging it with the chord, but this is a working solution. Here is the result: { \new Staff << \key c \major \time 4/4 \clef violin \new Voice { \voiceOne % 38 b'8\trill r8 cis''8.[ \( bis'!32 ( cis''32] ) \) dis''8 r8 e''8.\trill [ \( dis''32 ( e''32] ) } \new Voice { \voiceTwo % 38 < dis' fis' > 8 s8 ais'!4 b'!8 s8 < fis' cis'' > 4 } \new Voice { \voiceThree % 38 s4 \shiftOff \once \override Stem #'direction = #down fis'2 s4 } >> } -- View this message in context: http://old.nabble.com/collision-of-notehead-and-stem-tp33458484p33459365.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Sidekick error
Hello people, I'm getting an error message when using Sidekick with LilyPondTool and jEdit. When I try to set Sidekick to "Parse on Keystroke", I get the following error message: Error in method invocation: Method putBooleanProperty( java.lang.String, boolean ) not found in class'org.gjt.sp.jedit.Buffer' : at Line: 4 : in file: inline evaluation of: ``__runCachedMethod(ns) { this.callstack.set(0,ns); buffer.putBooleanProperty( . . . '' : buffer .putBooleanProperty ( "sidekick.keystroke-parse" , ! buffer .getBooleanProperty ( "sidekick.keystroke-parse" ) ) at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:77) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130) at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80) at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362) at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258) at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186) at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:225) at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:423) at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:73) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:342) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3249) at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3231) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:212) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Google hasn't been much help. The system I'm working on is brand-spanking new, just out of the box today, with Windows 7 (64-bit). Otherwise LilyPondTool is working fine, and it produces a PDF preview once I run Lilypond from the LilyPondTool menu, but it just can't update on the fly because of this Sidekick error. Can anybody help? Many thanks, Brent. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
financial support according to The Lilypond Report #24
Hi David, I am willing to support the development of LilyPond financially with small amount of money regularly. I am not sure I understand your payment plans. For example (quoting from http://news.lilynet.net/?The-LilyPond-Report-24): > >- [*Lifesaver*] Minimum €0, cap €250 per month, monthly target €800. >That means that if the target (which basically allows me to postpone my >decision to work elsewhere) is reached with everybody’s minimum already, >you are not billed. This is the option to pick if you don’t want to support >a single person as much as keep the LilyPond project from losing me. You do >what is necessary to avoid my leaving, but nothing else. Yes, it will be >annoying if it turns out you have to pay the cap more than once, but it >will also be annoying for me not even to afford survival in spite of highly >qualified work. > > Does it mean, that people should express their interest to "keep the LilyPond project from losing you" and you will let them know according to the number of payers how much should everyone each particular month pay? Marek Klein http://gregoriana.sk ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
collision of notehead and stem
The following measure produces a collision of a stem with the half note in voice 3: \version "2.14.2" { \new Staff << \key c \major \time 4/4 \clef violin \new Voice { \voiceOne \once \override Stem #'direction = #up b'8\trill r8 \once \override Stem #'direction = #up cis''8.[ \( \once \override Stem #'direction = #up bis'!32 ( \once \override Stem #'direction = #up cis''32] ) \) \once \override Stem #'direction = #up dis''8 r8 \once \override Stem #'direction = #up e''8.\trill [ \( \once \override Stem #'direction = #up dis''32 ( \once \override Stem #'direction = #up e''32] ) } \new Voice { \voiceTwo \once \override Stem #'direction = #down < dis' fis' > 8 s8 \once \override Stem #'direction = #down ais'!4 \once \override Stem #'direction = #down b'!8 s8 \once \override Stem #'direction = #down < fis' cis'' > 4 } \new Voice { \voiceThree s4 \once \override Stem #'direction = #down fis'2 s4 } >> } Is this a known problem? Do I have to adjust the note position horizontally or can the measure be notated in a way to avoid the collision? Thanks for hints... -- View this message in context: http://old.nabble.com/collision-of-notehead-and-stem-tp33458484p33458484.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Strange placement of rests when using \stemNeutral
I have found a strange effect when using \stemNeutral. In the following snippet some of the rests belonging to voice 1 are placed below the note in voice 2: { \new Staff << \key d \major \numericTimeSignature \time 3/8 \clef bass \new Voice { \voiceOne \stemNeutral \clef violin \bar "||" r8 < dis'! fis' > 16\staccato [ r16 < dis' fis' > 16\staccato ] r16 } \new Voice { \voiceTwo b4. } >> } When I omit \stemNeutral all rests are placed above the note as expected. Is there any explanation of this behavior? -- View this message in context: http://old.nabble.com/Strange-placement-of-rests-when-using-%5CstemNeutral-tp33459841p33459841.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim pointing to pdf-viewer and reverse
On 03/07/2012 09:12 AM, David Kastrup wrote: Stjepan Horvat writes: On Tue, Mar 6, 2012 at 5:48 PM, David Kastrup wrote: Stjepan Horvat writes: Hello..can somebody please tell me how to get vim and a pdf viewer (xpdf or evince of zathura) to work with vim lilypond-invoke-editor function..i read everything that is on the web An impressive feat. and couldn't figure it out..thank you. What is unclear with http://lilypond.org/doc/v2.15/Documentation/usage/point-and-click>? I put the command 'urlCommand "lilypond-invoke-editor %s"' at the end of /etc/xpdfrc (i use archlinux)..and then when i tryed to hit a note in xpdf it tryes to open emacs..the secend thing that i tryed is to start gvim with options 'gvim --remote +:line:normcolumn myfile.ly' and i get an error like this in gvim 'E492: Not an editor command: :line:normcolumn|cal foreground()|if&im|star|en|redr|f' and this 'E247: no registered server named "GVIM": Send failed. Trying to execute locally' in terminal.. I tought it is simple as that..but from mail-archive i saw that it is more complicated than i tought..but still did not understand how to set it up.. Have you set up your EDITOR environment variable? I quote: The program ‘lilypond-invoke-editor’ is a small helper program. It will invoke an editor for the special textedit URIs, and run a web browser for others. It tests the environment variable EDITOR for the following patterns, emacs this will invoke emacsclient --no-wait +line:column file gvim this will invoke gvim --remote +:line:normcolumn file nedit this will invoke nc -noask +line file' The environment variable LYEDITOR is used to override this. It contains the command line to start the editor, where %(file)s, %(column)s, %(line)s is replaced with the file, column and line respectively. The setting emacsclient --no-wait +%(line)s:%(column)s %(file)s for LYEDITOR is equivalent to the standard emacsclient invocation. From gvim's man page, I understand how one can position the cursor at startup on a line (+line or +:line), but I do /not/ grasp how it is put on a column. Indeed, gvim gives me an error if I follow the lilypond-invoke-editor example: the +:line:column syntax is wrong. The gvim/GVIM stuff on 'no registered server' (I think caused be the --remote flag) can be ignored, gvim starts up stand-alone anyway after that. Evince appears to have its own set of obstacles. Some Ubuntu pages seem to suggest the problem (Permission denied) is related to apparmor.d but I have no clue how to make that behave as desired. Rutger ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Formatting of lyrics
Francisco Vila writes: > 2012/3/6 David Kastrup : >> http://code.google.com/p/lilypond/issues/detail?id=2380> is fixed, >> so you might want to take a look at modifying the now working \responsum >> again. > > % no need to \include "gregotian.ly" > > #(define (add-suffix-to-lyrics prefix music) >(let ((found? #f)) > (map-some-music > (lambda (m) > (if found? m > (and (music-is-of-type? m 'lyric-event) >(begin > (set! (ly:music-property m 'text) >(string-append (ly:music-property m 'text) prefix)) > (set! found? #t) > m > music))) > > postResponsum = > #(define-music-function (parser location music) (ly:music?) >(add-suffix-to-lyrics "℟." music)) I don't think that makes sense: in the example, all the R's are aligned in a column. Looks like you want to fudge the note durations (like c2*1/2 s4) such that you have a quarter note or skip on which you can place all the R's aligned. Probably one would need the same for \responsum etc? > sl =% how to use this? > #(define-music-function (parser location arg) (ly:music?) > #{ \tweak #'self-alignment-X #LEFT \tweak #'X-offset #-0.7 #arg #}) No idea how to use this: I just translated the given tweak (which can't be put into a music identifier) into a music function to make it work as intended. But I have no idea what was intended. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Build error. MergeFonts: Can't find font: feta11.pfb
On 06/03/2012 4:03 PM, Nils wrote: Hello, The system is Archlinux and I'm building from AUR with this small script. It does nothing special: https://aur.archlinux.org/packages/li/lilypond-git/PKGBUILD The git version does not build on my 64bit system anymore, however it does build on my 32bit laptop. Both systems are arch linux with the same dependency versions, at least as close as possible you can get with 32/64 bit differences. I tried a few weeks ago and it was the same. I am not sure about the real error since the build process is so insanely verbose, especially in the font generation process. This is at least the symptom and the only thing in the log with "error", except the file error.something Converting PostScript graphics to Type 1 font programs... Cannot open /var/abs/local/yaourtbuild/lilypond-git/src/lilypond-build/mf/out/feta11.pfb The requested file, feta11.pfb, does not exist MergeFonts: Can't find font: feta11.pfb Called from... emmentaler-11.pe: line 17 make[1]: *** [out/emmentaler-11.svg] Error 1 make[1]: *** Waiting for unfinished jobs Additional information: No *11.pfb is existent. But all other font sizes.pfb were generated correctly. Nils If you type make again multiple times, do you see the same problem or does the build eventually complete? What's your version of make? Regards, Julien ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Kodály Stick Notation
I am trying to come up with a with of writing Kodály stick notation, which is essentially regular notation with the note heads removed (except for half notes and whole notes) that includes the solfege designation and the lyrics. This part is not a problem. The problem is that the accepted format requires the bar lines to be aligned down the page so that the rhythmic values line up with each other. I resorted to combining multiple staves in parallel for each line of music to solve this problem. This produces something very similar to what I am looking for, however I am now unable to place a double bar at the end of the piece because it shows up at the end of every line. Is there some better way that I can do this? http://old.nabble.com/file/p33456044/The%2BFish%2BPole%2BSong.ly The+Fish+Pole+Song.ly http://old.nabble.com/file/p33456044/The%2BFish%2BPole%2BSong.pdf The+Fish+Pole+Song.pdf -- View this message in context: http://old.nabble.com/Kod%C3%A1ly-Stick-Notation-tp33456044p33456044.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
ANN: Frescobaldi 2.0.4
Hi all, Frescobaldi 2.0.4 (www.frescobaldi.org) is out with the following changes: * Translations: - updated: pl, nl, cs * New features: - view->line numbers - in the documents list, it is now possible to right-click a group of selected documents (or a directory name, if grouping is enabled), to close or save multiple documents at once. - automatic completion in the snippet editor - python snippets may now define a main() function that can do everything - new delete-lines snippet, bound by default to Ctrl-K - splash screen on startup (can be turned off in the preferences) * Improvements: - opening many documents (e.g. a large session) is now much faster - waiting for LilyPond to return information on Settings->Ok now does not block the user interface anymore and shows progress if it takes some time - built-in manual now documents settings and session dialog * Bug fixes: - fix icon theme index files not in source tarball (regression since 2.0.3) - fix hyphenation dictionaries not in source tarball - fixed memory leak (closed documents that had been shown remained in memory) It's my birthday present to the LilyPond-loving community :-) Enjoy! -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim pointing to pdf-viewer and reverse
On 03/07/2012 11:09 AM, Rutger Hofman wrote: On 03/07/2012 09:12 AM, David Kastrup wrote: Stjepan Horvat writes: On Tue, Mar 6, 2012 at 5:48 PM, David Kastrup wrote: Stjepan Horvat writes: Hello..can somebody please tell me how to get vim and a pdf viewer (xpdf or evince of zathura) to work with vim lilypond-invoke-editor [snip] Evince appears to have its own set of obstacles. Some Ubuntu pages seem to suggest the problem (Permission denied) is related to apparmor.d but I have no clue how to make that behave as desired. I got it to work after all on Ubuntu Lucid: I followed instructions in http://lists.gnu.org/archive/html/lilypond-user/2007-06/msg00185.html (and Mark Knoop's follow-up at a lower speed). IFAIU, this configures Gnome apps to handle 'textedit' commands by invoking lilypond-invoke-editor. The apparmor.d stuff: Edit /etc/apparmor.d/abstractions/evince to add the following 2 lines (replace /usr/ with the prefix of your Lilypond installation): /usr/bin/lilypond-invoke-editor Ux, /usr/bin/lilypond-wrapper.guile Ux, The second line appears necessary because lilypond-invoke-editor is a symlink to lilypond-wrapper.guile which is actually executed. Then $ sudo /etc/init.d/apparmor reload Rutger ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [LAD] Laborejo Release 0.1 Announcement - Supplemental
On Thu, 8 Mar 2012 00:20:30 +0100 Nils wrote: > Laborejo, Esperanto for "Workshop", is used to craft music through notation. > > It is a Lilypond GUI frontend, a MIDI creator and finally a tool collection > to inspire and help you compose. > It works by reducing music-redundancy and by seperating layout and data. > Don't worry about the layout, just concentrate on the music. > > Screenshot (Laborejo and Lilypond, side by side): > http://www.laborejo.org/images/screenshots/2012-01-31-223820_3840x1080_scrot.png > > This is the first release, version number 0.1 > Download: https://github.com/nilsgey/Laborejo/tarball/0.1 > Dependencies: http://www.laborejo.org/documentation I am terribly, sorry. I forgot the quick instructions: Linux Instructions: Unpack, cd into the created directoy, execute: ./laborejo-qt.sh Then use the number- and cursor keys for immediate success! Check Help->Manual for navigational and note/rest entry keys. Everything else is in the menus. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Laborejo Release 0.1 Announcement
Laborejo, Esperanto for "Workshop", is used to craft music through notation. It is a Lilypond GUI frontend, a MIDI creator and finally a tool collection to inspire and help you compose. It works by reducing music-redundancy and by seperating layout and data. Don't worry about the layout, just concentrate on the music. Screenshot (Laborejo and Lilypond, side by side): http://www.laborejo.org/images/screenshots/2012-01-31-223820_3840x1080_scrot.png This is the first release, version number 0.1 Download: https://github.com/nilsgey/Laborejo/tarball/0.1 Dependencies: http://www.laborejo.org/documentation There are too many features to mention them all and too many missing features and bugs to warn you. Most important known problems: * This is Alpha Grade Software. Don't use for long-term work. However, the produced midis and PDFs will last forever. * Performance can get bad very quickly if you use Containers. * There is no built-in sophisticated midi player/jack midi output yet. You have to export midi files. * Documentation is nearly non-existent. Have fun, it would be nice to hear from you! Nils http://www.laborejo.org (All kinds of crazy social web services are linked there!) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Default length of laissezvibrer ties
Hi Nick, 2012/3/7 Janek Warchoł : > On Wed, Mar 7, 2012 at 8:35 AM, Nick Payne > wrote: >> The default length of laissezvibrer ties in Lilypond is extremely short >> compared to those I see in commercially published scores. Here's the >> Lilypond output (default and tweaked) compared to the LV ties in scores from >> three different publishers: >> \version "2.15.32" >> >> \version "2.15.32" >> >> xLV = #(define-music-function (parser location further) (number?) #{ >> \once \override LaissezVibrerTie #'X-extent = #'(0 . 0) >> \once \override LaissezVibrerTie #'details #'note-head-gap = #(/ further >> -2) >> \once \override LaissezVibrerTie #'extra-offset = #(cons (/ further 2) >> 0) >> #}) >> >> \relative c' { >> c4\laissezVibrer s s s >> \xLV #3 c4\laissezVibrer s s s >> } > > I'd make it halfway between current length and your longer version. > Keep in mind that it can be used for "let ring" indications in guitar > music (unless i'm mistaken), and that can be a pretty dense music. > > cheers, > Janek as a workaround (instead of tweaking every LaissezVibrerTie one by one) I come up with: \version "2.14.2" #(define factor 2) #(define (enlarged-extent-laissez-vibrer::print grob) (let* ((stil (laissez-vibrer::print grob)) (stil-ext (ly:stencil-extent stil X)) (stil-length (interval-length stil-ext)) (new-stil-length (* stil-length factor)) (scale-factor (/ new-stil-length stil-length)) (new-stil (ly:stencil-scale stil scale-factor 1)) (new-stil-ext (ly:stencil-extent new-stil X)) (x-corr (- (car stil-ext) (car new-stil-ext (ly:stencil-translate-axis new-stil x-corr X))) #(assoc-set! (assoc-ref all-grob-descriptions 'LaissezVibrerTie) 'stencil enlarged-extent-laissez-vibrer::print) \relative c' { \laissezVibrer } You may want to play around with the value of "factor" to find sth that fits your needs. Works with 2.15.31, too. HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Default length of laissezvibrer ties
On Wed, Mar 7, 2012 at 8:35 AM, Nick Payne wrote: > The default length of laissezvibrer ties in Lilypond is extremely short > compared to those I see in commercially published scores. Here's the > Lilypond output (default and tweaked) compared to the LV ties in scores from > three different publishers: > \version "2.15.32" > > \version "2.15.32" > > xLV = #(define-music-function (parser location further) (number?) #{ > \once \override LaissezVibrerTie #'X-extent = #'(0 . 0) > \once \override LaissezVibrerTie #'details #'note-head-gap = #(/ further > -2) > \once \override LaissezVibrerTie #'extra-offset = #(cons (/ further 2) > 0) > #}) > > \relative c' { > c4\laissezVibrer s s s > \xLV #3 c4\laissezVibrer s s s > } I'd make it halfway between current length and your longer version. Keep in mind that it can be used for "let ring" indications in guitar music (unless i'm mistaken), and that can be a pretty dense music. cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: difficulty filling the whole page
On Wed, Mar 7, 2012 at 12:24 PM, Jean-Alexis Montignies wrote: > Sorry, this important information was missing :) > > I'm still at 2.15.29 "still"? Lol, some people didn't switch from 2.10.33 :P As for your question, any reason not to set page-count = #1 to force Lily to fill one page only? HTH, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Default length of laissezvibrer ties
2012/3/7 Nick Payne : > The default length of laissezvibrer ties in Lilypond is extremely short > compared to those I see in commercially published scores. You are right. I have just done this http://paconet.org/lilypond/bach-cbt1.pdf and that would have been very useful. -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Build error. MergeFonts: Can't find font: feta11.pfb
On Wed, 7 Mar 2012 07:48:34 - "Phil Holmes" wrote: > - Original Message - > From: "Nils" > To: > Sent: Tuesday, March 06, 2012 9:03 PM > Subject: Build error. MergeFonts: Can't find font: feta11.pfb > > > > Hello, > > > > The system is Archlinux and I'm building from AUR with this small > > script. It does nothing special: > > https://aur.archlinux.org/packages/li/lilypond-git/PKGBUILD > > > > The git version does not build on my 64bit system anymore, however it does > > build on my 32bit laptop. Both systems are arch linux with the same > > dependency versions, at least as close as possible you can get with 32/64 > > bit differences. > > I tried a few weeks ago and it was the same. > > > > I am not sure about the real error since the build process is so insanely > > verbose, especially in the font generation process. > > > > This is at least the symptom and the only thing in the log with "error", > > except the file error.something > > > > Converting PostScript graphics to Type 1 font programs... > > Cannot open > > /var/abs/local/yaourtbuild/lilypond-git/src/lilypond-build/mf/out/feta11.pfb > > The requested file, feta11.pfb, does not exist > > MergeFonts: Can't find font: feta11.pfb > > Called from... > > emmentaler-11.pe: line 17 > > make[1]: *** [out/emmentaler-11.svg] Error 1 > > make[1]: *** Waiting for unfinished jobs > > > > Additional information: No *11.pfb is existent. But all other font > > sizes.pfb were generated correctly. > > > > > Are you running a multi-cpu build? (i.e. make -jN). Have you directed the > make output to a file so you can check for the presence of an attempt to > make the feta11 files? > > -- > Phil Holmes > > Yes, it is a race condition. I was building with j4, quadcore. My 32bit system, which builds with j2, succeeded. Nils ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: collision of notehead and stem
ornello wrote: > > The following measure produces a collision of a stem with the half note in > voice 3: > > > Is this a known problem? Do I have to adjust the note position > horizontally or can the measure be notated in a way to avoid the > collision? > > why do you specify once \override Stem #'direction = #up each time? with \voiceOne or \voiceThree this happens automatically! and with \voiceTwo all stems (and other grobs) are directed down! look for inner voices in http://lilypond.org/doc/v2.15/Documentation/notation-big-page#collision-resolution and how voices should be arranged. hth Eluze -- View this message in context: http://old.nabble.com/collision-of-notehead-and-stem-tp33458484p33458868.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: stem length of eighth & 16th notes are too long.
Hi, 2012/3/7 MING TSANG : > Thank you. > > If I don't integrate Ez_numbers_engraver, how can I display numbers in the > notehead? I simply overlooked that you want _numbers_ to be displayed instead of _characters_. So you're right, and the Ez_numbers_engraver can't be deleted. Sorry, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: difficulty filling the whole page
Sorry, this important information was missing :) I'm still at 2.15.29 Jean-Alexis On 7 mars 2012, at 12:19, James wrote: > hello, > > On 7 March 2012 11:17, Jean-Alexis Montignies wrote: >> >> On 7 mars 2012, at 12:10, Hans Aikema wrote: >> >>> On 7-3-2012 11:26, Jean-Alexis Montignies wrote: Hi there, I've written a score and after playing with spacing, and margins I made it a one page score. But at the end of the page, there is about 20 mm left. If I increase the top margin to 1mm (it's 0 for now as is bottom margin), lilypond add a second page, though obviously from the human perspective there is still plenty of room :) Any clue? > > Also which version of LilyPond are you using? > > > -- > -- > > James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: difficulty filling the whole page
hello, On 7 March 2012 11:17, Jean-Alexis Montignies wrote: > > On 7 mars 2012, at 12:10, Hans Aikema wrote: > >> On 7-3-2012 11:26, Jean-Alexis Montignies wrote: >>> Hi there, >>> >>> I've written a score and after playing with spacing, and margins I made it >>> a one page score. >>> But at the end of the page, there is about 20 mm left. If I increase the >>> top margin to 1mm (it's 0 for now as is bottom margin), lilypond add a >>> second page, though obviously from the human perspective there is still >>> plenty of room :) >>> >>> Any clue? Also which version of LilyPond are you using? -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: difficulty filling the whole page
On 7 mars 2012, at 12:10, Hans Aikema wrote: > On 7-3-2012 11:26, Jean-Alexis Montignies wrote: >> Hi there, >> >> I've written a score and after playing with spacing, and margins I made it a >> one page score. >> But at the end of the page, there is about 20 mm left. If I increase the top >> margin to 1mm (it's 0 for now as is bottom margin), lilypond add a second >> page, though obviously from the human perspective there is still plenty of >> room :) >> >> Any clue? >> >> Greetings, >> >> Jean-Alexis >> >> >> ___ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> . >> > Jean-Alexis, > > Could it be space reserved for an empty footer? It doesn't look so, because if I set ragged-last-bootom to false, the page is filled. So I found a solution, but the problem is that I would like to increase the top margin now, because there's no space at all on the top of the paper, my printer seem to be able to print with no margin. So I now there is plenty of space, but if I increase the margin, even by 1mm, it spans the staves on two pages. Jean-Alexis For now I have: \paper { top-margin = 0\mm bottom-margin = 0\mm ragged-last-bottom = ##f last-bottom-spacing #'basic-distance = #0 } \layout { \context { \Lyrics \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'padding = #0 \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'padding = #0.5 \override VerticalAxisGroup #'nonstaff-unrelatedstaff-spacing #'padding = #0 } \context { \ChordNames \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'padding = #0 \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'padding = #0.5 \override VerticalAxisGroup #'nonstaff-unrelatedstaff-spacing #'padding = #0 } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: difficulty filling the whole page
On 7-3-2012 11:26, Jean-Alexis Montignies wrote: Hi there, I've written a score and after playing with spacing, and margins I made it a one page score. But at the end of the page, there is about 20 mm left. If I increase the top margin to 1mm (it's 0 for now as is bottom margin), lilypond add a second page, though obviously from the human perspective there is still plenty of room :) Any clue? Greetings, Jean-Alexis ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user . Jean-Alexis, Could it be space reserved for an empty footer? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: difficulty filling the whole page
Hello, On 7 March 2012 10:26, Jean-Alexis Montignies wrote: > Hi there, > > I've written a score and after playing with spacing, and margins I made it a > one page score. > But at the end of the page, there is about 20 mm left. If I increase the top > margin to 1mm (it's 0 for now as is bottom margin), lilypond add a second > page, though obviously from the human perspective there is still plenty of > room :) > > Any clue? > I'd suggest generally that you get into the habit of setting some \paper { } variables for all your scores. For example I always use (among other specific settings) \paper { indent = 10\mm left-margin = 15\mm right-margin = 15\mm bottom-margin = 15\mm top-margin = 10\mm line-length = 180\mm ragged-last-bottom = ##f } which suits my needs for A4 paper. So you could then play about with ragged-last-bottom and bottom-margin. Hope this helps. James -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim pointing to pdf-viewer and reverse
Frescobaldi is very good and i like it..the only lack of it is that it doesn't have vim mode..and intergrated midi player..10/10..i'm very used to work without mouse..selecting whole line is simple as shift+v..y for yank and p for paste..:) I will try to understand it..and get it to work this afternoon.. On Wed, Mar 7, 2012 at 9:12 AM, David Kastrup wrote: > Stjepan Horvat writes: > >> On Tue, Mar 6, 2012 at 5:48 PM, David Kastrup wrote: >>> Stjepan Horvat writes: >>> Hello..can somebody please tell me how to get vim and a pdf viewer (xpdf or evince of zathura) to work with vim lilypond-invoke-editor function..i read everything that is on the web >>> >>> An impressive feat. >>> and couldn't figure it out..thank you. >>> >>> What is unclear with >>> http://lilypond.org/doc/v2.15/Documentation/usage/point-and-click>? > >> I put the command 'urlCommand "lilypond-invoke-editor %s"' at the end >> of /etc/xpdfrc (i use archlinux)..and then when i tryed to hit a note >> in xpdf it tryes to open emacs..the secend thing that i tryed is to >> start gvim with options 'gvim --remote +:line:normcolumn myfile.ly' >> and i get an error like this in gvim 'E492: Not an editor command: >> :line:normcolumn|cal foreground()|if &im|star|en|redr|f' and this >> 'E247: no registered server named "GVIM": Send failed. Trying to >> execute locally' in terminal.. >> >> I tought it is simple as that..but from mail-archive i saw that it is >> more complicated than i tought..but still did not understand how to >> set it up.. > > Have you set up your EDITOR environment variable? I quote: > > The program 'lilypond-invoke-editor' is a small helper program. It will > invoke an editor for the special textedit URIs, and run a web browser for > others. It tests the environment variable EDITOR for the following patterns, > > emacs > >this will invoke > >emacsclient --no-wait +line:column file > > gvim > >this will invoke > >gvim --remote +:line:normcolumn file > > nedit > >this will invoke > > nc -noask +line file' > > The environment variable LYEDITOR is used to override this. It contains the > command line to start the editor, where %(file)s, %(column)s, %(line)s is > replaced with the file, column and line respectively. The setting > >emacsclient --no-wait +%(line)s:%(column)s %(file)s > > for LYEDITOR is equivalent to the standard emacsclient invocation. > > > > -- > David Kastrup -- Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
difficulty filling the whole page
Hi there, I've written a score and after playing with spacing, and margins I made it a one page score. But at the end of the page, there is about 20 mm left. If I increase the top margin to 1mm (it's 0 for now as is bottom margin), lilypond add a second page, though obviously from the human perspective there is still plenty of room :) Any clue? Greetings, Jean-Alexis ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim pointing to pdf-viewer and reverse
Stjepan Horvat writes: > On Tue, Mar 6, 2012 at 5:48 PM, David Kastrup wrote: >> Stjepan Horvat writes: >> >>> Hello..can somebody please tell me how to get vim and a pdf viewer >>> (xpdf or evince of zathura) to work with vim lilypond-invoke-editor >>> function..i read everything that is on the web >> >> An impressive feat. >> >>> and couldn't figure it out..thank you. >> >> What is unclear with >> http://lilypond.org/doc/v2.15/Documentation/usage/point-and-click>? > I put the command 'urlCommand "lilypond-invoke-editor %s"' at the end > of /etc/xpdfrc (i use archlinux)..and then when i tryed to hit a note > in xpdf it tryes to open emacs..the secend thing that i tryed is to > start gvim with options 'gvim --remote +:line:normcolumn myfile.ly' > and i get an error like this in gvim 'E492: Not an editor command: > :line:normcolumn|cal foreground()|if &im|star|en|redr|f' and this > 'E247: no registered server named "GVIM": Send failed. Trying to > execute locally' in terminal.. > > I tought it is simple as that..but from mail-archive i saw that it is > more complicated than i tought..but still did not understand how to > set it up.. Have you set up your EDITOR environment variable? I quote: The program ‘lilypond-invoke-editor’ is a small helper program. It will invoke an editor for the special textedit URIs, and run a web browser for others. It tests the environment variable EDITOR for the following patterns, emacs this will invoke emacsclient --no-wait +line:column file gvim this will invoke gvim --remote +:line:normcolumn file nedit this will invoke nc -noask +line file' The environment variable LYEDITOR is used to override this. It contains the command line to start the editor, where %(file)s, %(column)s, %(line)s is replaced with the file, column and line respectively. The setting emacsclient --no-wait +%(line)s:%(column)s %(file)s for LYEDITOR is equivalent to the standard emacsclient invocation. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim pointing to pdf-viewer and reverse
On Wed, 7 Mar 2012, Stjepan Horvat wrote: I put the command 'urlCommand "lilypond-invoke-editor %s"' at the end of /etc/xpdfrc (i use archlinux)..and then when i tryed to hit a note in xpdf it tryes to open emacs..the secend thing that i tryed is to start gvim with options 'gvim --remote +:line:normcolumn myfile.ly' and i get an error like this in gvim 'E492: Not an editor command: :line:normcolumn|cal foreground()|if &im|star|en|redr|f' and this 'E247: no registered server named "GVIM": Send failed. Trying to execute locally' in terminal.. I tought it is simple as that..but from mail-archive i saw that it is more complicated than i tought..but still did not understand how to set it up.. I once tried to set something like that up with vim. Did have a little bit of luck with xpdf but I never succeeded setting it up with evince. The easiest way to be able to benifit from this cool point-and-click feature is installing the newest Frescobaldi. Then it just works out-of-the-box. Even in both ways: you can click in the Lilypond source and see where it is in the pdf-viewer and vice-versa! That's what I have done and it works great. I still also use vim to quickly edit Lilypond files, but without point-and-click functionality. -- MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: vim pointing to pdf-viewer and reverse
I put the command 'urlCommand "lilypond-invoke-editor %s"' at the end of /etc/xpdfrc (i use archlinux)..and then when i tryed to hit a note in xpdf it tryes to open emacs..the secend thing that i tryed is to start gvim with options 'gvim --remote +:line:normcolumn myfile.ly' and i get an error like this in gvim 'E492: Not an editor command: :line:normcolumn|cal foreground()|if &im|star|en|redr|f' and this 'E247: no registered server named "GVIM": Send failed. Trying to execute locally' in terminal.. I tought it is simple as that..but from mail-archive i saw that it is more complicated than i tought..but still did not understand how to set it up.. On Tue, Mar 6, 2012 at 5:48 PM, David Kastrup wrote: > Stjepan Horvat writes: > >> Hello..can somebody please tell me how to get vim and a pdf viewer >> (xpdf or evince of zathura) to work with vim lilypond-invoke-editor >> function..i read everything that is on the web > > An impressive feat. > >> and couldn't figure it out..thank you. > > What is unclear with > http://lilypond.org/doc/v2.15/Documentation/usage/point-and-click>? > > -- > David Kastrup > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user -- Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user