Lilypond and XP

2005-05-10 Thread Art Hixson
This is more of this problem.
I said before the installation appeared correct.  I get different 
errors, however, depending on whether I run Lilypond under or Win or 
Cygwin.  Under Cygwin the following:

   GNU LilyPond 2.4.6
   Processing `test.ly'
   Parsing...
   Interpreting music... error: can't find `ecrm10.pfa'
   Install the ec-mftraced package from
   http://lilypond.org/download/fonts/. Aborting
But, ECRM10.PFA   actually exists in the Lilypond tree.

Art
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 2005/05/10

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


Re: dynamics

2005-05-10 Thread Graham Percival
On 10-May-05, at 3:20 PM, Robert T Wyatt wrote:
I don't know if it is me or a bug but dynamic marks are not pretty  
italic fonts, rather they are big ugly fonts:

http://lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/ 
Dynamics.html
Other than the "p" and "f", there's nothing wrong with that  
page.

Please report this issues as:
On fink 2.5.23 MacOS 10.3.9, dynamic marks are big ugly fonts.
(we _really_ need to know what OS and package system you're using)
I believe that this is a known issue; there's a lot of font stuff  
happening
on fink/lilypond right now.

Matthias, if this issue hasn't been fixed since 2.5.23, I can add to  
it.  When
I first install 2.5.23, it worked fine.  After that point, I  
(foolishly) played with
some font packages (installing more, rebuilding some old ones, etc).   
After
that, lilypond stopped working.  I tried rebuilding lily, but  
./configure failed
on pango/pango.h (present but unusable).  I then removed every fink
package that dealt with fonts, removed the .debs, and installed  
lilypond-devel
again.  This got lilypond working again, but dynamics and time  
signatures
are in a big ugly font.

HTH,
- Graham

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


Re: set staff.instrument broken in 2.5.23?

2005-05-10 Thread Graham Percival
On 10-May-05, at 7:43 PM, Stan Sanderson wrote:
I believe I saw a posting about this but have not found it in the 
archives. Pieces which typeset correctly using v2.5.22 do not display 
instrument names when typeset with 2.5.23.
Reported about eight hours ago to bug-lilypond, but I doubt the mailist 
has
caught up yet.  And it certainly wouldn't be in the archives yet.  :)

Thanks for the report!  Knowing that it happened between 2.5.22 and 
2.5.23
is great.

Cheers,
- Graham

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


set staff.instrument broken in 2.5.23?

2005-05-10 Thread Stan Sanderson
Was using v2.5.23 on Mac OS 10.3.9, have reverted to 2.5.22-2
I believe I saw a posting about this but have not found it in the 
archives. Pieces which typeset correctly using v2.5.22 do not display 
instrument names when typeset with 2.5.23.
e.g.,
 \set Staff.instrument = \markup { \column { "Trumpet 1  " \line { "in 
B" \smaller \flat } } }

I note that the examples in the on-line documentation for v23 
(orchestral scores, also "8.3.4 Instrument names" do not display 
instrument names.

If this is (as I believe) a problem previously reported, I apologize.
Stan

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


Lilypond and XP

2005-05-10 Thread Art Hixson
I appear to have a good installation of Cygwin and Lilypond in that all 
components appear to be there.  But when I compile any of the tests, 
such as EXAMPLE-1.LY,  I persistently get a message that it can't find 
FETA20.AFM.  However, it's clearly there under LILYPOND\2.4.6\FONTS.  
Compiling with the -V option shows that all the other paths are being found.

I've completely scorched Cygwin and reinstalled a couple times.  What am 
I missing?  Please - I'm getting exhausted.
Art

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 2005/05/10

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


dynamics

2005-05-10 Thread Robert T Wyatt
I don't know if it is me or a bug but dynamic marks are not pretty 
italic fonts, rather they are big ugly fonts:

http://lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/Dynamics.html
If I'm the only one with this problem, I'll post my own example of 
output for help.


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


mordent with a slash

2005-05-10 Thread Robert T Wyatt
If one played b c b as a triplet, then this is what I would call an 
inverted mordent and I would use a mordent with a slash through it.

Can I make this happen (2.5.23)?
I did find a reference that a prall is the same as an inverted mordent.
http://www.answers.com/mordent
The prall symbol in lilypond however is not a mordent with a slash 
through it:
http://lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/Articulations.html

Insights are appreciated.

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


Strange fonts

2005-05-10 Thread Ralph Little
Title: Strange fonts






Hi,
I have installed Lily 2.4.5 from tarball onto a Gentoo system.
However, all the output (including the doc examples) have only basic font rendering.
The fonts have funny spacing and it looks like it isn't linking to decent fonts.
Difficult to explain, really.

Where could I start to track down what is going on?

Lilypond 2.4.5
Tetex 2.0.2-r5

I have tried a *very* basic test in LaTeX-the typical "hello world" example, and that is OK.
dvips reports that the test uses cmr10.

Regards,
Ralph






This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Access, copying, dissemination or re-use of information in it by anyone else is unauthorised.  If you have received this message in error, please contact me on the above number.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


glissando/volta bug? and volta/fine

2005-05-10 Thread Robert T Wyatt
2.5.23 MacOS 10.3.9
Hi!
I have some questions relating to the file enclosed below.
1) First, a possible bug: My glissando in the first measure dissappeared 
(but the gliss between measures 11/12 is present). I think it happened 
when I implemented the voltas (please correct my pluralization if I have 
it wrong). Lilypond is not giving errors, but that does not exclude poor 
implementation on my part.

2) I would like a fat, wavy gliss instead of the default, tiny gliss (I 
saw some notes about this and I haven't finished reading them, so I'm 
not at the end of my rope on this one yet).

3) I need to move a lot of my chords left an eighth note. That is, the 
correct pattern is largely 3/8, 5/8. I'm still trying to figure out how 
to implement this well (do I need to use--a plethora of--silent 
rests?--shudder at the thought). Also, I need a tacit chord in the 27th 
measure; I can probably figure out the tacit on my own once I get the 
chords over the right beats.

4) I wish to move the volta braces above the chords. Again, there are 
already notes online about this, so no need to answer this one yet.

5) Last but not least, besides numbers one and three above, my most 
pressing need for input regards the volta arrangement and the ending of 
the song:

