Re: Any way to hand-tweak odd page numbers?

2008-02-05 Thread Trevor Bača
On Feb 5, 2008 11:59 PM, Trevor Bača <[EMAIL PROTECTED]> wrote:

>
>
> So two questions:
>
> QUESTION 1: Does anyone have any leads (without being able to see the
> actual score) as to what sort of thing might keep odd page numbers from
> obeying line-width? I realize this is almost impossible to address, but
> maybe one of the gurus might have a flash of telepathic insight ...
>
> QUESTION 2: Assuming I can't fix the root cause, does anyone have a way to
> tweak odd page numbers (but not even page numbes) by hand? Something like
> extra-offset for page numbers?



Ah: sticking \hspace in the page number markup works:


   oddFooterMarkup = \markup \fill-line {
  " "
 \concat {
  \bold \fontsize #3
  \on-the-fly #print-page-number-check-first
  \fromproperty #'page:page-number-string
 \hspace #20 } }





-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Any way to hand-tweak odd page numbers?

2008-02-05 Thread Trevor Bača
Hi,

I've got a very large score with even and odd page numbers set like this:


%%% BEGIN %%%

\paper {
   oddFooterMarkup = \markup \fill-line {
  " "
  \bold \fontsize #3
  \on-the-fly #print-page-number-check-first
  \fromproperty #'page:page-number-string }
   evenFooterMarkup = \markup \fill-line {
  \bold \fontsize #3
  \on-the-fly #print-page-number-check-first
  \fromproperty #'page:page-number-string
  " " }
   oddHeaderMarkup = \markup \fill-line { " " }
   evenHeaderMarkup = \markup \fill-line { " " }
   print-first-page-number = ##f
   print-page-number = ##t
   ragged-last-bottom = ##t
   top-margin = 16\mm
   left-margin = 30\mm
   line-width = 100\mm
   bottom-margin = 10\mm
}

%%% END %%%


These are on landscape 11 x 17 pages. Everything works great *EXCEPT* that
my odd page numbers don't seem to obey the line-width = 100\mm setting. (By
contrast, the left page numbers certainly do obey the left-margin = 30\mm
setting.) No matter what I do, I can't get odd page numbers to appear
anywhere except the (presumably default?) 15 mm from the right edge of the
paper.

Unfortunately, I've not been able to pare the score down to a minimal
example.

So two questions:

QUESTION 1: Does anyone have any leads (without being able to see the actual
score) as to what sort of thing might keep odd page numbers from obeying
line-width? I realize this is almost impossible to address, but maybe one of
the gurus might have a flash of telepathic insight ...

QUESTION 2: Assuming I can't fix the root cause, does anyone have a way to
tweak odd page numbers (but not even page numbes) by hand? Something like
extra-offset for page numbers?





-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi set instrument problem

2008-02-05 Thread Thomas Spuhler
On Saturday 26 January 2008, Wilbert Berendsen wrote:
> Op zaterdag 26 januari 2008, schreef Thomas Spuhler:
> > Lilypond doesn't like my midi section:
>
> Try:
> \midi {
>   \context {
>     \Score
>     tempoWholesPerMinute = #(ly:make-moment 90 4)
>   }
>   \context {
>     \Staff
>     midiInstrument = "recorder"
>   }
> }
>
> The \set Staff.midiInstrument command shows that midiInstrument is to be
> set in the Staff context. I guess it will work when you place it in the
> \Staff context section. The '\set' and the 'Staff.' are not necessary then.
>
> Alternatively, you can use
> \set Staff.midiInstrument = "recorder"
> just in the music.
>
> Met vriendelijke groet,
> Wilbert Berendsen
>
> --
> http://www.wilbertberendsen.nl/
> "You must be the change you wish to see in the world."
>         -- Mahatma Gandi

Thanks for the hint. Got it to work like this:

  \midi { 
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 90 4)
midiInstrument = "recorder"
}

}
 
}

-- 
Thomas


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


Problem with \triangle ##f

2008-02-05 Thread Aaron Dalton
I'm using v.2.10.19 on FreeBSD and am trying to use the \markup{\triangle 
##f} command.  When I do, however, I get the following error.


