emacs and using the .info lilypond documentation

2014-12-02 Thread Kevin Patrick Barry
Dear lilypond users, My apologies in advance if the answer to this is already out there and I just didn't find it. I would like to be able to access the lilypond docs in emacs using the .info files. So I downloaded the docs tarball and extracted it, and then made an entry in the init file to

Re: emacs and using the .info lilypond documentation

2014-12-02 Thread Kevin Patrick Barry
the images. I hope this helps. Hwaen Ch'uqi On 12/2/14, Kevin Patrick Barry barr...@tcd.ie wrote: Dear lilypond users, My apologies in advance if the answer to this is already out there and I just didn't find it. I would like to be able to access the lilypond docs in emacs using

Changing default font size

2014-06-06 Thread Kevin Patrick Barry
Dear LilyPond users, I would like the font in a series of files to be size 10, but I don't want to have to put \abs-fontsize in every markup. I would prefer to put it in my style file, but when I mess with the font sizes there, the size of the music glyphs also changes. Is there a way to change

Re: Changing default font size

2014-06-06 Thread Kevin Patrick Barry
wrote: 2014-06-06 14:31 GMT+02:00 Kevin Patrick Barry barr...@tcd.ie: Dear LilyPond users, I would like the font in a series of files to be size 10, but I don't want to have to put \abs-fontsize in every markup. I would prefer to put it in my style file, but when I mess with the font sizes

Re: Changing default font size

2014-06-06 Thread Kevin Patrick Barry
-fontsize #10 size 10 } } On 6 June 2014 14:48, Federico Bruni fedel...@gmail.com wrote: Can you provide a minimal example? 2014-06-06 15:39 GMT+02:00 Kevin Patrick Barry barr...@tcd.ie: Dear Federico, Thank you for responding. I had read the section you linked (and copied the code

Re: lilypond-user Digest, Vol 139, Issue 18

2014-06-06 Thread Kevin Patrick Barry
Dear Jan, Thank you very much. I have no idea how it works, but it does! Kevin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

precisely controlling with width of an example

2014-04-17 Thread Kevin Patrick Barry
Dear LilyPond users, I am doing musical examples for a book, and the publisher requires a precise width of 4inches. Is there any way to accomplish this in LilyPond? I can set the line-width or the paper-width to 4 inches, but in both cases LilyPond will produce slightly wider examples to

Re: precisely controlling with width of an example

2014-04-17 Thread Kevin Patrick Barry
Have you considered using lilypond-book? Yes I have occasionally used it, but this work is for OUP and they will only accept eps or tiff files of musical examples. I'm not sure how lilypond-book would help. The author (not me) is probably submitting the work in .docx or some similar format.

Re: using manually installed fonts on OSX

2014-03-04 Thread Kevin Patrick Barry
Hraban Ramm lilypon...@fiee.net wrote: Am 2014-03-03 um 15:15 schrieb Kevin Patrick Barry barr...@tcd.ie: Do you find an entry for Cardo in the list from lilypond -dshow-available-fonts x ? Maybe it's called Cardo-Regular or the like. Cardo doesn't appear anywhere in the list, but I can use

Re: using manually installed fonts on OSX

2014-03-03 Thread Kevin Patrick Barry
Do you find an entry for Cardo in the list from lilypond -dshow-available-fonts x ? Maybe it's called Cardo-Regular or the like. Cardo doesn't appear anywhere in the list, but I can use it just fine in other programs. I tried it today on my Ubuntu machine and experienced the same problem. I

using manually installed fonts on OSX

2014-03-02 Thread Kevin Patrick Barry
Dear LilyPond users, I have installed a font on my system (Cardo) and would like my musical examples to use the same font as the document they will appear in. LilyPond, however, doesn't seem to recognise that the font exists on my system. I can use it fine in LibreOffice, and XeTeX, and it

Re:markup? and number?

2014-02-04 Thread Kevin Patrick Barry
Can you please post what you have achieved so far? It's hard to guess without seeing your code. Marc Sorry for the slow reply. A small example of what I am trying follows: #(define-markup-command (sus layout props args) (markup-list?) (interpret-markup layout props #{ \markup

markup? and number?

