ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: New LilyPond module
       [not found] <mailman.3.1236262213.26773.ntg-context@ntg.nl>
@ 2009-03-05 15:47 ` Wei-Wei Guo
  2009-03-06 14:58   ` Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Wei-Wei Guo @ 2009-03-05 15:47 UTC (permalink / raw)
  To: ntg-context

It comes right in time. Thank you!

Is it possible to make the temp lily file in the format of PNG instead of PDF?
MkIV here cannot insert PDF figure properly recently.

Best wishes,
Wei-Wei Guo



ntg-context-request@ntg.nl 写道:
 > Dear music lovers,
 >
 > I just uploaded a new version of the LilyPond module, see
 > http://modules.contextgarden.net/t-lilypond
 > http://wiki.contextgarden.net/LilyPond
 >
 > It works now with LilyPond 2.12 and fixes some bugs - i.e. all
 > settings should work now, and with
 >
 > \lilypond[fragment=yes,time=no,clef=no]{c''8 d'' e'' f'' g''}
 >
 > it should now produce proper fragments (snippets).
 >
 >
 > Greetlings from Lake Constance!
 > Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New LilyPond module
  2009-03-05 15:47 ` New LilyPond module Wei-Wei Guo
@ 2009-03-06 14:58   ` Henning Hraban Ramm
  0 siblings, 0 replies; 5+ messages in thread
From: Henning Hraban Ramm @ 2009-03-06 14:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 654 bytes --]

Am 2009-03-05 um 16:47 schrieb Wei-Wei Guo:

> Is it possible to make the temp lily file in the format of PNG  
> instead of PDF?
> MkIV here cannot insert PDF figure properly recently.


Sorry, I son't think that would make sense.

It MkIV really can't include PDFs, that would be a major bug - nothing  
that could be blamed to or corrected by the LilyPond module.

If you want to get PNGs, you could try to change the call to LilyPond  
or add a call to ImageMagick after pstopdf (to convert PDF to PNG).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)


[-- Attachment #1.2: Signierter Teil der Nachricht --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New LilyPond module
  2009-03-05 15:00 ` Lutz Haseloff
@ 2009-03-06 14:54   ` Henning Hraban Ramm
  0 siblings, 0 replies; 5+ messages in thread
From: Henning Hraban Ramm @ 2009-03-06 14:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1340 bytes --]

Am 2009-03-05 um 16:00 schrieb Lutz Haseloff:

> One remaining problem. On my system (Windows XP, luatex 0.35,  
> lilypond 2.12.2)
>  your module generates two identical eps files with different names,
> filename-lilypond-1.eps and filename-lilypond-1-1.eps.
> The second is converted to pdf and therefore is filename- 
> lilypond-1.pdf not included.

It's not the module producing useless additional files, but LilyPond  
itself.
I complained on the LilyPond list, but it seems it won't change.

We must use the EPS backend, that is also used by lilypond-book  
(LaTeX), otherwise we don't get snippets.
I *guess* (didn't check), LilyPond will split a long score into pages,  
i.e. will produce filename-lilypond-1-1.eps, filename-lilypond-1-2.eps  
etc. for a multi page score.

Anyway, we can't do anything about it. I don't want to include delete  
commands in the module (there aren't OS independent delete commands  
anyway).

Perhaps write a batch script to delete the useless files yourself.

I already tried to keep LilyPond's files in a temp directory, but I  
didn't succeed.

> Do you want to read my log and have a look at my generated files?


No, it's the same here on MacOS X.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)


[-- Attachment #1.2: Signierter Teil der Nachricht --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New LilyPond module
  2009-03-05 14:07 Henning Hraban Ramm
@ 2009-03-05 15:00 ` Lutz Haseloff
  2009-03-06 14:54   ` Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Lutz Haseloff @ 2009-03-05 15:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1532 bytes --]

Hi Hraban,

Thank you for the music!

One remaining problem. On my system (Windows XP, luatex 0.35, lilypond
2.12.2)
 your module generates two identical eps files with different names,
filename-lilypond-1.eps and filename-lilypond-1-1.eps.
The second is converted to pdf and therefore is filename-lilypond-1.pdf not
included.

Do you want to read my log and have a look at my generated files?


Greetings Lutz

2009/3/5 Henning Hraban Ramm <hraban@fiee.net>

> Dear music lovers,
>
> I just uploaded a new version of the LilyPond module, see
> http://modules.contextgarden.net/t-lilypond
> http://wiki.contextgarden.net/LilyPond
>
> It works now with LilyPond 2.12 and fixes some bugs - i.e. all settings
> should work now, and with
>
> \lilypond[fragment=yes,time=no,clef=no]{c''8 d'' e'' f'' g''}
>
> it should now produce proper fragments (snippets).
>
>
> Greetlings from Lake Constance!
> Hraban
> ---
> http://www.fiee.net/texnique/
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>
>

[-- Attachment #1.2: Type: text/html, Size: 2631 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* New LilyPond module
@ 2009-03-05 14:07 Henning Hraban Ramm
  2009-03-05 15:00 ` Lutz Haseloff
  0 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2009-03-05 14:07 UTC (permalink / raw)
  To: mailing ConTeXt users list for


[-- Attachment #1.1: Type: text/plain, Size: 523 bytes --]

Dear music lovers,

I just uploaded a new version of the LilyPond module, see
http://modules.contextgarden.net/t-lilypond
http://wiki.contextgarden.net/LilyPond

It works now with LilyPond 2.12 and fixes some bugs - i.e. all  
settings should work now, and with

\lilypond[fragment=yes,time=no,clef=no]{c''8 d'' e'' f'' g''}

it should now produce proper fragments (snippets).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)


[-- Attachment #1.2: Signierter Teil der Nachricht --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-06 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1236262213.26773.ntg-context@ntg.nl>
2009-03-05 15:47 ` New LilyPond module Wei-Wei Guo
2009-03-06 14:58   ` Henning Hraban Ramm
2009-03-05 14:07 Henning Hraban Ramm
2009-03-05 15:00 ` Lutz Haseloff
2009-03-06 14:54   ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).