Renaming input to: `21.ly'
/home/aaron/lilypond/usr/bin/../share/lilypond/current/ly/init.ly:45:70: 
error: syntax error, unexpected $end

   (apply ly:make-book $defaultpaper $defaultheader toplevel-scores)))

This happens even if I run lilypond itself instead of lilypond-book.  The 
odd thing is that \triangle ##t works just fine.  I just don't want it 
filled in :)


Thanks for your time.
--
Aaron Dalton
http://perlkonig.com



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


Re: MIDI

2008-02-05 Thread Ledocq-Boccart

Hi,

I apologize; the post is from Martial

Mes excuses, Martial.

Charlie



Ledocq-Boccart a écrit :

Hi George_!

See also a possibly interessant answer posted yesterday about your 
question
from Gilles Thibault (french spoken list - no matter if you do not 
read french: codes are identicals)


http://lists.gnu.org/archive/html/lilypond-user-fr/2008-02/msg6.html

Wish you fun etc...

Charlie


___
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: MIDI

2008-02-05 Thread Ledocq-Boccart

Hi George_!

See also a possibly interessant answer posted yesterday about your question
from Gilles Thibault (french spoken list - no matter if you do not read 
french: codes are identicals)


http://lists.gnu.org/archive/html/lilypond-user-fr/2008-02/msg6.html

Wish you fun etc...

Charlie


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


Re: Tip / trick: making Adobe fonts available to fontconfig

2008-02-05 Thread Trevor Bača
On Feb 5, 2008 2:55 AM, Mats Bengtsson <[EMAIL PROTECTED]> wrote:

>
>
> Werner LEMBERG wrote:
> >> However, I still get the following:
> >>
> >>   fonts$ fc-cache -f
> >>   Fontconfig error: Cannot load default config file
> >>
> >> I'm in /etc/fonts when I issue the command; should I maybe be in
> >> some other directory?
> >>
> >
> > Hmm.  On a linux box I would ask you to run
> >
> >   strace fc-cache -f 2> fc-cache.log
> >
> If you're not as much a hacker as Werner, you could try
> fc-cache -vf
> to get a more verbose message from fc-cache.



  fonts$ fc-cache -vf
  Fontconfig error: Cannot load default config file
  /usr/share/fonts: skipping, no such directory
  /usr/var/cache/fontconfig: not cleaning unwritable cache directory
  fc-cache: succeeded


(Which, in spite of the "succeeded" message at the end, still doesn't
rebuild the cache. Odd, because Lily clearly manages to rebuild the font
cache every new install or so, doesn't it??)



-- 
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pedal position

2008-02-05 Thread Mats Bengtsson



Valentin Villenave wrote:


I don't understand why nothing happens when you set the property
on-the-fly such as
\relative c''' {
 c2\pp\sustainDown
 \override Staff.SustainPedalLineSpanner #'outside-staff-priority = #250
 \override Voice.DynamicLineSpanner #'outside-staff-priority = #0
 c2\pp\sustainDown
}

Is it because the LineSpanner is already being drawn?
  


If you compare the following two examples, you see that the dynamics and
pedal marks are vertically aligned in the second example but not in the 
first,
where there's another note inbetween. This is exactly what the 
xxxLineSpanner
objects do. So, in the first example, it "works" to change the settings 
before

the second xxxLineSpanner starts, whereas in your example above, the
spanner has already been created when you do the setting, so it's not 
affected.


\relative c' {
 c2\pp\sustainDown c\sustainUp | c1 |
 c,2\pp\sustainDown
}

\relative c' {
 c2\pp\sustainDown c\sustainUp
 c,2\pp\sustainDown
}

  /Mats


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


Re: MIDI

2008-02-05 Thread Gilles THIBAULT



I just don't get how to make a file into a MIDI file.




\score { %% add that
\relative c' {
\new PianoStaff \with {
 \override VerticalAlignment #'forced-distance = #12
 \override DynamicLineSpanner #'staff-padding = #2.8 }
<<
 \time 6/8
 \new Staff {
 \key d \major
 \tempo 4.= 84

...music ...
}

 >>
}
\layout { }  %% comment this if you don't want pdf output
\midi { }%% this will give you the midi file

} %% add that
%

For more infos, read that :
http://lilypond.org/doc/v2.10/Documentation/user/lilypond-big-page#MIDI-output 




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


ties between different voiced notes

2008-02-05 Thread Martijn Vromans
Dear all,

As stated in the manual I use the \once \override Stem #'transparent = ##t
method for the following bar, but the result is not as expected, because the
hidden a flat is not drawn at the same place as the a flat in the other
voice. I have enabled note collision. What do I do wrong? Is there a
workaround?

This is the example:

<< {
s8 s32 \tieDown \stemDown bes,16. ~ \stemNeutral 2(
\tieNeutral 8) s8
}
\\
{
s8 s16 s32 \stemDown aes'32 ~ \once \override Stem #'transparent = ##t
aes2(\noBeam \once \override \Stem #'transparent = ##t g8 s8
}
\\
{
aes,32[ f bes,-1 f' aes bes-1 f' aes] s2  \once \override Stem #'transparent
= ##t 8\noBeam) b8\rest
} >>

All the best and thanks in advance,

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


Re: pedal position

2008-02-05 Thread Valentin Villenave
On 29/01/2008, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
> I send a copy also to bug-lilypond, since I think there's something fishy
> going on here with outside-staff-priority.

Added as http://code.google.com/p/lilypond/issues/detail?id=575

> \version "2.11.37"
> \relative c''' {
>   \override Staff.SustainPedalLineSpanner #'outside-staff-priority = #250
>   \override Voice.DynamicLineSpanner #'outside-staff-priority = #0
>   c2\pp\sustainDown
>   c2\pp\sustainDown
> }

I don't understand why nothing happens when you set the property
on-the-fly such as
\relative c''' {
 c2\pp\sustainDown
 \override Staff.SustainPedalLineSpanner #'outside-staff-priority = #250
 \override Voice.DynamicLineSpanner #'outside-staff-priority = #0
 c2\pp\sustainDown
}

Is it because the LineSpanner is already being drawn?

Cheers,
Valentin


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


Re: stopStaff combined with StaffGroup extents barlines

2008-02-05 Thread Valentin Villenave
On 05/02/2008, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
> I forward your question to bug-lilypond, since it shows a regression
> bug compared to earlier versions.

Yes, indeed.

I added it to the bug tracker as
http://code.google.com/p/lilypond/issues/detail?id=574

Let's hope someone will have a minute to fix it in the next
development release. Thanks for the report!

Cheers,
Valentin


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


RE: Hairpin and Textscript

2008-02-05 Thread Trevor Daniels

Thanks Mats.

Actually the bug is in the manual :(  The ottava spanner is
created in the Staff context, but I omitted to specify the
context in the \override in the example.

\once \override Staff.OttavaBracket #'outside-staff-priority
= #340

works fine (at least in 2.11.34)

Trevor D

> -Original Message-
> From: Mats Bengtsson [mailto:[EMAIL PROTECTED]
> Sent: 05 February 2008 11:31
> To: [EMAIL PROTECTED]; Lilypond bug
> Cc: lilypond-user@gnu.org
> Subject: Re: Hairpin and Textscript
>
>
>
>
> Trevor Daniels wrote:
> > ...
> >
> http://kainhofer.com/~lilypond/Documentation/user/
> lilypond-learning/index.html
> >
>
> which shows a bug! The ottava bracket isn't moved
> no matter what value you
> specify, at least when I try with the latest
> 2.11.38 code from GIT.
> Unfortunately,
> this means that the example in the manual doesn't
> show what it's
> supposed to show,
> until this bug is fixed (if the bug fix takes
> long, the example can
> easily be modified to
> move the dynamics instead, which works as it should).
>
> /Mats
>




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


Re: Hairpin and Textscript

2008-02-05 Thread Mats Bengtsson



Trevor Daniels wrote:

...
http://kainhofer.com/~lilypond/Documentation/user/lilypond-learning/index.html
  


which shows a bug! The ottava bracket isn't moved no matter what value you
specify, at least when I try with the latest 2.11.38 code from GIT. 
Unfortunately,
this means that the example in the manual doesn't show what it's 
supposed to show,
until this bug is fixed (if the bug fix takes long, the example can 
easily be modified to

move the dynamics instead, which works as it should).

   /Mats


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


staff name in a temporary ossia staff

2008-02-05 Thread Libero Mureddu
Hi all,
is there a way to have the staff name printed in a temporarily added
ossia staff (ie a staff appearing in the middle of a system).
I wasnt able to find any solution searching archives, lsr and docs.
thanks and best regards,

libero

-- 
Libero Mureddu
Vanha Viertotie, 21 as 417
00350 Helsinki
Finland
http://webusers.siba.fi/~limuredd/
http://www.myspace.com/liberomureddu


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


RE: Hairpin and Textscript

2008-02-05 Thread Trevor Daniels

Hi Thomas

Have a look at section 4.4.3 in the Learning Manual at

http://lilypond.org/doc/v2.11/Documentation/user/lilypond-le
arning/index

where this is discussed.

(Actually it seems the images there are broken at the
moment.  If you find this, try

http://kainhofer.com/~lilypond/Documentation/user/lilypond-l
earning/index.html

instead.)

Trevor D

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> [EMAIL PROTECTED] Behalf Of
> Thomas Scharkowski
> Sent: 05 February 2008 10:21
> To: lilypond-user@gnu.org
> Subject: Hairpin and Textscript
>
>
> Hello list,
>
> how can I get a hairpin below a textscript ("a
> tempo" in this case)?
> Does something like "script-priority" exist for
> hairpin/textscript
> (like script/textscript)?
>
> Thomas
>
> LilyPond 2.11.37
> Windows XP SP2
>
>
>
>
> ___
> 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


Hairpin and Textscript

2008-02-05 Thread Thomas Scharkowski
Hello list,

how can I get a hairpin below a textscript ("a tempo" in this case)?
Does something like "script-priority" exist for hairpin/textscript 
(like script/textscript)?

Thomas

LilyPond 2.11.37
Windows XP SP2




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


Re: stopStaff combined with StaffGroup extents barlines

2008-02-05 Thread Mats Bengtsson

I forward your question to bug-lilypond, since it shows a regression
bug compared to earlier versions.

  /Mats

Toine Schreurs wrote:

I am typesetting a score, where one of the staffs contains an ossia section.
I started from the example in section 1.6.1 of the NR. The second staff
will contain the ossia section. In the resulting score it is not obvious
to which staff this ossia belongs.
To connect the staff with the ossia section, I combined them into a StaffGroup.
Now it is clear to which staff the ossia belongs. But, all barlines are
(wrongly) extended also.
This behaviour started with version 2.11.35

Any hints?

Toine Schreurs

%=== start =
\version "2.11.38"
musicOne =  \relative c' {
  \time 2/4
  d4 d |
  a' a |
  b b |
  f2
}

musicTwo =  \relative c' {
  e4 e |
  b' b |
  c c |
  g2
}

ossia =  \relative c' {
  \stopStaff
  s2*2 |
  \startStaff
  bes'8^"ossia" g bes g |
  \stopStaff
  s2 |
}

\score {
  <<
\new Staff \musicOne
\new StaffGroup 
  <<

\new Staff \with
{
  \remove "Time_signature_engraver"
  fontSize = #-2
  \override StaffSymbol #'staff-space = #(magstep -2)
  firstClef = ##f
}
\ossia
\new Staff \musicTwo
  >>

  >>
}
% end ==


___
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: Crippled PS/RPM output on RHEL5

2008-02-05 Thread Mats Bengtsson

Unfortunately, your attachments didn't reach the mailing list.
I'm not sure what kind of attachments are accepted by the mailing list
server, but at least PNG files and ZIP files should work, as long as
they are not too large (perhaps you just forgot to attach the files).

  /Mats

Ozgur Yuksel wrote:

Hi LilyPonders,

I am working with "GNU LilyPond 2.11.37" (the problem had existed with
2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
output  with my FC7 box, I get crippled output (both PS and PDF) on
RHEL5. The attached files bad.* show the crippled pdf and ps files of
test.ly where it looks like good.png with fc7.

Any ideas are welcome.

Cheers,
Ozgur

  


--
=
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: Help with systemSeparatorMarkup in Latex

2008-02-05 Thread Mats Bengtsson



Daniel Tonda wrote:
This is as close as I can get to a system separator, but it puts it 
after every eps file, It is much better though. Now I only have to 
find a way for the command to put it only after a number of systems 
have been inserted.

The manual actually shows a couple of examples of how to do some specific
processing only after a certain number of systems. Just replace the 
\endinput

with whatever you want to do instead.

  /Mats


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


Re: My messages don't get through

2008-02-05 Thread Mats Bengtsson

I have seen several emails from you during the last days. See also the
mailing list archives 
http://lists.gnu.org/archive/html/lilypond-user/2008-02/index.html
(note that these archives are not updated until a number of hours after 
the emails

have been sent).

   /Mats

Daniel Tonda Castillo wrote:
My mails do not seem to be getting through, they do not appear in the 
list.


¿Am I blacklisted or something?

Daniel Tonda Castillo


___
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: MIDI

2008-02-05 Thread Mats Bengtsson

I recommend you to read the section "How LilyPond files work" in the
Learning manual for version 2.11 (which mostly applies also to version 2.10
of the program).

  /Mats

George_ wrote:

I just don't get how to make a file into a MIDI file.

For example, I have my input:

\relative c' {
\new PianoStaff \with {
  \override VerticalAlignment #'forced-distance = #12
  \override DynamicLineSpanner #'staff-padding = #2.8 }
<<
  \time 6/8
  \new Staff { 
  \key d \major 
  \tempo 4.= 84


...music...

}

  >>
}

So what do I put where, and what else do I need to do with it to make it a
MIDI file?

Thanks
  


--
=
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: Error Message

2008-02-05 Thread Mats Bengtsson

Usually, such error messages mean that you have some completely different
syntax error in your file, such as curly braces that don't match.
Unfortunately, it's very hard for LilyPond to detect all such syntax errors
and provide a readable error message. This also means that you have to do
some careful searching yourself in the file to figure out exactly what the
problem is. Working with a copy of the file, you can try to comment out
(or remove) sections of the file to narrow down where the problem is.

  /Mats

George_ wrote:
When I try to generate my .ly file, I get the following error message 
in the log: # -*-compilation-*- Changing working directory to 
`C:/Documents and Settings/George/Desktop' Processing `C:/Documents 
and Settings/George/Desktop/Derbenko Scherzo.ly' Parsing... 
E:/Temp/Lilypond/usr/bin/../share/lilypond/current/ly/init.ly:32:0: 
error: syntax error, unexpected SCM_TOKEN #(if (and (ly:get-option 
'old-relative) error: failed files: "C:\\Documents and 
Settings\\George\\Desktop\\Derbenko Scherzo.ly" What's happening, and 
how do I fix this? Thanks