2014-02-03 Thread Kevin Patrick Barry
Dear LilyPond users, I am trying to make a markup function that will take a list as an argument. Some of the members of the list will be treated as markup and some will be treated as numbers. Is there a way to convert one type to the other? Or am I going about this all the wrong way (I have no

Re:emacs point-and-click on OSX

2013-12-21 Thread Kevin Patrick Barry
(Oops, replied only to David...) Guile hasn?t been installed on my Mac (except as part of Lilypond). That is, the command guile didn?t work. I tried sudo port install guile, and it put a binary of version 1.8.8 in /opt/local/bin. Perhaps try that out. Thanks for the suggestion. I installed

Re: emacs point-and-click on OSX

2013-12-20 Thread Kevin Patrick Barry
Once Mac Ports is installed, the following: sudo port install xpdf does install xpdf and all necessary stuff. Thanks for this. I am getting closer, but still no cigar. Xpdf is working, and it is, I think, calling the lilypond-invoke-editor script correctly when I click on a note in a pdf

Re: emacs point-and-click on OSX

2013-12-19 Thread Kevin Patrick Barry
Patrick Barry barr...@tcd.ie a écrit : Dear LilyPond users, Can anyone provide me with instructions (or a link) to help me get point-and-click working on OSX? I use aquamacs (i.e. emacs) to edit lilypond files, and compilation/view works fine, but point and click still opens the built

Re:emacs point-and-click on OSX

2013-12-19 Thread Kevin Patrick Barry
Alternatively, you might want to try to get xdvi running on your system. It's quite likely less fancy, but its configuration is simple, and the required file in .xdvirc in your home directory should work under MacOSX as well. I feel like an idiot for asking this, but how would that help? I

emacs point-and-click on OSX

2013-12-18 Thread Kevin Patrick Barry
Dear LilyPond users, Can anyone provide me with instructions (or a link) to help me get point-and-click working on OSX? I use aquamacs (i.e. emacs) to edit lilypond files, and compilation/view works fine, but point and click still opens the built-in LilyPond editor. I tried searching for

Re:improving LilyPond useability

2013-12-11 Thread Kevin Patrick Barry
I just thought I'd add my thoughts to the pile (I'm responding to more than one thread of ideas; apologies for that). Re text editors/lilypond environments and people's first experience with LilyPond: when I first tried LilyPond (on the advice of a friend who had never used it) I tried it using

columns in markup-command

2013-11-18 Thread Kevin Patrick Barry
Dear lilypond users, I am trying to make a lilypond command for Roman numerals with a length property that I can override. I have no idea what I'm doing when it comes to scheme, and I can't seem to get a column to work properly. The function I am trying to write is below. The problem is that

Re:columns in markup-command

2013-11-18 Thread Kevin Patrick Barry
Dear Jan and Eluze, Thank you both for the prompt replies - they both worked! Kevin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re:getting musical examples to an exact textwidth with a style file

2013-08-04 Thread Kevin Patrick Barry
Have you looked at lilypond-book? That's likely the tool of choice here, and it is not clear from your description that you are using it. -- David Kastrup Sorry for the delay in responding. Yes when I first started the project (a PhD thesis) I was using lilypond-book, but I abandoned it

Re: Re:getting musical examples to an exact textwidth with a style file

2013-08-04 Thread Kevin Patrick Barry
** If you put the examples inside a \book block, you can specify system spacing with normal lilypond commands, and the images are kept together on the page. I tried that and ended up with a full page example instead of a cropped system. Does using \book mean I have to manually set the page

getting musical examples to an exact textwidth with a style file

2013-08-03 Thread Kevin Patrick Barry
Dear Lilypond users, I am creating musical examples for a text block with a fixed width (100.8mm) and am trying to create a style file that I can use for all of the examples (there will probably be a couple of hundred). I thought I could do this by modifying some combination of page-width,

Re: Hairpin too short across bar line

2013-06-09 Thread Kevin Patrick Barry
The 2.16 syntax for what you want is: \override Hairpin #'to-barline = ##f I don't know what the 2.17 is, but it should prevent hairpins from stopping at bar lines. K. On 9 June 2013 20:28, lilypond-user-requ...@gnu.org wrote: Send lilypond-user mailing list submissions to

Re:many users don't know about \shape

2013-05-11 Thread Kevin Patrick Barry
Or the post processing would have been done using inkscape or some similar tool... At any rate, \shape is no substitute to fixing LilyPond's typesetting of slurs. It's a stop-gap measure tied into a particular version of LilyPond and loosely tied into a particular version of a score.

latex with PNG images using lilypond-book?

2013-04-29 Thread Kevin Patrick Barry
Dear Francisco, I'm not sure I understand what you want; is it that you want to know how to include PNG images in a latex document? The --png option in lilypond will produce png images and they can be included in latex using the graphicx package and \includegraphics{}. Is that what you want?

Peculiar issue with something I copied from advanced tweaks

2013-04-27 Thread Kevin Patrick Barry
Dear LilyPond users, I need help with a strange problem I have encountered. I wanted to edit the control points of a phrasing slur that has a line break. I found a page about this in the lilypond manual, from which I adapted the following code: #(define (my-callback grob) (let* ( ;; have we

Re: Peculiar issue with something I copied from advanced tweaks

