1YAPS(1)                     General Commands Manual                    YAPS(1)
2
3
4

NAME

6       YAPS - converts an abc file to a PostScript file
7

SYNOPSIS

9       yaps  abc file [-d] [-e <list>] [-E] [-l] [-M XXXxYYY] [-N] [-k nn] [-o
10       file name] [-P -ss] [-s XX] [-V][-ver] [-x] [-OCC]
11
12
13
14

OPTIONS

16       -d     For debugging only. Displays the internal data  structures  used
17              in the program.
18
19       -e <list>
20              Draws  tunes  with  reference numbers in a comma separated list.
21              Spaces are not allowed but a range of reference numbers  can  be
22              specified. For example, 1,3,7-10.
23
24       -E     Generates Encapsulated Postscript output.
25
26       -M XXXxYYY
27              Set margin sizes in points where 28.3 points = 1cm and 72 points
28              = 1 inch.
29
30       -N     Adds page numbering.
31
32       -k [nn]
33              Adds bar numbering. If number nn is included, then  every  nn'th
34              bar is numbered. Otherwise all bars are numbered.
35
36       -o filename
37              Specifies the output postscript file name.
38
39       -P ss  Specifies  the  paper  size  where 0 is A4 and 1 is US Letter or
40              XXXxYYY sets the paper size in point units.
41               units.
42
43       -s XX  Specifies the scaling factor (default is 0.7)
44
45       -V     Voices are printed out separately for a multi-voice tune. Other‐
46              wise they
47               are interleaved.
48
49
50       -ver   Prints version number and exits.
51
52       -x     Print tune number in X: field
53
54       -OCC   Required  if  the tune uses the old convention for chords delin‐
55              eated with +..+ instead of [...].
56
57

FEATURES

59       * Uses the abc2midi  parsing  code,  so  hopefully  compatibility  with
60       abc2midi will be good.
61
62       * Measures the width of lyric text for lyric typesetting.
63
64       *  Uses  dynamically  extensible data structures in most places, so you
65       should not be restricted by compiled-in limits.
66
67       * Multiple voices drawn with notes played at the same time aligned.
68
69       * Supports special characters using ISO latin 1 font.  Special  charac‐
70       ters  are  created with a TeX-like code e.g. ´E or a 3 digit octal code
71       e.g. 315 .
72
73       * Supports the following clefs : baritone, tenor, alto, mezzo, soprano,
74       treble, bass. Recommended use is
75
76       * Invisible rests (x) are displayed like normal rests.
77
78       * Nonnumeric voice id's, eg. V: soprano are accepted.
79
80         I:clef=bass
81
82       To  make it easier to enter tunes in clefs othan than treble clef, yaps
83       supports I:octave=-1 to indicate that a C in the  tune  represents  the
84       note  one octave below the pitch defined in the abc standard. These may
85       be combined in one I: statement e.g.
86
87       I:clef=bass octave=-2
88
89       You can also use clefs that are one, two or  three  octaves  higher  or
90       lower  than  normal using e.g. treble-8, treble+15, treble-22. The clef
91       is drawn with a small 8, 15 or 22 above or below the clef  symbol.  The
92       clef= and octave= commands may also go in the K: field e.g.
93
94       K:G clef=bass-8 octave=-3
95
96       Note that there is an incompatibility between the behaviour of yaps and
97       the behaviour of abc2ps  1.3.3.  abc2ps  1.3.3  does  not  support  the
98       I:octave=N  command, but selecting certain clefs causes it to automati‐
99       cally transpose by several octaves. You can produce abc that works  for
100       both  by following the clef change with an I:octave=N command to do the
101       transpose that abc2ps does automatically.
102
103       * Produces boxed part labels.
104
105       * Supports the segno symbol with !segno! and coda with !coda!  .  Other
106       musical  instructions  such  as  !fine! and !D.C.! come out as text.  *
107       Supports the U: field for abbreviating symbols  to  single  characters.
108       e.g.
109
110       U:S = !segno!
111
112       allows  S  to  be used to produce the segno symbol. Currently this only
113       allows new symbols to be defined and does not allow the  existing  pre-
114       defined symbols M,L,R,H and T to be altered.
115
116       *  Supports the !red! and !black! instructions for switching from black
117       to red or vice-versa.
118
119       * Supports the following abc2ps extensions to abc :
120
121          %%newpage  - start a new page,
122          %%vskip N  - adds vertical space of N points. If N is followed by
123                       'cm' or 'in' the units are taken as centimetres or
124                       inches instead of points e.g. 4cm.
125          %%text     - print text
126          %%centre (or %%center for Americans) - print centred text.
127          If %%text or %%centre appear in the header, the text appears above
128          the tune.
129
130          %%staffsep SIZE - set the vertical blank space between 2 consecutive
131                            music staves.
132
133          %%titleleft N - select title placed to the left or centred. N = 1
134                          places the title on the left while N = 0 centres it.
135          %%titlecaps - title is displayed in upper case (capital) letters.
136          %%textfont NAME SIZE - select font called NAME and point size SIZE
137          for text produced by %%text or %%centre. If only NAME is given, the
138          font stays the same size. Likewise, if '-' is given as the NAME,
139          only the font size changes.
140          %%titlefont NAME SIZE - select font for title.
141          %%subtitlefont NAME SIZE - select font for titles after the first
142          title.
143          %%composerfont NAME SIZE - select font for words in C: and O: fields
144                                    and part specifier (P: in header).
145          %%wordsfont NAME SIZE - select font for words in W: fields.
146          %%partsfont NAME SIZE - select font for boxed parts and
147          !instruction! .
148          %%vocalfont NAME SIZE - select font for words in w: fields.
149          %%gchordfont NAME SIZE - select font for guitar chords in the music.
150          (It is advisable not to change the font name for the last two, since
151           the program calculates the width of strings using default fonts)
152          %%titlespace, %%subtitlespace, %%textspace, %%composerspace,
153          %%wordsspace, %%partsspace, %%vocalspace and %%gchordspace
154          determine the amount of space left above the relevant type
155          of text. Each of these should be followed by a size in points
156          or value in centrimetres or inches.
157          e.g. %%composerfont 3
158               %%titlefont 2cm
159
160       * Supports placing of accompaniment chords either above or below the
161         stave.
162
163          %%chordsabove - places accompaniment chords above the stave
164          (default).
165          %%chordsbelow - places accompaniment chords below the stave.
166
167       * Supports optional text enclosed in quotes before and after the
168         tempo specification in the Q: field. This extension comes from
169         abc2ps.
170
171

AUTHOR

173       James Allwright <J.R.Allwright@westminster.ac.uk>
174

SUPPORTED

176       Seymour Shlien <fy733@ncf.ca>
177
178       More complete documentation can be found in  abcguide.txt  which  comes
179       with the abcMIDI distribution package.
180

VERSION

182       This man page describes version 1.39 August 13 2005.
183
184
185
186
187                                13 August 2005                         YAPS(1)
Impressum