View this message in context: Error Message 

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
  


--
=
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: Tip / trick: making Adobe fonts available to fontconfig

2008-02-05 Thread Mats Bengtsson



Werner LEMBERG wrote:

However, I still get the following:

  fonts$ fc-cache -f
  Fontconfig error: Cannot load default config file

I'm in /etc/fonts when I issue the command; should I maybe be in
some other directory?



Hmm.  On a linux box I would ask you to run

  strace fc-cache -f 2> fc-cache.log
  

If you're not as much a hacker as Werner, you could try
fc-cache -vf
to get a more verbose message from fc-cache.

  /Mats


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


Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Mats Bengtsson



Risto Vääräniemi wrote:


One more thing... Does anyone know where the make-center-align-markup
and make-column-markup are defined? They are not defined inside
define-markup-commands.scm. In fact I (read Windoze search) cannot
find them anywhere inside the binary or source releases. I guess they
are there somewhere but the search just cannot find them.
  

I have already answered that question in my previous email:

>Note also that the make-right-align-markup Scheme function is just an
>automatically generated Scheme wrapper to the \right-align markup 
command,

>see the end of "Markup construction in Scheme".

If you want to exercise your Scheme competence, you can look in the file
scm/markup.scm and the comments explaining the define-builtin-markup-command
command.

   /Mats


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


Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Bertalan Fodor (LilyPondTool)