2013-04-27 Thread Kevin Patrick Barry
is Mendelssohn! Thanks again, Kevin On 27 April 2013 13:37, David Nalesnik david.nales...@gmail.com wrote: Hi Kevin, On Sat, Apr 27, 2013 at 6:54 AM, Kevin Patrick Barry barr...@tcd.iewrote: Dear LilyPond users, I need help with a strange problem I have encountered. I wanted to edit the control

Re: Re: grace note stem lengths

2013-03-14 Thread Kevin Patrick Barry
Dear All, Thank you for the suggestions. Overriding the Beam positions did the trick! Kevin On 14 March 2013 20:43, Torsten Hämmerle torsten.haemme...@web.de wrote: Hi Kevin, Apart from changing the Stem length-fraction (either by scheme commands or an accustomed \override), as soon as

Re:Turn placed between notes

2013-03-10 Thread Kevin Patrick Barry
My preferred method for placing a turn between notes is to tweak the X-offset, viz. c -\tweak #'X-offset #2 \turn and modify the value accordingly. Seems a bit simpler than the snippet solution (which seems to produce a smaller turn than the default articulation?). Kevin

Re:Turn placed between notes

2013-03-10 Thread Kevin Patrick Barry
The problem with that approach is that it does not adapt to LilyPond choosing to use wider or narrower spacing depending on the page layout. The problem with the other approach is that it involves more (and more complex) code. Would an \afterGrace-like command for delayed turn be a good

Re:hidden notes causing semiquaver stems to lengthen

2013-02-11 Thread Kevin Patrick Barry
Thank you this seems to be work. Kevin \hideNotes actually makes the notes, and beams and stems, transparent. This means they still get space reserved, they just don't print. Sometimes people need exactly this, but here the extra (transparent) beams force your visible stems to lengthen to

\tweak not working on MultiMeasureRestText objects (bug?)

2013-02-11 Thread Kevin Patrick Barry
Dear LilyPond users, I must admit I don't always understand the \tweak command, but I use it often to reposition objects here and there. As I understand it, it doesn't seem to work on markup objects attached to whole-bar rests. I have attached a tiny example below. The workaround is easy of

hidden notes causing semiquaver stems to lengthen

2013-02-06 Thread Kevin Patrick Barry
Dear LilyPond users, I frequently have to layer many horizontal brackets over a small number of notes (motivic analysis), and to do this I use extra voices with hidden notes. Mostly this works fine, but sometimes the hidden notes cause some odd behaviour with stem lengths in the main part. I've

weird behaviour with horizontal brackets and \include

2013-01-31 Thread Kevin Patrick Barry
Dear LilyPond users, I believe I have encountered a complex bug involving the interaction between horizontal brackets and outside-staff-priority. It is both obscure and easy to work around, so it's not urgent, but I thought I would send it here anyway. It requires two files to reproduce. Rather

Re:roman numeral chord notation

