[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to produce a5 paper music (2)
From: |
Marco Caliari |
Subject: |
Re: How to produce a5 paper music (2) |
Date: |
Mon, 16 Sep 2002 17:28:37 +0200 (CEST) |
> When I want to print a piece of music in A5 size,
> two pages on each A4-paper, I typeset it as usual
> in A4 size and than use 'psnup -2 file.ps' on the
> Postscript. Of course, the pstops command is much
> more general, but I've never managed to understand
> all the options.
Of course, but I was referring to A5 landscape (sorry for the omission),
very common for marching bands.
If I choose papersize="a4" and orientation="landscape", the right and left
margins are too wide (I have also to modify linewidth) and I cannot put
two pages (A5 landscape) on each A4-paper by psnup (can you?).
> Whenever you want to rescale a
> Postscript file, make sure that you use Type1 fonts:
> dvips -ulilypond -Ppdf file.dvi
> (or use 'lilypond -p').
Of course. I always use -ulilypond -Ppdf: it is a bug in step 7 of my
"algorithm" to produce a5 landscape paper.
Marco
> > Hi.
> >
> > Here is another way to produce a5 paper music.
> >
> > 1) build a file a5-init.ly in ly/ directory with
> >
> > \version "1.6.2"
> > %a5.ly
> >
> > hsize = 148.5 \mm
> > vsize = 210 \mm
> >
> > 2) add
> >
> > @ a5 148.5mm 210mm
> > @ + ! %%DocumentPaperSizes: a5
> > @+ %%BeginPaperSize: a5
> > @+ a5
> > @+ %%EndPaperSize
> >
> > to your config.ps file
> >
> > 3) add
> >
> > 'a5' : 'a5paper',
> >
> > to your ly2dvi file, after
> >
> > 'a4' : 'a4paper',
> > 'letter' : 'letterpaper',
> >
> > 4) begin your .ly file (say enea.ly) with
> >
> > \paper{papersize = "a5" orientation = "landscape"}
> >
> > 5) run ly2dvi as usually
> >
> > 6) view the output with
> >
> > xdvi -paper a5r enea.dvi
> >
> > 7) convert to ps with
> >
> > dvips -ta5 -tlandscape enea.dvi
> >
> > 8.1) put 2 a5 page to 1 a4 page with
> >
> > pstops -pa4 "2:0L(21cm,14.85cm)+1L(21cm,0cm)" enea.ps enea.a5.ps
> >
> > 8.2) or
> >
> > pstops -pa4 "2:0L(21cm,14.85cm)+1R(0cm,14.85cm)" enea.ps enea.a5.ps
> >
> > By default, gv shows only an a5 paper and in landscape mode, but you can
> > choose a4 paper and portrait mode. When printing (choosing a4 paper size),
> > all is fine.
> >
> > This method is more complicate, but you don't have to resize within
> > pstops.
> >
> > --
> > Marco