Re: PDF file gets "-1" appended

2023-07-01 Thread Knute Snortum
On Sat, Jul 1, 2023 at 3:41 AM Valentin Petzel  wrote:

> Yes, of course it is :). But I think there are reasonable cases to do so.
> The
> issue here is of course stability: If we wanted to issue some code which
> is
> supposed to remain functional for years to come, this is ill suited, as it
> does not solely rely on the interface Lilypond provides. So if you were to
> extend Lilypond this way someone would need to maintain this against the
> current version of Lilypond.
>
> But I think doing so is a very effective way of creating a proof of
> concept how
> internals could be handled differently. Because it is quite simple to
> create a
> Lilypond file that adapts some internals and tell people to try this
> rather
> than forking the codebase, adapting the scheme files and telling people to
> build Lilypond from that source.
>
> I think in this case the naming of midi files is something that might be
> something Lilypond should be able to handle (because naming the output
> files is
> not an unreasonable thing, and putting midi scores in singular books just
> to
> get this done seems like it is handled in the wrong place), and this code
> demonstrates how this could be done. And the abilty to quickly try out
> different such options is in my option very useful.
>
> Cheers,
> Valentin
>
> Am Freitag, 30. Juni 2023, 22:16:01 CEST schrieb Jean Abou Samra:
> > Le mardi 27 juin 2023 à 21:17 +0200, Valentin Petzel a écrit :
> > > Hello Knute,
> > >
> > > so you are using books to allow specification of the midi filename.
> This
> > > is
> > > probably a fine usecase, but it still seems like a bit of an abuse of
> the
> > > book mechanic to me. Rather I’d adapt the midi output name logic
> itself.
> > >
> > > This code adapts the internal function responsible for writing out the
> > > midi
> > > performances (scm/midi.scm:write-performances-midis) in such a way that
> >
> > #(set-current-module (resolve-module '(lily))) is true lock picking :-) I
> > mean, sometimes you really can't avoid monkeypatching internals, but I'd
> > reserve it for desperate cases.
>

Hi Valentin and Jean.  I appreciate what you guys are doing for me.

I'm stuck as to how to move forward.  Although the Scheme code is amazing,
I don't want to have to maintain it from version to version, mainly because
I lack the knowledge of how to do so.  I cannot go back to using a book for
the MIDI score because of the problem of "-1" being appended to the PDF
file name.  What's a stable way of naming the MIDI score files?

--
Knute Snortum


Re: PDF file gets "-1" appended

2023-07-01 Thread Valentin Petzel
Yes, of course it is :). But I think there are reasonable cases to do so. The 
issue here is of course stability: If we wanted to issue some code which is 
supposed to remain functional for years to come, this is ill suited, as it 
does not solely rely on the interface Lilypond provides. So if you were to 
extend Lilypond this way someone would need to maintain this against the 
current version of Lilypond.

But I think doing so is a very effective way of creating a proof of concept how 
internals could be handled differently. Because it is quite simple to create a 
Lilypond file that adapts some internals and tell people to try this rather 
than forking the codebase, adapting the scheme files and telling people to 
build Lilypond from that source.

I think in this case the naming of midi files is something that might be 
something Lilypond should be able to handle (because naming the output files is 
not an unreasonable thing, and putting midi scores in singular books just to 
get this done seems like it is handled in the wrong place), and this code 
demonstrates how this could be done. And the abilty to quickly try out 
different such options is in my option very useful.

Cheers,
Valentin

Am Freitag, 30. Juni 2023, 22:16:01 CEST schrieb Jean Abou Samra:
> Le mardi 27 juin 2023 à 21:17 +0200, Valentin Petzel a écrit :
> > Hello Knute,
> > 
> > so you are using books to allow specification of the midi filename. This
> > is
> > probably a fine usecase, but it still seems like a bit of an abuse of the
> > book mechanic to me. Rather I’d adapt the midi output name logic itself.
> > 
> > This code adapts the internal function responsible for writing out the
> > midi
> > performances (scm/midi.scm:write-performances-midis) in such a way that
> 
> #(set-current-module (resolve-module '(lily))) is true lock picking :-) I
> mean, sometimes you really can't avoid monkeypatching internals, but I'd
> reserve it for desperate cases.



signature.asc
Description: This is a digitally signed message part.


Re: PDF file gets "-1" appended

2023-06-30 Thread Knute Snortum
On Fri, Jun 30, 2023 at 1:16 PM Jean Abou Samra  wrote:

> Le mardi 27 juin 2023 à 21:17 +0200, Valentin Petzel a écrit :
>
> Hello Knute,
>
> so you are using books to allow specification of the midi filename. This
> is
> probably a fine usecase, but it still seems like a bit of an abuse of the
> book
> mechanic to me. Rather I’d adapt the midi output name logic itself.
>
> This code adapts the internal function responsible for writing out the
> midi
> performances (scm/midi.scm:write-performances-midis) in such a way that
>
>
>
> #(set-current-module (resolve-module '(lily))) is true lock picking :-) I
> mean, sometimes you really can't avoid monkeypatching internals, but I'd
> reserve it for desperate cases.
>

Thanks for the insight.  Is there a better way to do this?

--
Knute Snortum


Re: PDF file gets "-1" appended

2023-06-30 Thread Jean Abou Samra
Le mardi 27 juin 2023 à 21:17 +0200, Valentin Petzel a écrit :
> Hello Knute,
> 
> so you are using books to allow specification of the midi filename. This is 
> probably a fine usecase, but it still seems like a bit of an abuse of the book
> mechanic to me. Rather I’d adapt the midi output name logic itself.
> 
> This code adapts the internal function responsible for writing out the midi 
> performances (scm/midi.scm:write-performances-midis) in such a way that


#(set-current-module (resolve-module '(lily))) is true lock picking :-) I mean,
sometimes you really can't avoid monkeypatching internals, but I'd reserve it
for desperate cases.


signature.asc
Description: This is a digitally signed message part


Re: PDF file gets "-1" appended

2023-06-27 Thread Knute Snortum
On Tue, Jun 27, 2023 at 12:19 PM Valentin Petzel  wrote:

> Hello Knute,
>
> so you are using books to allow specification of the midi filename. This
> is
> probably a fine usecase, but it still seems like a bit of an abuse of the
> book
> mechanic to me. Rather I’d adapt the midi output name logic itself.
>
> This code adapts the internal function responsible for writing out the
> midi
> performances (scm/midi.scm:write-performances-midis) in such a way that
>
> A) If we have multiple midi outputs all outputs are numbered starting with
> 1
> (instead of the first not being numbered and the next one starting with 1)
> B) The numbering is padded to an equal length (so if you’ve got less than
> 10
> midis you number 1, 2, 3, ..., under 100 01, 02, 03, ...)
> C) The midi performance title (if set midititle else title else "") (if
> set)
> is used as suffix.
> D) The header property midiOutputSuffix may be used to override this suffix
> E) The header property midiOutputFile may be used to override the full
> midi
> file name
>
> This has the advantage over abusing Books that it specifies the names at
> the
> relevant position, not at a higher position.
>

 Wow.  Thanks for that very comprehensive solution.  I appreciate it.

--
Knute Snortum


Re: PDF file gets "-1" appended

2023-06-27 Thread Valentin Petzel
Hello Knute,

so you are using books to allow specification of the midi filename. This is 
probably a fine usecase, but it still seems like a bit of an abuse of the book 
mechanic to me. Rather I’d adapt the midi output name logic itself.

This code adapts the internal function responsible for writing out the midi 
performances (scm/midi.scm:write-performances-midis) in such a way that

A) If we have multiple midi outputs all outputs are numbered starting with 1 
(instead of the first not being numbered and the next one starting with 1)
B) The numbering is padded to an equal length (so if you’ve got less than 10 
midis you number 1, 2, 3, ..., under 100 01, 02, 03, ...)
C) The midi performance title (if set midititle else title else "") (if set) 
is used as suffix.
D) The header property midiOutputSuffix may be used to override this suffix
E) The header property midiOutputFile may be used to override the full midi 
file name

This has the advantage over abusing Books that it specifies the names at the 
relevant position, not at a higher position.

Cheers,
Valentin

Am Dienstag, 27. Juni 2023, 16:39:53 CEST schrieb Knute Snortum:
> On Tue, Jun 27, 2023 at 2:35 AM Valentin Petzel  wrote:
> > Hello Knute,
> > 
> > I do not think this behaviour is particularly weird, rather the input is
> > weird.
> 
> Thanks for your replies.  Here is my slightly convoluted use-case.  Maybe
> there's a better way to do it.
> 
> I am engraving collections of pieces, such as Bach's 15 two-part
> inventions.  I want to be able to create a "book" with all the pieces in
> one PDF, but also to be able to print each piece individually.  And I want
> to be able to tweak the MIDI output, so I use \keepWithTag to do that.  So
> I have an "include" file something like this:
> 
> inventionOneMusic =
> \score {
>   \keepWithTag layout
>   % Notes
>   \layout {}
> }
> 
> inventionOneMidi =
> \score {
>   \keepWithTag midi
>   % Notes
>   \midi {}
> }
> 
> So now I can have a file called "invention-one.ly" that looks like this:
> 
> \inventionOneMusic
> \inventionOneMidi
> 
> ...and another that is the "book" called "15-two-part-inventions.ly" like
> this:
> 
> \inventionOneMusic
> \inventionTwoMusic
> % etc
> 
> \inventionOneMidi
> \inventionTwoMidi
> % etc
> 
> But now there's a problem.  I want one PDF but also the individual MIDI
> files named correctly.  As it stands I get files named like this:
> 
> 15-two-part-inventions.pdf
> 15-two-part-inventions.midi
> 15-two-part-inventions-1.midi
> etc
> 
> It's hard to tell which MIDI file belongs to which invention.  What I want
> is:
> 
> 15-two-part-inventions.pdf
> invention-one.midi
> invention-two.midi
> etc
> 
> The only way I could think of doing that is to wrap the MIDI score in a
> book and use \bookoutputFile:
> 
> inventionOneMidi =
> \book {
>   \bookOutputFile "invention-one"
>   \score {
> \keepWithTag midi
> % Notes
> \midi {}
>   }
> }
> 
> So that's my use-case.  Maybe that isn't the best solution and one of you
> can come up with a better one.  Thanks for reading this long post.

%%% Create a binding to current module so we can get back there
#(module-define! (resolve-module '(lily)) 'mod (current-module))

%%% Change to lily module
#(set-current-module (resolve-module '(lily)))

