> Jan Nieuwenhuizen wrote:
>
> > On Saturday, 11 March 2000, Alain CULOS writes:
> >
> > You could try using postscript output:
> >
> > lilypond -f ps foo.ly
> > gv foo.ps
>
> That's not working at all (failing to display anything).
> Whereas going the normal path ly->dvi then dvi->ps works beautifully, though
> I don't read the dvi fully (some missing fonts), the resulting ps is perfect (or
> appears to be so).
> [ly2dvi -P xxx] works though.
> Going direct to ps as advised above gets me the following error log (gv) :
> =========
> ...
Even if you get the fonts working, the Postscript output is not
far from perfect. I don't recommend spending any time on this.
> > > OK, but yap complains, here's part of the log book :
> > That's not so difficult:
...
> > set path=c:\texmf\miktex\bin;%path%
> > set TEXINPUTS=%TEXINPUTS%;c:\lilypond-1.2.0\tex
> > set MFINPUTS=%MFINPUTS%;c:\lilypond-1.2.0\mf
>
> That was done and I re-checked it, it looks good. The problem remains ...
> But I think the problem is actually there - I discovered yesterday that my
> autoexec.bat requires too much environment space though it was fine the boot
> before (I must have added a few lines) :-((( silly system. When I launch yap
> from bash, there is no problem (after one interation with initexmf -u).
If you start yap from the lilyshell, all variables should be
correctly set and you shouldn't need to set any variables in
autoexec.bat. If you want to be able to start yap from the
start menu or double clicking on the file, on the other hand,
you have to fiddle with the variables yourself.
> Also my question was not accurate enough, there seems to be huge flexibility for
> left and right margins, but what about the top and bottom ones ?
If you set the paper variable `textheight', the top and bottom
margins will be set to center the music vertically on the paper.
/Mats