2013-01-23 Thread Kevin Patrick Barry
Dear Eric, I don't get what you're trying to do in your example. It looks like you're trying to invoke the \rN outside of a markup context. It's best used in a lyrics context or as markup attached to a note (there don't seem to be any in your example). And Roman numeral notation in LaTeX is

Re: lilypondbood package useful?

2013-01-16 Thread Kevin Patrick Barry
Hi Urs, Since you asked for opinions I will offer mine. I do quite a bit of work with LaTeX and LilyPond, but I don't use lilypond-book for a couple of reasons. It generates a lot of extra files and folders that create clutter if you don't direct its output to a separate folder, but when I do

re:png export width

2013-01-02 Thread Kevin Patrick Barry
Dear Eluze, Thank you for taking time to look into this. I put an example at the end of this message. I made it as small as I could. When I convert to .png (eps backend) at 1200dpi it produces an image that is 4817 pixels wide instead of the desired 4800. I was able to produce the problem

Re: png export width

2013-01-02 Thread Kevin Patrick Barry
Yes the reason I use the eps backend is that I want a cropped image - ordinary png export produces a png of the full page even if most of it is blank. The -dbackend=eps is included to match Kevin's statement: When I convert to .png (eps backend) ... This definitely proves that, as

png export width

2013-01-01 Thread Kevin Patrick Barry
Dear LilyPond users/experts, I am trying to produce images that are exactly 4 inches in width (at a resolution of 1200 dpi). To accomplish this I set paper width to 4\in and left and right margins both to 0 (except for systems with brackets, when I have to add 2mm to the left so it will appear).

re: png export width

2013-01-01 Thread Kevin Patrick Barry
Thank you for responding. My files compile with no errors. Perhaps we are using different versions of LilyPond? I am on 2.16.1. I made no alterations to line-width in any of the files linking to the style file. I found that if I set a margin of 0.5\mm on the left that it corrects the width of

Re: Custom Time Signature

2012-12-20 Thread Kevin Patrick Barry
Dear Thomas, Thank you for this it works perfectly. I just wish I understood it! Thanks also Eluze even though I couldn't test your suggestion: I am still on the latest stable (roll on 2.18!). Kevin On 20 December 2012 01:58, Thomas Morley thomasmorle...@googlemail.comwrote:

Custom Time Signature

2012-12-19 Thread Kevin Patrick Barry
Dear LilyPond experts, I would like to display the time signature 4/2 as two struck Cs next to one another (no 'plus' sign), as in the score here: http://petrucci.mus.auth.gr/imglnks/usimg/4/4d/IMSLP39751-PMLP02062-Schubert-Impromptu-Op90No3.pdf The best I can do with \compoundtime is to get it

Re: preview (-d flag) padding

2012-12-06 Thread Kevin Patrick Barry
There is also an annoying bug that cuts off the bottom of a system start bracket when there is nothing below the bottom staff. My workaround is to add white text under one of the notes (\tweak #'color #white _a), which forces LilyPond to enlarge the image a little bit and include the bits it cut

Re: roman numerals

2012-11-21 Thread Kevin Patrick Barry
Message: 2 Date: Wed, 21 Nov 2012 11:04:48 +0100 From: David Kastrup d...@gnu.org To: lilypond-user@gnu.org Subject: Re: roman numerals Message-ID: 87sj83jmpr@fencepost.gnu.org Content-Type: text/plain Michael Rivers michaeljriv...@gmail.com writes: Sweet! Thank you so much for that

Re: roman numerals

2012-11-21 Thread Kevin Patrick Barry
on the off chance that you also have a clever solution for it :) Kevin On 21 November 2012 12:36, David Nalesnik david.nales...@gmail.com wrote: Hi Kevin, On Wed, Nov 21, 2012 at 5:00 AM, Kevin Patrick Barry barr...@tcd.ie wrote: Message: 2 Date: Wed, 21 Nov 2012 11:04:48 +0100 From: David Kastrup

arrow function

2012-11-21 Thread Kevin Patrick Barry
Dear LilyPond users, I would like to create a function that will draw a glissando with an arrow between two notes. I have the beginnings of a function but I don't know how to add properties like the arrowhead or change its size. Also it only works when I call the function before the first pitch

Text spanners line break bound details

2012-10-27 Thread Kevin Patrick Barry
Dear LilyPond experts, I would like to draw a text spanner between two notes across a system break, with the letter 'x' at either end of the spanner. When I try to do this, the cloning process creates an extra letter at the end of the first system and the beginning of the next. I need to remove

Re:Problem with remove bar number/ why I'm not upgrading to the new stable version

2012-10-27 Thread Kevin Patrick Barry
Dear LilyPond users, I have found the recent debate about the difficulty of using LilyPond interesting and would like to offer my experience, as someone who has been using it for about six months. I apologise if this is a bit long. For the most part I use LilyPond to do musical examples, for

Re: lilypond-user Digest, Vol 119, Issue 90

2012-10-26 Thread Kevin Patrick Barry
Dear David and Harm, Thank you both for the (super)quick responses - they both work perfectly! Kevin I'm not aware of a markup command which draws dashed lines, and it appears that \draw-line is tied to a solid line. Its possible, however, to adapt the definition of \draw-line (found in

dashed \draw-line

2012-10-25 Thread Kevin Patrick Barry
Dear LilyPond users, I would like the markup function \draw-line to produce a dashed line, but I can't find it in the internals reference to see what overrides to use. I tried TextScript #'style, Glissando #'style and \tweak #'style. I'm just fumbling in the dark really; none of the grobs

Re: lilypond-user Digest, Vol 119, Issue 54

2012-10-16 Thread Kevin Patrick Barry
Dear LilyPond Users, How should I go about producing a paper which includes musical examples? In the past I've exported to a high quality PNG and scaled the image down to the appropriate size but that inevitably ended up with musical examples that had different sized staff (even though I

arrows

2012-10-15 Thread Kevin Patrick Barry
Dear LilyPond experts, I apologise for the length of this message, and humbly ask for your patience. Most of my use of LilyPond is to produce examples for theory classes, my forthcoming dissertation, or conference papers. One absolutely invaluable tool for explicating music is the drawing of all

\slashedGrace problem

2012-10-04 Thread Kevin Patrick Barry
Dear LilyPond users, I am typesetting a musical example (for piano) that begins with a slashed grace note (unslurred) in the right hand. Judging from the result I'd say LilyPond is trying to put it in the previous bar (but I'm not an expert); either way the result is that the lower staff begins

interaction of duration-log=0, flags, and slurs (bug?)

2012-09-11 Thread Kevin Patrick Barry
Dear List, Below is a tiny example that Lilypond refuses to compile (the error message is 'std::bad_alloc'). I usually override the duration-log of a note as a way of changing the notehead (it's for a Schenker graph), but it seems that when I set the duration-log of a note with a flag (eighth