Re: PDF

2002-04-22 Thread Thomas Willhalm


Jule,

> How can i convert any file made by lilypond (.ly .ps or .dvi) to a .pdf file?

unfortunately it isn't documented in the man page, but lilypond can generate 
tex files that are suitable for pdflatex. Usage is
 lilypond -f pdftex input.ly
Make sure that you have the type1 fonts installed to get a nice pdf file
from pdflatex.

> or some other format that can be viewed on a windows computer without having 
> to install special software?

\begin{sarcasm}
You need to install special software to view pdf files, e.g. Acroread or
GSView/ghostscript. So, what do you mean?
\end{sarcasm}

Best regards
Thomas

-- 
http://www.thomas.willhalm.de/

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Weird beaming problem with major seconds

2002-04-22 Thread Jan Nieuwenhuizen

Chris Lipe <[EMAIL PROTECTED]> writes:

Hi Chris,

> offbeats the resulting harmony between the two is a second.

Well, there lies the problem.

> This produces some very odd beaming results.  I've attached a sample
> measure so you can see.  Do you know a) if this is a bug and b) if
> there's a workaround?

You're using the partcombiner to combine the threads into one voice,
or split them into two voices, as appropriate.  The partcombiner
decides whether to split or combine the voices based on rhythm and the
interval between the notes.

The default interval for which threads are combined into one voice is
(0 . 3).  Now, your piece of music alternates between intervals of
6 and 1 -- that's where it goes wrong.  You must decide how you want
to get your threads split, and set splitInterval to a sane value (for
this snippet anyway).  See below.

Greetings,
Jan.

