Re: Defining custom symbols

2018-04-16 Thread Andrew Bernard
Hi Robert, Hmm. I have played around with this a bit. I think if you are using safe mode of necessity then you simply can't use lilypond for this use case. Sooner or later you have to mix Lilypond and Scheme, and it is forbidden in safe mode. Transforming the code for the cut from the repo in

Re: Defining custom symbols

2018-04-15 Thread Andrew Bernard
Hi Robert, I myself have never used safe mode, but according to the NR: It is also not possible to import LilyPond variables into Scheme while in safe mode. Therefore the present code will not work as written. I'll take a look at it. Andrew On 16 April 2018 at 06:48, Robert Hickman

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
These symbols do not work in safe mode. On 15 April 2018 at 17:32, Thomas Morley wrote: > 2018-04-15 18:22 GMT+02:00 Robert Hickman : > > ok, the latest compiled version seems to be 2.19.80 > > 2.19.81 > >

Re: Defining custom symbols

2018-04-15 Thread Thomas Morley
2018-04-15 18:22 GMT+02:00 Robert Hickman : > ok, the latest compiled version seems to be 2.19.80 2.19.81 http://lilypond.org/downloads/binaries/linux-64/ Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
ok, the latest compiled version seems to be 2.19.80 On 15 April 2018 at 16:58, Andrew Bernard wrote: > Strongly recommend using 2.19.81, especially if I am going to help you out > extending this symbol code library. The wording of unstable on the website > is open

Re: Defining custom symbols

2018-04-15 Thread Andrew Bernard
Strongly recommend using 2.19.81, especially if I am going to help you out extending this symbol code library. The wording of unstable on the website is open source over modesty, a conventional trope. The latest releases are very stable, and I bang away at them all day on very very complex scores

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
-dpreview does what I want. I have version 2.18 and it looks like -dcrop was added later. using ubuntu16.4 stock repo. On 15 April 2018 at 16:38, Robert Hickman wrote: > Hi Andrew, > > lilypond -dcrop larsen-symbols-test.ly > > dosn't seem to do anything. > > On 15 April

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
Hi Andrew, lilypond -dcrop larsen-symbols-test.ly dosn't seem to do anything. On 15 April 2018 at 16:25, Andrew Bernard wrote: > Hi Robert, > > Not sure what you want re size but lilypond -dcrop will make a cropped > image. > > Andrew > > > > On 16 April 2018 at

Re: Defining custom symbols

2018-04-15 Thread Andrew Bernard
Hi Robert, Not sure what you want re size but lilypond -dcrop will make a cropped image. Andrew On 16 April 2018 at 01:20, Robert Hickman wrote: > I'm not setting the size to "quarto", I'm asking basically how to disable > fixed page sizing. I want the output to be

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
I'm not setting the size to "quarto", I'm asking basically how to disable fixed page sizing. I want the output to be like the attached image, zero white-space. I made this by cropping the image in gimp, doing that for every one would be a nightmare. \version "2.18.2" \include "larsen-symbols.ily"

Re: Defining custom symbols

2018-04-15 Thread Thomas Morley
2018-04-15 16:56 GMT+02:00 Robert Hickman : > I'm trying to set the page size so that it automatically > matches the size of the staff with zero margins. Looking > at the documentation on this shows the following command, > > but I cannot see how to set it to scale 'as big

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
I'm trying to set the page size so that it automatically matches the size of the staff with zero margins. Looking at the documentation on this shows the following command, but I cannot see how to set it to scale 'as big or small as needed'. The section on automatic scaling isn't clear as this

Re: numeric time signature (was Defining custom symbols)

2018-04-15 Thread Robert Hickman
Thanks, I have been reading the documentation, but missed that the example was wrong. On 15 April 2018 at 14:54, Andrew Bernard wrote: > Hi Robert, > > You can search the lilypond user mailing list archives. There is a large > amount of discussion on this topic. > >

Re: numeric time signature (was Defining custom symbols)

2018-04-15 Thread Andrew Bernard
Hi Robert, You can search the lilypond user mailing list archives. There is a large amount of discussion on this topic. https://lists.gnu.org/archive/html/lilypond-user/ Andrew On 15 April 2018 at 23:13, Robert Hickman wrote: > > > What option do I need to crop the

Re: numeric time signature (was Defining custom symbols)

2018-04-15 Thread Robert Hickman
Hello again, I've just downloaded the symbol repo and have been experimenting. I Noticed that the time signature set in the file is not reflected in the output (using the example from the repo). It displays common time 'C' instead of 2/4. Adding \numericTimeSignature causes it to create a second