The first alternative is really the first and third alternative.
The second alternative is perfect the way it is (nice, by the way).
The third alternative is really a fine or coda or fourth ending (it's 
semantic to me, but you may feel differently). It can be tacked on at 
the end of the song or left where it is; doesn't matter to me.

In other words, we end on the second 'A' part which shows as the third 
alternative on the present file.

I'm happy to use a a hybrid of volta notation and d.s. al fine or d.s. 
al coda, but I haven't figured out a CLEAR way to do this. Any ideas?

[In case you're curious this is written for mandolin lead with guitar 
chords.]

Any help is very much appreciated!
Thanks,
Robert
http://bentones.us/
== file in question follows ==
%% Thanks to the makers of LilyPond we are able to bring this to you!
#(set-default-paper-size "letter")
\version "2.5.23"
\header {
  title = "Dalmatian Strut"
  composer = "Bob Stillinger"
  enteredby="Robert Thomas Wyatt"
  maintainer="[EMAIL PROTECTED]"
  style = "Bluegrass"
  copyright = "All rights reserved. 2005"
  lastupdated = "2005/May/9"
  filename  = "DalmatianStrut.ly"
}
<<
\chords {
\partial 8*3 s4.
\repeat volta 3 {
d2:m  a2:7 | d2:7 g2 | g2:m d2:m |
}
\alternative {
{ a2:7 d2:m | }
{ a2:7 d2:m | }
{ a1:7 | d1:m | }
}
c1 | f1 | cis1:dim7 | d1:m |
bes1 | f1 | g1 | a1 |
c1 | f1 | cis1:dim7 | d1:m |
bes2 c2 | d1:m | bes2 c2 | f1 |
bes2 c2 | a1:m | bes1 | a1:7 |
}
\relative { \time 4/4 \key d \minor
#(set-accidental-style 'modern-cautionary)
\partial 8*3 a'8 b cis |
\bar "|:"
\repeat volta 3 {
d8 e d cis~ cis4\glissando a8 b |
c8 e c b~\turn b4 g8 a |
bes8 d bes a~ a g f g |
}
\alternative {
{ a8 e a d~ d a b cis | \bar ":|" }
{ a8 e a d,~ d4 des | \bar "||" }
{ a'4 e2 a4 | d,1 \bar "|." }
}
c8 e g c~ c a~ a g~ |
g8 f~ f e f a f f~ |
f8  e~ e dis e a e4 |
d4. d8~ d c~ c a |
bes d f bes~ bes a~ a g\glissando |
a a~ a c a g a c |
b g b d g f~ f e~ |
e cis~ cis e bes e a,4 |
c,8 e g c~ c a~ a g~ |
g f~ f e f a f f~ |
f e~ e dis e a e4 |
d4. d8~d c~ c a |
bes8\> d f c~ c e g a~ |
a d c a g f d c |
bes d f c~ c e g a~ |
a g' f e d c bes a\! |
bes, d f c~ c e g a~ |
a a' g f e d c bes~\turn |
bes a bes a g a f e~ |
e2~ e8 a b cis |
\bar ":|"
}
>>

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


Re: Not runing under cygwin

2005-05-10 Thread Bertalan Fodor
Rerun setup.exe and make sure that the latest, 2.4.6-1 lilypond version 
is selected.

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


Not runing under cygwin

2005-05-10 Thread Allan Spagnol Comar
I downloaded and installed cygwin and lilypond for windows. now when I
try to run lilypond I got the following error message:

PDF output not found. Error log:
In unknown file:
   ?: 32* [get-coding-vector "latin1"]
In /usr/share/lilypond/2.4.2/scm/encoding.scm:
 124: 33* [caddr ...
 124: 34* [get-coding "latin1"]
 105: 35  (let ((entry #)) (if entry (cons # #) (if # # #)))
...
 107: 36  [cons "latin1.enc" ...
 107: 37* [force #>]
In unknown file:
   ?: 38* [#]
In /usr/share/lilypond/2.4.2/scm/encoding.scm:
  76: 39* [get-coding-from-file "latin1.enc"]
  65: 40  (let* ((coding #) (com #) (vec #) (tab #)) (list com vec tab))
  65: 41* [read-encoding-file "latin1.enc"]
  15: 42  (let* ((path #) (unused #) (raw #) (string #) ...) (cons command vecto
r))
  17: 43* [ly:gulp-file #f]

/usr/share/lilypond/2.4.2/scm/encoding.scm:17:15: In procedure ly_gulp_file in e
xpression (ly:gulp-file path):
/usr/share/lilypond/2.4.2/scm/encoding.scm:17:15: Wrong type argument in positio
n 1 (expecting string): #f
A full log is in the file test.log

what should I do to resolve that ?


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


Re: dot following barline

2005-05-10 Thread Mats Bengtsson
You could always play with
 \once \override Dots #'extra-offset = #'(2 . 0)
but the results will be fairly unreliable when the spacing changes.
   /Mats
Laura Conrad wrote:
Do we have a way to put the barline between the notehead and the dot?
It's fairly common in modern mensurstriche editions, and the later
Dowland facsimiles that I'm transcribing these days do it as well.
I mean a case like:
\time 4/4
a4 b4 c4 d4. | e8
It would be good to be able to tell lilypond that the d notehead should be to 
the
left of the bar, but the dot should be to the right.
--
=
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: override-auto-beam-setting in \layout{} ?

2005-05-10 Thread Mats Bengtsson
See http://lists.gnu.org/archive/html/lilypond-devel/2005-01/msg00123.html
The score-override-auto-beam-setting function is included in LilyPond
by now, so there's no need to copy the Scheme code in the answer.
The first alternative in the answer cited above can be rewritten in
a slightly smoother form:
#(define-public (layout-override-auto-beam-setting setting num den)
  (cons (cons setting (ly:make-moment num den))
   default-auto-beam-settings))
\layout{
  \context{
\Score
autoBeamSettings = #(layout-override-auto-beam-setting '(end * * 5 
8) 2 8)
  }
}

The problem is that you can't call it several times if you want to add
several settings, since it only appends to default-auto-beam-settings.
I didn't find any Scheme function that can be used within a
\layout{\context{...}} to read the current value of a context property.
   /Mats
Graham Percival wrote:
Can I specify something like
#(override-auto-beam-setting '(end * * 5 8) 3 8)
in a \layout{ \context { \Score foo }}} ?
I'd like to specify a number of irregular beaming settings in a file
which can be \include'd in many other files.  I know how to do that
with regular \set and \override commands, but #(override-auto...)
seems to behave a bit differently.
Cheers,
- Graham

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
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


override-auto-beam-setting in \layout{} ?

2005-05-10 Thread Graham Percival
Can I specify something like
#(override-auto-beam-setting '(end * * 5 8) 3 8)
in a \layout{ \context { \Score foo }}} ?
I'd like to specify a number of irregular beaming settings in a file
which can be \include'd in many other files.  I know how to do that
with regular \set and \override commands, but #(override-auto...)
seems to behave a bit differently.
Cheers,
- Graham

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


dot following barline

2005-05-10 Thread Laura Conrad

Do we have a way to put the barline between the notehead and the dot?
It's fairly common in modern mensurstriche editions, and the later
Dowland facsimiles that I'm transcribing these days do it as well.

I mean a case like:

\time 4/4
a4 b4 c4 d4. | e8

It would be good to be able to tell lilypond that the d notehead should be to 
the
left of the bar, but the dot should be to the right.

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139




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


Re: scheme markup macros

2005-05-10 Thread Han-Wen Nienhuys
Graham Percival wrote:
Is it possible to define a \markup macro that looks like a lilypond 
command?

This produces the output I want:
\version "2.5.23"
#(def-markup-command (tempoMark layout props str) (markup?)
  (interpret-markup layout props
(markup #:bold #:large str)))
\relative c'' {
  c4^\markup{ \tempoMark Allegro }
}
I'm wondering if I can alter the syntax so the command is used like this:
\relative c'' {
  c4^\tempoMark{ Allegro }
}
No,  it would require new code in parser.yy - but it is an intriguing 
idea that I'm willing to consider.

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ecbx10 ecrm10 Fedora dvips solution

2005-05-10 Thread Mats Bengtsson
The referenced email says "add ".pfa" to each end of line" which
I guess is intended to say "add .pfa to the end of each line".
The line with ecbx is just an example showing what you should do
to every line of the file.
   /Mats
Hugo Solis wrote:
I get an error and after reading in the archives I found the solution 
but there mark ask for changing ecbx10 and the one that I had to change 
was ecrm10,,, just if somebody is as lost as me...

http://lists.gnu.org/archive/html/lilypond-user/2005-03/msg00033.html
dvips: ! Couldn't find header file ecrm10
Error invoking `dvips  -t "a4"   -u+ec-mftrace.map -u+lilypond.map -Ppdf 
test'. Return value 256


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
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: scheme markup macros

2005-05-10 Thread Graham Percival
On 10-May-05, at 5:53 AM, Jonatan Liljedahl wrote:
On Mon, 09 May 2005 19:41:46 -0700
Graham Percival <[EMAIL PROTECTED]> wrote:
Is it possible to define a \markup macro that looks like a lilypond
command?
You can include lilypond code with #{ and #}, and also insert arguments
therein. See the manual for more details, it's in the end of the 
manual,
about scheme expressions, etc...
Yes, I'm aware that the manual has a chapter about scheme.
None of the scheme examples that I've seen (in the manual, input/test,
input/regression, or LSR) look like lilypond commands.  They all use
\applymusic, \applyoutput, \foo #x { c4 }, or \markup{ \foo }.
In addition, I'm not certain that lilypond's architecture allows for
unattached ^\markup{}s to be floating around.  Assuming my desire
is even possible, the scheme function would need to return
\markup{ \bold foobar }
to attach it to the
c4^\schemefunction{ foobar }
I suspect the answer to my question is no; that
c4^\markup{ \schemefunction foobar }
is the best way to do what I want.  However, I'm not certain; hence my 
question.

Cheers
- Graham Percival, LilyPond Documentation Editor

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


ecbx10 ecrm10 Fedora dvips solution

2005-05-10 Thread Hugo Solis




I get an error and after reading in the archives I found the solution but there mark ask for changing ecbx10 and the one that I had to change was ecrm10,,, just if somebody is as lost as me...

http://lists.gnu.org/archive/html/lilypond-user/2005-03/msg00033.html


dvips: ! Couldn't find header file ecrm10
Error invoking `dvips  -t "a4"   -u+ec-mftrace.map -u+lilypond.map -Ppdf test'. Return value 256



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


lilypond-2.4.6 for Cygwin available

2005-05-10 Thread Bertalan Fodor
A new version of lilypond will be available on the mirrors soon.
Enjoy.
Bert
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Strange rest dots behaviour - bug?

2005-05-10 Thread Mats Bengtsson

Erik Sandberg wrote:
On Monday 09 May 2005 13.46, Mats Bengtsson wrote:
I can confirm the bug on Cygwin 2.4.3 as well as Erik's observation
that it doesn't happen in 2.4.6. Unfortunately, I have no idea on
what could have changed between the versions that affects this.

Is there a difference between different versions of gs? Does the dvi output 
look bad as well?
Thomas says so if you look a few lines below! Also, since the dots are
placed at their default position, I definitely suspect a bug in
LilyPond.
   /Mats
Erik

   /Mats
Thomas Scharkowski wrote:
Hi Erik,
I looked at "testrest.dvi" with MikTex Yap and get the same output.
Thomas

On Sunday 08 May 2005 19.38, Thomas Scharkowski wrote:
Hello list,
sorry for the long example, but I could not shorten more.
In bar 9 and 10 of the attached example the rests in voice "Bass"
are shifted, but the dots remain at the default position. If I
delete or shorten voice "Middle" the problem disappears.
Looks like a nasty bug. I tried it with a recent 2.5.x version as well
as with 2.4.2 and 2.4.6, and the problem doesn't appear there.
The next version 2.6 will soon be released, and the problem _might_
have been fixed there. If you upgrade to 2.6, please tell us again if
anything similar ever occurs again.
Erik
(btw: the problem could be related to the ps->pdf generation process,
I have seen displaced objects before. Could you check what the .ps or
.dvi output look like? If they look good, a solution to your problem
could be to download a newer or older version of ghostscript.)
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
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: Strange rest dots behaviour - bug?

2005-05-10 Thread Erik Sandberg
On Monday 09 May 2005 13.46, Mats Bengtsson wrote:
> I can confirm the bug on Cygwin 2.4.3 as well as Erik's observation
> that it doesn't happen in 2.4.6. Unfortunately, I have no idea on
> what could have changed between the versions that affects this.

Is there a difference between different versions of gs? Does the dvi output 
look bad as well?

Erik

> /Mats
>
> Thomas Scharkowski wrote:
> > Hi Erik,
> >
> > I looked at "testrest.dvi" with MikTex Yap and get the same output.
> >
> > Thomas
> >
> >>On Sunday 08 May 2005 19.38, Thomas Scharkowski wrote:
> >>>Hello list,
> >>>
> >>>sorry for the long example, but I could not shorten more.
> >>>In bar 9 and 10 of the attached example the rests in voice "Bass"
> >>>are shifted, but the dots remain at the default position. If I
> >>>delete or shorten voice "Middle" the problem disappears.
> >>
> >>Looks like a nasty bug. I tried it with a recent 2.5.x version as well
> >>as with 2.4.2 and 2.4.6, and the problem doesn't appear there.
> >>
> >>The next version 2.6 will soon be released, and the problem _might_
> >>have been fixed there. If you upgrade to 2.6, please tell us again if
> >>anything similar ever occurs again.
> >>
> >>Erik
> >>
> >>(btw: the problem could be related to the ps->pdf generation process,
> >>I have seen displaced objects before. Could you check what the .ps or
> >>.dvi output look like? If they look good, a solution to your problem
> >>could be to download a newer or older version of ghostscript.)
> >
> > ___
> > 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: scheme markup macros

2005-05-10 Thread Jonatan Liljedahl
On Mon, 09 May 2005 19:41:46 -0700
Graham Percival <[EMAIL PROTECTED]> wrote:

> Is it possible to define a \markup macro that looks like a lilypond 
> command?
> 
> This produces the output I want:
> 
> \version "2.5.23"
> #(def-markup-command (tempoMark layout props str) (markup?)
>(interpret-markup layout props
>  (markup #:bold #:large str)))
> \relative c'' {
>c4^\markup{ \tempoMark Allegro }
> }
> 
> I'm wondering if I can alter the syntax so the command is used like 
> this:
> 
> \relative c'' {
>c4^\tempoMark{ Allegro }
> }

You can include lilypond code with #{ and #}, and also insert arguments
therein. See the manual for more details, it's in the end of the manual,
about scheme expressions, etc...

/Jonatan-=( http://kymatica.com )=-


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


mac osx pdf point-and-click [was: mac osx emacs lilypond-mode]

2005-05-10 Thread Sean Reed
hi arjan,
thanks, that got me a useable LilyPond mode in emacs.
i still have to load it by hand with the M-x load-library, and i think 
it only works when i load the lilypond-init.el despite the "autoload" 
in the .emacs file, opening an .ly file doesn't automatically load the 
mode.

when i try to just load lilypond-mode and open an .ly file i get an 
error message: Wrong type argument: arryp, nil

if i M-x load-library  "lilypond-init.el", then C-x C-f a lilypond 
file, it loads in LilyPond mode, but gives me the error: Error in 
post-command-hook: (wrong-type-argument integerp nil), but the buffer 
is LilyPond mode, the lilypond menu is available, and it for all i can 
determine, it works.

the pdf point-and-click isn't working for me yet either.
i installed firefox and Xpdf, changed the firefox prefs.js to include 
the user_pref() statements for lilypond-pdfpc-helper textedit protocol, 
and added the urlCommand to the xpdfrc file. xpdf shows me the 
textedit:// link when i point at a note, but doesn't open the text 
editor.

i tried running lilypond-pdfpc-helper alone from terminal by manually 
entering a path to a file and a :line:character, and got the following 
error:

Traceback (most recent call last):
  File "/sw/bin/lilypond-pdfpc-helper", line 78, in ?
editor = os.environ['EDITOR']
  File "/sw/lib/python2.3/UserDict.py", line 19, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: 'EDITOR'
is it possible that there is a different command necessary to determine 
the EDITOR for darwin? can i determine whether emacs or a given text 
editor is set as default for my darwin environment? or can i set that 
to emacs? or is textedit a protocol that isn't available on darwin? 
when i placed the hyperlink of a note from the pdf directly into the 
firefox address box i got the message that firefox didn't support the 
textedit protocol. is it possible that the macos firefox doesn't? sorry 
for all the questions.

btw: Bertalan: is there a LilyTool available or becoming available that 
will allow point-and-click with ly 2.5.23 in jEdit?

thanks for the assistance.
best,
sean
ps: thanks for the auctex tip.

Sean Reed
Hamburg, Germany
Web: www.seanreed.de
On 09.05.2005, at 08:24, arjan.bos wrote:
Sean,
Did you put in your .emacs the code that links .ly files with 
lilypond-mode?
You can do this by adding:
;; lilypond
(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))

Or, alternatively, you can use M-x load-library [ret] lilypond-mode
to load lilypond mode. This makes the lilypond functions available to 
emacs. You then are able to switch on lilypond mode by M-x 
LilyPond-mode. Please be aware that these names are case-sensitive.

HTH,
Arjan
Btw [ot] When starting with Latex in emacs, please consider auctex as 
an enhanced latex-mode. It helps with a lot of small things, like 
placing the correct environment with begin and end, changing fonts and 
things like that.

-Oorspronkelijk bericht-
Van:Sean Reed [mailto:[EMAIL PROTECTED]
Verzonden:  zo 8-5-2005 1:22
Aan:Arjan Bos
CC: lilypond-user's list
Onderwerp:  Re: mac osx emacs lilypond-mode
hi arjan,
thanks for the response.
i still must be doing something wrong, or not understanding something.
i created an .emacs file and added-to-list 'load-path the directories
/sw/etc/emacs21/site-start.d (where i have lilypond-init.el) and
/sw/share/emacs21/site-lisp (where i have lilypond-mode.el, -indent.el,
-font-lock.el etc.). having quit and restarted the program, i used C-h
v load-path and saw that both directories were now indeed listed the
load-paths.
but M-x gave me no option for loading any lilypond-mode.
is that not how you load it?
could it be a version discrepancy? (installed emacs 21.3.50 via fink
today).
i am (pretty much) brand new (again) to emacs and went through the
whole tutorial with C-h t today. even if the point-and-click doesn't
work out, i would be interested in learning it a bit more, since i
would consider using it for latex documents and eventually for CLM at
some point again (which is where i used it bumbingly a couple of months
5 years ago for the first time).
thanks again for any tips.
best,
sean

Sean Reed
Hamburg, Germany
Web: www.seanreed.de
On 07.05.2005, at 21:21, Arjan Bos wrote:
To create a .emacs file, simply start editing one. For example by:
 C-x C-f ~/.emacs
If you do:
C-h v load-path
it will show you the path emacs searches when it looks for files.
There are bound to be a whole lot of directories in them. Just put
your files in one of them. Alternatively, if you want to add a
directory to the load-path, add the following to your .emacs file:
(add-to-list 'load-path "/sw/share/emacs/site-lisp" t)
Where /sw/share/emacs/site-lisp is the name of the direc