FluteI = \notes \relative c''' {
  [aes8-\p( f] [aes f] [aes f] [aes )f] |
}

FluteII = \notes \relative c'' {
  [bes8-\p( ees] [bes ees] [bes ees] [bes )ees] |
}

\score {
  <
\context Staff = flutes
<
  \clef treble
  \time 4/4
  \property Staff.instrument = "Flute 1,2"
  \property Staff.instr = "Fl 1,2"
  \property Staff.midiInstrument = #"flute"

  %% the default -- won't work
  %% \property Staff.splitInterval = #'(0 . 1)

  %% empty split interval
  %% \property Staff.splitInterval = #'(0 . 0)
  %% big split interval
  \property Staff.splitInterval = #'(0 . 6) % #'(0 . 1)

  \context Voice=one \partcombine Voice
  \context Thread=one \FluteI
  \context Thread=two \FluteII
>
  >
  \paper { }
}

%%Local variables:
%%LilyPond-indent-level: 2
%%End:

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: GSview problem

2002-04-22 Thread Jan Nieuwenhuizen

"Carlos Garcia Suarez" <[EMAIL PROTECTED]> writes:

> I just did as you indicated and it works. Thanks really. I am a bit
> surprise.

Do we need to change anything based on this experience, or add some
doco somewhere?

> The only doubt is that when opening GSview it says that you need
> to register for Ghostview. Does it means that one have to buy that piece of
> sotware?

No, you can register if you want to get support.  For this reason
setup.exe also provides an older set of both gs/gsview tools that
don't whine for registration.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: GSview problem

2002-04-22 Thread Mats Bengtsson

> "Carlos Garcia Suarez" <[EMAIL PROTECTED]> writes:
> 
> > I just did as you indicated and it works. Thanks really. I am a bit
> > surprise.
> 
> Do we need to change anything based on this experience, or add some
> doco somewhere?

Yes, Ghostscript and GSview are not installed by default at
the moment. We should probably add a dependency to those from
the Lilypond package (or is there something similar to the 
"Recommends" dependencies in Debian?).

See also my separate email about the GSview installation problems.

At the moment, the Windows troubleshooting page in Wiki isn't 
really up to date, some of the problems mentioned there have 
been solved nicely and others have appeared instead.
For example, we should mention the problems with spaces in the
login name. The best would be if we had some more regular
Windows user taking care of this part, I have access to a
Windows partition where I can try the installation but never
use Lilypond regularly in Windows. Jérémie did a great job
on initiating this page.

   /Mats





___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re[2]: GSview problem

2002-04-22 Thread Jérémie Lumbroso

MB> The best would be if we had some more regular
MB> Windows user taking care of this part, I have access to a
MB> Windows partition where I can try the installation but never
MB> use Lilypond regularly in Windows. Jérémie did a great job
MB> on initiating this page.

Well, if this can wait for me to slowly pick back up, I do it
gladly... The problem was that at some point, I met some seriously
upsetting obstacles, and since my project is professional (in the way
that it's to be commercial, not in the way that it's going to be
good!), I couldn't afford to wait for development.
Most of the limitations I was complaining about have been fixed (I'm
especially talking about things like the rest placement and the
vocify function, etc...), others have not (figured bass isn't quite
done yet, etc...) but it's sufficient for me to continue work.
I just need a few weeks (a month?) to really get back into it. I hope
you can wait, if not... Temps pis!

I also have to mention that I have Linux installed on this machine,
but it's SUCH a pain to boot on it, that I've abandonned using it, and
thus stopped following the development. It's VERY annoying to have to
bother some of you to downgrade things from 1.5, when I'm sure you
could be doing plenty other things... That's why I was kind of waiting
for 1.6 too.

As for the GhostScript, and viewers... I personally think yap should
be dropped. Either those developpers (excuse me) have absolutely no
desire to produce quality software, or they weren't aware that their
program is being publically distributed. I've been used with Lilypond
to have very available programmers, who'd try to correct any found
bug. I don't know if my bug reports (probably *our* bug reports) have
been ignored or not received...
So *.dvi output, for Windows users, is out until xdvi is gets ported
to cygwin. But I think I'm not telling you anything you didn't already
know.

Now, the Ghostscript output. Here, I'd have to tell I was truly glad
to have some sort of viewer for Lilypond output. Of course PS is the
professional output format. This one edition house asked me to send
sample pages of my work in (E)PS format, for them to print out and
judge. I'm saying that they're all the same, put I'm guessing that
most of them do it that way.
I've been amazed at how often GSView/GhostScript becomes an issue
here. It probably comes from the fact that it's bundled. Each time
I've installed GS7 with the latest GSview, I have never had any
problem. I'm guessing GSView automatically scans the registry to get
the path of GhostScript, and thus having no problems running it. Why
don't we link to those packages. Realistically, it's better to
distribute a recent package, rather than an older one just because
there's an annoying nag screen at the launch... FYI, there are two
ways to get rid of it.

--
Jérémie Lumbroso



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: PDF

2002-04-22 Thread Mats Bengtsson

In addition to the answer Thomas offered, you could also 
take a look at the FAQ list at www.lilypond.org. At the 
bottom of http://lilypond.org/wiki/?PostProcessing you 
will find an alternative solution that probably works
better at the moment. 

Regards

   /Mats

> Hi,
> How can i convert any file made by lilypond (.ly .ps or .dvi) to a .pdf file? 
> or some other format that can be viewed on a windows computer without having 
> to install special software?
> 
> Jule
> -- 
> Jule Slootbeek
> [EMAIL PROTECTED]
> http://blindtheory.cjb.net


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Downloading manual

2002-04-22 Thread Mats Bengtsson

> Sorry, I am new to Lilypond and I am afraid I am all questions.

If you have a question, there are almost always at least ten 
other people who have same question, or will have them in 
the future. Don't feel ashamed for asking. You will help also
the others, both since the answer will be in the mailing list
archives and since it hopefully is possible to improve Lilypond
to avoid the question in the future.

> I am trying to download the manual, but when doing so and trying to open with gzip 
>-d it says it is not the correct type. I am using Windows 2k and I have tried to 
>change the extension but it does not work.

It's a problem with these gzipped Postscript files. In fact, 
GSview is certainly able to read the file you downloaded even
though you may have to save the file to disk, then start GSview 
and finally open the file from within the program.
The problem is that different web browsers (even different versions
of the same browser) handle compressed files in different ways.
I have seen browsers who:
- Unzip the file but fail to associate it with the correct 
  viewer even if GSview is installed as Postscript viewer.
- Unzip the file but keep the suffix .gz when saving to disk
  (or maybe it was the other way around).
- Start winzip, which in its turn is unable to start GSview
  when you click on the file. 
- ... you name it!
I have actually seen these problems also in UNIX.
As I mentioned above, GSview is able to uncompress the file
on the fly if necessary. The problem is that you can't
associate the suffix .gz with GSview if you want to be able
to handle also other compressed files.

> Is there a form to get a PDF version of the Manual with the tutorial included.

There was a long discussion between .ps.gz and .pdf on the 
mailing list for the Werner Icking music archive some year
ago and the final conclusion was to switch to PDF as the 
default format. I would recommend the same for our WWW pages.
I know the disadvantage is that you have to build the .pfa
fonts before being able to build the web site.

  /Mats



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: GSview problem

2002-04-22 Thread Jan Nieuwenhuizen

Mats Bengtsson <[EMAIL PROTECTED]> writes:

> Yes, Ghostscript and GSview are not installed by default at
> the moment. We should probably add a dependency to those from
> the Lilypond package

Done.

> (or is there something similar to the "Recommends" dependencies in
> Debian?).

No, Cygwin is reinventing the wheel, and partly badly so, imho.

> At the moment, the Windows troubleshooting page in Wiki isn't 
> really up to date, some of the problems mentioned there have 
> been solved nicely and others have appeared instead.

I've moved some cruft to TroubleShotWindows.

> For example, we should mention the problems with spaces in the
> login name.

We've had that for quite some time now, I think.

> The best would be if we had some more regular Windows user taking
> care of this part, I have access to a Windows partition where I can
> try the installation but never use Lilypond regularly in
> Windows. Jérémie did a great job on initiating this page.

Yes, that would be nice.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: How can I properly insert lyrics to a 4-part choral setting?

2002-04-22 Thread Jan Nieuwenhuizen

Laura Conrad <[EMAIL PROTECTED]> writes:

> Han-Wen> We see this question very often.  We should probably put a multi-voice
> Han-Wen> multi-stanza choral example in the  manual.
>
> Whatever happened to the idea of having some templates for things like
> this?

I've added some files in the input/template, and invited others to do
the same.  We could certainly do with more of those, and a reference
from the manual.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: lilypond-book problem

2002-04-22 Thread Jan Nieuwenhuizen

Laura Conrad <[EMAIL PROTECTED]> writes:

> The attached file works if I run ly2dvi, but not if I use it  with
> lilypond-file and the attached lytex file.  The error message I get
> from lilypond-book is:

Me too.  Try this patch (although I'm not sure why this fails, python
> 1.5.2 has all kinds of pickynesses wrt regexps).

Jan.

--- lilypond-book.py.~1.39.~Thu Apr 11 11:14:31 2002
+++ lilypond-book.pyMon Apr 22 17:09:54 2002
@@ -476,7 +476,7 @@ re_dict = {
  'preamble-end': r'(?P\\begin{document})',
  'verbatim': r"(?s)(?P\\begin{verbatim}.*?\\end{verbatim})",
  'verb': r"(?P\\verb(?P.).*?(?P=del))",
- 'lilypond-file': 
r'(?m)^[^%\n]*?(?P\\lilypondfile\s*(\[(?P.*?)\])?\s*\{(?P.+)})',
+ 'lilypond-file': 
+r'(?m)^[^%\n]*?(?P\\lilypondfile\s*(\[(?P.*?)\])?\s*{(P[^}]+)})',
  'lilypond' : 
r'(?m)^[^%\n]*?(?P\\lilypond\s*(\[(?P.*?)\])?\s*{(?P.*?)})',
  'lilypond-block': 
r"(?sm)^[^%\n]*?(?P\\begin\s*(\[(?P.*?)\])?\s*{lilypond}(?P.*?)\\end{lilypond})",
  'def-post-re': r"\\def\\postLilypondExample",



-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



problem

2002-04-22 Thread Jule Slootbeek

Hey, 
thanks for the previous info on pdf files, but whenever i try to run 
a lilypond -f command i get this:

GNU LilyPond 1.2.17.
[/usr/share/lilypond/scm/lily.scm]
Parsing...[/usr/share/lilypond/ly/init.ly[/usr/share/lilypond/ly/declarations.ly[/usr/share/lilypond/ly/nederlands.ly][/usr/share/lilypond/ly/chord-modifiers.ly][/usr/share/lilypond/ly/script.ly[/usr/share/lilypond/scm/script.scm]][/usr/share/lilypond/ly/generic-paper.ly][/usr/share/lilypond/ly/paper20.ly[/usr/share/lilypond/ly/params.ly[/usr/share/lilypond/ly/a4.ly][/usr/share/lilypond/ly/paper.ly][/usr/share/lilypond/ly/engraver.ly[/usr/share/lilypond/ly/auto-beam-settings.ly][/usr/share/lilypond/ly/auto-beam-settings.ly[/usr/share/lilypond/ly/midi.ly[/usr/share/lilypond/ly/performer.ly]][/usr/share/lilypond/ly/textscripts.ly][/usr/share/lilypond/ly/spanners.ly][/usr/share/lilypond/ly/property.ly]][kv545.lyerror:
 
incorrect mudela version: 1.3.151 (1.1.52, 1.2.17)

is this because i run 1.2.17? or am i missing certain files?

Jule
-- 
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: problem

2002-04-22 Thread Jérémie Lumbroso

JS> GNU LilyPond 1.2.17.
JS> [/usr/share/lilypond/scm/lily.scm]
JS> 
Parsing...[/usr/share/lilypond/ly/init.ly[/usr/share/lilypond/ly/declarations.ly[/usr/share/lilypond/ly/nederlands.ly][/usr/share/lilypond/ly/chord-modifiers.ly][/usr/share/lilypond/ly/script.ly[/usr/share/lilypond/scm/script.scm]][/usr/share/lilypond/ly/generic-paper.ly][/usr/share/lilypond/ly/paper20.ly[/usr/share/lilypond/ly/params.ly[/usr/share/lilypond/ly/a4.ly][/usr/share/lilypond/ly/paper.ly][/usr/share/lilypond/ly/engraver.ly[/usr/share/lilypond/ly/auto-beam-settings.ly][/usr/share/lilypond/ly/auto-beam-settings.ly[/usr/share/lilypond/ly/midi.ly[/usr/share/lilypond/ly/performer.ly]][/usr/share/lilypond/ly/textscripts.ly][/usr/share/lilypond/ly/spanners.ly][/usr/share/lilypond/ly/property.ly]][kv545.lyerror:
 
JS> incorrect mudela version: 1.3.151 (1.1.52, 1.2.17)

JS> is this because i run 1.2.17? or am i missing certain files?

I'm no expert at this, but I have a strong impression that's because
the file you use is written with a ulterior version of Lilypond...
In any case it's always better to get one of the latest stable
version (anything 1.4) because the program has radically evolved
since.

Jérémie



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: GSview problem

2002-04-22 Thread Carlos Garcia Suarez

Thanks, again.

I made eveything work. I probably ended putting about 12 hours of solid work
on Saturday to get my first Bach piece nicely printed. I missed a bit of the
WYSIWYG interfaces, but I appreciatted the beauties of the approach anyway.
I am sure the second time it will all go much faster.

In terms of changing things. I think it would be very useful to advice that
you need to manually donwload the Gsview program. I would not get it from
the hard disk download, so I had to re-connec to the web site an instalit
from there. In summary, providing more detailed downloading / installation
instruction would be useful. The environment you are using seems to be
appropriatte for programmers and Unix folks but when you come to more
obsolote and Windows oriented folks, thing become much more difficult.

Thanks


Carlos


- Original Message -
From: "Jan Nieuwenhuizen" <[EMAIL PROTECTED]>
To: "Carlos Garcia Suarez" <[EMAIL PROTECTED]>
Cc: "Mats Bengtsson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 11:16 AM
Subject: Re: GSview problem


> "Carlos Garcia Suarez" <[EMAIL PROTECTED]> writes:
>
> > I just did as you indicated and it works. Thanks really. I am a bit
> > surprise.
>
> Do we need to change anything based on this experience, or add some
> doco somewhere?
>
> > The only doubt is that when opening GSview it says that you need
> > to register for Ghostview. Does it means that one have to buy that piece
of
> > sotware?
>
> No, you can register if you want to get support.  For this reason
> setup.exe also provides an older set of both gs/gsview tools that
> don't whine for registration.
>
> Jan.
>
> --
> Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
> http://www.xs4all.nl/~jantien   | http://www.lilypond.org
>


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: PDF

2002-04-22 Thread Erik Sandberg

On Monday 22 April 2002 06.54, you wrote:
> Hi,
> How can i convert any file made by lilypond (.ly .ps or .dvi) to a .pdf
> file? or some other format that can be viewed on a windows computer without
> having to install special software?

Something that also works is to let lilypond generate a .ps file, and then 
use ps2pdf to create the pdf. You need ghostscript for this.

Erik

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Chord slashes and percents repeats.

2002-04-22 Thread Robin Davies



Still working on 
Jazz charts... I managed to resolve chord notation to my satisfaction (thanks to 
all who helped out).
 
 Next problem: 
chord slashes. 
 
When notating guitar 
parts (in particular) in Jazz charts, if more than one chord change occurs in a 
bar, you put chord slashes in the bar with chord changes over the appropriate 
slash. These look *exactly* like the beat repeats in the output from a 
percent-repeat, except that there's no starting note to repeat -- just four 
slashes to the bar. Since there's nothing to repeat (other than a slash), 
percent-repeat can't actually be used. Yes, it's true that more complex rythms 
require 8-th note flags, and dots and things -- however, one problem at a time. 
I suspect that if I could figure out how to over-ride note heads, I could solve 
the rest of the problem. 
 
Next problem, of 
course, would be to generate bars that look like bar-length percent-repeats 
without anything to repeat (which would be used for bars with only one chord 
change in the bar). 
 
What I'd really like 
to be able to do is use the slash symbol from the percent repeat as a note head, 
and then hide the stem (which seems easy enough) , but I'm really struggling 
with the samples in the "Tuning Output" section of the manual, trying to figure 
out how to do just that. 
 
Is this a problem 
that anyone has a solution to? 
 
Regards,
 
 
Robin 
Davies.
 
 
 


Re: Chord slashes and percents repeats.

2002-04-22 Thread Rune Zedeler

Robin Davies wrote:

> What I'd really like to be able to do is use the slash symbol from the 
> percent repeat as a note head, and then hide the stem (which seems easy 


What you are looking for is

\property Staff.NoteHead \override #'style = #'slash
 Notes with slash-heads go here ...
\property Staff.NoteHead \revert #'style

I hope that you HAVE found the documentation of internals (in the 
homepage: Documentation / other / information for users / 
lilypond-internals )

-Rune


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Virus Alert - ScanMail for Lotus Notes --> A new website

2002-04-22 Thread doug

Able-One's Anti-Virus system detected and automatically removed a virus
during a routine scan of your e-mail message (see below).
We urgently recommend Trend Micro's free, online virus scan utility
accessible through our Website.
Visit http://www.ableone.com/virusalert.html and select "Free Virus Scan"
under "Related Links"
For information about or to purchase Anti-Virus and IT Security
technologies, contact the Able-One Product Specialist for your area at
800-461-2253, or visit
http://www.ableone.com/security


Date: 04/23/2002 01:46:19 AM
Subject:  A  new website
Virus:WORM_KLEZ.G
File: Houhm.bat
From: lilypond-user <[EMAIL PROTECTED]>
To:   [EMAIL PROTECTED]
Action:   Uncleanable, Deleted;

Scanned by ScanMail for Lotus Notes 2.5
with scanengine 5.502-1113
and patternfile lpt$vpn.267


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user