I suppose it is

(define-builtin-markup-command (center-align layout props args) 
(markup-list?)

 "Put @code{args} in a centered column."
 (let* ((mols (interpret-markup-list layout props args))
(cmols (map (lambda (x) (ly:stencil-aligned-to x X CENTER)) mols)))
  
   (stack-lines -1 0.0 (chain-assoc-get 'baseline-skip props) cmols))) 


in define-markup-commands.scm

Scheme is a very nasty beast in the sense it can redefine its own syntax.

Bert

Risto Vääräniemi wrote:

Hi again,

On 05/02/2008, Risto Vääräniemi wrote:

  

One more thing... Does anyone know where the make-center-align-markup
and make-column-markup are defined? They are not defined inside
define-markup-commands.scm. In fact I (read Windoze search) cannot
find them anywhere inside the binary or source releases. I guess they
are there somewhere but the search just cannot find them.



I tried a different search tool (Agent Ransack - thanks Simon) to
search for these commands. Even with the new tool I couldn't find
their definitions in the source distribution (2.11.34). This a bit
seems odd. They seem like an internal LP function but how can LP use a
function is it's not present at the sources. One reason could be that
even the new tool cannot find them. :-(

-Risto


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

  



--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu

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


Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Risto Vääräniemi
Hi again,

On 05/02/2008, Risto Vääräniemi wrote:

> One more thing... Does anyone know where the make-center-align-markup
> and make-column-markup are defined? They are not defined inside
> define-markup-commands.scm. In fact I (read Windoze search) cannot
> find them anywhere inside the binary or source releases. I guess they
> are there somewhere but the search just cannot find them.

I tried a different search tool (Agent Ransack - thanks Simon) to
search for these commands. Even with the new tool I couldn't find
their definitions in the source distribution (2.11.34). This a bit
seems odd. They seem like an internal LP function but how can LP use a
function is it's not present at the sources. One reason could be that
even the new tool cannot find them. :-(

-Risto


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


Re: Help with systemSeparatorMarkup in Latex

2008-02-05 Thread Daniel Tonda
That works at first!

I tried a couple of definitions for the command:
\def\betweenLilyPondSystem#1{\\[10pt]} %% Very nice it avoids the eps to be
kind of squashed and leaves more space

and

\def\betweenLilyPondSystem#1{\textbf{\Large{//}}\\[10pt]} %% Still has to be
worked out though.

This is as close as I can get to a system separator, but it puts it after
every eps file, It is much better though. Now I only have to find a way for
the command to put it only after a number of systems have been inserted.

It seems to consider most of the header fields as different systems. So
after the composer field there's a system separator, etc.

This has been most helpful and will require some studying.

Thanks!

Daniel T.

2008/2/4, Mats Bengtsson <[EMAIL PROTECTED]>:
>
> As you may have noticed, the system separators is not the only thing
> that's not included when you use lilypond-book. Also such aspects as the
> spacing between the systems is lost. The reason is that every system is
> typeset as a separate .eps file, which LaTeX treats as a separate figure.
> Of course, the reason is that LaTeX should take care of the page breaking,
> but there are also clear disadvantages as you have noticed.
>
> What you can do is to define the LaTeX command \betweenLilyPondSystem
> to do whatever you prefer, for example to print a system separator. I
> don't
> have any good suggestion for what LaTeX symbol to use, for the moment,
> though.
>
> /Mats
>
> Daniel Tonda wrote:
> > I don't seem to get the "//" systemSeparator when using latex and
> > lilypond.
> >
> > I've been searching and can't find any pointers.
> >
> > I put this code in a lilypond file, and when compiled by itself it
> > shows fine in the final pdf, but if I use it in latex I don't get the
> > separator.
> >
> > \paper {
> >   between-system-space = 1.5\cm
> >   between-system-padding = #10
> >   ragged-bottom=##f
> >   ragged-last-bottom=##f
> >   systemSeparatorMarkup = \slashSeparator
> > }
> >
> > --
> > Daniel Tonda C.
> > 
> >
> > ___
> > 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
> =
>
>


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


Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Risto Vääräniemi
Dear Mats,

On 04/02/2008, Mats Bengtsson wrote:
> I'm afraid the easiest solution is to copy paste from the file
> .../scm/define-markup-commands.scm, where you can find the implementation
> of all the standard markup commands.

Thanks, I'll look into it.

One more thing... Does anyone know where the make-center-align-markup
and make-column-markup are defined? They are not defined inside
define-markup-commands.scm. In fact I (read Windoze search) cannot
find them anywhere inside the binary or source releases. I guess they
are there somewhere but the search just cannot find them.

-Risto


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