% New convenience function to obtain midiOutputFile property from header
#(define (midi-filename-from-headers headers)
   (let ((f (ly:modules-lookup headers 'midiOutputFile)))
 (if f (markup->string f) #f)))

% New convenience function to obtain midiOutputSuffix property from header
#(define (midi-suffix-from-headers headers)
   (let ((f (ly:modules-lookup headers 'midiOutputSuffix)))
 (if f (markup->string f) #f)))

#(define-public (write-performances-midis performances basename . rest)
  (let* ((midi-ext (ly:get-option 'midi-extension))
 (n (length performances))  ; change: calculate highest number of digits
 (ndigits (1+ (floor (log10 n)  ; used for padding counts
(let
loop
  ((perfs performances)
   (count (if (null? rest) 0 (car rest
  (if (pair? perfs)
  (let* ((perf (car perfs))
 (performance-name (performance-name-from-headers   ; change: previously done directly in format,
(ly:performance-headers perf))) ; now we need this multiple times
 (midi-filename (midi-filename-from-headers ; this is new
 (ly:performance-headers perf)))
 (midi-suffix (midi-suffix-from-headers ; this is new
 (ly:performance-headers perf)))
 (suffix (or midi-suffix performance-name))); this is new
(ly:performance-write
 perf
 (if midi-filename  ; New case if midiOutputFile is specified

Re: PDF file gets "-1" appended

2023-06-27 Thread Knute Snortum
On Tue, Jun 27, 2023 at 2:35 AM Valentin Petzel  wrote:

> Hello Knute,
>
> I do not think this behaviour is particularly weird, rather the input is
> weird.
>

Thanks for your replies.  Here is my slightly convoluted use-case.  Maybe
there's a better way to do it.

I am engraving collections of pieces, such as Bach's 15 two-part
inventions.  I want to be able to create a "book" with all the pieces in
one PDF, but also to be able to print each piece individually.  And I want
to be able to tweak the MIDI output, so I use \keepWithTag to do that.  So
I have an "include" file something like this:

inventionOneMusic =
\score {
  \keepWithTag layout
  % Notes
  \layout {}
}

inventionOneMidi =
\score {
  \keepWithTag midi
  % Notes
  \midi {}
}

So now I can have a file called "invention-one.ly" that looks like this:

\inventionOneMusic
\inventionOneMidi

...and another that is the "book" called "15-two-part-inventions.ly" like
this:

\inventionOneMusic
\inventionTwoMusic
% etc

\inventionOneMidi
\inventionTwoMidi
% etc

But now there's a problem.  I want one PDF but also the individual MIDI
files named correctly.  As it stands I get files named like this:

15-two-part-inventions.pdf
15-two-part-inventions.midi
15-two-part-inventions-1.midi
etc

It's hard to tell which MIDI file belongs to which invention.  What I want
is:

15-two-part-inventions.pdf
invention-one.midi
invention-two.midi
etc

The only way I could think of doing that is to wrap the MIDI score in a
book and use \bookoutputFile:

inventionOneMidi =
\book {
  \bookOutputFile "invention-one"
  \score {
\keepWithTag midi
% Notes
\midi {}
  }
}

So that's my use-case.  Maybe that isn't the best solution and one of you
can come up with a better one.  Thanks for reading this long post.


Re: PDF file gets "-1" appended

2023-06-27 Thread Valentin Petzel
Hello Knute,

I do not think this behaviour is particularly weird, rather the input is 
weird.

Using \book is telling Lilypond you want to generate a new PDF. So there 
should be no reason to enclose scores that only produce MIDI into a \book 
clause. And if you do I  think it should not be unexpected for Lilypond to act 
the way we ask it to. One might argue that Lilypond should be intelligent 
enough to filter out such cases, but this is a non trivial matter which would 
increase the complexity of the code in question significantly.

As this requires effort and will increase the probability of bugs (and at the 
same time make resolving them harder) and as this would not really have any 
benefit I do not think this is something we should go for.

The behaviour in question can even be triggered by including an empty \book { 
} clause, and doing something like this

\score { c' } % <- count 3
\book { } % <- count 0
\book { } % <- count 1
\book {
  \score { d' }
} % <- count 2

will affect the count of the resulting PDF.

Cheers,
Valentin

Am Dienstag, 27. Juni 2023, 01:39:01 CEST schrieb Knute Snortum:
> I've run into some odd behavior in LilyPond.  If your PDF-only is a score
> but your MIDI-only is a separate  book, the PDF file gets "-1" appended to
> the file name.  So for instance, with this code:
> 
> File name: test.ly
> 
> %%%
> \version "2.25.6"
> 
> theNotes = { c'4 4 4 4 }
> 
> \score {
>   \new Staff \theNotes
>   \layout {}
> }
> 
> \book {
>   \score {
> \new Staff \theNotes
> \midi {}
>   }
> }
> %%%
> 
> ...you get two files, one called "test-1.pdf" and another called
> "test.midi".  The work-around is to use \bookoutputName and name one of the
> files something other than "test", but ideally I would want "test.pdf" and
> "test.midi" as file names.
> 
> --
> Knute Snortum



signature.asc
Description: This is a digitally signed message part.


Re: PDF file gets "-1" appended

2023-06-27 Thread Jean Abou Samra
Le lundi 26 juin 2023 à 16:39 -0700, Knute Snortum a écrit :
> I've run into some odd behavior in LilyPond.  If your PDF-only is a score but
> your MIDI-only is a separate  book, the PDF file gets "-1" appended to the
> file name.  So for instance, with this code:
> 
> File name: test.ly
> 
> %%%
> \version "2.25.6"
> 
> theNotes = { c'4 4 4 4 }
> 
> \score {
>   \new Staff \theNotes
>   \layout {}
> }
> 
> \book {
>   \score {
>     \new Staff \theNotes
>     \midi {}
>   }
> }
> %%%
> 
> ...you get two files, one called "test-1.pdf" and another called "test.midi". 
> The work-around is to use \bookoutputName and name one of the files something
> other than "test", but ideally I would want "test.pdf" and "test.midi" as file
> names. 


That is working as intended. Each book is compiled into a collection of one PDF
output file and any number of MIDI output files, all with the same prefix,
different books with different prefixes. If you want the same, you should simply
remove the \book { ... } wrapping so that there is only one (implicit) book
instead of two (one explicit and one implicit).

Best,
Jean



signature.asc
Description: This is a digitally signed message part


PDF file gets "-1" appended

2023-06-26 Thread Knute Snortum
I've run into some odd behavior in LilyPond.  If your PDF-only is a score
but your MIDI-only is a separate  book, the PDF file gets "-1" appended to
the file name.  So for instance, with this code:

File name: test.ly

%%%
\version "2.25.6"

theNotes = { c'4 4 4 4 }

\score {
  \new Staff \theNotes
  \layout {}
}

\book {
  \score {
\new Staff \theNotes
\midi {}
  }
}
%%%

...you get two files, one called "test-1.pdf" and another called
"test.midi".  The work-around is to use \bookoutputName and name one of the
files something other than "test", but ideally I would want "test.pdf" and
"test.midi" as file names.

--
Knute Snortum


Re: Embed files other than source code in PDF file?

2023-05-31 Thread Werner LEMBERG
>>  I have been using the line  
>>
>>  #(ly:set-option 'embed-source-code #t)  
>>
>>  to embed the lilypond files I used in the PDF, but was wondering
>>  if there was a procedure I could call to embed some other file,
>>  such as a PDF of the source I used for the transcription?  Sorry,
>>  looking through the docs I couldn't find anything on this.  I know
>>  you could also do this with the finished pdf using Adobe Acrobat
>>  or something else, but would like to make this happen
>>  automatically.
> 
> Since 2.23.11, you can do
> 
> ```
> #(ly:note-extra-source-file "path/to/transcription-source.pdf")
> ```

Reading the documentation of this function I would never imagine that
it can be used to embed arbitrary files into a LilyPond PDF...

I've filed

  https://gitlab.com/lilypond/lilypond/-/issues/6622


 Werner



Re: Embed files other than source code in PDF file?

2023-05-31 Thread Jean Abou Samra
Le mercredi 31 mai 2023 à 17:23 -0400, William Rehwinkel via LilyPond user 
discussion a écrit :

>  Dear list,  
>
>  I have been using the line  
>
>  #(ly:set-option 'embed-source-code #t)  
>
>  to embed the lilypond files I used in the PDF, but was wondering if there 
> was a procedure I could call to embed some other file, such as a PDF of the 
> source I used for the transcription? Sorry, looking through the docs I 
> couldn't find anything on this. I know you could also do this with the 
> finished pdf using Adobe Acrobat or something else, but would like to make 
> this happen automatically.


Since 2.23.11, you can do

```
#(ly:note-extra-source-file "path/to/transcription-source.pdf")
```

Jean




signature.asc
Description: This is a digitally signed message part


Embed files other than source code in PDF file?

2023-05-31 Thread William Rehwinkel via LilyPond user discussion

Dear list,

I have been using the line

#(ly:set-option 'embed-source-code #t)

to embed the lilypond files I used in the PDF, but was wondering if 
there was a procedure I could call to embed some other file, such as a 
PDF of the source I used for the transcription? Sorry, looking through 
the docs I couldn't find anything on this. I know you could also do this 
with the finished pdf using Adobe Acrobat or something else, but would 
like to make this happen automatically.


Thanks,
-William

--
+ --- +
|   William Rehwinkel - Oberlin College and   |
|  Conservatory '24   |
|will...@williamrehwinkel.net  |
| PGP key:|
|https://ftp.williamrehwinkel.net/pubkey.txt  |
+ --- +



OpenPGP_signature
Description: OpenPGP digital signature


Fixed [was Re: Lilypond is not generating a pdf file]

2018-05-29 Thread Peter Horan
Hi Aaron

> Message: 7
> Date: Mon, 28 May 2018 06:57:28 -0700
> From: Aaron Hill 
> To: lilypond-user@gnu.org
> Subject: Re: Lilypond is not generating a pdf file
> Message-ID: <55f4d3d5c00209db6b25aeb1c670a...@hillvisions.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On 2018-05-27 01:07, Peter Horan wrote:
> > I have previously used Lilypond on an older machine using Vista.
> >
> > This machine is new, running Windows 10.
> >
> > After installation, dropping test.ly onto the Lilypond short cut
> > creates a test.log file but no pdf file as expected.  It looks as
> > though Lilypond is silently quitting before drawing everything.
>
> Hi Peter,
>
> Which version of LilyPond did you install?  Also, if you run "winver",
> what exact build of the OS are you using?

LilyPond v. 2.18.2
Windows Version 1803 (OS Build 17134.48)
>
> The closest similar behavior I have seen to this is when I am trying to
> regenerate a PDF but that PDF is currently open in another program.
> Then due to a sharing violation, LilyPond is unable to write to the
> file.  However, in your case, you are never getting a PDF at all, but
> that could still imply the target folder might be an invalid
> destination.

No file was open.

> NOTE: I never use drag-and-drop method as you mentioned.  LilyPond
> installs a default shell command for .ly files, so you can either just
> double-click them or right-click and select "Generate".  There shouldn't
> really be any major difference in behavior here, but I thought I would
> mention this for completeness.

Now this worked!

I also tried dropping the .ly file onto the actual executable file, and that 
also worked. But, where the log file went I don't know.

> If you want to debug further, I might suggest running Process Monitor
> [1] from Sysinternals.  It will capture a lot of data, but you can
> filter it down to just the relevant file I/O.  Most importantly, what
> you are looking for is to see if LilyPond (or one of its child
> processes) is actually attempting to open a PDF for write, and if so
> what error may have occurred.
>
> [1]: https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

I have used procmon, so I may investigate if I get time.

Important Notice: The contents of this email are intended solely for the named 
addressee and are confidential; any unauthorised use, reproduction or storage 
of the contents is expressly prohibited. If you have received this email in 
error, please delete it and any attachments immediately and advise the sender 
by return email or telephone.

Deakin University does not warrant that this email and any attachments are 
error or virus free.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re:Lilypond is not generating a pdf file (foxfanfare)

2018-05-28 Thread Michael Gerdau
I can confirm this rule would have at least one exception.

Kind regards
Michael 

Mobil gesendet

> Am 28.05.2018 um 18:17 schrieb Carl Sorensen :
> 
> From: Peter Gentry 
> Date: Monday, May 28, 2018 at 3:18 AM
> To: 
> Subject: . Re:Lilypond is not generating a pdf file (foxfanfare)
>  
> This may/may not be relevant. The problem may be down to the way the 
> temporary files are handled. I have seen it a few times. To be honest I 
> cannot remember how I resolved it. There seems to be some link to the 
> temporary file that using fresco can be cleared by closing all the files and 
> Fresco and starting again. Windows and Windows 10 can be a bit mysterious in 
> the way it handles files and their links.
>  
> Hope this is relevant
>  
> It seems to me like sometime in the past LilyPond didn’t work with Windows 10 
> if it was installed for all users, but did work if it was installed for a 
> single user.  But that recollection may not be accurate.
>  
> Carl
>  
>  
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: . Re:Lilypond is not generating a pdf file (foxfanfare)

2018-05-28 Thread Carl Sorensen
From: Peter Gentry 
Date: Monday, May 28, 2018 at 3:18 AM
To: 
Subject: . Re:Lilypond is not generating a pdf file (foxfanfare)

This may/may not be relevant. The problem may be down to the way the temporary 
files are handled. I have seen it a few times. To be honest I cannot remember 
how I resolved it. There seems to be some link to the temporary file that using 
fresco can be cleared by closing all the files and Fresco and starting again. 
Windows and Windows 10 can be a bit mysterious in the way it handles files and 
their links.

Hope this is relevant

It seems to me like sometime in the past LilyPond didn’t work with Windows 10 
if it was installed for all users, but did work if it was installed for a 
single user.  But that recollection may not be accurate.

Carl


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond is not generating a pdf file

2018-05-28 Thread Brian Barker

At 06:57 28/05/2018 -0700, Aaron Hill wrote:

At 08:07 27/05/2018 +, Peter Horan wrote:
I have previously used Lilypond on an older machine using Vista. 
This machine is new, running Windows 10. After installation, 
dropping test.ly onto the Lilypond short cut creates a test.log 
file but no pdf file as expected. It looks as though Lilypond is 
silently quitting before drawing everything.


The contents of test.log are:
# -*-compilation-*-
Processing `D:/Peter/Desktop/test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...


The closest similar behavior I have seen to this is when I am trying 
to regenerate a PDF but that PDF is currently open in another 
program. Then due to a sharing violation, LilyPond is unable to 
write to the file.


Indeed so. But, for the avoidance of doubt, when this happens, my 
Lilypond under Windows 10 shows four more lines in the log file, 
including one explaining that Ghostscript failed to create the PDF 
file - and anyway leaves behind the intermediate Postscript file.


Brian Barker 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond is not generating a pdf file

2018-05-28 Thread Aaron Hill

On 2018-05-27 01:07, Peter Horan wrote:

I have previously used Lilypond on an older machine using Vista.

This machine is new, running Windows 10.

After installation, dropping test.ly onto the Lilypond short cut
creates a test.log file but no pdf file as expected.  It looks as
though Lilypond is silently quitting before drawing everything.


Hi Peter,

Which version of LilyPond did you install?  Also, if you run "winver", 
what exact build of the OS are you using?


The closest similar behavior I have seen to this is when I am trying to 
regenerate a PDF but that PDF is currently open in another program.  
Then due to a sharing violation, LilyPond is unable to write to the 
file.  However, in your case, you are never getting a PDF at all, but 
that could still imply the target folder might be an invalid 
destination.


NOTE: I never use drag-and-drop method as you mentioned.  LilyPond 
installs a default shell command for .ly files, so you can either just 
double-click them or right-click and select "Generate".  There shouldn't 
really be any major difference in behavior here, but I thought I would 
mention this for completeness.


If you want to debug further, I might suggest running Process Monitor 
[1] from Sysinternals.  It will capture a lot of data, but you can 
filter it down to just the relevant file I/O.  Most importantly, what 
you are looking for is to see if LilyPond (or one of its child 
processes) is actually attempting to open a PDF for write, and if so 
what error may have occurred.


[1]: https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

-- Aaron Hill

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


. Re:Lilypond is not generating a pdf file (foxfanfare)

2018-05-28 Thread Peter Gentry
This may/may not be relevant. The problem may be down to the way the
temporary files are handled. I have seen it a few times. To be honest I
cannot remember how I resolved it. There seems to be some link to the
temporary file that using fresco can be cleared by closing all the files and
Fresco and starting again. Windows and Windows 10 can be a bit mysterious in
the way it handles files and their links.

 

Hope this is relevant

 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond is not generating a pdf file

2018-05-27 Thread foxfanfare
Peter Horan wrote
> I have previously used Lilypond on an older machine using Vista.
> 
> This machine is new, running Windows 10.
> 
> After installation, dropping test.ly onto the Lilypond short cut creates a
> test.log file but no pdf file as expected.  It looks as though Lilypond is
> silently quitting before drawing everything.
> 
> The contents of test.log are:
> 
> # -*-compilation-*-
> Processing `D:/Peter/Desktop/test.ly'
> Parsing...
> Interpreting music...
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> ==
> 
> Important Notice: The contents of this email are intended solely for the
> named addressee and are confidential; any unauthorised use, reproduction
> or storage of the contents is expressly prohibited. If you have received
> this email in error, please delete it and any attachments immediately and
> advise the sender by return email or telephone.
> 
> Deakin University does not warrant that this email and any attachments are
> error or virus free.
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

You should maybe try directly with the original "lilypond-windows.exe" in
the bin folder?
Did you also test with frescobaldi to see if you get the same problem?



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond is not generating a pdf file

2018-05-27 Thread Peter Horan
I have previously used Lilypond on an older machine using Vista.

This machine is new, running Windows 10.

After installation, dropping test.ly onto the Lilypond short cut creates a 
test.log file but no pdf file as expected.  It looks as though Lilypond is 
silently quitting before drawing everything.

The contents of test.log are:

# -*-compilation-*-
Processing `D:/Peter/Desktop/test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
==

Important Notice: The contents of this email are intended solely for the named 
addressee and are confidential; any unauthorised use, reproduction or storage 
of the contents is expressly prohibited. If you have received this email in 
error, please delete it and any attachments immediately and advise the sender 
by return email or telephone.

Deakin University does not warrant that this email and any attachments are 
error or virus free.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Problems with Frescobaldi compiling .PDF file from Cygwin-installed version of LilyPond

2018-03-29 Thread Robert Murdoch
Hi, I've recently successfully installed the master branch of LilyPond 
through Cygwin. I did this because I lack the patience to wait for the 
next stable release where the repeat tie fiasco will be fixed.


That being said, Frescobaldi seems to be having trouble compiling a .PDF 
file through the Cygwin-installed LilyPond with the following message:


> Fork: child -1 forked process  died unexpectedly, retry 0, 
exit code 0xC135, errno 11
> warning: g_spawn_sync failed (0): gs: Failed to fork (Resource 
temporarily unavailable)


The strange thing is that when I run LilyPond from the command-line, it 
successfully compiles and generates a .PDF file with no problems.


What am I doing wrong besides, you know, being thoroughly impatient? 
Thanks for reading.



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-30 Thread Brian Barker

At 10:57 29/12/2015 -0500, Joseph Breton wrote:
How can I incorporate my pdf file into a word processor like 
libreoffice? My trials always produce some to me undecipherable text 
which then greatly expands to non ASCII symbols.


As has been suggested, preferably create Lilypond output in Scalable 
Vector Graphics (SVG) or Portable Network Graphics (PNG) format 
instead. (See Notation Manual 3.4.3.)


Alternatively, in your LibreOffice text (Writer) document,
o Go to Insert | Object > | OLE Object... .
o Double-click "Further objects".
o Select "Create from file" and Browse... .
o Browse to and open the PDF document file.
o Resize and reposition the graphic as necessary.

I trust this helps.

Brian Barker


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-30 Thread J Martin Rushton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 30/12/15 22:21, Urs Liska wrote:
> 
> 
> Am 30. Dezember 2015 22:37:06 MEZ, schrieb J Martin Rushton
> : I've just had a bit of a play
> with this using LibreOffice 4.3.7.2 under CentOS 7.2
> 
> LibreOffice can't import PDFs directly.
> 
> I opened a PDF using the document viewer and used print to file.
> 
> I generated postscript files which did would not load correctly
> into LibreOffice.
> 
> I then created SVG files.  Working with a two page score I
> eventually generated three files: One file with all (both) pages,
> and two files with one page in each.
> 
> The SVGs and PS were all opened by their respective readers and
> found to be correct.
> 
> Using LibreOffice I could insert>image>from file and select one of
> the SVGs.  The original (2 page) SVG put both pages on top of each
> other, so I then tried one page at a time which worked perfectly.
> The resulting score could be saved as ODT, exported as PDF and
> printed directly.
> 
> Therefore:
> 
> 1) Open the PDF in a reader. 2) Print to file as SVG - one page at
> a time. 3) Insert the resulting SVGs as images in your document.
> 
>> Wouldn't you rather want to create the SVG files directly from
>> LilyPond?
> 
>> Urs
> 

But the OP asked about PDFs specifically.  You are assuming (not
unreasonably on this forum) that the PDFs came from LilyPond.

> 
> On 29/12/15 15:57, Joseph Breton wrote:
>>>> How can I incorporate my pdf file into a word processor like
>>>>  libreoffice?   My trials always produce some to me
>>>> undecipherable text which then greatly expands to non ASCII
>>>> symbols,
>>>> 
>>>> 
>>>> ___
>>>> lilypond-user mailing list lilypond-user@gnu.org 
>>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>> 
>> 
>> ___ lilypond-user
>> mailing list lilypond-user@gnu.org 
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJWhGdfAAoJEAF3yXsqtyBlSAwQAI0ImWKhSK+lBrSrq/Eq0c5o
Af4oNVnjaTdDdMGI1wnp//g9ung7xgZVY26N8gY6eRtpla6yNs6qPdZZVpk+c98R
phM6biKrfouFpSNXHJbowpYQ4Q9y2NqPFf7rqSrXELoU9piAKvwq5k4mxQotkGgx
g2fXdvR0WDpiKDWtX1Jc3tTm9cXe5AtHWh7G6nF+20lbKwxrYHucaFJHp6WjwyLn
Hp1Mxu5Wxs4ce3xtwQ4iiaggM3E3jxtp7wFBZMF39YmQg/Tdm9syLkmOS2Pc7kQX
5IsYibc2VDnqKoGePtX9JCflwnJvR9dZSc4fdfypE5wAK3SQXBKpZEuS48KTQ2Jo
b8E0PRTSMWohQjwX50C8llQUVADy8ZesbagmtsSURiBjRR3ewZpbcevPW3TGO+0b
g1EWtfsERcdf8l8EggSSCnnwspV/KWrEP4DknSDLYpUE2oM3kJk/a1YTekFvn8x5
JSnNuOCCNDc6fcgDKaE3whe/3Zgv97Z+4RVM4V3AxOM7HDKm6nhmIPX5Z8LOoSLc
sDs0+uHcnyNPMk/BqknitLhKTaQWhWDZ+fwNbZ/tAp6i2KCSs9BD+qERsqxfa8gp
4arataumkc2CfahJJQHo7lYyJt18PuZ66HtO5wwDFrj0eZHuseDogAznLTl6USTR
Jttb32duxKO9BQ0dMmCs
=xaFA
-END PGP SIGNATURE-

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-30 Thread Klaus Blum
If you want to include LilyPond snippets into a word processor, you might be
interested in the OOoLilyPond extension for OpenOffice: 
http://ooolilypond.sourceforge.net/

It calls LilyPond to compile your code into a PNG or EPS file which is
inserted into the text document. 
PNG works pretty well, but has the quality drawbacks of every bitmap format. 

The author states that EPS does not work on Windows, but that's not quite
true: 
OpenOffice cannot display or print the EPS graphics or directly export to
PDF, but printing to a suitable PDF printer will do the trick (I use FreePDF
which is a frontend to GhostScript).



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/incorporating-pdf-file-into-a-text-tp185279p185367.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-30 Thread Andrew Bernard
Easier and simpler – use the convert tool from the ImageMagick suite.

$ convert file.pdf file.png

Import PNG into Writer using Insert->Image. Works on Linux.

Andrew


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-30 Thread Andrew Bernard
Hi Urs,

Yes – but if you have any PostScript in your lilypond file the SVG cannot be 
generated. This is a problem I hit continually. So there is some rationale for 
the approach being discussed, under that circumstance.

Andrew


On 31/12/2015, 09:21, "Urs Liska" 
 wrote:

Wouldn't you rather want to create the SVG files directly from LilyPond?

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-30 Thread Urs Liska


Am 30. Dezember 2015 22:37:06 MEZ, schrieb J Martin Rushton 
:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>I've just had a bit of a play with this using LibreOffice 4.3.7.2
>under CentOS 7.2
>
>LibreOffice can't import PDFs directly.
>
>I opened a PDF using the document viewer and used print to file.
>
>I generated postscript files which did would not load correctly into
>LibreOffice.
>
>I then created SVG files.  Working with a two page score I eventually
>generated three files: One file with all (both) pages, and two files
>with one page in each.
>
>The SVGs and PS were all opened by their respective readers and found
>to be correct.
>
>Using LibreOffice I could insert>image>from file and select one of the
>SVGs.  The original (2 page) SVG put both pages on top of each other,
>so I then tried one page at a time which worked perfectly.  The
>resulting score could be saved as ODT, exported as PDF and printed
>directly.
>
>Therefore:
>
>1) Open the PDF in a reader.
>2) Print to file as SVG - one page at a time.
>3) Insert the resulting SVGs as images in your document.

Wouldn't you rather want to create the SVG files directly from LilyPond?

Urs

>
>On 29/12/15 15:57, Joseph Breton wrote:
>> How can I incorporate my pdf file into a word processor like 
>> libreoffice?   My trials always produce some to me undecipherable
>> text which then greatly expands to non ASCII symbols,
>> 
>> 
>> ___ lilypond-user
>> mailing list lilypond-user@gnu.org 
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
>-BEGIN PGP SIGNATURE-
>Version: GnuPG v2.0.22 (GNU/Linux)
>
>iQIcBAEBAgAGBQJWhE6CAAoJEAF3yXsqtyBlBIcP/jzsj2RnGdQGxub3xfczjt6b
>o8UCQUt/PS0gDwR9jEAG/uuji3iC+DLIao+MUQkjpIVaEA5WMBAskpEEK0vGwReL
>eS7kOqq7+YLIsbIAYMI8iOU0vFi3R4xaaQWxBzkCSuxqkQr2usLel+E3pSSDXn7Q
>6SGTDHI7ManVV0rua6SiDskUcw1tG9ubj9+xnq2kVwMvHXh74tUUbVNLvQps2pXG
>9JixEI4JLDUBX5T15Hwk+KUN3LDV1/9InBdvphIRyaXdct4JPmI4qLkZjIygd6Kg
>tAM0i/dkc8nPZz4mngEcWMPdLLw0AOV3k8WCOUjTk9nbmblnuvb3Uy5pghqiQifi
>NGKP0NcrVSYeCjx0zP04iDzrosxkK6Q3icBRmVlnEbQc3EpsW0K03qNVutpb0su3
>apix+prajx7afsUyAkj3v8kFrEfiWtowGYEHwCkqL6nYLz6KO2Smct8dVVKI9fx3
>MBRg06AWOXJCtTE9IX8fDWVpL0rv3vFYO0UwniZHWqCmCuBvLcdZp6DxCMLGmfRL
>oDJIFmqwyIJDslFnZdG3cGWwDMEt/IisJVuqHchRJjpDjDbYfRI4MkGIJptgAOhX
>39/iRYK1ukppMEsedozKu59Bf86Ppx2w/XUPf9OPXQr8dTnY+Hc4/KxodWHX4eNK
>eFp4pDtAPzzNiG1Mz+zi
>=5jYK
>-END PGP SIGNATURE-
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-30 Thread J Martin Rushton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've just had a bit of a play with this using LibreOffice 4.3.7.2
under CentOS 7.2

LibreOffice can't import PDFs directly.

I opened a PDF using the document viewer and used print to file.

I generated postscript files which did would not load correctly into
LibreOffice.

I then created SVG files.  Working with a two page score I eventually
generated three files: One file with all (both) pages, and two files
with one page in each.

The SVGs and PS were all opened by their respective readers and found
to be correct.

Using LibreOffice I could insert>image>from file and select one of the
SVGs.  The original (2 page) SVG put both pages on top of each other,
so I then tried one page at a time which worked perfectly.  The
resulting score could be saved as ODT, exported as PDF and printed
directly.

Therefore:

1) Open the PDF in a reader.
2) Print to file as SVG - one page at a time.
3) Insert the resulting SVGs as images in your document.

On 29/12/15 15:57, Joseph Breton wrote:
> How can I incorporate my pdf file into a word processor like 
> libreoffice?   My trials always produce some to me undecipherable
> text which then greatly expands to non ASCII symbols,
> 
> 
> ___ lilypond-user
> mailing list lilypond-user@gnu.org 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJWhE6CAAoJEAF3yXsqtyBlBIcP/jzsj2RnGdQGxub3xfczjt6b
o8UCQUt/PS0gDwR9jEAG/uuji3iC+DLIao+MUQkjpIVaEA5WMBAskpEEK0vGwReL
eS7kOqq7+YLIsbIAYMI8iOU0vFi3R4xaaQWxBzkCSuxqkQr2usLel+E3pSSDXn7Q
6SGTDHI7ManVV0rua6SiDskUcw1tG9ubj9+xnq2kVwMvHXh74tUUbVNLvQps2pXG
9JixEI4JLDUBX5T15Hwk+KUN3LDV1/9InBdvphIRyaXdct4JPmI4qLkZjIygd6Kg
tAM0i/dkc8nPZz4mngEcWMPdLLw0AOV3k8WCOUjTk9nbmblnuvb3Uy5pghqiQifi
NGKP0NcrVSYeCjx0zP04iDzrosxkK6Q3icBRmVlnEbQc3EpsW0K03qNVutpb0su3
apix+prajx7afsUyAkj3v8kFrEfiWtowGYEHwCkqL6nYLz6KO2Smct8dVVKI9fx3
MBRg06AWOXJCtTE9IX8fDWVpL0rv3vFYO0UwniZHWqCmCuBvLcdZp6DxCMLGmfRL
oDJIFmqwyIJDslFnZdG3cGWwDMEt/IisJVuqHchRJjpDjDbYfRI4MkGIJptgAOhX
39/iRYK1ukppMEsedozKu59Bf86Ppx2w/XUPf9OPXQr8dTnY+Hc4/KxodWHX4eNK
eFp4pDtAPzzNiG1Mz+zi
=5jYK
-END PGP SIGNATURE-

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-29 Thread Urs Liska


Am 29. Dezember 2015 17:30:32 MEZ, schrieb Graham King 
:
>
> 
>> - Original Message - 
>> From: Joseph Breton 
>> To: lilypond-user@gnu.org 
>> Sent: Tuesday, December 29, 2015 3:57 PM
>> Subject: incorporating .pdf file into a text
>> 
>>     
>> How can I incorporate my pdf file into a word processor like
>> libreoffice?   My trials always produce some to me
>> undecipherable text which then greatly expands to non ASCII
>> symbols,  
>> 
>You could convert the PDF to EPS (encapsulated postscript) and then use
>\markup \epsfile ...
>

That was the wrong direction ...
Urs

>
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-29 Thread Graham King

 
> - Original Message - 
> From: Joseph Breton 
> To: lilypond-user@gnu.org 
> Sent: Tuesday, December 29, 2015 3:57 PM
> Subject: incorporating .pdf file into a text
> 
> 
> How can I incorporate my pdf file into a word processor like
> libreoffice?   My trials always produce some to me
> undecipherable text which then greatly expands to non ASCII
> symbols,  
> 
You could convert the PDF to EPS (encapsulated postscript) and then use
\markup \epsfile ...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorporating .pdf file into a text

2015-12-29 Thread Phil Holmes
You're probably better trying to use an image file, like PNG.

See 
http://lilypond.org/doc/v2.19/Documentation/usage/command_002dline-usage#basic-command-line-options-for-lilypond

--
Phil Holmes


  - Original Message - 
  From: Joseph Breton 
  To: lilypond-user@gnu.org 
  Sent: Tuesday, December 29, 2015 3:57 PM
  Subject: incorporating .pdf file into a text


  How can I incorporate my pdf file into a word processor like libreoffice?   
My trials always produce some to me undecipherable text which then greatly 
expands to non ASCII symbols,  



--


  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


incorporating .pdf file into a text

2015-12-29 Thread Joseph Breton
How can I incorporate my pdf file into a word processor like libreoffice?
My trials always produce some to me undecipherable text which then greatly
expands to non ASCII symbols,
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: xpdf won't show lily's PDF file

2012-09-18 Thread Laura Conrad
>>>>> "David" == David Kastrup  writes:

David> Laura Conrad  writes:
>> My system in currently in dependency hell, so I'm sure this isn't either
>> a lilypond problem or an xpdf problem, but an  ubuntu package manager
>> problem.  (If anyone tells you ubuntu has 32-bit executables installing
>> seamlessly on a 64-bit system, they haven't tested it much.)
>> 
>> But if someone knows off the top of their heads why evince and gv can
>> read the lilypond output with no problem, but xpdf comes up and then
>> gives pages and pages of errors like:
>> 
>> ...
>> and then segfaults, it might help me fix the dependency problem.

David> That's not a dependency problem, and it is not a LilyPond problem.  
xpdf
David> will segfault on any PDF file.  Install an older dpkg package (I have
David> 3.02-21 I think, the Ubuntu one has a slightly different number) and
David> mark it as holded.  Don't ask me why Ubuntu considers providing a
David> segfaulting binary a good idea.

Thanks.  I had to also install and hold older versions of libpoppler13
and libjpeg62, but I do have a working xpdf now.  


-- 
Laura   (mailto:lcon...@laymusic.org, twitter: @serpentplayer)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
http://www.laymusic.org/ http://www.serpentpublications.org

I gave Cuellar more chances than my first wife.

Hall of Fame Orioles manager Earl Weaver, after he stuck with lefty
Mike Cuellar way too long, finally pulling him out of the rotation
only to have Cuellar complain about losing his spot.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: xpdf won't show lily's PDF file

2012-09-18 Thread David Kastrup
Laura Conrad  writes:

> My system in currently in dependency hell, so I'm sure this isn't either
> a lilypond problem or an xpdf problem, but an  ubuntu package manager
> problem.  (If anyone tells you ubuntu has 32-bit executables installing
> seamlessly on a 64-bit system, they haven't tested it much.)
>
> But if someone knows off the top of their heads why evince and gv can
> read the lilypond output with no problem, but xpdf comes up and then
> gives pages and pages of errors like:
>
> re 3930.24 340.711 2.48828 161.008
> S
> q
> cm 10 0 0 10 0 0
> BT
> Tf /R14 19.9253
>   font: tag=R14 name='LKBZYR+Emmentaler-20' 19.9253
> Tm 1 0 0 1 393.473 50.1719
> Tj ()
> ET
> Q
> re 3871.16 0 2.49219 57.4805
> f
> re 3871.16 -2.99219 2.48828 60.4727
> S
> Q
>
> and then segfaults, it might help me fix the dependency problem.

That's not a dependency problem, and it is not a LilyPond problem.  xpdf
will segfault on any PDF file.  Install an older dpkg package (I have
3.02-21 I think, the Ubuntu one has a slightly different number) and
mark it as holded.  Don't ask me why Ubuntu considers providing a
segfaulting binary a good idea.

-- 
David Kastrup


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


xpdf won't show lily's PDF file

2012-09-18 Thread Laura Conrad

My system in currently in dependency hell, so I'm sure this isn't either
a lilypond problem or an xpdf problem, but an  ubuntu package manager
problem.  (If anyone tells you ubuntu has 32-bit executables installing
seamlessly on a 64-bit system, they haven't tested it much.)

But if someone knows off the top of their heads why evince and gv can
read the lilypond output with no problem, but xpdf comes up and then
gives pages and pages of errors like:

re 3930.24 340.711 2.48828 161.008
S
q
cm 10 0 0 10 0 0
BT
Tf /R14 19.9253
  font: tag=R14 name='LKBZYR+Emmentaler-20' 19.9253
Tm 1 0 0 1 393.473 50.1719
Tj ()
ET
Q
re 3871.16 0 2.49219 57.4805
f
re 3871.16 -2.99219 2.48828 60.4727
S
Q

and then segfaults, it might help me fix the dependency problem.

Don't ask me to check acroread, because I think that's what triggered the
dependency hell.  I did finally manage to remove it this morning, so the
hell is somewhat cooler than it was last night.

And if anyone has point-and-click working (with emacs) with any other
pdf reader besides xpdf, that would be useful, too.

Thanks,

-- 
Laura   (mailto:lcon...@laymusic.org, twitter: @serpentplayer)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
http://www.laymusic.org/ http://www.serpentpublications.org

Mr. Barenboim recalled observing Mr. Boulez lead Schoenberg's "Pelleas
und Melisande" with the BBC Symphony in the early 1960s.

"I sat with the score during the rehearsal," he said. "At the
beginning there is quite a lot of chromaticism, and at a certain point
there was a chord out of tune and Pierre said, 'No, no, this is sharp,
this is flat.' I was amazed.

"As a pianist I had no idea how he heard all that. I mean, when I
thought my piano was out of tune, I just called the tuner. So I asked
Pierre how he did it. I was starting to conduct, and I wanted to know
if this was something I could learn.

"Pierre said: 'You have to have the courage to say what you hear and
think when you conduct. Either the player will correct you and say
it's not me out of tune, it's the second oboe, or you will be
right. But in any case you will learn. Don't put your ego above the
music. Do what you have to do for the sake of the music, and only in
that way will you make progress.' "

Quoted by Michael Kimmelman in the New York Times, January 10, 2010

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: translate a pdf file

2012-05-17 Thread Phil Holmes
- Original Message - 
From: "D'Arcy Cain" 

To: "fabio" 
Cc: 
Sent: Thursday, May 17, 2012 12:37 PM
Subject: Re: translate a pdf file



On 12-05-17 05:52 AM, fabio wrote:
sorry i'm still at beginner level..!i want to know if it's possible to 
get a ly
file from a pdf,if there's any way to translate a pdf file to ly 
file!thank you!


Other than reading it and retyping, no.  It's like trying to make eggs
from omelets.  Not to say it won't ever be possible.  Think OCR.



Actually I do this quite regularly.  My workflow is rather cumbersome and 
could be improved, but it works for me.


1. Create image files from pdf.
2. Use SharpEye to do OCR
3. Correct OCR in SharpEye
4. Export to MusicXML
5. Export MusicXML to Noteworthy
6. Recorrrect and add tweaks.
7. Export Noteworthy and translate to .ly
8. Create PDF in LilyPond

It sounds long-winded but I bet I could beat a manual retyper for any 
reasonable score.


--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: translate a pdf file

2012-05-17 Thread fabio gabbianelli
ok, i understandin that case i'll use the Pencil...
Il giorno 17/mag/2012, alle ore 13:04, Francisco Vila ha scritto:

> 2012/5/17 fabio :
>> sorry i'm still at beginner level..!i want to know if it's possible to get a 
>> ly
>> file from a pdf,if there's any way to translate a pdf file to ly file!thank 
>> you!
> 
> Not automatically, but I do that every day. Just read the music and
> type the note names and values you read.
> 
> -- 
> 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: translate a pdf file

2012-05-17 Thread Urs Liska

Am 17.05.2012 13:37, schrieb D'Arcy Cain:

On 12-05-17 05:52 AM, fabio wrote:
sorry i'm still at beginner level..!i want to know if it's possible 
to get a ly
file from a pdf,if there's any way to translate a pdf file to ly 
file!thank you!


Other than reading it and retyping, no.  It's like trying to make eggs
from omelets.  Not to say it won't ever be possible.  Think OCR.


In theory that's already possible.
There are programs that translate scanned scores to a music format (e.g. 
Finale or Sibelius). Some of these programs can then export to musicXML 
which can then be converted to .ly.


But that's quite cumbersome - and you're not very likely to get useable 
results.

So most of the time retyping will be faster and better.

HTH
Urs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: translate a pdf file

2012-05-17 Thread D'Arcy Cain

On 12-05-17 05:52 AM, fabio wrote:

sorry i'm still at beginner level..!i want to know if it's possible to get a ly
file from a pdf,if there's any way to translate a pdf file to ly file!thank you!


Other than reading it and retyping, no.  It's like trying to make eggs
from omelets.  Not to say it won't ever be possible.  Think OCR.

--
D'Arcy J.M. Cain  |  Democracy is three wolves
http://www.druid.net/darcy/|  and a sheep voting on
+1 416 425 1212 (DoD#0082)(eNTP)   |  what's for dinner.
IM: da...@vex.net

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: translate a pdf file

2012-05-17 Thread Francisco Vila
2012/5/17 fabio :
> sorry i'm still at beginner level..!i want to know if it's possible to get a 
> ly
> file from a pdf,if there's any way to translate a pdf file to ly file!thank 
> you!

Not automatically, but I do that every day. Just read the music and
type the note names and values you read.

-- 
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


translate a pdf file

2012-05-17 Thread fabio
sorry i'm still at beginner level..!i want to know if it's possible to get a ly 
file from a pdf,if there's any way to translate a pdf file to ly file!thank you!



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-26 Thread Carl Sorensen
On 9/26/10 12:18 PM, "MING TSANG"  wrote:

> Carl,
> 
> I mess up Mark Polesky and Carl Sorensen as Mark Sorensen.  Sorry!

No problem!  I knew what you meant, and I'm not offended.  Now Mark might be
offended by having his name associated with mine... (Just kidding).

> What does it mean "top post in lilypond"?

It means putting your answers at the top of the email to which you are
replying, rather that putting the answers inside the original email, as I am
doing now.

> 
> The following code produce large numbers when using noteHeadOn with number.
> When I copy the same Ez_numbers_engraver and EzNum onto my other .ly file I
> did not get the larger number effect. I have no idea what's wrong.

OK, so the thing to do is to make a simple file to get help.

Make a file with one bar of soprano notes.  Copy Ez_numbers_engraver and
EzNum into that file. See if it gives you large or small note numbers.

If you get small note numbers, then you can send the simple file and ask why
it doesn't work.

If you get large note numbers in the sample file, then you should go back to
the file that isn't working.  Copy that file, then eliminate all but the the
first measure of each voice.  Test again, and make sure that it's not
working.  Then, send us a simple file that doesn't work.  At that point it
will be easy for us to give you help.

The longer the file you send to the list, the less likely you are to get
help on it, because it's hard for us to work through a long file.

Thanks,

Carl


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-26 Thread MING TSANG
%bar 01
 }
PianoLHand = \relative c {
bf'2 a2 | g2 gf2 | f2^\markup{poco rit.} f,2 |%bar 01-03
 }
 
VerseOne   = \lyricmode { 
主 在 聖 | 殿 中 | 主 在 聖 | 殿 中 |
普 天 下 的 | 人 在 | 主 面 前 都 |
應 當 | 肅 | 靜  肅 | 靜 肅 |
靜 應 | 當 肅 | 靜 | 阿 | 們 |
}
%VerseTwo   = \lyricmode { voice two  } 
%VerseThree = \lyricmode { }
%VerseFour  = \lyricmode { |

\score {
  \new GrandStaff = "GrandStaff_score" <<
\new ChoirStaff <<
  \tempo 4 =  90
  \set Score.markFormatter = #format-mark-box-numbers
  \new Staff <<
\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\clef "treble"
\new Voice = "Sop"  { \voiceOne  \TimeKey \SopMusic  }
\new Voice = "Alto" { \voiceTwo  \TimeKey \AltoMusic }
 \new Lyrics \lyricsto "Sop" { \VerseOne   }
%\new Lyrics \lyricsto "Sop" { \VerseTwo   }
%\new Lyrics \lyricsto "Sop" { \VerseThree }
%\new Lyrics \lyricsto "Sop" { \VerseFour  }
  >>
  \new Staff <<
\clef "bass"
\new Voice = "Tenor" { \voiceOne \TimeKey \TenorMusic }
\new Voice = "Bass"  { \voiceTwo \BassMusic  }
  >>
>>
%\new PianoStaff <<
%  \new Staff = "RH" { \TimeKey  \PianoRHand }
%      \new Staff = "LH" { \TimeKey \clef bass \PianoLHand } 
%>>
  >>

  \layout {
\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
%\Voice 
 \consists \Ez_numbers_engraver
}
  }
  \midi { }
}







From: Carl Sorensen 
To: MING TSANG ; Ian Hulin 
Cc: "lilypond-user@gnu.org" 
Sent: Sun, September 26, 2010 9:07:32 AM
Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully.

On 9/26/10 6:49 AM, "MING TSANG"  wrote:

> Ian,
> 
> Thank you. I follow your prescribed steps and my problem is resolved. Thank
> you. My problem starts when I install multiple versions: v2.13.32 in default
> and 2.6.5 & 2.12.3 in its own folders.  v2.6.5 is the last install I did. Now
> my computer is clean up. I have only v2.13.33.  I went to lilypond.org and I
> didn't see v2.13.34 as you suggested to use.

As of right now, the following website:

<http://lilypond.org/web/install/#2.13>

list 2.13.34-1 as the current development release.
> 
> Lilypond users:  I want to use mup2ly.py, but it is in v2.6.5 How can I use it
> with v2.13.33 and up. I don't want go through the problem of installing multi
> versions of lilypond. Is it possible to include mup2ly.pf with v2.13.33 and
> up?
> 
> More questions / help require:
> (1). How can I increase the fontsize of the numbers in easyHeadOn with
> numbers.  The following .ly produce number too small when in print (hardcopy).
> I have been trying very hard but in vain.

Please generate a small snippet that shows what you have tried.  I have sent
you  a snippet that increases the font size in easy heads.   I have tested
it and it works.  I'll be happy to help you work through these issues, but
we should do it on a small snippet, instead of a big file.

> (2). It seems that I lost tagline on my last page. What happened?
> (3). Apprceiate snippet for generating midi file for voice part - ie soprano,
> alto, tenor bass. My intention is to provide voice part for choir member to
> practice. 

I think that you can create separate scores with midi blocks for the
individual parts.

\version 2.13
soprano = \relative c'' {
  c d e
}

alto  = \relative c'' {
  a b c
}

\score {
  \new Staff {
<<
  \soprano
  \alto
>>
  }
  \layout {}
}

\score {
  \soprano
  \midi{}
}

\score {
  \alto
  \midi{}
}


> (4). Is it possible to print title on every page?

Search the user archives for "header on every page".


HTH,

Carl

P.S. Please don't top post on lilypond lists.  It's against our list
etiquette.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-26 Thread Carl Sorensen
On 9/26/10 6:49 AM, "MING TSANG"  wrote:

> Ian,
> 
> Thank you. I follow your prescribed steps and my problem is resolved. Thank
> you. My problem starts when I install multiple versions: v2.13.32 in default
> and 2.6.5 & 2.12.3 in its own folders.  v2.6.5 is the last install I did. Now
> my computer is clean up. I have only v2.13.33.  I went to lilypond.org and I
> didn't see v2.13.34 as you suggested to use.

As of right now, the following website:



list 2.13.34-1 as the current development release.
> 
> Lilypond users:  I want to use mup2ly.py, but it is in v2.6.5 How can I use it
> with v2.13.33 and up. I don't want go through the problem of installing multi
> versions of lilypond. Is it possible to include mup2ly.pf with v2.13.33 and
> up?
> 
> More questions / help require:
> (1). How can I increase the fontsize of the numbers in easyHeadOn with
> numbers.  The following .ly produce number too small when in print (hardcopy).
> I have been trying very hard but in vain.

Please generate a small snippet that shows what you have tried.  I have sent
you  a snippet that increases the font size in easy heads.   I have tested
it and it works.  I'll be happy to help you work through these issues, but
we should do it on a small snippet, instead of a big file.
 
> (2). It seems that I lost tagline on my last page. What happened?
> (3). Apprceiate snippet for generating midi file for voice part - ie soprano,
> alto, tenor bass. My intention is to provide voice part for choir member to
> practice. 

I think that you can create separate scores with midi blocks for the
individual parts.

\version 2.13
soprano = \relative c'' {
  c d e
}

alto  = \relative c'' {
  a b c
}

\score {
  \new Staff {
<<
  \soprano
  \alto
>>
  }
  \layout {}
}

\score {
  \soprano
  \midi{}
}

\score {
  \alto
  \midi{}
}


> (4). Is it possible to print title on every page?

Search the user archives for "header on every page".


HTH,

Carl

P.S. Please don't top post on lilypond lists.  It's against our list
etiquette.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread Ian Hulin
Ming,

On 24/09/10 23:15, MING TSANG wrote:
> Hi, neuro:
> 
> I think you problem can be resolved. Please refer to vol94 issue 94 message 3 
> from Phil Holmes. If you are not absolutely need .ps, don't try.   
> 
> 
> My problem is after I added as suggested from Phil Holmes, I got the .ps file 
> and I lost .pdf file. I comment out the  line "#(ly:set-option 
> 'delete-intermediate-files #f)" and re-run lilypond, but I lost both .ps and 
> .pdf since. It has been a couple of days.  I have been asking help from 
> lilypond 
> users to resolve. I now wait for help from lily4jedif user.
> 
> Lilypond users:
> I run Command line lilypond (CMD.EXE) as 
> 
> c:Documents and Settings\Administrator\Desktop\LILY_POND>lilypond -f --pdf 
> more-love-to-thee.ly
> 
> 
> and I get the following error message:
> GNU LilyPond 2.6.5

This means you have an ancient version of Lilypond installed on your
machine, and the \version in your source file specifies a later Lilypond
version as the minimum valid version.

Make sure you're running in an account with administrator privileges,

You need to download the latest LilyPond Version from the website (go
for version 2.13.34 if you can, and save it in downloads directory).

You should now de-install Lilypond 2.6.5 (there should be an Uninstall
option in your Start | All Programs | Lilypond Menu.

Once you've uninstalled V2.6.5, run the exe you have downloaded to
install Lilypond 2.13.34.

Run this command from the cmd window

lilypond
It should tell you it's running version 2.13.34.

Now try your test again.


Cheers,

Ian

> 
> error: Incorrect lilypond version: 2.13.32 (2.3.22, 2.6.5)
> 
> Can anyone show me how can I set up CMD to run v2.13.33? I uninstall v2.6.5 
> and 
> install v3.13.33 -  how come I am still running v2.6.5.
> 
> Thanks everyone,
> Ming.
> 
> 
> 
> 
> 
> 
> 
> From: neuro黃學仁 
> To: MING TSANG 
> Cc: lilypond-user@gnu.org
> Sent: Fri, September  24, 2010 2:09:48 PM
> Subject: Re: Fw: Help needed - missing .pdf file after running lilypond 
> sucessfully.
> 
> Dear Dr. Tsang
> 
> 
> You might want to check out
> lilypond --help
> 
> Actually, I have met similar, (or more precisely, reverse,) problems
> when I run 2.13.33 last month.
> 
> It seems, lilypond have output a pdf file, without a ps file as the ps
> file was converted to pdf, when I run 2.13.33 last month, as
> lilypond musicfile.ly
> (The output files shoud be both ps and pdf, in my expectation.)
> 
> So, to specifically assign the output to be a ps file, according to the 
> --help,
> I run
> lilypond -f --ps musicfile.ly
> 
> So, you might want to run
> lilypond -f --pdf musicfile.ly
> for specifically assign the pdf in your situation.
> 
> options are
> -f --ps
> -f --pdf
> -f --png
> 
> 
> good luck ^_^
> 
> neuro 黃
> neu...@gmail.com
> 
> ===
> 
> 2010/9/25 MING TSANG :
>> the following reply all did't go thru. Now I try again, just send ti
>> lilypond users.
>>
>> - Forwarded Message 
>> From: MING TSANG 
>> To: Kaz Kylheku 
>> Cc: lilypond-user@gnu.org
>> Sent: Fri, September 24, 2010 8:58:11 AM
>> Subject: Re: Help needed - missing .pdf file after running lilypond
>> sucessfully.
>>
>> Kaz,
>> thank you. I don't know how to run lilypond on CMD EXE.  Can you provide some
>> command line script?
>>
>> I try the alternative method as suggested. I got the following message:
>>   "GS.EXE entry point not found -- the procedure entry point
>> gsapi_delete_insta...@4 could not be located in the dynamic link library
>> gs-8.70.dll"
>>
>> For the past few days I have been rebooting window xp several times.
>>
>>
>> Mark Polesky:  thank you for pointing me to contact jedit users. I have send
>> them an email and waiting for their response.
>>
>> 
>> From: Kaz Kylheku 
>> To: MING TSANG 
>> Cc: lilypond-user@gnu.org
>> Sent: Thu, September 23, 2010 11:02:24 PM
>> Subject: Re: Help needed - missing .pdf file after running lilypond
>> sucessfully.
>>
>> This mailing list is about Lilypond.
>>
>> What happens if you run just the lilypond executable?
>>
>> In windows you can open a CMD.EXE window on the folder and run lilypond on
>> the file. If the executable is not in your %PATH%, you will have to use the
>> full path.
>>
>> Alternately, you should be able, in Explorer, to right click on the .ly file
>> and invoke the "Generate PDF" command from th

Re: Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG)

2010-09-24 Thread Ian Hulin
Ming,
First of all see if your lilypond version is OK.
Click on the Windows Menu Button and Select the Run option.  When the
window pops up type in cmd and click OK to start a terminal session.
The prompt should tell you you're in the "My Documents" directory for
your account.
Enter notepad test.ly and press the enter key.

In the notepad editor, type in

\version "2,12.0"
\relative c' { c1 \bar "|."}

Now do lilypond test.ly

Does this produce test.pdf on the directory? (Do
dir test.*
to find out.

If it does, this shows you Lilypond installation is OK.

If it is OK at this stage, fire up jedit and open test.ly.   If
Lilypondtool is installed correctly you should see the pdf output in the
PDF viewer pane.  Now try adding another note or something to test.ly
e.g. change the \relative block to
\relative c' { c1 | d1 \bar "|."}

and compiling in Lilypondtool. If this fails it may mean there is
something wrong with the command Lilypondtool is generating to do the
compilation.

However, now go back to the cmd window where you compiled test.ly, and
change your working directory to the folder with your problem .ly file.


Do this by using the cd command
cd "C:/Documents and Settings/Administrator/Desktop/LILY_POND"
now use the following command from the command line
lilypond --verbose more-love-to-thee.ly

What messages do you see?

Btw has your Windows user account got write access to the Administrator
user's Desktop folder?

Also, try doing this in your Jedit session in the Console pane.

cd "C:/Documents and Settings/Administrator/Desktop/LILY_POND"

Now try clicking on the LilypondTool compile button in Jedit.  Are the
results any different?

Cheers,

Ian Hulin


On 24/09/10 19:56, MING TSANG wrote:
> Fr. Gordon,
> 
> The jedit version is 4.3.2; lilypond is v2.13.33.  I see the viewer icon. I 
> single click it and it displays nothing. It is because the .pdf file is not 
> created even though the jedit console says it did generate a .pdf file.
> 
> Ming.
> 
> 
> 
> 
> 
> 
> From: Father Gordon Gilbert 
> To: tsan...@rogers.com; Lilypondusers Group 
> Sent: Fri, September 24, 2010 1:36:56 PM
> Subject: Re:Help needed - missing .pdf file after running lilypond 
> sucessfully. 
> (MING TSANG)
> 
> Hi!
> 
> I have used Lilypondtool both on Windoze, and on Ubuntu, and the toolbar 
> immediately above the open file has little icons for everything you need.  
> One 
> of them is a tiny sheet of paper representing the PDF option.  Do you have 
> that 
> on your version?  If so, simply click that (once not twice) and your PDF 
> should 
> appear in a separate window in jEdit's native PDF viewer.  Especially if your 
> compilation creates a ./ file name as I see it does.
> 
> Hope this helps.
> 
> Gordon+
> 
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypondsucessfully. (MING TSANG)

2010-09-24 Thread Trevor Daniels


MING TSANG wrote Friday, September 24, 2010 7:56 PM

The jedit version is 4.3.2; lilypond is v2.13.33.  I see the 
viewer icon. I
single click it and it displays nothing. It is because the .pdf 
file is not
created even though the jedit console says it did generate a .pdf 
file.


Ghostscript is required to convert the .ps file
into a .pdf file.  I seem to remember an earlier
posting of yours contained a message about GS.EXE
entry point not being found.  This is the clue to
follow up.  Have you installed any other application
which might have the same name, such as the Gammadyne
alternative DOS shell?

Trevor



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread MING TSANG
Hi, neuro:

I think you problem can be resolved. Please refer to vol94 issue 94 message 3 
from Phil Holmes. If you are not absolutely need .ps, don't try.   


My problem is after I added as suggested from Phil Holmes, I got the .ps file 
and I lost .pdf file. I comment out the  line "#(ly:set-option 
'delete-intermediate-files #f)" and re-run lilypond, but I lost both .ps and 
.pdf since. It has been a couple of days.  I have been asking help from 
lilypond 
users to resolve. I now wait for help from lily4jedif user.

Lilypond users:
I run Command line lilypond (CMD.EXE) as 

c:Documents and Settings\Administrator\Desktop\LILY_POND>lilypond -f --pdf 
more-love-to-thee.ly


and I get the following error message:
GNU LilyPond 2.6.5

error: Incorrect lilypond version: 2.13.32 (2.3.22, 2.6.5)

Can anyone show me how can I set up CMD to run v2.13.33? I uninstall v2.6.5 and 
install v3.13.33 -  how come I am still running v2.6.5.

Thanks everyone,
Ming.







From: neuro黃學仁 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Fri, September  24, 2010 2:09:48 PM
Subject: Re: Fw: Help needed - missing .pdf file after running lilypond 
sucessfully.

Dear Dr. Tsang


You might want to check out
lilypond --help

Actually, I have met similar, (or more precisely, reverse,) problems
when I run 2.13.33 last month.

It seems, lilypond have output a pdf file, without a ps file as the ps
file was converted to pdf, when I run 2.13.33 last month, as
lilypond musicfile.ly
(The output files shoud be both ps and pdf, in my expectation.)

So, to specifically assign the output to be a ps file, according to the --help,
I run
lilypond -f --ps musicfile.ly

So, you might want to run
lilypond -f --pdf musicfile.ly
for specifically assign the pdf in your situation.

options are
-f --ps
-f --pdf
-f --png


good luck ^_^

neuro 黃
neu...@gmail.com

===

2010/9/25 MING TSANG :
> the following reply all did't go thru. Now I try again, just send ti
> lilypond users.
>
> - Forwarded Message 
> From: MING TSANG 
> To: Kaz Kylheku 
> Cc: lilypond-user@gnu.org
> Sent: Fri, September 24, 2010 8:58:11 AM
> Subject: Re: Help needed - missing .pdf file after running lilypond
> sucessfully.
>
> Kaz,
> thank you. I don't know how to run lilypond on CMD EXE.  Can you provide some
> command line script?
>
> I try the alternative method as suggested. I got the following message:
>   "GS.EXE entry point not found -- the procedure entry point
> gsapi_delete_insta...@4 could not be located in the dynamic link library
> gs-8.70.dll"
>
> For the past few days I have been rebooting window xp several times.
>
>
> Mark Polesky:  thank you for pointing me to contact jedit users. I have send
> them an email and waiting for their response.
>
> 
> From: Kaz Kylheku 
> To: MING TSANG 
> Cc: lilypond-user@gnu.org
> Sent: Thu, September 23, 2010 11:02:24 PM
> Subject: Re: Help needed - missing .pdf file after running lilypond
> sucessfully.
>
> This mailing list is about Lilypond.
>
> What happens if you run just the lilypond executable?
>
> In windows you can open a CMD.EXE window on the folder and run lilypond on
> the file. If the executable is not in your %PATH%, you will have to use the
> full path.
>
> Alternately, you should be able, in Explorer, to right click on the .ly file
> and invoke the "Generate PDF" command from the popup menu.
>
> Be sure that no program has any of the output files (MIDI, PDF, ...) open,
> because this may prevent Lilypond from being able to write to the files.
> (Install a real OS to avoid that problem).
>
> If you follow this procedure and get a  PDF, there is no Lilypond problem.
> Maybe the surrounding tools are "eating" the PDF.
>
> Also, when was the last time you rebooted that Windows? At least once every
> few days is a good idea.
>
>
>
> On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG 
> wrote:
>
> Here below is jedit console message display. According to the message a .ps
> file is generated and a .pdf is generated as well.  However I find the .ps
> file but no .pdf file on the folder where the .ly file resides.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG)

2010-09-24 Thread MING TSANG
Fr. Gordon,

The jedit version is 4.3.2; lilypond is v2.13.33.  I see the viewer icon. I 
single click it and it displays nothing. It is because the .pdf file is not 
created even though the jedit console says it did generate a .pdf file.

Ming.






From: Father Gordon Gilbert 
To: tsan...@rogers.com; Lilypondusers Group 
Sent: Fri, September 24, 2010 1:36:56 PM
Subject: Re:Help needed - missing .pdf file after running lilypond sucessfully. 
(MING TSANG)

Hi!

I have used Lilypondtool both on Windoze, and on Ubuntu, and the toolbar 
immediately above the open file has little icons for everything you need.  One 
of them is a tiny sheet of paper representing the PDF option.  Do you have that 
on your version?  If so, simply click that (once not twice) and your PDF should 
appear in a separate window in jEdit's native PDF viewer.  Especially if your 
compilation creates a ./ file name as I see it does.

Hope this helps.

Gordon+

-- 
Fr. Gordon Gilbert
Penetanguishene, ON ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread neuro黃學仁
Dear Dr. Tsang


You might want to check out
lilypond --help

Actually, I have met similar, (or more precisely, reverse,) problems
when I run 2.13.33 last month.

It seems, lilypond have output a pdf file, without a ps file as the ps
file was converted to pdf, when I run 2.13.33 last month, as
lilypond musicfile.ly
(The output files shoud be both ps and pdf, in my expectation.)

So, to specifically assign the output to be a ps file, according to the --help,
I run
lilypond -f --ps musicfile.ly

So, you might want to run
lilypond -f --pdf musicfile.ly
for specifically assign the pdf in your situation.

options are
-f --ps
-f --pdf
-f --png


good luck ^_^

neuro 黃
neu...@gmail.com

===

2010/9/25 MING TSANG :
> the following reply all did't go thru. Now I try again, just send ti
> lilypond users.
>
> - Forwarded Message 
> From: MING TSANG 
> To: Kaz Kylheku 
> Cc: lilypond-user@gnu.org
> Sent: Fri, September 24, 2010 8:58:11 AM
> Subject: Re: Help needed - missing .pdf file after running lilypond
> sucessfully.
>
> Kaz,
> thank you. I don't know how to run lilypond on CMD EXE. Can you provide some
> command line script?
>
> I try the alternative method as suggested. I got the following message:
>   "GS.EXE entry point not found -- the procedure entry point
> gsapi_delete_insta...@4 could not be located in the dynamic link library
> gs-8.70.dll"
>
> For the past few days I have been rebooting window xp several times.
>
>
> Mark Polesky:  thank you for pointing me to contact jedit users. I have send
> them an email and waiting for their response.
>
> 
> From: Kaz Kylheku 
> To: MING TSANG 
> Cc: lilypond-user@gnu.org
> Sent: Thu, September 23, 2010 11:02:24 PM
> Subject: Re: Help needed - missing .pdf file after running lilypond
> sucessfully.
>
> This mailing list is about Lilypond.
>
> What happens if you run just the lilypond executable?
>
> In windows you can open a CMD.EXE window on the folder and run lilypond on
> the file. If the executable is not in your %PATH%, you will have to use the
> full path.
>
> Alternately, you should be able, in Explorer, to right click on the .ly file
> and invoke the "Generate PDF" command from the popup menu.
>
> Be sure that no program has any of the output files (MIDI, PDF, ...) open,
> because this may prevent Lilypond from being able to write to the files.
> (Install a real OS to avoid that problem).
>
> If you follow this procedure and get a PDF, there is no Lilypond problem.
> Maybe the surrounding tools are "eating" the PDF.
>
> Also, when was the last time you rebooted that Windows? At least once every
> few days is a good idea.
>
>
>
> On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG 
> wrote:
>
> Here below is jedit console message display. According to the message a .ps
> file is generated and a .pdf is generated as well.  However I find the .ps
> file but no .pdf file on the folder where the .ly file resides.
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re:Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG)

2010-09-24 Thread Father Gordon Gilbert
Hi!

I have used Lilypondtool both on Windoze, and on Ubuntu, and the toolbar
immediately above the open file has little icons for everything you need.
One of them is a tiny sheet of paper representing the PDF option.  Do you
have that on your version?  If so, simply click that (once not twice) and
your PDF should appear in a separate window in jEdit's native PDF viewer.
Especially if your compilation creates a ./ file name as I see it does.

Hope this helps.

Gordon+

-- 
Fr. Gordon Gilbert
Penetanguishene, ON
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Fw: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread MING TSANG
the following reply all did't go thru. Now I try again, just send ti lilypond 
users.



- Forwarded Message 
From: MING TSANG 
To: Kaz Kylheku 
Cc: lilypond-user@gnu.org
Sent: Fri, September 24, 2010 8:58:11 AM
Subject: Re: Help needed - missing .pdf file after running lilypond  
sucessfully.


Kaz, 
thank you. I don't know how to run lilypond on CMD EXE. Can you provide some 
command line script?

I try the alternative method as suggested. I got the following message:
  "GS.EXE entry point not found -- the procedure entry point 
gsapi_delete_insta...@4 could not be located in the dynamic link library 
gs-8.70.dll"

For the past few days I have been rebooting window xp several times.


Mark Polesky:  thank you for pointing me to contact jedit users. I have send 
them an email and waiting for their response.  






From: Kaz Kylheku 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Thu, September 23, 2010 11:02:24 PM
Subject: Re: Help needed - missing .pdf file after running lilypond  
sucessfully.


This mailing list is about Lilypond.
What happens if you run just the lilypond executable?
In windows you can open a CMD.EXE window on the folder and run lilypond on the 
file. If the executable is not in your %PATH%, you will have to use the full 
path.
Alternately, you should be able, in Explorer, to right click on the .ly file 
and 
invoke the "Generate PDF" command from the popup menu.
Be sure that no program has any of the output files (MIDI, PDF, ...) open, 
because this may prevent Lilypond from being able to write to the files. 
(Install a real OS to avoid that problem).
If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe 
the surrounding tools are "eating" the PDF.
Also, when was the last time you rebooted that Windows? At least once every few 
days is a good idea.
 
On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG  wrote:
Here below is jedit console message display. According to the message a .ps 
file 
is generated and a .pdf is generated as well.  However I find the .ps file but 
no .pdf file on the folder where the .ly file resides.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-24 Thread MING TSANG
Kaz, 
thank you. I don't know how to run lilypond on CMD EXE. Can you provide some 
command line script?

I try the alternative method as suggested. I got the following message:
  "GS.EXE entry point not found -- the procedure entry point 
gsapi_delete_insta...@4 could not be located in the dynamic link library 
gs-8.70.dll"

For the past few days I have been rebooting window xp several times.


Mark Polesky:  thank you for pointing me to contact jedit users. I have send 
them an email and waiting for their response. 





From: Kaz Kylheku 
To: MING TSANG 
Cc: lilypond-user@gnu.org
Sent: Thu, September 23, 2010 11:02:24 PM
Subject: Re: Help needed - missing .pdf file after running lilypond  
sucessfully.


This mailing list is about Lilypond.
What happens if you run just the lilypond executable?
In windows you can open a CMD.EXE window on the folder and run lilypond on the 
file. If the executable is not in your %PATH%, you will have to use the full 
path.
Alternately, you should be able, in Explorer, to right click on the .ly file 
and 
invoke the "Generate PDF" command from the popup menu.
Be sure that no program has any of the output files (MIDI, PDF, ...) open, 
because this may prevent Lilypond from being able to write to the files. 
(Install a real OS to avoid that problem).
If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe 
the surrounding tools are "eating" the PDF.
Also, when was the last time you rebooted that Windows? At least once every few 
days is a good idea.
 
On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG  wrote:
Here below is jedit console message display. According to the message a .ps 
file 
is generated and a .pdf is generated as well.  However I find the .ps file but 
no .pdf file on the folder where the .ly file resides.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-23 Thread Kaz Kylheku


This mailing list is about Lilypond. 

What happens if you run just
the lilypond executable? 

In windows you can open a CMD.EXE window on
the folder and run lilypond on the file. If the executable is not in
your %PATH%, you will have to use the full path. 

Alternately, you
should be able, in Explorer, to right click on the .ly file and invoke
the "Generate PDF" command from the popup menu. 

Be sure that no
program has any of the output files (MIDI, PDF, ...) open, because this
may prevent Lilypond from being able to write to the files. (Install a
real OS to avoid that problem). 

If you follow this procedure and get a
PDF, there is no Lilypond problem. Maybe the surrounding tools are
"eating" the PDF. 

Also, when was the last time you rebooted that
Windows? At least once every few days is a good idea. 

On Thu, 23 Sep
2010 15:51:34 -0700 (PDT), MING TSANG  wrote:  

Here below is jedit
console message display. According to the message a .ps file is
generated and a .pdf is generated as well. However I find the .ps file
but no .pdf file on the folder where the .ly file resides.  ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed - missing .pdf file after running lilypond sucessfully.

2010-09-23 Thread Mark Polesky
MING TSANG wrote:
> Here below is jedit console message display. According to
> the message a .ps file is generated and a .pdf is
> generated as well.  However I find the .ps file but no
> .pdf file on the folder where the .ly file resides.

It's possible that no one here knows the answer, since this
looks like a LilyPondTool issue.  Your file compiles fine on
my Ubuntu's command line; the pdf shows up as expected.

I would try the LilyPondTool user mailing list:
lily4jedit-u...@lists.sourceforge.net

- Mark


  

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: piano reduction (in other .pdf file)

2009-03-01 Thread James E. Bailey


El 01.03.2009, a las 17:50, stefanozanobini escribió:


I've given a look to the new documentation (I've still lilypond 2.10
and its guide is different from the new one), but the explanation
("Separate scores showing just the vocal parts or just the piano part
can be produced by changing just the structural statements, leaving
the musical notation unchanged") is unclear for a quite new
Lilypond-euser like me.

A complicated solution I found is as the old quide in chapter  
8.3.1. describes:

\new Staff <<
   \set Staff.printPartCombineTexts = ##f
   \partcombine
et cetera...



but I'm sure, that it's not the easiest one!
Actually, that's a very usable solution. If you use this method,  
there's even a snippet in the lsr for merging rests.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: piano reduction (in other .pdf file)

2009-03-01 Thread stefanozanobini
I've given a look to the new documentation (I've still lilypond 2.10
and its guide is different from the new one), but the explanation
("Separate scores showing just the vocal parts or just the piano part
can be produced by changing just the structural statements, leaving
the musical notation unchanged") is unclear for a quite new
Lilypond-euser like me.

A complicated solution I found is as the old quide in chapter 8.3.1. describes:
\new Staff <<
   \set Staff.printPartCombineTexts = ##f
   \partcombine
et cetera...
>>
but I'm sure, that it's not the easiest one!

2009/3/1, James E. Bailey :
>
> El 01.03.2009, a las 15:52, stefanozanobini escribió:
>
>> Hi,
>> I've a 4 voice choir score.
>> I want to generate a second score with the only piano reduction -
>> well, actually an organ reduction :-)
>> In the lilypond guide there is how I can create a score with choir
>> staffs and piano system together, but it's not what I really want.
>>
>> Hope someone can help
>>
>> stezano
>
> It depends on how your score is set up, There are many ways of doing
> this. Have a look at section 3.3.2 of the documentation, it should help.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: piano reduction (in other .pdf file)

2009-03-01 Thread James E. Bailey


El 01.03.2009, a las 15:52, stefanozanobini escribió:


Hi,
I've a 4 voice choir score.
I want to generate a second score with the only piano reduction -
well, actually an organ reduction :-)
In the lilypond guide there is how I can create a score with choir
staffs and piano system together, but it's not what I really want.

Hope someone can help

stezano


It depends on how your score is set up, There are many ways of doing  
this. Have a look at section 3.3.2 of the documentation, it should help.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


piano reduction (in other .pdf file)

2009-03-01 Thread stefanozanobini
Hi,
I've a 4 voice choir score.
I want to generate a second score with the only piano reduction -
well, actually an organ reduction :-)
In the lilypond guide there is how I can create a score with choir
staffs and piano system together, but it's not what I really want.

Hope someone can help

stezano


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread Chip

Anthony W. Youngman wrote:
In message , 
James E. Bailey  writes


So how do you get it to print properly if you DON'T want it to 
"shrink to fit"? (ime, it then prints the page, full size, but 
offset down and left by the printer margin!)


I've found it IMPOSSIBLE to get the pdf to print cleanly on a sheet 
of paper, full size, properly centred.


Cheers,
Wol


In Adobe Acrobat, I use no printer scaling, and automatically center. 
That gets it how it's supposed to be. At least for me.


That works for me as well. I did have to install Acrobat since I only 
used jpedal previously. Oh well, at least it prints correctly now.

--
Chip

I'll have to try. But iirc this is exactly where I get the behaviour 
"this page is to big to fit in the printable area. Place the top left 
corner of the pdf in the top left corner of the printable area and 
don't scale". So everything is off by the printer margin.


It's probably not helped by the fact that I have an A4 document, 
printing on an A4 printer, and Acrobat (the ONLY application to do it) 
insists the printer has American Letter paper.


Cheers,
Wol




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread Brett Duncan

Anthony W. Youngman wrote:
In message <20090207193803.ga2...@istic.org>, Daniel Hulme 
 writes

On Sat, Feb 07, 2009 at 06:34:35PM +, Anthony W. Youngman wrote:

I just don't know where or why Acrobat is finding this American Letter
stuff (oh - I've got a Hickey Pouse WinPrinter - a laserjet 1000 series.
Maybe that's why :-(


Maybe, but I've heard of other people having the same problem with
Acrobat 8. If you're still on 8, perhaps upgrading to 9 will fix it. I
don't know of any workarounds.

Actually, I'm on Acrobat 5 (and no, upgrading to 9 is not an option). I 
could try 9 Reader, but I find its incessant desire to talk to the 
internet a real pain (and at work its habit of trying to upgrade itself 
regularly breaks other programs that use pdf controls :-(


Cheers,
Wol


Have you considered trying Foxit Reader?


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread Anthony W. Youngman
In message <20090207193803.ga2...@istic.org>, Daniel Hulme 
 writes

On Sat, Feb 07, 2009 at 06:34:35PM +, Anthony W. Youngman wrote:

I just don't know where or why Acrobat is finding this American Letter
stuff (oh - I've got a Hickey Pouse WinPrinter - a laserjet 1000 series.
Maybe that's why :-(


Maybe, but I've heard of other people having the same problem with
Acrobat 8. If you're still on 8, perhaps upgrading to 9 will fix it. I
don't know of any workarounds.

Actually, I'm on Acrobat 5 (and no, upgrading to 9 is not an option). I 
could try 9 Reader, but I find its incessant desire to talk to the 
internet a real pain (and at work its habit of trying to upgrade itself 
regularly breaks other programs that use pdf controls :-(


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread Daniel Hulme
On Sat, Feb 07, 2009 at 06:34:35PM +, Anthony W. Youngman wrote:
> I just don't know where or why Acrobat is finding this American Letter  
> stuff (oh - I've got a Hickey Pouse WinPrinter - a laserjet 1000 series.  
> Maybe that's why :-(

Maybe, but I've heard of other people having the same problem with
Acrobat 8. If you're still on 8, perhaps upgrading to 9 will fix it. I
don't know of any workarounds.

-- 
“Papa Hegel he say that all we learn from history is that we learn noth-
hing from history. I know people who can't even learn from what happened
this morning. Hegel must have been taking the long view.”
   --  John Brunner, ‘Stand on Zanzibar’


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread Anthony W. Youngman
In message <50b55f67-a1ed-4f05-96bd-82b00b260...@googlemail.com>, James 
E. Bailey  writes


Am 07.02.2009 um 18:53 schrieb Anthony W. Youngman:


It's probably not helped by the fact that I have an A4 document, 
printing on an A4 printer, and Acrobat (the ONLY application to do 
it) insists the printer has American Letter paper.


Ah, that's the problem. You need to make sure that acrobat  understands 
that you're printing on A4 paper. There should be a print  options, or 
perhaps in the printer settings from the print dialogue.  But that bit 
of information is vital to getting proper output.


And there's the problem. The only place I know of to tell Acrobat what 
size paper is in the printer, is in the printer settings. And the 
printer is set to A4. As I said, so is the document. But Acrobat says 
"American Letter".


I just don't know where or why Acrobat is finding this American Letter 
stuff (oh - I've got a Hickey Pouse WinPrinter - a laserjet 1000 series. 
Maybe that's why :-(


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread Jonathan Kulp

James E. Bailey wrote:


Am 07.02.2009 um 18:53 schrieb Anthony W. Youngman:


It's probably not helped by the fact that I have an A4 document, 
printing on an A4 printer, and Acrobat (the ONLY application to do it) 
insists the printer has American Letter paper.


Ah, that's the problem. You need to make sure that acrobat understands 
that you're printing on A4 paper. There should be a print options, or 
perhaps in the printer settings from the print dialogue. But that bit of 
information is vital to getting proper output.


On Linux this is in the print dialog box under "Properties."  I believe 
it's different on a Mac and I have no idea about Windows.


Jon

--
Jonathan Kulp
http://www.jonathankulp.com


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread James E. Bailey


Am 07.02.2009 um 18:53 schrieb Anthony W. Youngman:


It's probably not helped by the fact that I have an A4 document,  
printing on an A4 printer, and Acrobat (the ONLY application to do  
it) insists the printer has American Letter paper.


Ah, that's the problem. You need to make sure that acrobat  
understands that you're printing on A4 paper. There should be a print  
options, or perhaps in the printer settings from the print dialogue.  
But that bit of information is vital to getting proper output.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread Anthony W. Youngman
In message , James 
E. Bailey  writes


So how do you get it to print properly if you DON'T want it to 
"shrink to fit"? (ime, it then prints the page, full size, but 
offset down and left by the printer margin!)


I've found it IMPOSSIBLE to get the pdf to print cleanly on a sheet 
of paper, full size, properly centred.


Cheers,
Wol


In Adobe Acrobat, I use no printer scaling, and automatically center. 
That gets it how it's supposed to be. At least for me.


I'll have to try. But iirc this is exactly where I get the behaviour 
"this page is to big to fit in the printable area. Place the top left 
corner of the pdf in the top left corner of the printable area and don't 
scale". So everything is off by the printer margin.


It's probably not helped by the fact that I have an A4 document, 
printing on an A4 printer, and Acrobat (the ONLY application to do it) 
insists the printer has American Letter paper.


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-07 Thread James E. Bailey


Am 07.02.2009 um 01:55 schrieb Anthony W. Youngman:

In message <5c547d22-490a-4ec7-a6d5-e5d8e8ec4...@gmail.com>, Simon  
Bailey  writes

chip,

On Feb 6, 2009, at 12:08 AM, Chip wrote:
When I view my file as .pdf it shows the very small margins all  
the way around the page. When I print the .pdf using jpedal I get  
what appears to be 1" margins left and right and bottom, and  
about 2" from the top of the page to the top of the title. What  
do I have to do to get the page to print just like the .pdf? I am  
using jedit/ jpedal on XP. Below is my code for this particular  
page.


most pdf viewers or printer dialogues have an option "scale page  
to fit printer margins" or something similar. i've run into this  
issue before when i've forgotten to ensure that the printer  
doesn't scale the printout.


technical reasoning behind this option is that a lot of pdfs have  
content all the way to the edge of the page and this content would  
otherwise be cut off in the printout, so by default, the printer  
driver will scale a pdf down to fit the printer margins.


So how do you get it to print properly if you DON'T want it to  
"shrink to fit"? (ime, it then prints the page, full size, but  
offset down and left by the printer margin!)


I've found it IMPOSSIBLE to get the pdf to print cleanly on a sheet  
of paper, full size, properly centred.


Cheers,
Wol


In Adobe Acrobat, I use no printer scaling, and automatically center.  
That gets it how it's supposed to be. At least for me.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-06 Thread Anthony W. Youngman
In message <5c547d22-490a-4ec7-a6d5-e5d8e8ec4...@gmail.com>, Simon 
Bailey  writes

chip,

On Feb 6, 2009, at 12:08 AM, Chip wrote:
When I view my file as .pdf it shows the very small margins all the 
way around the page. When I print the .pdf using jpedal I get what 
appears to be 1" margins left and right and bottom, and about 2" 
from the top of the page to the top of the title. What do I have to 
do to get the page to print just like the .pdf? I am using jedit/ 
jpedal on XP. Below is my code for this particular page.


most pdf viewers or printer dialogues have an option "scale page to 
fit printer margins" or something similar. i've run into this issue 
before when i've forgotten to ensure that the printer doesn't scale 
the printout.


technical reasoning behind this option is that a lot of pdfs have 
content all the way to the edge of the page and this content would 
otherwise be cut off in the printout, so by default, the printer 
driver will scale a pdf down to fit the printer margins.


So how do you get it to print properly if you DON'T want it to "shrink 
to fit"? (ime, it then prints the page, full size, but offset down and 
left by the printer margin!)


I've found it IMPOSSIBLE to get the pdf to print cleanly on a sheet of 
paper, full size, properly centred.


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-06 Thread James E. Bailey


Am 06.02.2009 um 00:08 schrieb Chip:

When I view my file as .pdf it shows the very small margins all the  
way around the page. When I print the .pdf using jpedal I get what  
appears to be 1" margins left and right and bottom, and about 2"  
from the top of the page to the top of the title. What do I have to  
do to get the page to print just like the .pdf? I am using jedit/ 
jpedal on XP. Below is my code for this particular page.

Thanks,


does your os have "fit page to paper options"? Those can affect the  
printed output.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-06 Thread Simon Bailey

chip,

On Feb 6, 2009, at 12:08 AM, Chip wrote:
When I view my file as .pdf it shows the very small margins all the  
way around the page. When I print the .pdf using jpedal I get what  
appears to be 1" margins left and right and bottom, and about 2"  
from the top of the page to the top of the title. What do I have to  
do to get the page to print just like the .pdf? I am using jedit/ 
jpedal on XP. Below is my code for this particular page.


most pdf viewers or printer dialogues have an option "scale page to  
fit printer margins" or something similar. i've run into this issue  
before when i've forgotten to ensure that the printer doesn't scale  
the printout.


technical reasoning behind this option is that a lot of pdfs have  
content all the way to the edge of the page and this content would  
otherwise be cut off in the printout, so by default, the printer  
driver will scale a pdf down to fit the printer margins.


hope that helps you solve your problem.

regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printed page does not match the .pdf file

2009-02-06 Thread David Bobroff
I've noticed that myself.  For me the answer was to *print* the PDF with 
Acrobat Reader.


-David

Chip wrote:
When I view my file as .pdf it shows the very small margins all the way 
around the page. When I print the .pdf using jpedal I get what appears 
to be 1" margins left and right and bottom, and about 2" from the top of 
the page to the top of the title. What do I have to do to get the page 
to print just like the .pdf? I am using jedit/jpedal on XP. Below is my 
code for this particular page.

Thanks,
Chip
==
\version "2.12.1"
\layout {  indent = #0
 line-width = #195
 ragged-last = ##t
}
\include "english.ly"
#(set-default-paper-size "letter")

global = {
 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
 \override MultiMeasureRest #'expand-limit = 1
 \set Score.skipBars = ##t
 \numericTimeSignature
 #(set-global-staff-size 18)
}
\paper {
#(define page-breaking ly:minimal-breaking)
 between-system-padding = #0.1
}
\book {
 \header {
   title = "Ras Jammie - Thin Line"
   instrument = "Tenor Sax" }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxHooked.ly"
   }
   \header {piece = "Hooked (EMaj - F#m)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxDaddy.ly"
   }
   \header {piece = "Daddy Won't Mind (FMaj - Gm)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxSometimey.ly"
   }
   \header {piece = "Sometimey People (Cm - Fm)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxBlack.ly"
   }
   \header {piece = "Black Day (Em - GMaj)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxJah.ly"
   }
   \header {piece = "Jah Son (Em - F#m)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxRunaway.ly"
   }
   \header {piece = "Runaway Slave"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxAnxiety.ly"
   }
   \header {piece = "Anxiety Attack"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxFroggy.ly"
   }
   \header {piece = "Froggy"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxMore.ly"
   }
   \header {piece = "More"}
 }
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


printed page does not match the .pdf file

2009-02-05 Thread Chip
When I view my file as .pdf it shows the very small margins all the way 
around the page. When I print the .pdf using jpedal I get what appears 
to be 1" margins left and right and bottom, and about 2" from the top of 
the page to the top of the title. What do I have to do to get the page 
to print just like the .pdf? I am using jedit/jpedal on XP. Below is my 
code for this particular page.

Thanks,
Chip
==
\version "2.12.1"
\layout {  indent = #0
 line-width = #195
 ragged-last = ##t
}
\include "english.ly"
#(set-default-paper-size "letter")

global = {
 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
 \override MultiMeasureRest #'expand-limit = 1
 \set Score.skipBars = ##t
 \numericTimeSignature
 #(set-global-staff-size 18)
}
\paper {
#(define page-breaking ly:minimal-breaking)
 between-system-padding = #0.1
}
\book {
 \header {
   title = "Ras Jammie - Thin Line"
   instrument = "Tenor Sax" }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxHooked.ly"
   }
   \header {piece = "Hooked (EMaj - F#m)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxDaddy.ly"
   }
   \header {piece = "Daddy Won't Mind (FMaj - Gm)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxSometimey.ly"
   }
   \header {piece = "Sometimey People (Cm - Fm)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxBlack.ly"
   }
   \header {piece = "Black Day (Em - GMaj)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxJah.ly"
   }
   \header {piece = "Jah Son (Em - F#m)"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxRunaway.ly"
   }
   \header {piece = "Runaway Slave"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxAnxiety.ly"
   }
   \header {piece = "Anxiety Attack"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxFroggy.ly"
   }
   \header {piece = "Froggy"}
 }
\score {
\relative c'' { \time 4/4 \global
\include "RasJammie\SaxMore.ly"
   }
   \header {piece = "More"}
 }
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Unable to generate a pdf file

2008-12-20 Thread Carl D. Sorensen
Barti,

I've moved this to the lilypond-user list, which is the best place to get
help like this.

Thanks,

Carl


On 12/20/08 6:16 AM, "Barti"  wrote:

> Hello,
> 
> I have a big problem with Lilypond : I can't generate a pdf file !
> I'm on XP Pro SP3, the error message is :
> 
> Conversion à « ./test.pdf
> ┬╗...E:/Programmes/LilyPond/usr/share/lilypond/curre
> nt/scm/backend-library.scm:24:15: In procedure system in expression (system
> sile
> nced):
> E:/Programmes/LilyPond/usr/share/lilypond/current/scm/backend-library.scm:24:1
> 5:
>  Invalid argument
> 
> The .ly is a very basic .ly:
> \version "2.11.65"
> {c' d' e' f' g'}
> 
> The .ps is generate but not the .pdf...
> 
> Thanks in advance for your help :)
> 
> P.S: Sorry for my bad english :/
> 
> 
> 
> 
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't generate PDF file in Windows

2008-12-01 Thread Johan Vromans
Mats Bengtsson <[EMAIL PROTECTED]> writes:

> Not exactly true! You have to include a \layout block if you have a
> \midi block, but not otherwise.

Oops. I stand corrected -- thanks, Mats!

-- Johan


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't generate PDF file in Windows

2008-11-30 Thread Mats Bengtsson

Quoting Johan Vromans <[EMAIL PROTECTED]>:



If you used a \score { ... }, did you include a \layout { ...} as
well? Otherwise LilyPond just won't produce anything.


Not exactly true! You have to include a \layout block if you have a
\midi block, but not otherwise.

  /Mats



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't generate PDF file in Windows

2008-11-30 Thread Johan Vromans
Dave Trowbridge <[EMAIL PROTECTED]> writes:

> When I select "Generate PDF" in the right-click menu in Windows explorer, no 
> PDF
> file is generated, and the log file reads as follows:
> 
> # -*-compilation-*-
> Changing working directory to `C:/Program Files/LilyPond/usr/bin'
> Processing `C:/Program Files/LilyPond/usr/bin/bwv1007_prelude_clarinet.ly'
> Parsing...
> 
> This is a file I converted from an earlier Lilypond version using convert-ly.

If you used a \score { ... }, did you include a \layout { ...} as
well? Otherwise LilyPond just won't produce anything.

-- Johan




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't generate PDF file in Windows

2008-11-30 Thread Gilles THIBAULT



When I try it in a command window, this is what I get:

C:\Program Files\LilyPond\usr\bin>lilypond --pdf 
bwv1007_prelude_clarinet.ly

GNU LilyPond 2.10.33
programming error: cannot find absolute argv0
continuing, cross fingers
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "ice-9/boot-9.scm" in load path

I suppose the problem is that you have first to change the current directory 
to the directory of your ly file, with the command "cd".

For example
 cd /D "D:\myLyFiles\prelude.ly"
Then you can call
   lilypond prelude.ly

You can also make a little bat file (called "lily.bat" for example)  which 
will do that automatically.


@echo off
cd /D "%~dp1"
lilypond "%~nx1"

At last, you can even replace the "lilypond" command by the complete path of 
lily.bat, in the action associated with "Generate PDF" item of ly files 
menu.



Gilles 




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't generate PDF file in Windows

2008-11-29 Thread Dave Trowbridge
Dave Trowbridge  davetrowbridge.com> writes:

When I try it in a command window, this is what I get:

C:\Program Files\LilyPond\usr\bin>lilypond --pdf bwv1007_prelude_clarinet.ly
GNU LilyPond 2.10.33
programming error: cannot find absolute argv0
continuing, cross fingers
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "ice-9/boot-9.scm" in load path





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Can't generate PDF file in Windows

2008-11-29 Thread Dave Trowbridge
When I select "Generate PDF" in the right-click menu in Windows explorer, no PDF
file is generated, and the log file reads as follows:

# -*-compilation-*-
Changing working directory to `C:/Program Files/LilyPond/usr/bin'
Processing `C:/Program Files/LilyPond/usr/bin/bwv1007_prelude_clarinet.ly'
Parsing...

This is a file I converted from an earlier Lilypond version using convert-ly.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: pdf file

2008-11-14 Thread John Mandereau
On 2008/11/14 16:40 -0500, Slattery, Tim - BLS wrote:
> > It's useful if you want both PDF and any other output format 
> > besides PostScript.

Ah sorry, I meant any *printed* output format besides PostScript.


> So if I have language in my *.ly file specifying MIDI output and I want
> a PDF too I have to use the --pdf flag?

No, you don't, which you can certainly verify it yourself.

Best,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: pdf file

2008-11-14 Thread Slattery, Tim - BLS
> > Then what does the flag do?
 
> It's useful if you want both PDF and any other output format 
> besides PostScript.

So if I have language in my *.ly file specifying MIDI output and I want
a PDF too I have to use the --pdf flag?


--
Tim Slattery
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pdf file

2008-11-14 Thread John Mandereau
On 2008/11/14 16:10 -0500, Tim Slattery wrote:
> "Francisco Vila" <[EMAIL PROTECTED]> wrote:
> >Output is PDF by default.
> 
> Then what does the flag do?

It's useful if you want both PDF and any other output format besides
PostScript.

Cheers,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pdf file

2008-11-14 Thread Graham Percival
On Fri, Nov 14, 2008 at 04:10:17PM -0500, Tim Slattery wrote:
> "Francisco Vila" <[EMAIL PROTECTED]> wrote:
> 
> >Output is PDF by default.
> 
> Then what does the flag do?

Holdover from X years ago when it did .ps by default.  I think
that X > 7, but I coudl be wrong.

Cheers,
- Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pdf file

2008-11-14 Thread Tim Slattery
"Francisco Vila" <[EMAIL PROTECTED]> wrote:

>2008/11/14 Tim Slattery <[EMAIL PROTECTED]>:
>> Naomy Gaudet <[EMAIL PROTECTED]> wrote:
>>
>>>
>>>i just installed lilypond and i cant get the pdf
>>>file
>>
>> Have you used the --pdf flag when you invoke Lilypond?
>
>Output is PDF by default.

Then what does the flag do?

I though I saw in the manual someplace that LP makes a *.ep file and
converts that to PDF if the flag is set.

-- 
Tim Slattery
[EMAIL PROTECTED]
http://members.cox.net/slatteryt



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pdf file

2008-11-14 Thread Francisco Vila
2008/11/14 Tim Slattery <[EMAIL PROTECTED]>:
> Naomy Gaudet <[EMAIL PROTECTED]> wrote:
>
>>
>>i just installed lilypond and i cant get the pdf
>>file
>
> Have you used the --pdf flag when you invoke Lilypond?

Output is PDF by default.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pdf file

2008-11-14 Thread Tim Slattery
Naomy Gaudet <[EMAIL PROTECTED]> wrote:

>
>i just installed lilypond and i cant get the pdf 
>file

Have you used the --pdf flag when you invoke Lilypond?

-- 
Tim Slattery
[EMAIL PROTECTED]
http://members.cox.net/slatteryt



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pdf file

2008-11-14 Thread Dominic Neumann
Hi Naomy,

please explain what you did to produce a pdf file. If you don´t know
what to do, the Learning Manual is a good starting point:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/index

Dominic

2008/11/12 Naomy Gaudet <[EMAIL PROTECTED]>:
> i just installed lilypond and i cant get the pdf file
>
> naomy
> 
> Turn email contacts into buddies, and you could win. Enter today.
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


pdf file

2008-11-14 Thread Naomy Gaudet

i just installed lilypond and i cant get the pdf 
file
 
naomy
_

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: publish separate drum exercises in one pdf file

2008-02-27 Thread Mats Bengtsson

ismaehkloa wrote:


I am transcribing my daughter's hand written drum exercises into lilypond.
I'd love to be able to have each week's exercises on one pdf page.
I am working in windows and have problems running lilypond-book (I think).
 


It shouldn't be any problem. However, you can also do these
things purely in LilyPond.


I can do nice individual pdfs and pngs, just not merge them onto one pdf.
 


Why merge PDF files? I hope you know that you can have any
number of \score blocks in the same .ly file and that they will
be merged together into a single PDF file. An even simpler
alternative is to typeset them all in the same \score, and just
add \break between each new exercise to get start it on a new
line.
If you search the mailing list archives, you should also be able
to find tricks to get automatic numbering of the different
exercises, for example.

   /Mats


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


publish separate drum exercises in one pdf file

2008-02-27 Thread ismaehkloa
itmaps is 127dpi;
% a paper size of 140mm x 30 mm will lead to a bitmap of
% 700x 150 pixels

#(ly:set-option 'resolution 256)


% the paper size is 700x150 pixels and the score covers almost the
% complete width;  any additional markup is left out

\paper {
  paper-width = 140\mm
  paper-height = 50\mm
  resolution = 256
  top-margin = 4\mm
  bottom-margin = 5\mm
  line-width = 136\mm
%  head-separation = 4\mm
%  foot-separation = 4\mm
  page-top-space = 4\mm
  after-title-space = 0\mm
  indent = 1\mm
  horizontal-shift = 0.5\mm
%  ragged-right = ##t
%  ragged-bottom = ##t
  % -- remove all markup --
  print-page-number = ##f
  print-first-page-number = ##f
  evenFooterMarkup=##f
  oddFooterMarkup=##f
  evenHeaderMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup=##f
  scoreTitleMarkup=##f  
}


please help,

thank you!

-- 
View this message in context: 
http://www.nabble.com/publish-separate-drum-exercises-in-one-pdf-file-tp15725315p15725315.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Measure runs off PDF file after 5 8th notes in 4/4 time

2007-11-03 Thread John J
Thanks for the help on this issue without even looking
at the source.  I added measure checks for every
measure until it cleaned up.  As Trevor says there was
a long measure that caused the problem and now I'm
back to working on the music.  I had one other email
that also mentioned this as the likely source and
grateful for the quick and accurate response the I got
from the list. 
regards,
JJ

--- Trevor Daniels <[EMAIL PROTECTED]> wrote:

> 
> John
> 
> The usual cause of this behaviour is because
> LilyPond cannot
> find a suitable place to break the line.  Line
> breaks can
> occur only at 'complete' bars, ie where the last
> note(s) in
> the bar in all staves end(s) at the automatically
> inserted
> barline.  If any note carries over no break can take
> place.
> A single wrongly inserted duration can progagate
> this
> condition though many bars.  A bar check will
> generate a
> warning at each check where a carry-over of duration
> occurs.
> If carry-overs are intended, a manually inserted bar
> can
> indicate to LP that a break may occur.  Other things
> that
> can prevent a line break are a sequence of manually
> inserted
> beams or tuplets which straddle barlines.
> 
> Trevor D
> 
> > -Original Message-
> > From:
> [EMAIL PROTECTED]
> > [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> > [EMAIL PROTECTED] Behalf Of
> > John J
> > Sent: 02 November 2007 00:48
> > To: lilypond-user@gnu.org
> > Subject: Measure runs off PDF file after 5 8th
> > notes in 4/4 time
> >
> >
> > It isn't easy to search the archive for this
> bizarre
> > problem. Everything was
> > working fine until the moment it stopped working.
> > Before, everything lived up
> > to the hype and I was happy, after, I just keep
> trying
> > things without anything
> > working.  The first line of this piece, lilypond
> > prints 5 measures.  The second
> > line has 14.5 measures and they are crammed with
> > notes. The last line has 6 measures
> > of notes followed by an empty measure in all three
> > parts and then pianoRH has continuing
> > staff lines.  I have measure checks in the piece
> and
> > all pass even at the final
> > measure of 32 bars. I tried adding empty measures
> to
> > pianoLH and clarinet but that shortened
> > pianoRH by an empty measure.  I am using 2.11.33
> now
> > after using 2.10.33 with no change.
> > I have specified the paper size with no change in
> the
> > output.  If anyone has seen anything
> > like this, I would be happy to know how to work
> around
> > it. FYI, the midi plays correctly and the PS
> version
> > is
> > identically messed up.  I am running Ubuntu linux
> and
> > both 704 and 710 work the same.
> >

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Measure runs off PDF file after 5 8th notes in 4/4 time

2007-11-02 Thread Trevor Daniels

John

The usual cause of this behaviour is because LilyPond cannot
find a suitable place to break the line.  Line breaks can
occur only at 'complete' bars, ie where the last note(s) in
the bar in all staves end(s) at the automatically inserted
barline.  If any note carries over no break can take place.
A single wrongly inserted duration can progagate this
condition though many bars.  A bar check will generate a
warning at each check where a carry-over of duration occurs.
If carry-overs are intended, a manually inserted bar can
indicate to LP that a break may occur.  Other things that
can prevent a line break are a sequence of manually inserted
beams or tuplets which straddle barlines.

Trevor D

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> [EMAIL PROTECTED] Behalf Of
> John J
> Sent: 02 November 2007 00:48
> To: lilypond-user@gnu.org
> Subject: Measure runs off PDF file after 5 8th
> notes in 4/4 time
>
>
> It isn't easy to search the archive for this bizarre
> problem. Everything was
> working fine until the moment it stopped working.
> Before, everything lived up
> to the hype and I was happy, after, I just keep trying
> things without anything
> working.  The first line of this piece, lilypond
> prints 5 measures.  The second
> line has 14.5 measures and they are crammed with
> notes. The last line has 6 measures
> of notes followed by an empty measure in all three
> parts and then pianoRH has continuing
> staff lines.  I have measure checks in the piece and
> all pass even at the final
> measure of 32 bars. I tried adding empty measures to
> pianoLH and clarinet but that shortened
> pianoRH by an empty measure.  I am using 2.11.33 now
> after using 2.10.33 with no change.
> I have specified the paper size with no change in the
> output.  If anyone has seen anything
> like this, I would be happy to know how to work around
> it. FYI, the midi plays correctly and the PS version
> is
> identically messed up.  I am running Ubuntu linux and
> both 704 and 710 work the same.
>
> --
> regards,
> Jack
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Measure runs off PDF file after 5 8th notes in 4/4 time

2007-11-01 Thread Kieren MacMillan

Hi John,


If anyone has seen anything like this


I have... and it's always a duration problem.
I'm surprised your bar checks haven't turned up anything.


I would be happy to know how to work around it.


Well, without the code, it's impossible for anyone on the list to  
diagnose, never mind fix.  ;-)


Best,
Kieren.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Measure runs off PDF file after 5 8th notes in 4/4 time

2007-11-01 Thread John J
It isn't easy to search the archive for this bizarre
problem. Everything was 
working fine until the moment it stopped working. 
Before, everything lived up
to the hype and I was happy, after, I just keep trying
things without anything 
working.  The first line of this piece, lilypond
prints 5 measures.  The second
line has 14.5 measures and they are crammed with
notes. The last line has 6 measures
of notes followed by an empty measure in all three
parts and then pianoRH has continuing
staff lines.  I have measure checks in the piece and
all pass even at the final 
measure of 32 bars. I tried adding empty measures to
pianoLH and clarinet but that shortened
pianoRH by an empty measure.  I am using 2.11.33 now
after using 2.10.33 with no change.
I have specified the paper size with no change in the
output.  If anyone has seen anything
like this, I would be happy to know how to work around
it. FYI, the midi plays correctly and the PS version
is
identically messed up.  I am running Ubuntu linux and
both 704 and 710 work the same.

-- 
regards,
Jack

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: can't generate pdf file

2007-09-14 Thread Mats Bengtsson

The most likely problem is that you have managed to enter something in
your file that does not follow the syntax, so that LilyPond gets confused.
Do you get any xxx.log file (assuming that your input file was called 
xxx.ly)?

In that case, you will hopefully get some hints in it on what's wrong.

Another common problem if you use Notepad in Windows is that it has 
saved the
file with a double suffix, like myfile.ly.txt. This is one of the 
reasons that it's better
to use the text editor that's started when you just double click on the 
LilyPond icon.


For future usage questions, please use the lilypond-user mailing list 
and reserve
bug-lilypond for pure bug reports. I have already redirected this 
mailing thread
to lilypond-user (make sure to click "Reply All" if you followup this 
email).


If you can't solve the problem yourself, please include a copy of your 
.ly file

when you send the question to the mailing list.

 /Mats

Nicholas Dominguez wrote:

I had no trouble the first day generating a file according to the instructions.
I'm using Windows XP.  Now I am unable to generate a file when I drag/drop or
double click on the .ly file I've created in Notepad.

help!

Nick



___
bug-lilypond mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
  


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: keeping rendered pdf file size down

2007-04-21 Thread yota moteuchi

you could try to remove the point-n-click information

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Point-and-click

Yota

On 21 Apr 2007 11:04:18 -0700, Kieran Coulter <[EMAIL PROTECTED]>
wrote:


Hello,

I first want to thanks Mats for the help with the Chopin Ballade.

My next question is how to keep the rendered pdf size down to the same
amount of KB the included pdf's usually end up having. For example, the
included Bach Partita No.2 Sinfonia letter pdf file size is 238KB, but
when I render the .ly to check version compatibility, the output pdf file is
921KB. What is necessary to ensure the smallest file output size possible?

Thanks!

Kieran






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


keeping rendered pdf file size down

2007-04-21 Thread Kieran Coulter
Hello,I first want to thanks Mats for the help with the Chopin Ballade.My next question is how to keep the rendered pdf size down to the same amount of KB the included pdf's usually end up having. For example, the included Bach Partita No.2 Sinfonia letter pdf file size is 238KB, but when I render the .ly to check version compatibility, the output pdf file is 921KB. What is necessary to ensure the smallest file output size possible? Thanks!Kieran___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF file

2006-11-11 Thread Claus Rogge
All this content-type stuff appears rather unreadable in my newsreader.
I think you´re probably sending HTML

Simon Dahlbacka <[EMAIL PROTECTED]> wrote:

> --===1020259362== Content-Type: multipart/alternative;
> boundary="=_Part_85513_18847982.1163270430207"
> 
> --=_Part_85513_18847982.1163270430207 Content-Type: text/plain;
> charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> http://catb.org/esr/faqs/smart-questions.html
> 
> On 11/11/06, Richik <[EMAIL PROTECTED]> wrote: > > I've got the PDF
> file with the scale. > I need to know how to get the program. > How do I
> get it on? > > > > Regards, > Richik > > > >
> ___ > lilypond-user mailing
> list > lilypond-user@gnu.org >
> http://lists.gnu.org/mailman/listinfo/lilypond-user >
> 
> --=_Part_85513_18847982.1163270430207 Content-Type: text/html;
> charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition:
> inline
> 
>  href="http://catb.org/esr/faqs/smart-questions.html";>http://catb.org/esr/f
> aqs/smart-questions.htmlOn
> 11/11/06, Richik < href="mailto:[EMAIL PROTECTED]"> [EMAIL PROTECTED]>
> wrote:I've
> got the PDF file with the scale.I need to know how to get the program.
> How do I get it
> on?Regards,Richik_
> __lilypond-user mailing list href="mailto:lilypond-user@gnu.org";>lilypond-user@gnu.org  href="http://lists.gnu.org/mailman/listinfo/lilypond-user";>http://lists.gn
> u.org/mailman/listinfo/lilypond-user
> 
> --=_Part_85513_18847982.1163270430207--
> 
> 
> 
> --===1020259362== Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition:
> inline
> 
> ___ lilypond-user mailing list
> lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> --===1020259362==--


-- My new CD "Know Greed": http://cdbaby.com/cd/rogge



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


  1   2   >