Re: LilyPond in a CMS [was: Re: Defining custom symbols]

2018-04-15 Thread Robert Hickman
good to know, thanks. On 15 April 2018 at 13:06, Urs Liska wrote: > > > Am 15. April 2018 13:47:43 MESZ schrieb Simon Albrecht < > simon.albre...@mail.de>: > >On 15.04.2018 13:25, Robert Hickman wrote: > >> |Is it sufficient to concatenate the symbol file at the beginning

Re: LilyPond in a CMS [was: Re: Defining custom symbols]

2018-04-15 Thread Urs Liska
Am 15. April 2018 13:47:43 MESZ schrieb Simon Albrecht : >On 15.04.2018 13:25, Robert Hickman wrote: >> |Is it sufficient to concatenate the symbol file at the beginning of >> the user code?| > >\include does exactly that: read the contents of the included file

Re: LilyPond in a CMS [was: Re: Defining custom symbols]

2018-04-15 Thread Simon Albrecht
On 15.04.2018 13:25, Robert Hickman wrote: |Is it sufficient to concatenate the symbol file at the beginning of the user code?| \include does exactly that: read the contents of the included file verbatim. Best, Simon ___ lilypond-user mailing list

Re: LilyPond in a CMS [was: Re: Defining custom symbols]

2018-04-15 Thread Robert Hickman
Thanks, -dsafe looks like the simplest to use but 'In addition, safe mode disallows \include' which I need to use the symbol file. Is it sufficient to concatenate the symbol file at the beginning of the user code? On 15 April 2018 at 11:45, Malte Meyn wrote: > > > Am

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
Cool, I hope you do well with it. On 15 April 2018 at 11:46, Andrew Bernard wrote: > Hi Robert, > > That symbol set is so nice I have decided to dig out my tin whistle and > learn it properly! > > Andrew > > ___ lilypond-user

Re: Defining custom symbols

2018-04-15 Thread Andrew Bernard
Hi Robert, That symbol set is so nice I have decided to dig out my tin whistle and learn it properly! Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

LilyPond in a CMS [was: Re: Defining custom symbols]

2018-04-15 Thread Malte Meyn
Am 15.04.2018 um 12:41 schrieb Robert Hickman: Second thought: (see my previous, sorry about double posting). What are the risks of integrating lillypond into a CMS from a security perspective, does it allow you to run shell commands for instance? I will not be exposing this publicly, just

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
Second thought: (see my previous, sorry about double posting). What are the risks of integrating lillypond into a CMS from a security perspective, does it allow you to run shell commands for instance? I will not be exposing this publicly, just to the admin interface only I use. I like to know

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
Yes that looks good thanks. I asked about the font because I asked Grey if he was aware of symbols for lillypond. He handn't heard of LP but mentioned the font and asked if it was compatible. On 15 April 2018 at 11:20, Andrew Bernard wrote: > Hi Robert, > > I cloned

Re: Defining custom symbols

2018-04-15 Thread Andrew Bernard
Hi Robert, I cloned the git repository and compiled the Larsen symbols. I all works beautifully with the current highest revision of lilypond 2.19.81, even though the code is somewhat old. Here's the result of the test code attached as an image. The code fr this is not hard to understand:

Re: Defining custom symbols

2018-04-15 Thread Andrew Bernard
Hi Robert, Using a font is not how this is done in lilypond. It's a matter of defining new symbols that can be used by the engraver modules for the notes, like articulations and so on. This is fairly advanced to build from scratch, but you can just use the results of the work I pointed to as a

Re: Defining custom symbols

2018-04-15 Thread Robert Hickman
Yes that's what I was looking for, thanks. I've also found that Grey has published a font with his symbols, how does one approach integrating fonts? Chris Throup, who is linked to from the page Andrew shared linked to, suggests this is difficult to do. On 15 April 2018 at 06:22, Andrew

Re: Defining custom symbols

2018-04-14 Thread Andrew Bernard
Hi Robert, Is this of any use? https://bretpimentel.com/irish-flutewhistle-ornamentation-symbols-a-la-grey-larsen-in-lilypond/ If you need adjustments to anything I can help. [Lilypond can be made to do pretty much anything as it is powerfully extensible,] Andrew

Defining custom symbols

2018-04-14 Thread Robert Hickman
I'm currently using ABC notation for all of the score examples on my website and converting it to notation using abcm2ps. I have run into a limitation with it and need something more flexible. However I still wish to use a textual notation and do not want to hand edit images as this would make