--- abcm2ps-5.8.1.orig/Makefile +++ abcm2ps-5.8.1/Makefile @@ -4,22 +4,22 @@ VERSION = 5.8.1 CC = gcc -INSTALL = /usr/bin//install -c +INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} -CPPFLAGS = -Wall -pipe -DHAVE_CONFIG_H -I. #-ansi -CFLAGS = -g # -O2 +CPPFLAGS = -DHAVE_CONFIG_H -I. +CFLAGS = -Wall -g -O2 -Wall -pipe LDFLAGS = # -prefix = /usr/local +prefix = /usr exec_prefix = ${prefix} srcdir = . bindir = ${exec_prefix}/bin libdir = ${exec_prefix}/lib datadir = ${prefix}/share -docdir = ${prefix}/doc +docdir = /usr/doc # unix OBJECTS=abc2ps.o \ @@ -101,7 +101,7 @@ dist: ln -s . abcm2ps-$(VERSION); \ - tar -zcvf abcm2ps-$(VERSION).tar.gz $(DIST_FILES); + tar -zcvf abcm2ps-$(VERSION).tar.gz $(DIST_FILES); \ rm abcm2ps-$(VERSION) zip-dist: --- abcm2ps-5.8.1.orig/abc2ps.c +++ abcm2ps-5.8.1/abc2ps.c @@ -54,6 +54,7 @@ int tunenum; /* number of current tune */ int pagenum = 1; /* current page in output file */ +int pagenum_nr = 1; /* current page (non-resettable) */ int in_page; @@ -152,7 +153,7 @@ p = *argv; if ((c = *p) == '\0') continue; - if (c == '-' && p[1] != '-' && p[strlen(p) - 1] == '-') + if (c == '-' && p[1] != '\0' && p[1] != '-' && p[strlen(p) - 1] == '-') c = '+'; /* switch off flags with '-x-' */ if (c == '+') { /* switch off flags with '+' */ while (*++p != '\0') { --- abcm2ps-5.8.1.orig/abc2ps.h +++ abcm2ps-5.8.1/abc2ps.h @@ -275,6 +275,7 @@ extern int outft; /* last font in the output file */ extern int tunenum; /* number of current tune */ extern int pagenum; /* current page number */ +extern int pagenum_nr; /* current page number (non-resettable) */ extern int nbar; /* current measure number */ extern int nbar_rep; /* last repeat bar number */ extern int in_page; --- abcm2ps-5.8.1.orig/buffer.c +++ abcm2ps-5.8.1/buffer.c @@ -250,6 +250,18 @@ } fprintf(fout, "%d", pagenum); break; + case 'Q': /* non-resetting page number */ + if (p[1] == '0') { + p++; + if (pagenum_nr & 1) + break; + } else if (p[1] == '1') { + p++; + if ((pagenum_nr & 1) == 0) + break; + } + fprintf(fout, "%d", pagenum_nr); + break; case 'T': /* tune title */ q = &info['T' - 'A']->as.text[2]; while (isspace((unsigned char) *q)) @@ -420,6 +432,7 @@ if (cfmt.footer != 0) posy -= headfooter(0, pwidth, pheight); pagenum++; + pagenum_nr++; outft = -1; } --- abcm2ps-5.8.1.orig/config.h +++ abcm2ps-5.8.1/config.h @@ -2,7 +2,7 @@ /* config.h.in */ /* default directory to search for format files */ -#define DEFAULT_FDIR "/usr/local/share/abcm2ps" +#define DEFAULT_FDIR "/usr/share/abcm2ps" /* Define if you have the strtol function. */ /* #undef HAVE_STRTOL */ --- abcm2ps-5.8.1.orig/config.guess +++ abcm2ps-5.8.1/config.guess @@ -1,8 +1,11 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -# + +timestamp='2008-01-23' + # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -15,199 +18,294 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Written by Per Bothner . -# Please send patches to . + +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you -# don't specify an explicit system type (host/target name). -# -# Only a few systems have been added to this list; please add others -# (but try to keep the structure clean). -# +# don't specify an explicit build system type. -# Use $HOST_CC if defined. $CC may point to a cross-compiler -if test x"$CC_FOR_BUILD" = x; then - if test x"$HOST_CC" != x; then - CC_FOR_BUILD="$HOST_CC" - else - if test x"$CC" != x; then - CC_FOR_BUILD="$CC" - else - CC_FOR_BUILD=cc - fi - fi +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 fi +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) +# (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15 - # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) - # Netbsd (nbsd) targets should (where applicable) match one or + # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. - # Determine the machine/vendor (is the vendor relevant). - case "${UNAME_MACHINE}" in - amiga) machine=m68k-cbm ;; - arm32) machine=arm-unknown ;; - atari*) machine=m68k-atari ;; - sun3*) machine=m68k-sun ;; - mac68k) machine=m68k-apple ;; - macppc) machine=powerpc-apple ;; - hp3[0-9][05]) machine=m68k-hp ;; - ibmrt|romp-ibm) machine=romp-ibm ;; - *) machine=${UNAME_MACHINE}-unknown ;; + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; esac - # The Operating System including object format. - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" - exit 0 ;; + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then + case $UNAME_RELEASE in + *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix - exit 0 ;; + exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 - exit 0 ;; + exit ;; Amiga*:UNIX_System_V:4.0:*) - echo m68k-cbm-sysv4 - exit 0;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + echo m68k-unknown-sysv4 + exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; *:OS/390:*:*) echo i370-ibm-openedition - exit 0 ;; + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; - SR2?01:HI-UX/MPP:*:*) + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp - exit 0;; + exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then @@ -215,25 +313,32 @@ else echo pyramid-pyramid-bsd fi - exit 0 ;; + exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 - exit 0 ;; + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) @@ -242,12 +347,12 @@ esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; + exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; + exit ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) @@ -257,13 +362,10 @@ echo sparc-sun-sunos${UNAME_RELEASE} ;; esac - exit 0 ;; + exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -274,50 +376,42 @@ # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} - exit 0 ;; + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} - exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; + exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 - exit 0 ;; + exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; + exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; + exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; + exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ @@ -339,24 +433,33 @@ exit (-1); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix - exit 0 ;; + exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 - exit 0 ;; + exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 - exit 0 ;; + exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` @@ -372,31 +475,40 @@ else echo i586-dg-dgux${UNAME_RELEASE} fi - exit 0 ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 - exit 0 ;; + exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 - exit 0 ;; + exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd - exit 0 ;; + exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; + exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i?86:AIX:*:*) + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) echo i386-ibm-aix - exit 0 ;; + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include @@ -408,18 +520,21 @@ exit(0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - echo rs6000-ibm-aix3.2.5 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi - exit 0 ;; - *:AIX:*:4) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` - if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then + exit ;; + *:AIX:*:[456]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc @@ -427,37 +542,54 @@ if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else - IBM_REV=4.${UNAME_RELEASE} + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; + exit ;; *:AIX:*:*) echo rs6000-ibm-aix - exit 0 ;; + exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 - exit 0 ;; + exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 + exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx - exit 0 ;; + exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 - exit 0 ;; + exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd - exit 0 ;; + exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 - exit 0 ;; + exit ;; 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) - sed 's/^ //' << EOF >$dummy.c + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include @@ -490,13 +622,39 @@ exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - rm -f $dummy.c $dummy + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; esac - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; 3050*:HI-UX:*:*) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int @@ -522,447 +680,491 @@ exit (0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 - exit 0 ;; + exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd - exit 0 ;; + exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd - exit 0 ;; - *9??*:MPE/iX:*:*) + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix - exit 0 ;; + exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf - exit 0 ;; + exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf - exit 0 ;; - i?86:OSF1:*:*) + exit ;; + i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi - exit 0 ;; + exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites - exit 0 ;; - hppa*:OpenBSD:*:*) - echo hppa-unknown-openbsd - exit 0 ;; + exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit 0 ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit 0 ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit 0 ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit 0 ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; + exit ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} - exit 0 ;; + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ - exit 0 ;; + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + exit ;; CRAY*T3E:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; - F300:UNIX_System_V:*:*) + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; - F301:UNIX_System_V:*:*) - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; + exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; + exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; + exit ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) + exit ;; + *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix - exit 0 ;; + echo i586-pc-interix + exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin - exit 0 ;; + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin - exit 0 ;; + exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + exit ;; *:GNU:*:*) + # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; - *:Linux:*:*) - + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. - ld_help_string=`cd /; ld --help 2>&1` - ld_supported_emulations=`echo $ld_help_string \ - | sed -ne '/supported emulations:/!d + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g - s/.*supported emulations: *// + s/.*supported targets: *// s/ .*// p'` - case "$ld_supported_emulations" in - *ia64) - echo "${UNAME_MACHINE}-unknown-linux" - exit 0 + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; - i?86linux) + a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 - ;; - elf_i?86) - echo "${UNAME_MACHINE}-pc-linux" - exit 0 - ;; - i?86coff) + exit ;; + coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 - ;; - sparclinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - armlinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - elf32arm*) - echo "${UNAME_MACHINE}-unknown-linux-gnuoldld" - exit 0 - ;; - armelf_linux*) - echo "${UNAME_MACHINE}-unknown-linux-gnu" - exit 0 - ;; - m68klinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - elf32ppc | elf32ppclinux) - # Determine Lib Version - cat >$dummy.c < -#if defined(__GLIBC__) -extern char __libc_version[]; -extern char __libc_release[]; -#endif -main(argc, argv) - int argc; - char *argv[]; -{ -#if defined(__GLIBC__) - printf("%s %s\n", __libc_version, __libc_release); -#else - printf("unkown\n"); -#endif - return 0; -} -EOF - LIBC="" - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy | grep 1\.99 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.c $dummy - echo powerpc-unknown-linux-gnu${LIBC} - exit 0 - ;; + exit ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit ;; esac - - if test "${UNAME_MACHINE}" = "alpha" ; then - cat <$dummy.s - .data - \$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main - main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - LIBC="" - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - esac - - objdump --private-headers $dummy | \ - grep ld.so.1 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 - elif test "${UNAME_MACHINE}" = "mips" ; then - cat >$dummy.c < /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __MIPSEB__ - printf ("%s-unknown-linux-gnu\n", argv[1]); -#endif -#ifdef __MIPSEL__ - printf ("%sel-unknown-linux-gnu\n", argv[1]); -#endif - return 0; -} -EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - elif test "${UNAME_MACHINE}" = "s390"; then - echo s390-ibm-linux && exit 0 - else - # Either a pre-BFD a.out linker (linux-gnuoldld) - # or one that does not give us useful --help. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. - # If ld does not provide *any* "supported emulations:" - # that means it is gnuoldld. - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 - - case "${UNAME_MACHINE}" in - i?86) - VENDOR=pc; - ;; - *) - VENDOR=unknown; - ;; - esac - # Determine whether the default compiler is a.out or elf - cat >$dummy.c < -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); -#endif - return 0; -} + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - fi ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. - i?86:DYNIX/ptx:4*:*) + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" + test x"${LIBC}" != x && { + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit + } + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. echo i386-sequent-sysv4 - exit 0 ;; - i?86:UNIX_SV:4.2MP:2.*) + exit ;; + i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi - exit 0 ;; - i?86:*:5:7*) - # Fixed at (any) Pentium or better - UNAME_MACHINE=i586 - if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then - echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} - fi - exit 0 ;; - i?86:*:3.2:*) + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi - exit 0 ;; - i?86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; + exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp - exit 0 ;; + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 - exit 0 ;; + exit ;; paragon:*:*:*) echo i860-intel-osf1 - exit 0 ;; + exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi - exit 0 ;; + exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:*) + && { echo i486-ncr-sysv4; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 - exit 0 ;; - i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) + exit ;; + rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; + exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 - exit 0 ;; + exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 - exit 0 ;; + exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` @@ -970,80 +1172,164 @@ else echo ns32k-sni-sysv fi - exit 0 ;; - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says echo i586-unisys-sysv4 - exit 0 ;; + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 - exit 0 ;; + exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 - exit 0 ;; + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; - news*:NEWS-OS:*:6*) + exit ;; + news*:NEWS-OS:6*:*) echo mips-sony-newsos6 - exit 0 ;; + exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi - exit 0 ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos - exit 0 ;; + exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos - exit 0 ;; + exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos - exit 0 ;; + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; + exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + exit ;; *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} - exit 0 ;; + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) - if test "${UNAME_MACHINE}" = "x86pc"; then + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo `uname -p`-${UNAME_MACHINE}-nto-qnx - exit 0 ;; + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; *:QNX:*:4*) echo i386-pc-qnx - exit 0 ;; - NSR-W:NONSTOP_KERNEL:*:*) + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} - exit 0 ;; + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv - exit 0 ;; + exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit 0 ;; + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 +eval $set_cc_for_build cat >$dummy.c < @@ -1069,7 +1355,7 @@ #endif #if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); + printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) @@ -1130,11 +1416,24 @@ #endif #if defined (vax) -#if !defined (ultrix) - printf ("vax-dec-bsd\n"); exit (0); -#else - printf ("vax-dec-ultrix\n"); exit (0); -#endif +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif #endif #if defined (alliant) && defined (i860) @@ -1145,12 +1444,12 @@ } EOF -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) @@ -1159,25 +1458,69 @@ case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd - exit 0 ;; + exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit 0 ;; + exit ;; c34*) echo c34-convex-bsd - exit 0 ;; + exit ;; c38*) echo c38-convex-bsd - exit 0 ;; + exit ;; c4*) echo c4-convex-bsd - exit 0 ;; + exit ;; esac fi -#echo '(Unable to guess system type)' 1>&2 +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: --- abcm2ps-5.8.1.orig/config.sub +++ abcm2ps-5.8.1/config.sub @@ -1,8 +1,11 @@ #! /bin/sh -# Configuration validation subroutine script, version 1.1. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -# + +timestamp='2008-01-16' + # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. @@ -19,16 +22,17 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Written by Per Bothner . -# Please send patches to . + +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -50,30 +54,75 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. -if [ x$1 = x ] -then - echo Configuration name missing. 1>&2 - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 - echo "or $0 ALIAS" 1>&2 - echo where ALIAS is a recognized configuration type. 1>&2 - exit 1 -fi +me=`echo "$0" | sed -e 's,.*/,,'` -# First pass through any local machine types. -case $1 in - *local*) - echo $1 - exit 0 - ;; - *) - ;; +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -99,7 +148,7 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple) + -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; @@ -113,9 +162,21 @@ os=-vxworks basic_machine=$1 ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -132,6 +193,10 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -171,30 +236,74 @@ case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. - tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ - | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ - | 580 | i960 | h8300 \ - | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \ - | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ - | hppa64 \ - | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ - | alphaev6[78] \ - | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ - | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ - | mips64orion | mips64orionel | mipstx39 | mipstx39el \ - | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ - | mips64vr5000 | miprs64vr5000el | mcore \ - | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ - | thumb | d10v | fr30 | avr) + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | mt \ + | msp430 \ + | nios | nios2 \ + | ns16k | ns32k \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | score \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | z8k) basic_machine=$basic_machine-unknown ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. - i[34567]86) + i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. @@ -203,28 +312,70 @@ exit 1 ;; # Recognize the basic CPU types with company name. - # FIXME: clean up the formatting here. - vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ - | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ - | xmp-* | ymp-* \ - | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ - | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ - | hppa2.0n-* | hppa64-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ - | alphaev6[78]-* \ - | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ - | clipper-* | orion-* \ - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ - | mipstx39-* | mipstx39el-* | mcore-* \ - | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ - | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ - | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ - | bs2000-*) + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. @@ -242,6 +393,9 @@ basic_machine=a29k-amd os=-udi ;; + abacus) + basic_machine=abacus-unknown + ;; adobe68k) basic_machine=m68010-adobe os=-scout @@ -256,19 +410,25 @@ basic_machine=a29k-none os=-bsd ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) - basic_machine=m68k-cbm + basic_machine=m68k-unknown ;; amigaos | amigados) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-sysv4 ;; apollo68) @@ -287,6 +447,18 @@ basic_machine=ns32k-sequent os=-dynix ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -307,27 +479,45 @@ basic_machine=c38-convex os=-bsd ;; - cray | ymp) - basic_machine=ymp-cray + cray | j90) + basic_machine=j90-cray os=-unicos ;; - cray2) - basic_machine=cray2-cray - os=-unicos + craynv) + basic_machine=craynv-cray + os=-unicosmp ;; - [ctj]90-cray) - basic_machine=c90-cray - os=-unicos + cr16) + basic_machine=cr16-unknown + os=-elf ;; crds | unos) basic_machine=m68k-crds ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola @@ -336,6 +526,10 @@ basic_machine=m88k-motorola os=-sysv3 ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx @@ -369,6 +563,10 @@ basic_machine=tron-gmicro os=-sysv ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 @@ -444,19 +642,19 @@ basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? - i[34567]86v32) + i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; - i[34567]86v4*) + i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; - i[34567]86v) + i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; - i[34567]86sol2) + i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; @@ -468,14 +666,6 @@ basic_machine=i386-unknown os=-vsta ;; - i386-go32 | go32) - basic_machine=i386-unknown - os=-go32 - ;; - i386-mingw32 | mingw32) - basic_machine=i386-unknown - os=-mingw32 - ;; iris | iris4d) basic_machine=mips-sgi case $os in @@ -490,6 +680,14 @@ basic_machine=m68k-isi os=-sysv ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; m88k-omron*) basic_machine=m88k-omron ;; @@ -501,6 +699,14 @@ basic_machine=ns32k-utek os=-sysv ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; miniframe) basic_machine=m68000-convergent ;; @@ -508,32 +714,27 @@ basic_machine=m68k-atari os=-mint ;; - mipsel*-linux*) - basic_machine=mipsel-unknown - os=-linux-gnu - ;; - mips*-linux*) - basic_machine=mips-unknown - os=-linux-gnu - ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware - ;; monitor) basic_machine=m68k-rom68k os=-coff ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; msdos) - basic_machine=i386-unknown + basic_machine=i386-pc os=-msdos ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; mvs) basic_machine=i370-ibm os=-mvs @@ -595,6 +796,10 @@ basic_machine=i960-intel os=-mon960 ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; np1) basic_machine=np1-gould ;; @@ -605,6 +810,13 @@ basic_machine=hppa1.1-oki os=-proelf ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose @@ -621,51 +833,89 @@ basic_machine=i860-intel os=-osf ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; - pc532 | pc532-*) + pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pentium | p5 | k5 | k6 | nexen) + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; - pentiumpro | p6 | 6x86) + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; - pentiumii | pentium2) + pentium4) basic_machine=i786-pc ;; - pentium-* | p5-* | k5-* | k6-* | nexen-*) + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumpro-* | p6-* | 6x86-*) + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumii-* | pentium2-*) + pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; - power) basic_machine=rs6000-ibm + power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown - ;; + ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown - ;; + ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; ps2) basic_machine=i386-ibm ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -676,10 +926,30 @@ rtpc | rtpc-*) basic_machine=romp-ibm ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; sa29200) basic_machine=a29k-amd os=-udi ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; sequent) basic_machine=i386-sequent ;; @@ -687,7 +957,13 @@ basic_machine=sh-hitachi os=-hms ;; - sparclite-wrs) + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; @@ -754,18 +1030,46 @@ os=-dynix ;; t3e) - basic_machine=t3e-cray + basic_machine=alphaev5-cray os=-unicos ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + tile*) + basic_machine=tile-unknown + os=-linux-gnu + ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; tower | tower-32) basic_machine=m68k-ncr ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; udi29k) basic_machine=a29k-amd os=-udi @@ -787,8 +1091,8 @@ os=-vms ;; vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; + basic_machine=f301-fujitsu + ;; vxworks960) basic_machine=i960-wrs os=-vxworks @@ -809,13 +1113,17 @@ basic_machine=hppa1.1-winbond os=-proelf ;; - xmp) - basic_machine=xmp-cray - os=-unicos + xbox) + basic_machine=i686-pc + os=-mingw32 ;; - xps | xps100) + xps | xps100) basic_machine=xps100-honeywell ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim @@ -836,32 +1144,35 @@ op60c) basic_machine=hppa1.1-oki ;; - mips) - if [ x$os = x-linux-gnu ]; then - basic_machine=mips-unknown - else - basic_machine=mips-mips - fi - ;; romp) basic_machine=romp-ibm ;; + mmix) + basic_machine=mmix-knuth + ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; - sparc | sparcv9) + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; - cydra) + cydra) basic_machine=cydra-cydrome ;; orion) @@ -876,9 +1187,8 @@ pmac | pmac-mpw) basic_machine=powerpc-apple ;; - c4x*) - basic_machine=c4x-none - os=-coff + *-unknown) + # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 @@ -932,35 +1242,49 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit*) + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in - x86-* | i[34567]86-*) + x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; + -nto-qnx*) + ;; -nto*) - os=-nto-qnx + os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; @@ -973,6 +1297,9 @@ -opened*) os=-openedition ;; + -os400*) + os=-os400 + ;; -wince*) os=-wince ;; @@ -991,16 +1318,25 @@ -acis*) os=-aos ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; + -nova*) + os=-rtmk-nova + ;; -ns2 ) - os=-nextstep2 + os=-nextstep2 ;; - -nsk) + -nsk*) os=-nsk ;; # Preserve the version number of sinix5. @@ -1010,6 +1346,9 @@ -sinix*) os=-sysv4 ;; + -tpf*) + os=-tpf + ;; -triton*) os=-sysv3 ;; @@ -1037,8 +1376,17 @@ -xenix) os=-xenix ;; - -*mint | -*MiNT) - os=-mint + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe ;; -none) ;; @@ -1062,6 +1410,12 @@ # system, and we'll never get to this point. case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; @@ -1071,7 +1425,14 @@ arm*-semi) os=-aout ;; - pdp11-*) + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) os=-none ;; *-dec | vax-*) @@ -1092,12 +1453,18 @@ m68*-cisco) os=-aout ;; + mep-*) + os=-elf + ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; + or32-*) + os=-coff + ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; @@ -1107,9 +1474,15 @@ *-be) os=-beos ;; + *-haiku) + os=-haiku + ;; *-ibm) os=-aix ;; + *-knuth) + os=-mmixware + ;; *-wec) os=-proelf ;; @@ -1161,25 +1534,25 @@ *-next) os=-nextstep3 ;; - *-gould) + *-gould) os=-sysv ;; - *-highlevel) + *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; - *-sgi) + *-sgi) os=-irix ;; - *-siemens) + *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; - f301-fujitsu) + f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) @@ -1242,10 +1615,16 @@ -mvs* | -opened*) vendor=ibm ;; + -os400*) + vendor=ibm + ;; -ptx*) vendor=sequent ;; - -vxsim* | -vxworks*) + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) @@ -1257,12 +1636,23 @@ -mpw* | -macos*) vendor=apple ;; - -*mint | -*MiNT) + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; + -vos*) + vendor=stratus + ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: --- abcm2ps-5.8.1.orig/abcm2ps.1 +++ abcm2ps-5.8.1/abcm2ps.1 @@ -0,0 +1,1146 @@ +.TH "ABCM2PS" "1" +.SH "NAME" +abcm2ps \(em translate ABC music notation to PostScript +.SH "SYNOPSIS" +.PP +\fBabcm2ps\fR [\fIoptions\fR] [\fIabc-file\fR \fI[file-options]\fR] [...] +.PP +\fBabcm2ps\fR [\fB-h\fP] +.SH "DESCRIPTION" +.PP +\fBabcm2ps\fR translates tunes written in +the ABC music notation format to customary sheet music scores in +PostScript. It is based on \fBabc2ps\fR 1.2.5 and was +developed mainly to print Baroque organ scores that have +independent voices played on multiple keyboards and a +pedal-board. The program has since been extended to support +various other notation conventions in use for sheet music. +.PP +Options given immediately after the command name apply to +the run as a whole; options given after an ABC file name apply +to that file. +.PP +Formatting parameters can also be set in `format files' and +in the ABC files themselves. +.SH "OPTIONS" +.IP "\fB-0\fP" 10 +Split tunes across page breaks if necessary. +.IP "\fB+0\fP" 10 +Start a new page if a tune doesn't fit on the current +one (default). +.IP "\fB-1\fP" 10 +Output one tune per page. +.IP "\fB+1\fP" 10 +Output multiple tunes per page (default). +.IP "\fB-a \fIa\fR\fP" 10 +Maximal horizontal compression when staff breaks are +chosen automatically. Must be between 0 and 1 (default: +0.65) +.IP "\fB-B \fIb\fR\fP" 10 +Try to typeset \fIb\fR bars +on each staff line. +.IP "\fB+B\fP" 10 +Don't try to typeset a fixed number of +bars on each staff line (default). +.IP "\fB-b \fIb\fR\fP" 10 +Start measure numbering at \fIb\fR. +.IP "\fB-C\fP" 10 +Obsolete option; ignored. +.IP "\fB-c\fP" 10 +The continuation symbol is implicitly appended to each +music line. This amounts to automatic line breaking. +.IP "\fB+c\fP" 10 +Automatic line breaking is turned off (default). +.IP "\fB-D \fIdirectory\fR\fP" 10 +Search format files in +\fIdirectory\fR. +.IP "\fB-d \fIlength\fR\fP" 10 +Set the vertical interstaff space to +\fIlength\fR (default: 46pt) +.IP "\fB-E\fP" 10 +Output is generated in EPS format, one file per page. +.IP "\fB+E\fP" 10 +Output is generated in multipage PS format (default). +.IP "\fB-e \fIlist\fR\fP" 10 +Select which tunes from an ABC file to print. +\fIlist\fR is a comma-separated list +of tune numbers (as per the `X:' header). The +\fB-e\fP option must occur after an ABC file +name and applies to that file. Ranges of tune numbers may +be specified like +\fIt1\fR-\fIt2\fR; +\fIt2\fR may be omitted which means +`all remaining tunes until the end of file'. Note that +filtering may cause problems, e.g., with global (non-tune) +definitions in the ABC file. +.IP "\fB-F \fIfile\fR\fP" 10 +Read the format file +\fIfile\fR.fmt. +.IP "\fB+F\fP" 10 +Do not read the default format file. +.IP "\fB-f\fP" 10 +Enable flat beams in bagpipe tunes. +.IP "\fB-G\fP" 10 +Omit slurs on grace notes. +.IP "\fB+G\fP" 10 +Draw slurs on grace notes (default). +.IP "\fB-g\fP" 10 +Obsolete option; ignored. +.IP "\fB-H\fP" 10 +Display the current values of the formatting parameters. +.IP "\fB-h\fP" 10 +Display program usage hints and quit. +.IP "\fB-I \fIlength\fR\fP" 10 +Indent the first line of the tune by +\fIlength\fR (default: 0). +.IP "\fB-j\fIb\fR\fI[b]\fR\fP" 10 +Output a measure number every +\fIb\fR measures. If +\fIb\fR is 0, the measure number +appears at the left of each staff. The trailing +\fBb\fP causes a box to be drawn around each +measure number (default: no measure numbering). +.IP "\fB+j\fP" 10 +Don't output measure numbers. +.IP "\fB-k\fP" 10 +Equivalent to \fB-j\fP. +.IP "\fB+k\fP" 10 +Equivalent to \fB+j\fP. +.IP "\fB-L\fIenc\fR\fP" 10 +Set the language encoding to +ISO-Latin-\fIenc\fR, where +\fIenc\fR can take on values from +\fB0\fP to \fB6\fP. The value +\fB0\fP is equivalent to \fB1\fP but +no PostScript encoding table is output (default: 0). +.IP "\fB-l\fP" 10 +Generate landscape output. +.IP "\fB+l\fP" 10 +Generate portrait output (default). +.IP "\fB-M\fP" 10 +Suppress lyrics. +.IP "\fB+M\fP" 10 +Include lyrics (default). +.IP "\fB-m \fIlength\fR\fP" 10 +Set the left margin to +\fIlength\fR (default: 1.8cm) +.IP "\fB-N\fI[mode]\fR\fP" 10 +Number pages according to the +\fImode\fR: +.RS +.IP "\fB0\fP" 10 +no page numbers +.IP "\fB1\fP" 10 +page numbers at top left +of page +.IP "\fB2\fP" 10 +page numbers at top right +of page +.IP "\fB3\fP" 10 +page numbers at top left of +even-numbered pages, top right of odd-numbered +pages +.IP "\fB4\fP" 10 +page numbers at top right of +even-numbered pages, top left of odd-numbered +pages +.RE +.IP "" 10 +For compatibility, +\fB-N\fP is equivalent to +\fB-N2\fP (default: \fB-N0\fP). +.IP "\fB+N\fP" 10 +Equivalent to \fB-N0\fP (no page +numbering). +.IP "\fB-n\fP" 10 +Include notes and history from ABC tune `N:' fields. +.IP "\fB+n\fP" 10 +Omit notes and history from ABC tune `N:' fields +(default). +.IP "\fB-O \fIname\fR\fP" 10 +Define the output file name. By default, the output +file name is `Out.ps' for PostScript output and +`Out\fInnn\fR.eps' for EPS output (see +\fB-E\fP). If this option is given, the output +name will be \fIname\fR or +\fInamennn\fR.eps, respectively. If +\fIname\fR is `=', the output file name +will be the name of the ABC source file with the extension +`.ps' or `.eps'. If \fIname\fR is `\-', +the output is written to stdout. +.IP "\fB+O\fP" 10 +Revert to the default output file name (`Out.ps' or +`Out\fInnn\fR.eps') +.IP "\fB-o\fP" 10 +Obsolete option; ignored. +.IP "\fB-P\fP" 10 +Obsolete option; ignored. +.IP "\fB-p\fP" 10 +Obsolete option; ignored. +.IP "\fB-Q\fP" 10 +Print tempo (metronome) indications (default). +.IP "\fB+Q\fP" 10 +Omit tempo (metronome) indications. +.IP "\fB-R\fP" 10 +Obsolete option; ignored. +.IP "\fB-S\fP" 10 +Obsolete option; ignored. +.IP "\fB-s \fIscale\fR\fP" 10 +Set the page scale factor to +\fIscale\fR. Note that the header and +footer are not scaled (default: 0.75). +.IP "\fB-T\fIn\fR[\fIvoice\fR]\fP, \fB+T\fIn\fR[\fIvoice\fR]\fP" 10 +Activate (or deactivate) tabulature +drawing. \fIn\fR is the tabulature +number as defined in \fB%%tabulature\fP, +and \fIvoice\fR is the voice name, +full name or subname as found in \fBV:\fP. When +this is absent, the option applies to all voices. Up to 4 +such options may be given. See +also \fBformat.txt\fP. +.IP "\fB-u\fP" 10 +Use implicit decorations as in +\fBabc2ps\fR (default: off) +.IP "\fB-V\fP" 10 +Output version number and quit. +.IP "\fB-v\fP" 10 +Obsolete option; ignored. +.IP "\fB-w \fIlength\fR\fP" 10 +Adjust the right margin such that the staff width is +\fIlength\fR (default: none) +.IP "\fB-x\fP" 10 +Include the `X:' tune number in the title. +.IP "\fB+x\fP" 10 +Do not include the `X:' tune number in the title +(default). +.SH "FORMATTING PARAMETERS" +.PP +The following formatting parameters can be used in format +files. They can also occur in ABC files when they are preceded +by \fB%%\fP, or as \fBI:\fP headers (even +in the middle of a music line). +.IP "\fBabc2pscompat \fIboolean\fR\fP" 10 +If true, set \fBM\fP as +the \fB+tenuto+\fP decoration and do a pitch +translation if the notes are too high for a bass +clef. +.IP "\fBalignbars \fIint\fR\fP" 10 +Align the bars of the +next \fIint\fR lines of music. This +works only when the music contains only one voice +(no \fBV:\fP or \fB%%staves\fP) (default: 0). +.IP "\fBaligncomposer \fIint\fR\fP" 10 +Define where to display the composer field. A negative value +displays it flush-left, a value of zero centered, and a positive +value flush-right (default: 1). +.IP "\fBannotationfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the annotation font to +\fIfont\fR with size +\fIsize\fR (default: Helvetica 12) +.IP "\fBautoclef \fIboolean\fR\fP" 10 +Adjust the clefs when they are not defined in `K:' or +`V:' lines (default: 1). +.IP "\fBbarnumbers \fIint\fR\fP" 10 +Synonym for \fBmeasurenb\fP. +.IP "\fBbarsperstaff \fIint\fR\fP" 10 +Try to typeset with \fIint\fR bars +per line (default: 0; command line: \fB-b\fP, +\fB+b\fP) +.IP "\fBbeginps\fP" 10 +Start a sequence of PostScript code lines extending +until the next \fBendps\fP line. This parameter +may only occur within ABC and format files, not on the +command line. +.IP "\fBbotmargin \fIlength\fR\fP" 10 +Set the bottom margin to +\fIlength\fR (default: 1cm) +.IP "\fBbreakoneoln \fIboolean\fR\fP" 10 +If this is set, on finding an end-of-line (eoln), +pretend that there was a space before the next note or +rest. This prevents a beam to be continued between two +input lines (default: 1). +.IP "\fBbstemdown \fIboolean\fR\fP" 10 +If this is set, the stem of the note on the middle of +the staff extends downwards. Otherwise it extends up or +down depending on the preceding note (default: 0). +.IP "\fBcomball \fIboolean\fR\fP" 10 +If this is set together +with \fBcombinevoices\fP, voice combination takes +place in all cases. Otherwise, notes which are too close +together in pitch are not combined. +.IP "\fBcombinevoices \fIboolean\fR\fP" 10 +If this is set, simultaneous notes of the same duration +belonging to voices on the same staff are combined into chords +(default: 0). +.IP "\fBcomposerfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the `composer' font to +\fIfont\fR with size +\fIsize\fR (default: Times-Italic 14) +.IP "\fBcomposerspace \fIlength\fR\fP" 10 +Set the vertical space before the composer name to +\fIlength\fR (Default: 0.2cm) +.IP "\fBcontbarnb \fIboolean\fR\fP" 10 +If this is not set, the bar numbers of second repeats are +set to those of the corresponding first repeats. If this is set, +all bars are numbered sequentially (default: 0). +.IP "\fBcontinueall \fIboolean\fR\fP" 10 +If this is set to true, ignore the line breaks in a +tune (default: 0; command line: \fB-c\fP, +\fB+c\fP) +.IP "\fBdateformat \fIformat\fR\fP" 10 +Format for date and time output. The admissible values +of this parameter are described in the documentation for +the strftime(3) C library function. Note that percent +signs need to be escaped +(default: "\%b \%e, \%Y \%H:\%M") +.IP "\fBdeco \fIname\fR \fIc_func\fR \fIps_func\fR \fIh\fR \fIwl\fR \fIwr\fR \fI[str]\fR\fP" 10 +Define a decoration. This is an experimental feature +which is subject to change in future releases and requires +good knowledge of the internals of abcm2ps. See the +files \fBformat.txt\fP and +\fBdeco.abc\fP for details. +.IP "\fBdynalign \fIboolean\fR\fP" 10 +When set, horizontally align dynamic marks (default: 1) +.IP "\fBencoding \fIenc\fR\fP" 10 +Set the language encoding to +ISO-Latin-\fIenc\fR, where +\fIenc\fR can take values from 0 to +6. The value 0 is the same as 1, but no PostScript +encoding table is output. +.IP "" 10 +Alternatively, \fIenc\fR may take +one of the predefined values \fBus-ascii\fP, +\fBiso-8859-1\fP, \fBiso-8859-2\fP, +\fBiso-8859-3\fP, \fBiso-8859-4\fP, +\fBiso-8859-9\fP, \fBiso-8859-10\fP, +or \fBnative\fP (meaning encoding vectors will +not be changed). If \fIenc\fR is anything +else, it must be a string which is taken to be PostScript +commands that set up a suitable encoding vector. +.IP "\fBexprabove \fIboolean\fR\fP" 10 +Draw expression decorations above the staff. If +neither \fBexprabove\fP nor +\fBexprbelow\fP are `true', expression +decorations are drawn above the staff if there are lyrics +on the staff, and below +otherwise. \fBexprabove\fP takes precedence +over \fBexprbelow\fP (default: 0). +.IP "\fBexprbelow \fIboolean\fR\fP" 10 +Draw expression decorations below the staff. If +neither \fBexprabove\fP nor +\fBexprbelow\fP are `true', expression +decorations are drawn above the staff if there are lyrics +on the staff, and below +otherwise. \fBexprabove\fP takes precedence +over \fBexprbelow\fP (default: 0). +.IP "\fBflatbeams \fIboolean\fR\fP" 10 +Draw flat beams in bagpipe tunes (default: 0; command +line: \fB-f\fP) +.IP "\fBfont \fIfont\fR [\fIencoding\fR]\fP" 10 +Define a font and its encoding. Use this parameter +when you want to refer to specific fonts in ABC +files/tunes. It must occur before any PostScript output is +written, generally in a format +file. \fIencoding\fR defaults to the +encoding set up by the \fBencoding\fP parameter. +.IP "\fBfooter \fItext\fR\fP" 10 +Define the text printed at the bottom of every +page. There may be one or two lines. When there are two +lines, these must be separated by the characters `\\n' (not +a real newline). Each of the lines consists of three +areas, left, center and right, which are separated by tabs +(real tabs, not '\\t') and may be empty \- if the left area +is empty, the \fItext\fR must be +quoted. +.IP "" 10 +If the footer begins with `\-', it will not be printed +on the first page of the document. +.IP "" 10 +The `$' character introduces variable +expansion: +.RS +.IP "\fB$d\fP" 10 +The date and time of last modification +of the ABC file +.IP "\fB$D\fP" 10 +The current date and time +.IP "\fB$F\fP" 10 +The current input file name +.IP "\fB$I\fP\fIx\fR" 10 +The value of +header \fIx\fR of the +tune +.IP "\fB$P\fP" 10 +The current page number +.IP "\fB$P0\fP" 10 +The current pagenumber (when even) +.IP "\fB$P1\fP" 10 +The current pagenumber (when odd) +.IP "\fB$T\fP" 10 +The current tune title +.IP "\fB$V\fP" 10 +`abcm2ps-' followed by the program's +version number +.RE +.IP "" 10 +For example, the command line option +\fB-N3\fP is equivalent to `%%header "$P0 $P1"' +(note the two tabs). (Default: none) +.IP "\fBfooterfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the footer font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 12) +.IP "\fBformat \fIfilename\fR\fP" 10 +Read the format file +\fIfilename\fR (default: none). +.IP "\fBfreegchord \fIboolean\fR\fP" 10 +Prevent the characters `#', `b' and `=' to be +displayed as the sharp sign, the flat sign, and the +natural sign, respectively, in guitar chords. When this +flag is set, the display of the accidentals may be forced +by escaping the characters (`\\#', +`\\b' and `\\=') (default: 0) +.IP "\fBgchordbox \fIboolean\fR\fP" 10 +Draw a box around guitar chords. Can be set to +`true' using `%%gchordfont' below. (Default: 0) +.IP "\fBgchordfont \fIfont\fR [\fIencoding\fR] \fIsize\fR [box]\fP" 10 +Set the guitar chord font to +\fIfont\fR with size +\fIsize\fR. If \fBbox\fP is specified, draw a box around guitar chords +(default: Helvetica 12, no box) +.IP "\fBgraceslurs \fIboolean\fR\fP" 10 +Draw slurs on grace notes if true (default: 1; command +line: \fB-G\fP, \fB+G\fP) +.IP "\fBgracespace \fIfloat\fR \fIfloat\fR \fIfloat\fR\fP" 10 +Define the space before, between, and after the grace +notes (default: 6.5 8.0 12.0) +.IP "\fBheader \fItext\fR\fP" 10 +Define the text printed at the top of every page. See +the \fBfooter\fP parameter above for the syntax +(default: none) +.IP "\fBheaderfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the header font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 12) +.IP "\fBhistoryfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for history entries to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 16) +.IP "\fBhyphencont \fIboolean\fR\fP" 10 +If an under-staff lyrics line ends with a hyphen, put +another hyphen at the beginning of the next line +(default:0) +.IP "\fBindent \fIlength\fR\fP" 10 +Indent the first line of a tune by +\fIlength\fR (default:0; command +line: \fB-I\fP) +.IP "\fBinfofont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the information line font to +\fIfont\fR with size +\fIsize\fR (default: Times-Italic 14) +.IP "\fBinfoline \fIboolean\fR\fP" 10 +Display the rhythm (`R:'), the origin (`O:'), and the +area (`A:') of the tune on a single `information line' +(default: 0) +.IP "\fBinfoname \fIletter\fR \fItag\fR\fP" 10 +Define the headers to be printed after a tune +when \fBwritehistory\fP is +set. The \fItag\fR is printed before +the actual header value. By default, this outputs the R, +B, S, D, N, Z, and H headers, with tags `Rhythm:', +`Book:', `Source:', `Discography:', `Notes:', +`Transcription:', and `History:', respectively. +.IP "\fBinfospace \fIlength\fR\fP" 10 +Set the vertical space before the information line to +\fIlength\fR (default: 0). +.IP "\fBlandscape \fIboolean\fR\fP" 10 +Set page orientation to landscape if true (default: 0; +command line: \fB-l\fP, \fB+l\fP). +.IP "\fBleftmargin \fIlength\fR\fP" 10 +Set the left margin to +\fIlength\fR (default: 1.8cm; command +line: \fB-m\fP) +.IP "\fBlineskipfac \fIfloat\fR\fP" 10 +Set the factor for spacing between lines of text to +\fIfloat\fR times the font size +(default: 1.1) +.IP "\fBmaxshrink \fIfloat\fR\fP" 10 +Set how much the output may be compressed horizontally +when staff breaks are chosen +automatically. \fIfloat\fR must be +between 0 and 1 (default: 0.65; command line: +\fB-a\fP) +.IP "\fBmaxstaffsep \fIlength\fR\fP" 10 +Set the maximum vertical inter-staff space to \fIlength\fR (default: 800pt) +.IP "\fBmaxsysstaffsep \fIlength\fR\fP" 10 +Set the maximum vertical system inter-staff space to \fIlength\fR (default: 800pt) +.IP "\fBmeasurebox \fIboolean\fR\fP" 10 +Draw a box around the measure numbers if true +(default: 0; command line: \fB-j\fP or +\fB-k\fP). +.IP "\fBmeasurefirst \fIint\fR\fP" 10 +Start measure numbering of the tune at +\fIint\fR. +This parameter is obsolete and should be replaced with +\fB%%setbarnb\fP (outside the tune body) +.IP "\fBmeasurefont \fIfont\fR [\fIencoding\fR] \fIsize\fR [box]\fP" 10 +Set the font for measure numbers to +\fIfont\fR at size +\fIsize\fR. If +[box] is specified, draw a box around +the measure number (default: Times-Italic 14, no box). +.IP "\fBmeasurenb \fIint\fR\fP" 10 +Draw a measure number every +\fIint\fR bars. If +\fIint\fR is 0, the measure number +appears at the left end of each staff. If +\fIint\fR is \-1, no measure numbers +are displayed at all (default: \-1; command line: +\fB-j\fP or +\fB-k\fP). +.IP "\fBmusiconly \fIboolean\fR\fP" 10 +If true, no lyrics are output (default: 0; command +line: \fB-M\fP, \fB+M\fP) +.IP "\fBmusicspace \fIlength\fR\fP" 10 +Set the vertical space before the first staff of a +tune to \fIlength\fR (default: +0.2cm) +.IP "\fBnotespacingfactor \fIfloat\fR\fP" 10 +Set the note spacing factor to +\fIfloat\fR. This value is used to +compute the natural space notes take up. The base space of +the crotchet (quarter note) is always 40pt. When the +duration of a note type is twice that of another note +type, the space it takes up is multiplied by this +factor. The default value increases the note space by a +factor of 2 when the corresponding note's value increases +by a factor of 4. That is, the space of a semibreve is +80pt and that of a semiquaver is 20pt. Setting this value +to 1 sets all note spaces to 40pt (default: 1.414). +.IP "\fBoneperpage \fIboolean\fR\fP" 10 +If true, output one tune per page; if false, multiple +tunes are output per page if there is sufficient room +(default: 0; command line: \fB-1\fP, +\fB+1\fP). +.IP "\fBpageheight \fIlength\fR\fP" 10 +Set the page height to +\fIlength\fR (default: hardcoded) +.IP "\fBpagewidth \fIlength\fR\fP" 10 +Set the page width to +\fIlength\fR (default: +hardcoded) +.IP "\fBparskipfac \fIfloat\fR\fP" 10 +Set the factor for spacing between text paragraphs to +\fIfloat\fR +(default: 0.4) +.IP "\fBpartsbox \fIboolean\fR\fP" 10 +Draw a box around the part names if true (default: 0) +.IP "\fBpartsfont \fIfont\fR [\fIencoding\fR] \fIsize\fR [box]\fP" 10 +Set the font for part names to +\fIfont\fR with size +\fIsize\fR. If \fBbox\fP is specified, draw a box around the part names. +(default: Times-Roman 15) +.IP "\fBpartsspace \fIlength\fR\fP" 10 +Set the vertical space before a new part to +\fIlength\fR (default: 0.3cm). +.IP "\fBpostscript \fItext\fR\fP" 10 +Define a postscript sequence to be included in the +header of the output file. This formatting parameter may +be used to override any postscript function or to define +new functions for use in \fBdeco\fP. It should +be processed before any output occurs, that is, in a +format file or at the beginning of the first ABC file. +.IP "\fBprintparts \fIboolean\fR\fP" 10 +Print the part indications (`P:' header) (default: 1). +.IP "\fBprinttempo \fIboolean\fR\fP" 10 +Print tempo (metronome) indications (`Q:' header) if +true (default: 1; command line: \fB-Q\fP, +\fB+Q\fP). +.IP "\fBrepeatfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for repeat bracket numbers/texts to +\fIfont\fR at size +\fIsize\fR. +.IP "\fBrightmargin \fIlength\fR\fP" 10 +Set the right margin to +\fIlength\fR (default: 1.8cm) +.IP "\fBscale \fIfloat\fR\fP" 10 +Set the global page scale factor to +\fIfloat\fR. This does not apply to +headers and footers (default: 0.75; command line: +\fB-s\fP). +.IP "\fBsetdefl \fIboolean\fR\fP" 10 +When true, output some indications about the note/chord +and/or decorations for purposes of customisation. These +indications are stored in the PostScript variable +\fBdefl\fP. \fINote:\fP This +is a potential compatibility +problem. The parameter was introduced in version 4.9.4. +(default: 0) +.IP "\fBsetfont-1 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +.IP "\fBsetfont-2 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +.IP "\fBsetfont-3 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +.IP "\fBsetfont-4 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set up alternate fonts for strings. In most strings, +you can switch to one of the alternate fonts using +\fB$1\fP..\fB$4\fP; \fB$0\fP switches back to the default value for that string. +(default: Times-Roman 0) +.IP "\fBshiftunisson \fIboolean\fR\fP" 10 +Usually in multi-voice tunes, when two voices are in unison +there is often only one note head. If this flag is set, +two note heades are output (one is shifted) if one is a +minim (half note) and the other a crotchet (quarter note) +or shorter, i.e., a "black" note, or if one note is dotted +and the other is not. The parameter is really spelled +"shiftunisson" (default: 0). +.IP "\fBslurheight \fIfloat\fR\fP" 10 +Set the slur height factor to +\fIfloat\fR (default: 1.0). +.IP "\fBsplittune \fIboolean\fR\fP" 10 +If false, a tune is output on a new page if it doesn't +fit on the one currently being output. If true, a tune may +be split across page breaks (default: 0; command line: +\fB-0\fP, \fB+0\fP). +.IP "\fBsquarebreve \fIboolean\fR\fP" 10 +If true, display breve notes in a square shape +(default: 0) +.IP "\fBstaffnonote \fIboolean\fR\fP" 10 +If false, staves not containing notes are +suppressed. This includes staves that only contain visible rests +(default: 1) +.IP "\fBstaffsep \fIlength\fR\fP" 10 +Set the vertical inter-staff space to +\fIlength\fR (default: 46pt; command +line: \fB-d\fP) +.IP "\fBstaffwidth \fIlength\fR\fP" 10 +Set the right margin such that the staff width is +\fIlength\fR (default: none \- but see +\fBpaperwidth\fP and \fBrightmargin\fP). +.IP "\fBstemheight \fIfloat\fR\fP" 10 +Set the stem height to +\fIfloat\fR (default: 20.0) +.IP "\fBstraightflags \fIboolean\fR\fP" 10 +If true, use straight flags on stems (mostly useful +for bagpipe tunes (default: 0) +.IP "\fBstretchlast \fIboolean\fR\fP" 10 +If true, stretch the last staff of a tune to fill the +whole line even though it may be underfull (default: 0) +.IP "\fBstretchstaff \fIboolean\fR\fP" 10 +If true, stretch all underfull staves to fill the +whole line (default: 1) +.IP "\fBsubtitlefont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for subtitles (second and subsequent `T:' +headers in a tune) to \fIfont\fR with +size \fIsize\fR (default: Times-Roman +16) +.IP "\fBsubtitlespace \fIlength\fR\fP" 10 +Set the vertical space before subtitles (second and +subsequent `T:' headers in a tune) to +\fIlength\fR (default: 0.1cm). +.IP "\fBsysstaffsep \fIlength\fR\fP" 10 +Set the vertical system interstaff space to +\fIlength\fR (default: 36pt). +.IP "\fBtablature \fIarguments\fR\fP" 10 +Define a tablature for the current voice. See +\fBformat.txt\fP for the details. +.IP "\fBtempofont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for tempo (metronome) indications to +\fIfont\fR with size +\fIsize\fR (default: Times-Bold 15) +.IP "\fBtextfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the text font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 16) +.IP "\fBtextoption \fIint\fR\fP" 10 +Set the default text option to \fIint\fR. +This option is used for text between +\fB%%begintext\fP and \fB%%endtext\fP. +\fIint\fR may be a keyword; see +\fBbegintext\fP for values. +.IP "\fBtextspace \fIlength\fR\fP" 10 +Set the vertical space before text blocks to +\fIlength\fR (default: 0.5cm). +.IP "\fBtimewarn \fIboolean\fR\fP" 10 +If true, a cautionary time signature is added to the +end of the line before if a time signature change occurs +at the beginning of a line of music (default: 0). +.IP "\fBtitlecaps \fIboolean\fR\fP" 10 +If true, output the tune title in uppercase letters +(default: 0) +.IP "\fBtitlefont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the title font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 20) +.IP "\fBtitleformat \fItext\fR\fP" 10 +Defines the format of the tune title. This format +overrides the standard way the tune title is +displayed. \fItext\fR is a sequence +of letters, numbers, and commas. A letter stands for +an ABC header (reasonable values include A, B, C, D, H, N, +O, P, R, S, T, X, and Z, but any letter may occur) +and can optionally be followed by +a number. This number may be 0 (to center the header), 1 +(to display it flush-right), or \-1 (to display it +flush-left); if no number is given the default is 0. A +comma causes the next field(s) to be displayed farther +down the page. Unrecognized characters will be ignored. As +an example, "%%titleformat T-1 T1 T1, R0 C1 A1" +will display the first title header flush-left, the second +and third titles (if any) flush-right, then the rhythm +centered and a little bit lower, and the composer and area +on the right. + +.IP "\fBtitleleft \fIboolean\fR\fP" 10 +If true, output the tune title flush left (instead of +centered) (default: 0) +.IP "\fBtitlespace \fIlength\fR\fP" 10 +Set the vertical space before the tune title to +\fIlength\fR (default: 0.2cm). +.IP "\fBtitletrim \fIboolean\fR\fP" 10 +If true, if the last word of a title starts with a +capital letter and is preceded by a comma and a space, +this word is moved to the beginning of the title. For +example, \fBT:College Hornpipe, The\fP is +printed as \fBThe College Hornpipe\fP (default: 1). +.IP "\fBtopmargin \fIlength\fR\fP" 10 +Set the top margin to +\fIlength\fR (default: 1cm) +.IP "\fBtopspace \fIlength\fR\fP" 10 +Set the vertical space at the top of a tune to +\fIlength\fR (default: 0.8cm) +.IP "\fBtuplets \fIwhen\fR \fIwhat\fR \fIvalue\fR\fP" 10 +Define how to draw tuplets. +The \fIwhen\fR parameter +can be \fB0\fP (to decide +automatically whether to draw a slur or bracket over the +tuplet), \fB1\fP (to never draw one) or +\fB2\fP (to always draw one). The +\fIwhat\fR parameter defines what to +draw: \fB0\fP means a bracket, +\fB1\fP a slur; \fB2\fP extends +beams across rests (does not work yet). +The \fIvalue\fR parameter +defines how to annotate the tuplet: \fB0\fP means +to write a simple number +(\fIp\fR), \fB1\fP writes +nothing, and \fB2\fP writes a ratio +(\fIp\fR:\fIq\fR). +.IP "\fBvocalabove \fIboolean\fR\fP" 10 +If true, output lyrics above the staff (instead of +below it) (default: 0) +.IP "\fBvocalfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for lyrics inside a tune to +\fIfont\fR with size +\fIsize\fR (default: Times-Bold 13) +.IP "\fBvocalspace \fIlength\fR\fP" 10 +Set the vertical space between a staff and its lyrics to +\fIlength\fR (default: 23pt) +.IP "\fBvoicefont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for voice names (default: Times-Bold 13). +.IP "\fBwithxrefs \fIboolean\fR\fP" 10 +If true, print the number from the `X:' header in the +tune title (default: 0; command line: \fB-x\fP, +\fB+x\fP) +.IP "\fBwordsfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for lyrics at the end of a tune to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 16) +.IP "\fBwordsspace \fIlength\fR\fP" 10 +Set the vertical space before the end-of-tune lyrics to +\fIlength\fR (default: 0.5cm) +.IP "\fBwritehistory \fIboolean\fR\fP" 10 +If true, output notes and history (`N:' and `H:' +headers) (default: 0; command line: \fB-n\fP, +\fB+n\fP) +.PP +The following formatting parameters can only occur inside +tunes and not in a format file: +.IP "\fB%%begintext [\fImode\fR]\fP" 10 +Start printing a free-form text. The text to be +printed appears on the subsequent lines of the the input +file up to a line containing \fB%%endtext\fP. +The text lines may start with \fB%%\fP. +.IP "" 10 +The \fIparameter\fR may +be: +.RS +.IP "\fBobeylines\fP" 10 +Line breaks in the input file are kept (default) +.IP "\fBalign\fP or \fBjustify\fP" 10 +Lines are justified +.IP "\fBragged\fP or \fBfill\fP" 10 +Line breaks are ignored but output is +left-justified +.IP "\fBcenter\fP" 10 +Lines are centered +.IP "\fBskip\fP" 10 +The text lines are not printed at all +.RE +.IP "\fB%%center \fItext\fR\fP" 10 +Print one line of centered text +.IP "\fB%%EPS \fIfilename\fR\fP" 10 +Include \fIfilename\fR as an EPS +file +.IP "\fB%%endtext\fP" 10 +Finish a block of free text started by +\fB%%begintext\fP +.IP "\fB%%multicol \fIcommand\fR\fP" 10 +Define multicolumn +printing. \fIcommand\fR may be: +.RS +.IP "\fBstart\fP" 10 +Save the current vertical position and left +and right margins. These margins may then be changed +to print music or text. +.IP "\fBnew\fP" 10 +Reset the vertical position to the place of the +previous \fBstart\fP and restore the left +and right margins. These can then be changed again +to display another column. +.IP "\fBend\fP" 10 +Restore the left and right margins and skip down +the page to a `safe place'. +.RE +.IP "\fB%%newpage [\fIint\fR]\fP" 10 +Start a new page, restarting page numbering from +\fIint\fR if applicable. +.IP "\fB%%repbra \fIint\fR\fP" 10 +Repetition brackets are normally displayed as written in a +voice. \fB%%repbra 0\fP suppresses them for the +current voice. +.IP "\fB%%repeat [\fIn\fR [\fIk\fR]]\fP" 10 +Replace a sequence of notes by one or many repeat +marks. When placed after a +bar line, \fIn\fR indicates the +number of measures to be repeated, either 1 or +2. If \fIn\fR is +1, \fIk\fR gives the number of +repetitions of the preceding +measure. If \fIn\fR is +2, \fIk\fR is not used. When placed +after a note or rest, \fIn\fR gives +the number of notes and rests to be repeated, +and \fIk\fR gives the number of +repeats. When omitted, \fIn\fR and \fIk\fR default to 1. +.IP "\fB%%score \fIdefinition\fR\fP" 10 +See below. +.IP "\fB%%sep [\fIh1\fR \fIh2\fR \fIlength\fR]\fP" 10 +Print a separator (line) of length +\fIlength\fR with vertical space +\fIh1\fR above and +\fIh2\fR below (defaults: +\fIh1\fR and +\fIh2\fR: 0.5cm; +\fIlength\fR: 3cm) +.IP "\fB%%setbarnb \fIint\fR\fP" 10 +Set the measure number to \fIint\fR. +When not inside a tune body, this is equivalent to +\fB%%measurefirst\fP. +.IP "\fB%%staff \fInum\fR\fP" 10 +Put the following material on staff +\fInum\fR. This will lead, e.g., +to beams between notes in different staves. Useful for +keyboard music; see, for example, +\fBsample4.abc\fP. +.IP "\fB%%staffbreak \fIlength\fR [\fBf\fP]\fP" 10 +Leave a space of \fIlength\fR in +the current staff. If \fIlength\fR is +greater than 0.5cm, the left side of the staff (system) is +redrawn. In a multi-voice tune, a staff break must be +specified in each voice. +.IP "" 10 +If the \fBf\fP is not given, the staff +break is removed if it occurs at the start or the end of a +line. +.IP "\fB%%staves \fIdefinition\fR\fP" 10 +See below. +.IP "\fB%%text \fItext\fR\fP" 10 +Output a single line of text. +.IP "\fB%%vskip \fIlength\fR\fP" 10 +Leave vertical space of height +\fIlength\fR. +\fIlength\fR may be negative, in +which case the following material is moved closer to that +above. +.SH "ADDITIONAL FEATURES" +.SS "Clefs" +.PP +Clefs can be given in \fBK:\fP and +\fBV:\fP headers. The full syntax is + +.PP +.nf +[\fBclef=\fP]\fItype\fR[\fIline\fR][\fB+8\fP|\fB-8\fP] [\fBmiddle=\fP\fIpitch\fR] +.fi + +.PP +The `\fBclef=\fP' can be omitted when the +\fItype\fR is a clef name. + +.PP +\fItype\fR denotes the clef type. It may +be: + +.IP "A note pitch (\fBG\fP, \fBC\fP, or \fBF\fP)" 10 +The pitch indicates which clef is meant: +\fBG\fP is the treble clef, +\fBC\fP the alto clef and +\fBF\fP the bass clef. It also gives the +name of the note that appears on the clef's line. +.IP "A clef name" 10 +The available clef names are +\fBtreble\fP (clef gives the pitch for +\fBG\fP), \fBalto\fP or +\fBtenor\fP (\fBC\fP), and +\fBbass\fP (\fBF\fP) +.IP "\fBperc\fP or \fBP\fP" 10 +In percussion mode, accidentals change the glyphs used +for note heads. By default, sharp notes are drawn as `x' +and flat notes as circled `x'. This may be changed by +redefining the PostScript +functions \fBpshhd\fP and \fBpflhd\fP. +.IP "\fBnone\fP" 10 +No clef will be displayed. +.PP +The \fIline\fR gives the number of the +line within the staff that the base clef will be written +on. The default values are 2 for the treble clef, 3 for the +alto clef, and 4 for the tenor and bass clefs. + +.PP +The \fB+8\fP and \fB-8\fP options +draw an 8 above or below the staff, respectively. +`\fBmiddle=\fP\fIpitch\fR' +(or `\fBm=\fP\fIpitch\fR', +for short) is an alternative way of defining the line number +of the clef: +The \fIpitch\fR indicates what note will be +displayed on the middle line of the staff. +.PP +When no clef is specified, clef changes between +\fBbass\fP and \fBtreble\fP will be +inserted automatically. + +.SS "Multi-voice typesetting" +.PP +Multiple voices may be defined within the header or the +tune using + +.PP +.nf +\fBV:\fP\fIname\fR \fIdefinition\fR ... + +.fi +.PP +where \fIname\fR is a word consisting of +letters and digits only (like \fBviolin1\fP). In +the tune body, the following notes refer to this voice until +another \fBV:\fP is encountered. A +\fIdefinition\fR can be one of: + +.IP "\fBclef=\fP..." 10 +See above +.IP "\fBname=\fP\fIname\fR or \fBnm=\fP\fIname\fR" 10 +The \fIname\fR will be +displayed at the beginning of the first staff. It can +contain \fB\\n\fP sequences which will +force line breaks. If it contains whitespace it must be +double-quoted. +.IP "\fBsubname=\fP\fIname\fR or \fBsnm=\fP\fIname\fR" 10 +The \fIname\fR will be +displayed at the beginning of all staves except for the +first. It can +contain \fB\\n\fP sequences which will +force line breaks. If it contains whitespace it must be +double-quoted. +.IP "\fBmerge\fP" 10 +The voice goes on the same staff as the previous +voice. +.IP "\fBup\fP or \fBdown\fP" 10 +Forces the direction of the stems for the voice. +.IP "\fBdyn=up\fP or \fBdyn=down\fP or \fBdyn=auto\fP" 10 +Forces positioning of dynamic marks (above or +below the staff) or reverts to automatic positioning +(the default) +.IP "\fBgstem=up\fP or \fBgstem=down\fP or \fBgstem=auto\fP" 10 +Forces the direction of the stems of grace notes (always +up or always down) or reverts to automatic positioning +(the default) +.IP "\fBstem=auto\fP" 10 +Reverts to automatic positioning of note stems (up or +down) (the default) +.IP "\fBlyrics=up\fP or \fBlyrics=down\fP or \fBlyrics=auto\fP" 10 +Places lyrics above or below the staff or reverts to +automatic positioning (the default) +.IP "\fBstaffscale=\fP\fIvalue\fR" 10 +Sets the scale of the associated staff up to 3. +(default: 1) All other definitions are ignored. +.PP +By default, each voice goes on its own staff. The `%%staves +\fIdefinition\fR' +pseudo-comment can be used to control staff assignment. The +\fIdefinition\fR consists of voice names +(from \fBV:\fP) and pairs of parentheses, braces +or brackets. + +.IP " \(bu" 6 +When a voice name is not within a pair of special +characters, it goes on a separate staff. +.IP " \(bu" 6 +For voice names enclosed in brackets, a bracket is +displayed at the beginning of each line that joins the +staves of the voices in question. +.IP " \(bu" 6 +For voice names enclosed in braces, all the voices +go on two staves (keyboard score). There can be at most +four voices between a single pair of braces. +.IP " \(bu" 6 +For voice names enclosed in parentheses, all the +voices appear on a single staff. +.PP +The `\fB|\fP' character prevents measure bars from +being drawn between two staves. +.PP +If `%%staves' occurs in a tune, all the voices not mentioned +will not be output at all. +.SS "The \fB%%score\fP directive" +.PP +The \fB%%score\fP directive occurs in the ABC +draft 2.0 standard and is similar to the \fB%%staves\fP specification described earlier. The rules are: + +.IP " \(bu" 6 +Voice names within parentheses form a "voice group" +and go on a single staff. A voice name that is not +within parentheses forms its own voice group and goes on +a staff by itself. +.IP " \(bu" 6 +Voice groups within braces form a "voice block" and +are preceded by a big brace in the output. This is +especially useful for keyboard music. +.IP " \(bu" 6 +Voice groups or voice blocks within brackets form a +"voice block" and will be preceded by a big bracket in +the output. +.IP " \(bu" 6 +If a `\fB|\fP' character occurs between +two voice groups or voice blocks, the bar lines in all +of the associated staves will be continuous. +.IP " \(bu" 6 +A single voice surrounded by two voice groups can be +preceded by an asterisk to make it into a `floating' +voice. This means that, for each note of the voice, a +separate decision is made whether it is printed on the +preceding or the following voice group's staff. +.IP " \(bu" 6 +Voices that appear in the tune body but not in +the \fB%%score\fP directive will not be +output at all. If there is no \fB%%score\fP directive, each voice will be output on its own +staff. +.IP " \(bu" 6 +A \fB%%score\fP directive inside a tune +resets the mechanism so voices can be removed or +added. +.SS "Voice overlay" +.PP +You can add notes to a staff without introducing a +complete extra voice by using the ampersand (\fB&\fP). +A single measure can be split into two voices like + +.PP +.nf +|F2A2Bc&F2c2bc| + +.fi +.PP +The \fB(&...&...&)\fP construction +allows splitting multiple measures: + +.PP +.nf +|!f!(&GG for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document as long +as its origin is not misrepresented. +.\" created by instant / docbook-to-man, Thu 11 Sep 2008, 22:33 --- abcm2ps-5.8.1.orig/Out.ps +++ abcm2ps-5.8.1/Out.ps @@ -0,0 +1,1591 @@ +%!PS-Adobe-2.0 +%%Title: stdin +%%Creator: abcm2ps-5.8.1 +%%CreationDate: Sep 11, 2008 22:34 +%%Pages: (atend) +%%LanguageLevel: 2 +%%EndComments +%CommandLine: - + +%%BeginSetup +/!{bind def}bind def +/bdef{bind def}! +/T/translate load def +/M/moveto load def +/RM/rmoveto load def +/RL/rlineto load def +/RC/rcurveto load def +/SLW/setlinewidth load def +/defl 0 def +/dlw{0.7 SLW}! +/languagelevel where{pop}{/languagelevel 1 def}ifelse +languagelevel 1 eq{ + /rectstroke{ + 4 2 roll M 1 index 0 RL 0 exch RL neg 0 RL closepath + stroke}! + /rectfill{ + 4 2 roll M 1 index 0 RL 0 exch RL neg 0 RL closepath + fill}! + /selectfont{exch findfont exch dup + type/arraytype eq{makefont}{scalefont}ifelse setfont}! + /product where{pop}{/product()def}ifelse + }if +/creator [(abcm2ps) 5 8 1] def +/xymove{/x 2 index def/y 1 index def M}! +/showc{dup stringwidth pop .5 mul neg 0 RM show}! +/showr{dup stringwidth pop neg 0 RM show}! +/showb{ dup currentpoint 3 -1 roll show + .6 SLW + exch 2 sub exch 3 sub 3 -1 roll + stringwidth pop 4 add fh 4 add rectstroke}! +/tclef{ M + -1.9 3.7 RM + -3.3 1.9 -3.1 6.8 2.4 8.6 RC + 7 0 9.8 -8 4.1 -11.7 RC + -5.2 -2.4 -12.5 0 -13.3 6.2 RC + -0.7 6.4 4.15 10.5 10 15.3 RC + 4 4 3.6 6.1 2.8 9.6 RC + -2.3 -1.5 -4.7 -4.8 -4.5 -8.5 RC + 0.8 -12.2 3.4 -17.3 3.5 -26.3 RC + 0.3 -4.4 -1.2 -6.2 -3.8 -6.2 RC + -3.7 -0.1 -5.8 4.3 -2.8 6.1 RC + 3.9 1.9 6.1 -4.6 1.4 -4.8 RC + 0.7 -1.2 4.6 -0.8 4.2 4.2 RC + -0.2 10.3 -3 15.7 -3.5 28.3 RC + 0 4.1 0.6 7.4 5 10.6 RC + 2.3 -3.2 2.9 -10 1 -12.7 RC + -2.4 -4.3 -11.5 -10.3 -11.8 -15 RC + 0.4 -7 6.9 -8.5 11.7 -6.1 RC + 3.9 3 1.3 8.8 -3.7 8.1 RC + -4 -0.2 -4.8 -3.1 -2.7 -5.7 RC + fill}! +/stclef{gsave T .85 dup scale 0 0 tclef grestore}! +/octu{/Times-Roman 12 selectfont M -1.5 36 RM(8)show}! +/octl{/Times-Roman 12 selectfont M -3.5 -19 RM(8)show}! +/bclef{ M + -8.8 3.5 RM + 6.3 1.9 10.2 5.6 10.5 10.8 RC + 0.3 4.9 -0.5 8.1 -2.6 8.8 RC + -2.5 1.2 -5.8 -0.7 -5.9 -4.1 RC + 1.8 3.1 6.1 -0.6 3.1 -3 RC + -3 -1.4 -5.7 2.3 -1.9 7 RC + 2.6 2.3 11.4 0.6 10.1 -8 RC + -0.1 -4.6 -5 -10.2 -13.3 -11.5 RC + 16 17.5 RM currentpoint 1.1 0 360 arc + -1.1 -6 RM currentpoint 1.1 0 360 arc + fill}! +/sbclef{gsave T .85 dup scale 0 3 bclef grestore}! +/cchalf{0 12 M + 2.6 5 RL + 2.3 -5.8 5.2 -2.4 4.7 1.6 RC + 0.4 3.9 -3 6.7 -5.1 4 RC + 4.1 0.5 0.9 -5.3 -0.9 -1.4 RC + -0.5 3.4 6.5 4.3 7.8 -0.8 RC + 1.9 -5.6 -4.1 -9.8 -6 -5.4 RC + -1.6 -3 RL + fill}! +/cclef{ gsave T + cchalf 0 24 T 1 -1 scale cchalf + -5.5 0 3 24 rectfill + -0.5 0 M 0 24 RL 0.7 SLW stroke grestore}! +/scclef{gsave T .85 dup scale 0 2 cclef grestore}! +/pclef{ exch 2.7 sub exch 2 add 5.4 20 + 1.4 SLW rectstroke}! +/spclef{pclef}! +/bm{ M 3 copy RL neg 0 exch RL + neg exch neg exch RL 0 exch RL fill}! +/bnum{M/Times-Italic 12 selectfont showc}! +/bnumb{ currentgray/Times-Italic 12 selectfont + 3 index stringwidth pop 4 add + dup .5 mul neg 4 index add 3 index 3 -1 roll 8 + 1.0 setgray rectfill setgray M showc}! +/tubr{3 sub M 0 3 RL RL 0 -3 RL dlw stroke}! +/tubrl{3 add M 0 -3 RL RL 0 3 RL dlw stroke}! +/r00{ xymove + -1.5 -6 RM currentpoint 3 12 rectfill}! +/r0{ xymove + -1.5 0 RM currentpoint 3 6 rectfill}! +/r1{ xymove + -3.5 3 RM currentpoint 7 3 rectfill}! +/r2{ xymove + -3.5 0 RM currentpoint 7 3 rectfill}! +/r4{ xymove + -1 8.5 RM + 3.6 -5.1 RL + -2.1 -5.2 RL + 2.2 -4.3 RL + -2.6 2.3 -5.1 0 -2.4 -2.6 RC + -4.8 3 -1.5 6.9 1.4 4.1 RC + -3.1 4.5 RL + 1.9 5.1 RL + -1.5 3.5 RL + fill}! +/r8e{ -1.5 -1.5 -2.4 -2 -3.6 -2 RC + 2.4 2.8 -2.8 4 -2.8 1.2 RC + 0 -2.7 4.3 -2.4 5.9 -0.6 RC + fill}! +/r8{ xymove + .5 SLW 3.3 4 RM + -3.4 -9.6 RL stroke + x y M 3.4 4 RM r8e}! +/r16{ xymove + .5 SLW 3.3 4 RM + -4 -15.6 RL stroke + x y M 3.4 4 RM r8e + x y M 1.9 -2 RM r8e}! +/r32{ xymove + .5 SLW 4.8 10 RM + -5.5 -21.6 RL stroke + x y M 4.9 10 RM r8e + x y M 3.4 4 RM r8e + x y M 1.9 -2 RM r8e}! +/r64{ xymove + .5 SLW 4.8 10 RM + -7 -27.6 RL stroke + x y M 4.9 10 RM r8e + x y M 3.4 4 RM r8e + x y M 1.9 -2 RM r8e + x y M 0.4 -8 RM r8e}! +/r128{ xymove + .5 SLW 5.8 16 RM + -8.5 -33.6 RL stroke + x y M 5.9 16 RM r8e + x y M 4.4 10 RM r8e + x y M 2.9 4 RM r8e + x y M 1.4 -2 RM r8e + x y M -0.1 -8 RM r8e}! +/dt{x y M RM currentpoint 1.2 0 360 arc fill}! +/hld{ 1.5 add 2 copy 1.5 add M currentpoint 1.3 0 360 arc + M -7.5 0 RM + 0 11.5 15 11.5 15 0 RC + -0.25 0 RL + -1.25 9 -13.25 9 -14.5 0 RC + fill}! +/dnb{ dlw M -3.2 2 RM + 0 7.2 RL + 6.4 0 RM + 0 -7.2 RL + currentpoint stroke M + -6.4 4.8 RM + 0 2.4 RL + 6.4 0 RL + 0 -2.4 RL + fill}! +/upb{ dlw M -2.6 9.4 RM + 2.6 -8.8 RL + 2.6 8.8 RL + stroke}! +/grm{ M -5 2.5 RM + 5 8.5 5.5 -4.5 10 2 RC + -5 -8.5 -5.5 4.5 -10 -2 RC fill}! +/stc{3 add M currentpoint 1.2 0 360 arc fill}! +/emb{ 1.2 SLW 1 setlinecap M + -2.5 3 RM 5 0 RL stroke 0 setlinecap}! +/cpu{ M -6 0 RM + 0.4 7.3 11.3 7.3 11.7 0 RC + -1.3 6 -10.4 6 -11.7 0 RC fill}! +/sld{ M -7.2 -4.8 RM + 1.8 -0.7 4.5 0.2 7.2 4.8 RC + -2.1 -5 -5.4 -6.8 -7.6 -6 RC fill}! +/trl{ /Times-BoldItalic 16 selectfont + M -4 2 RM(tr)show}! +/umrd{ 4 add M + 2.2 2.2 RL 2.1 -2.9 RL 0.7 0.7 RL + -2.2 -2.2 RL -2.1 2.9 RL -0.7 -0.7 RL + -2.2 -2.2 RL -2.1 2.9 RL -0.7 -0.7 RL + 2.2 2.2 RL 2.1 -2.9 RL 0.7 0.7 RL fill}! +/lmrd{ 2 copy umrd 8 add M + .6 SLW 0 -8 RL stroke}! +/fng{/Bookman-Demi 8 selectfont M -3 1 RM show}! +/dacs{/Times-Roman 16 selectfont 3 add M showc}! +/brth{/Times-BoldItalic 30 selectfont 6 add M(,)show}! +/pf{/Times-BoldItalic 16 selectfont 5 add M show}! +/sfz{ M -7 5 RM pop + /Times-Italic 14 selectfont(s)show + /Times-BoldItalic 16 selectfont(f)show + /Times-Italic 14 selectfont(z)show}! +/coda{ 1 SLW 2 add 2 copy M 0 20 RL + 2 copy M -10 10 RM 20 0 RL stroke + 10 add 6 0 360 arc 1.7 SLW stroke}! +/sgno{ M 0 3 RM currentpoint currentpoint currentpoint + 1.5 -1.7 6.4 0.3 3 3.7 RC + -10.4 7.8 -8 10.6 -6.5 11.9 RC + 4 1.9 5.9 -1.7 4.2 -2.6 RC + -1.3 -0.7 -2.9 1.3 -0.7 2 RC + -1.5 1.7 -6.4 -0.3 -3 -3.7 RC + 10.4 -7.8 8 -10.6 6.5 -11.9 RC + -4 -1.9 -5.9 1.7 -4.2 2.6 RC + 1.3 0.7 2.9 -1.3 0.7 -2 RC + fill + M 0.8 SLW -6 1.2 RM 12.6 12.6 RL stroke + 7 add exch 6 sub exch 1.2 0 360 arc fill + 8 add exch 6 add exch 1.2 0 360 arc fill}! +/cresc{ 1 SLW M dup 5 RM + defl 1 and 0 eq + {dup neg 4 RL 4 RL} + {dup neg 2.2 RL 0 3.6 RM 2.2 RL} + ifelse stroke}! +/dim{ 1 SLW 5 add M + defl 2 and 0 eq + {dup 4 RL neg 4 RL} + {dup 2.2 RL 0 3.6 RM neg 2.2 RL} + ifelse stroke}! +/dplus{ 1.2 SLW 0.5 add M 0 6 RL + -3 -3 RM 6 0 RL stroke}! +/accent{1.2 SLW M -4 2 RM + 8 2 RL -8 2 RL stroke}! +/turn{ M 5.2 8 RM + 1.4 -0.5 0.9 -4.8 -2.2 -2.8 RC + -4.8 3.5 RL + -3 2 -5.8 -1.8 -3.6 -4.4 RC + 1 -1.1 2 -0.8 2.1 0.1 RC + 0.1 0.9 -0.7 1.2 -1.9 0.6 RC + -1.4 0.5 -0.9 4.8 2.2 2.8 RC + 4.8 -3.5 RL + 3 -2 5.8 1.8 3.6 4.4 RC + -1 1.1 -2 0.8 -2.1 -0.1 RC + -0.1 -0.9 0.7 -1.2 1.9 -0.6 RC + fill}! +/turnx{ 2 copy turn M + .6 SLW 0 1.5 RM 0 9 RL stroke}! +/lphr{1.2 SLW M 0 -18 RL stroke}! +/mphr{1.2 SLW M 0 -12 RL stroke}! +/sphr{1.2 SLW M 0 -6 RL stroke}! +/ltr{ gsave 4 add T + 0 6 3 -1 roll{ + 0 1 1{ + 0 0.4 M + 2 1.9 3.4 2.3 3.9 0 curveto + 2.1 0 lineto + 1.9 0.8 1.4 0.7 0 -0.4 curveto + fill + pop 180 rotate -6 0 T + }for + pop 6 0 T + }for + grestore}! +/arp{gsave 90 rotate exch neg ltr grestore}! +/wedge{1 add M -1.5 5 RL 3 0 RL -1.5 -5 RL fill}! +/opend{dlw M currentpoint 3 add 2.5 -90 270 arc stroke}! +/snap{ dlw 2 copy M -3 6 RM + 0 5 6 5 6 0 RC + 0 -5 -6 -5 -6 0 RC + 5 add M 0 -6 RL stroke}! +/thumb{ dlw 2 copy M -2.5 7 RM + 0 6 5 6 5 0 RC + 0 -6 -5 -6 -5 0 RC + 2 add M 0 -4 RL stroke}! +/hl{ .8 SLW M -6 0 RM 12 0 RL stroke}! +/hl1{ .8 SLW M -7 0 RM 14 0 RL stroke}! +/hl2{ .7 SLW M -9 0 RM 18 0 RL stroke}! +/sh0{ gsave T .9 SLW + -1.2 -8.4 M 0 15.4 RL + 1.4 -7.2 M 0 15.4 RL stroke + -2.6 -3 M 5.4 1.6 RL 0 -2.2 RL -5.4 -1.6 RL 0 2.2 RL fill + -2.6 3.4 M 5.4 1.6 RL 0 -2.2 RL -5.4 -1.6 RL 0 2.2 RL fill + grestore}! +/ft0{ gsave T .8 SLW + -1.8 2.5 M + 6.4 3.3 6.5 -3.6 0 -6.6 RC + 4.6 3.9 4.5 7.6 0 5.7 RC + currentpoint fill M + 0 7.1 RM 0 -12.6 RL stroke + grestore}! +/nt0{ gsave T .5 SLW + -2 -4.3 M 0 12.2 RL + 1.3 -7.8 M 0 12.2 RL stroke + 2.1 SLW + -2 -2.9 M 3.3 0.6 RL + -2 2.4 M 3.3 0.6 RL stroke + grestore}! +/dsh0{ 2 copy M .7 SLW + -2 -2 RM 4 4 RL + -4 0 RM 4 -4 RL stroke + .5 SLW 2 copy M 1.3 -1.3 RM + 2 -0.2 RL 0.2 -2 RL -2 0.2 RL -0.2 2 RL fill + 2 copy M 1.3 1.3 RM + 2 0.2 RL 0.2 2 RL -2 -0.2 RL -0.2 -2 RL fill + 2 copy M -1.3 1.3 RM + -2 0.2 RL -0.2 2 RL 2 -0.2 RL 0.2 -2 RL fill + M -1.3 -1.3 RM + -2 -0.2 RL -0.2 -2 RL 2 0.2 RL 0.2 2 RL fill}! +/ftx{ -1.4 2.7 RM + 5.7 3.1 5.7 -3.6 0 -6.7 RC + 3.9 4 4 7.6 0 5.8 RC + currentpoint fill M + dlw 0 7.1 RM 0 -12.4 RL stroke}! +/dft0{2 copy M -2.5 0 RM ftx M 1.5 0 RM ftx}! +/gsc{gsave y T .7 dup scale 0 0}! +/sh1{ gsave T .9 SLW + 0 -7.8 M 0 15.4 RL stroke + -1.8 -2.7 M 3.6 1.1 RL 0 -2.2 RL -3.6 -1.1 RL 0 2.2 RL fill + -1.8 3.7 M 3.6 1.1 RL 0 -2.2 RL -3.6 -1.1 RL 0 2.2 RL fill + grestore}! +/sh513{ gsave T .8 SLW + -2.5 -8.7 M 0 15.4 RL + 0 -7.8 M 0 15.4 RL + 2.5 -6.9 M 0 15.4 RL stroke + -3.7 -3.1 M 7.4 2.2 RL 0 -2.2 RL -7.4 -2.2 RL 0 2.2 RL fill + -3.7 3.2 M 7.4 2.2 RL 0 -2.2 RL -7.4 -2.2 RL 0 2.2 RL fill + grestore}! +/ft1{gsave -1 1 scale exch neg exch ft0 grestore}! +/ft513{2 copy gsave -1 1 scale exch neg 3 add exch M ftx grestore + M 1.5 0 RM ftx}! +/accfont{ + /CharStrings CharStrings dup length 3 add dict copy def + FontMatrix 0 get 1 eq{ + CharStrings/sharpchar{pop + .60 0 0 -.10 .60 .75 setcachedevice + .056 dup scale 5.8 6 sh0}bind put + CharStrings/flatchar{pop + .60 0 0 0 .60 .78 setcachedevice + .056 dup scale 5.8 5 ft0}bind put + CharStrings/natchar{pop + .60 0 0 -.10 .60 .75 setcachedevice + .056 dup scale 5.8 6 nt0}bind put + }{ + CharStrings/sharpchar{pop + 600 0 0 -100 600 750 setcachedevice + 56 dup scale 5.8 6 sh0}bind put + CharStrings/flatchar{pop + 600 0 0 0 600 780 setcachedevice + 56 dup scale 5.8 5 ft0}bind put + CharStrings/natchar{pop + 600 0 0 -100 600 750 setcachedevice + 56 dup scale 5.8 6 nt0}bind put + }ifelse + product(RoPS)eq FontType 3 eq and{ + /TTBuildChar/BuildChar load def + /BuildChar{1 index begin + dup Encoding exch get + CharStrings exch get + end + dup type/integertype eq{ + pop 1 index/TTBuildChar get exec + }{ + exec pop + }ifelse + }bind def + }if + }! +/gcshow{show}! +/box{.6 SLW rectstroke}! +/find{search{pop 3 -1 roll 1 add 3 1 roll}{pop exit}ifelse}! +/gxshow{1 index stringwidth pop + sub 0 2 index( ){find}loop div + 0 9 4 -1 roll widthshow}! +/anshow{show}! +/wln{M .8 SLW 0 RL stroke}! +/hyph{ .8 SLW 3 add M + dup cvi 40 idiv 1 add 1 index exch div + dup 3 sub 3 1 roll + dup .5 mul dup 1.5 sub 0 RM + exch 3 -1 roll + {pop 3 0 RL dup 0 RM}for stroke pop}! +/lyshow{show}! +/bar{M dlw 0 exch RL stroke}! +/dotbar{[5] 0 setdash bar [] 0 setdash}! +/thbar{3 -1 roll 3 exch rectfill}! +/rdots{ 2 copy 9 add M currentpoint 1.2 0 360 arc + 15 add M currentpoint 1.2 0 360 arc fill}! +/csig{ M + 1 17.3 RM + 0.9 0 2.3 -0.7 2.4 -2.2 RC + -1.2 2 -3.6 -0.1 -1.6 -1.7 RC + 2 -1 3.8 3.5 -0.8 4.7 RC + -2 0.4 -6.4 -1.3 -5.8 -7 RC + 0.4 -6.4 7.9 -6.8 9.1 -0.7 RC + -2.3 -5.6 -6.7 -5.1 -6.8 0 RC + -0.5 4.4 0.7 7.5 3.5 6.9 RC + fill}! +/ctsig{dlw 2 copy csig 4 add M 0 16 RL stroke}! +/pmsig{0.3 SLW 12 add M currentpoint 5 0 360 arc stroke}! +/pMsig{2 copy pmsig 12 add M currentpoint 1.3 0 360 arc fill}! +/imsig{0.3 SLW 12 add 2 copy 5 add M 5 90 270 arc stroke}! +/iMsig{2 copy imsig 12 add M currentpoint 1.3 0 360 arc fill}! +/tsig{ M gsave/Times-Bold 16 selectfont 1.2 1 scale + 0 1 RM currentpoint 3 -1 roll showc + 12 add M showc grestore}! +/stsig{ M gsave/Times-Bold 18 selectfont 1.2 1 scale + 0 7 RM showc grestore}! +/staff{ dlw M{dup 0 RL dup neg 6 RM}repeat + pop stroke}! +/sep0{dlw 0 M 0 RL stroke}! +/hbrce{ -2.5 1 RM + -4.5 -4.6 -7.5 -12.2 -4.4 -26.8 RC + 3.5 -14.3 3.2 -21.7 -2.1 -24.2 RC + 7.4 2.4 7.3 14.2 3.5 29.5 RC + -2.7 9.5 -1.5 16.2 3 21.5 RC + fill}! +/brace{ gsave T 0 0 M .01 mul 1 exch scale hbrce + 0 -100 M 1 -1 scale hbrce grestore}! +/bracket{M dlw -5 2 RM currentpoint + -1.7 2 RM 10.5 -1 12 4.5 12 3.5 RC + 0 -1 -3.5 -5.5 -8.5 -5.5 RC fill + 3 SLW M 0 2 RM + 0 exch neg 8 sub RL currentpoint stroke + dlw M -1.7 0 RM + 10.5 1 12 -4.5 12 -3.5 RC + 0 1 -3.5 5.5 -8.5 5.5 RC fill}! +/mrest{ gsave T 1 SLW + -20 6 M 0 12 RL 20 6 M 0 12 RL stroke + 5 SLW -20 12 M 40 0 RL stroke + /Times-Bold 15 selectfont 0 28 M showc grestore}! +/mrep{ 2 copy 2 copy + M -5 15 RM currentpoint 1.4 0 360 arc + M 5 9 RM currentpoint 1.4 0 360 arc + M -7 6 RM 11 12 RL 3 0 RL -11 -12 RL -3 0 RL + fill}! +/mrep2{ 2 copy 2 copy + M -5 18 RM currentpoint 1.4 0 360 arc + M 5 6 RM currentpoint 1.4 0 360 arc fill + M 1.8 SLW + -7 4 RM 14 10 RL -14 -4 RM 14 10 RL + stroke}! +/srep{ M -1 6 RM 11 12 RL 3 0 RL -11 -12 RL -3 0 RL + fill}! +/repbra{gsave dlw T 0 -20 M + 0 20 3 index 1 ne{RL}{RM}ifelse 0 RL 0 ne{0 -20 RL}if stroke + 4 exch M show grestore}! +/SL{M curveto RL curveto closepath fill}! +/dSL{ M [4] 0 setdash .8 SLW + curveto stroke [] 0 setdash + pop pop pop pop pop pop pop pop}! +/strw{stringwidth pop w add/w exch def}! +/jshow{w 0 32 4 -1 roll widthshow}! +/hd{ xymove + 3.5 2 RM + -2 3.5 -9 -0.5 -7 -4 RC + 2 -3.5 9 0.5 7 4 RC fill}! +/Hd{ xymove + 3 1.6 RM + -1 1.8 -7 -1.4 -6 -3.2 RC + 1 -1.8 7 1.4 6 3.2 RC + 0.5 0.3 RM + 2 -3.8 -5 -7.6 -7 -3.8 RC + -2 3.8 5 7.6 7 3.8 RC + fill}! +/HD{ xymove + -2.7 1.4 RM + 1.5 2.8 6.9 0 5.3 -2.7 RC + -1.5 -2.8 -6.9 0 -5.3 2.7 RC + 8.3 -1.4 RM + 0 1.5 -2.2 3 -5.6 3 RC + -3.4 0 -5.6 -1.5 -5.6 -3 RC + 0 -1.5 2.2 -3 5.6 -3 RC + 3.4 0 5.6 1.5 5.6 3 RC + fill}! +/HDD{ dlw HD + x y M -6 -4 RM 0 8 RL + 12 0 RM 0 -8 RL stroke}! +/breve{ xymove + 2.5 SLW -6 -2.7 RM 12 0 RL + 0 5.4 RM -12 0 RL stroke + dlw x y M -6 -5 RM 0 10 RL + 12 0 RM 0 -10 RL stroke}! +/longa{ xymove + 2.5 SLW -6 -2.7 RM 12 0 RL + 0 5.4 RM -12 0 RL stroke + dlw x y M -6 -5 RM 0 10 RL + 12 0 RM 0 -16 RL stroke}! +/pshhd{/x 2 index def/y 1 index def dsh0}! +/pfthd{/x 2 index def/y 1 index def dsh0 + .7 SLW x y 4 0 360 arc stroke}! +/ghd{ xymove + 1.7 1 RM + -1 1.7 -4.5 -0.2 -3.4 -2 RC + 1 -1.7 4.5 0.2 3.4 2 RC fill}! +/gua{x y M -1 4 RM RL stroke}! +/gda{x y M -5 -4 RM RL stroke}! +/ghl{ .6 SLW M -3 0 RM 6 0 RL stroke}! +/gsl{dlw M curveto stroke}! +/showerror{ gsave 1 0.7 0.7 setrgbcolor 2.5 SLW 2 copy newpath + 30 0 360 arc stroke grestore}! +0 setlinecap 0 setlinejoin +/su{dlw x y M 3.5 1.0 RM 1.0 sub 0 exch RL stroke}! +/sd{dlw x y M -3.5 -1.0 RM 1.0 add 0 exch RL stroke}! +/sfu{ dlw x y M 3.5 1.0 RM + 1.0 sub 0 exch RL currentpoint stroke + M dup 1 eq{ + pop + 0.6 -5.6 9.6 -9 5.6 -18.4 RC + 1.6 6 -1.3 11.6 -5.6 12.8 RC + fill + }{ + 1 sub{ currentpoint + 0.9 -3.7 9.1 -6.4 6 -12.4 RC + 1 5.4 -4.2 8.4 -6 8.4 RC + fill 5.4 sub M + }repeat + 1.2 -3.2 9.6 -5.7 5.6 -14.6 RC + 1.6 5.4 -1 10.2 -5.6 11.4 RC + fill + }ifelse}! +/sfd{ dlw x y M -3.5 -1.0 RM + 1.0 add 0 exch RL currentpoint stroke + M dup 1 eq{ + pop + 0.6 5.6 9.6 9 5.6 18.4 RC + 1.6 -6 -1.3 -11.6 -5.6 -12.8 RC + fill + }{ + 1 sub{ currentpoint + 0.9 3.7 9.1 6.4 6 12.4 RC + 1 -5.4 -4.2 -8.4 -6 -8.4 RC + fill 5.4 add M + }repeat + 1.2 3.2 9.6 5.7 5.6 14.6 RC + 1.6 -5.4 -1 -10.2 -5.6 -11.4 RC + fill + }ifelse}! +/sfs{ dup 0 lt{ + dlw x y M -3.5 -1.0 RM + 1.0 add 0 exch RL currentpoint stroke + M{ currentpoint + 7 3.2 RL + 0 3.2 RL + -7 -3.2 RL + fill 5.4 add M + }repeat + }{ + dlw x y M 3.5 1.0 RM + 1.0 sub 0 exch RL currentpoint stroke + M{ currentpoint + 7 -3.2 RL + 0 -3.2 RL + -7 3.2 RL + fill 5.4 sub M + }repeat + }ifelse}! +/gu{ .6 SLW x y M + 1.6 0 RM 0 exch RL stroke}! +/gd{ .6 SLW x y M + -1.6 0 RM 0 exch RL stroke}! +/sgu{ .6 SLW x y M 1.6 0 RM + 0 exch RL currentpoint stroke + M dup 1 eq{ + pop + 0.6 -3.4 5.6 -3.8 3 -10 RC + 1.2 4.4 -1.4 7 -3 7 RC + fill + }{ + { currentpoint + 1 -3.2 5.6 -2.8 3.2 -8 RC + 1.4 4.8 -2.4 5.4 -3.2 5.2 RC + fill 3.5 sub M + }repeat + }ifelse}! +/sgd{ .6 SLW x y M -1.6 0 RM + 0 exch RL currentpoint stroke + M dup 1 eq{ + pop + 0.6 3.4 5.6 3.8 3 10 RC + 1.2 -4.4 -1.4 -7 -3 -7 RC + fill + }{ + { currentpoint + 1 3.2 5.6 2.8 3.2 8 RC + 1.4 -4.8 -2.4 -5.4 -3.2 -5.2 RC + fill 3.5 add M + }repeat + }ifelse}! +/sgs{ .6 SLW x y M 1.6 0 RM + 0 exch RL currentpoint stroke + M{ currentpoint + 3 -1.5 RL 0 -2 RL -3 1.5 RL + closepath fill 3 sub M + }repeat}! +/ISOLatin0Encoding ISOLatin1Encoding dup length array copy def +ISOLatin0Encoding dup 8#201/sharpchar put +dup 8#202/flatchar put +8#203/natchar put +/mkfontext0{ + findfont dup length + product(RoPS)eq{1 add}if + dict begin + {1 index/FID ne{def}{pop pop}ifelse}forall + /Encoding ISOLatin0Encoding def + accfont + currentdict + end + definefont pop}! +/Helvetica0/Helvetica mkfontext0 +/F0{dup .8 mul/fh exch def/Helvetica0 exch selectfont}! +/Times-Italic0/Times-Italic mkfontext0 +/F1{dup .8 mul/fh exch def/Times-Italic0 exch selectfont}! +/Times-Roman0/Times-Roman mkfontext0 +/F2{dup .8 mul/fh exch def/Times-Roman0 exch selectfont}! +/Times-Bold0/Times-Bold mkfontext0 +/F3{dup .8 mul/fh exch def/Times-Bold0 exch selectfont}! +%%EndSetup +%%Page: 1 1 +gsave 0 813.6 T +% --- width 657.7 +12.0 F2 297.7 -795.3 M(abcm2ps - sample2)showc +0.75 dup scale +68.0 0 T +% --- 1 (All clefs) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(All clefs)showc +0 -25.34 T +/dlsym{ +12.0 F0 40.5 35.0 y0 M(bass)gcshow +194.1 35.0 y0 M(bass3)gcshow +347.7 35.0 y0 M(alto4)gcshow +505.4 35.0 y0 M(alto)gcshow +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 bclef +30.5 -47.0 csig +48.5 -26.0 hd -20.0 sd +84.8 -17.0 hl 84.8 -17.0 hd -20.0 sd +121.1 -17.0 hl 121.1 -11.0 hl 121.1 -11.0 hd -24.0 sd +157.5 -17.0 hl 157.5 -11.0 hl 157.5 -5.0 hl 157.5 -5.0 hd -30.0 sd +174.0 -53.0 sbclef +24.0 189.0 -47.0 bar +202.1 -32.0 hd -20.0 sd +238.4 -23.0 hd -20.0 sd +274.7 -17.0 hl 274.7 -17.0 hd -20.0 sd +311.1 -17.0 hl 311.1 -11.0 hl 311.1 -11.0 hd -24.0 sd +327.6 -41.0 scclef +24.0 342.6 -47.0 bar +355.7 -38.0 hd 20.0 su +396.1 -29.0 hd -20.0 sd +432.4 -23.0 hd -20.0 sd +468.6 -17.0 hl 468.6 -17.0 hd -20.0 sd +485.1 -47.0 scclef +24.0 500.1 -47.0 bar +513.3 -44.0 hd 20.0 su +553.6 -35.0 hd -20.0 sd +589.9 -29.0 hd -20.0 sd +626.2 -23.0 hd -20.0 sd +642.7 -53.0 scclef +24.0 657.7 -47.0 bar +0 -70.00 T +/dlsym{ +12.0 F0 28.5 34.0 y0 M(alto2)gcshow +245.8 34.0 y0 M(alto1)gcshow +457.3 34.0 y0 M(treble)gcshow +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -53.0 cclef +36.5 -50.0 hd 20.0 su +90.2 -41.0 hd 20.0 su +143.8 -35.0 hd 20.0 su +203.4 -29.0 hd -20.0 sd +219.9 -59.0 scclef +24.0 234.9 -47.0 bar +253.8 -53.0 hl 253.8 -56.0 hd 21.0 su +307.5 -47.0 hd 20.0 su +361.1 -41.0 hd 20.0 su +414.8 -35.0 hd 20.0 su +431.3 -47.0 stclef +24.0 446.3 -47.0 bar +465.3 -53.0 hl 465.3 -59.0 hl 465.3 -62.0 hd 27.0 su +518.9 -53.0 hl 518.9 -53.0 hd 20.0 su +572.6 -47.0 hd 20.0 su +626.2 -41.0 hd 20.0 su +642.7 -53.0 stclef +24.0 657.7 -47.0 bar +0 -70.00 T +/dlsym{ +12.0 F0 28.5 34.0 y0 M(treble1)gcshow +236.5 34.0 y0 M(treble-8)gcshow +444.5 34.0 y0 M(treble+8)gcshow +}def +/y0{-48.0 add}def +657.7 5 0.0 -48.0 staff +dlsym +12.0 -54.0 tclef +36.5 -54.0 hl 36.5 -60.0 hl 36.5 -66.0 hl 36.5 -69.0 hd 33.0 su +89.1 -54.0 hl 89.1 -60.0 hl 89.1 -60.0 hd 24.0 su +141.8 -54.0 hl 141.8 -54.0 hd 20.0 su +194.4 -48.0 hd 20.0 su +210.9 -48.0 stclef +210.9 -48.0 octl +24.0 225.9 -48.0 bar +244.5 -54.0 hl 244.5 -60.0 hl 244.5 -63.0 hd 27.0 su +297.1 -54.0 hl 297.1 -54.0 hd 20.0 su +349.7 -48.0 hd 20.0 su +402.4 -42.0 hd 20.0 su +418.9 -48.0 stclef +418.9 -48.0 octu +24.0 433.9 -48.0 bar +452.5 -54.0 hl 452.5 -60.0 hl 452.5 -63.0 hd 27.0 su +505.1 -54.0 hl 505.1 -54.0 hd 20.0 su +557.7 -48.0 hd 20.0 su +610.4 -42.0 hd 20.0 su +24.0 657.7 -48.0 bar +0 -73.00 T +% --- 2 (Key signature change) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Key signature change)showc +0 -18.83 T +16.0 F2 328.9 0 M(and multi-measure rest)showc +0 -25.34 T +/dlsym{ +12.0 F0 130.0 35.0 y0 M(C)gcshow +255.1 35.0 y0 M(A)gcshow +390.9 35.0 y0 M(B)gcshow +523.1 35.0 y0 M(A)gcshow +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 tclef +(2) 30.5 -47.0 stsig +(4) +80.0 -47.0 mrest +24.0 121.0 -47.0 bar +133.5 -53.0 hl 133.5 -53.0 hd 20.0 su +154.9 -47.0 hd 20.0 su +176.4 -41.0 hd 20.0 su +200.7 -32.0 hd -20.0 sd +24.0 220.4 -47.0 bar +231.4 -23.0 sh0 236.4 -32.0 sh0 241.4 -20.0 sh0 +258.9 -38.0 hd 20.0 su +283.3 -32.0 hd -20.0 sd +304.7 -26.0 hd -20.0 sd +326.1 -17.0 hl 326.1 -17.0 hd -20.0 sd +24.0 345.9 -47.0 bar +356.9 -23.0 sh0 361.9 -32.0 sh0 366.9 -20.0 sh0 371.9 -29.0 sh0 376.9 -38.0 sh0 +394.4 -35.0 hd -20.0 sd +415.8 -29.0 hd -20.0 sd +437.2 -23.0 hd -20.0 sd +458.7 -17.0 hl 458.7 -14.0 hd -21.0 sd +24.0 478.4 -47.0 bar +489.4 -29.0 nt0 494.4 -38.0 nt0 502.4 -23.0 sh0 507.4 -32.0 sh0 512.4 -20.0 sh0 +526.9 -38.0 hd 20.0 su +551.3 -32.0 hd -20.0 sd +572.7 -26.0 hd -20.0 sd +594.1 -17.0 hl 594.1 -17.0 hd -20.0 sd +24.0 613.9 -47.0 bar +624.9 -23.0 nt0 629.9 -32.0 nt0 634.9 -20.0 nt0 642.9 -35.0 ft0 647.9 -26.0 ft0 652.9 -38.0 ft0 +0 -70.00 T +/dlsym{ +12.0 F0 48.6 34.0 y0 M(E‚)gcshow +268.9 34.0 y0 M(C‚)gcshow +492.1 34.0 y0 M(C)gcshow +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 tclef +27.0 -35.0 ft0 32.0 -26.0 ft0 37.0 -38.0 ft0 +54.5 -47.0 hd 20.0 su +94.9 -41.0 hd 20.0 su +135.3 -35.0 hd 20.0 su +180.2 -26.0 hd -20.0 sd +24.0 216.6 -47.0 bar +227.6 -35.0 ft0 232.6 -26.0 ft0 237.6 -38.0 ft0 242.6 -29.0 ft0 247.6 -41.0 ft0 252.6 -32.0 ft0 257.6 -44.0 ft0 +275.1 -53.0 hl 275.1 -53.0 hd 20.0 su +315.5 -47.0 hd 20.0 su +355.9 -41.0 hd 20.0 su +400.8 -32.0 hd -20.0 sd +24.0 437.1 -47.0 bar +448.1 -35.0 nt0 453.1 -26.0 nt0 458.1 -38.0 nt0 463.1 -29.0 nt0 468.1 -41.0 nt0 473.1 -32.0 nt0 478.1 -44.0 nt0 +495.6 -53.0 hl 495.6 -53.0 hd 20.0 su +536.1 -47.0 hd 20.0 su +576.5 -41.0 hd 20.0 su +621.3 -32.0 hd -20.0 sd +24.0 657.7 -47.0 bar +0 -70.00 T +% --- 3 (All clefs with max signatures) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(All clefs with max signatures)showc +0 -25.34 T +/dlsym{ +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 bclef +27.0 -29.0 sh0 32.0 -38.0 sh0 37.0 -26.0 sh0 42.0 -35.0 sh0 47.0 -44.0 sh0 52.0 -32.0 sh0 57.0 -41.0 sh0 +72.5 -47.0 csig +90.5 -38.0 hd 20.0 su +116.6 -32.0 hd -20.0 sd +139.4 -26.0 hd -20.0 sd +162.3 -17.0 hl 162.3 -17.0 hd -20.0 sd +24.0 183.5 -47.0 bar +194.5 -29.0 nt0 199.5 -38.0 nt0 204.5 -26.0 nt0 209.5 -35.0 nt0 214.5 -44.0 nt0 219.5 -32.0 nt0 224.5 -41.0 nt0 232.5 -41.0 ft0 237.5 -32.0 ft0 242.5 -44.0 ft0 247.5 -35.0 ft0 252.5 -47.0 ft0 257.5 -38.0 ft0 262.5 -50.0 ft0 +280.0 -38.0 hd 20.0 su +306.0 -32.0 hd -20.0 sd +328.9 -26.0 hd -20.0 sd +351.8 -17.0 hl 351.8 -17.0 hd -20.0 sd +368.3 -53.0 sbclef +24.0 383.3 -47.0 bar +394.3 -26.0 nt0 399.3 -38.0 nt0 404.3 -29.0 nt0 409.3 -41.0 nt0 414.3 -32.0 nt0 419.3 -44.0 nt0 424.3 -35.0 nt0 432.3 -35.0 sh0 437.3 -44.0 sh0 442.3 -32.0 sh0 447.3 -41.0 sh0 452.3 -50.0 sh0 457.3 -38.0 sh0 462.3 -47.0 sh0 +479.8 -44.0 hd 20.0 su +502.6 -38.0 hd 20.0 su +528.7 -32.0 hd -20.0 sd +551.5 -23.0 hd -20.0 sd +24.0 572.7 -47.0 bar +583.7 -35.0 nt0 588.7 -44.0 nt0 593.7 -32.0 nt0 598.7 -41.0 nt0 603.7 -50.0 nt0 608.7 -38.0 nt0 613.7 -47.0 nt0 621.7 -26.0 ft0 626.7 -38.0 ft0 631.7 -29.0 ft0 636.7 -41.0 ft0 641.7 -32.0 ft0 646.7 -44.0 ft0 651.7 -35.0 ft0 +0 -70.00 T +/dlsym{ +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -53.0 bclef +27.0 -26.0 ft0 32.0 -38.0 ft0 37.0 -29.0 ft0 42.0 -41.0 ft0 47.0 -32.0 ft0 52.0 -44.0 ft0 57.0 -35.0 ft0 +74.5 -44.0 hd 20.0 su +97.8 -38.0 hd 20.0 su +124.4 -32.0 hd -20.0 sd +147.7 -23.0 hd -20.0 sd +164.2 -41.0 scclef +24.0 179.2 -47.0 bar +190.2 -32.0 nt0 195.2 -23.0 nt0 200.2 -35.0 nt0 205.2 -26.0 nt0 210.2 -38.0 nt0 215.2 -29.0 nt0 220.2 -41.0 nt0 228.2 -41.0 sh0 233.2 -29.0 sh0 238.2 -38.0 sh0 243.2 -26.0 sh0 248.2 -35.0 sh0 253.2 -23.0 sh0 258.2 -32.0 sh0 +275.7 -38.0 hd 20.0 su +302.2 -29.0 hd -20.0 sd +325.6 -23.0 hd -20.0 sd +348.9 -17.0 hl 348.9 -17.0 hd -20.0 sd +24.0 370.5 -47.0 bar +381.5 -41.0 nt0 386.5 -29.0 nt0 391.5 -38.0 nt0 396.5 -26.0 nt0 401.5 -35.0 nt0 406.5 -23.0 nt0 411.5 -32.0 nt0 419.5 -32.0 ft0 424.5 -23.0 ft0 429.5 -35.0 ft0 434.5 -26.0 ft0 439.5 -38.0 ft0 444.5 -29.0 ft0 449.5 -41.0 ft0 +467.0 -38.0 hd 20.0 su +493.6 -29.0 hd -20.0 sd +516.9 -23.0 hd -20.0 sd +540.2 -17.0 hl 540.2 -17.0 hd -20.0 sd +556.7 -47.0 scclef +24.0 571.7 -47.0 bar +582.7 -38.0 nt0 587.7 -29.0 nt0 592.7 -41.0 nt0 597.7 -32.0 nt0 602.7 -44.0 nt0 607.7 -35.0 nt0 612.7 -47.0 nt0 620.7 -26.0 sh0 625.7 -35.0 sh0 630.7 -23.0 sh0 635.7 -32.0 sh0 640.7 -41.0 sh0 645.7 -29.0 sh0 650.7 -38.0 sh0 +0 -70.00 T +/dlsym{ +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 cclef +27.0 -26.0 sh0 32.0 -35.0 sh0 37.0 -23.0 sh0 42.0 -32.0 sh0 47.0 -41.0 sh0 52.0 -29.0 sh0 57.0 -38.0 sh0 +74.5 -44.0 hd 20.0 su +102.1 -35.0 hd -20.0 sd +126.4 -29.0 hd -20.0 sd +150.7 -23.0 hd -20.0 sd +24.0 173.1 -47.0 bar +184.1 -26.0 nt0 189.1 -35.0 nt0 194.1 -23.0 nt0 199.1 -32.0 nt0 204.1 -41.0 nt0 209.1 -29.0 nt0 214.1 -38.0 nt0 222.1 -38.0 ft0 227.1 -29.0 ft0 232.1 -41.0 ft0 237.1 -32.0 ft0 242.1 -44.0 ft0 247.1 -35.0 ft0 252.1 -47.0 ft0 +269.6 -44.0 hd 20.0 su +297.2 -35.0 hd -20.0 sd +321.4 -29.0 hd -20.0 sd +345.7 -23.0 hd -20.0 sd +362.2 -53.0 scclef +24.0 377.2 -47.0 bar +388.2 -23.0 nt0 393.2 -35.0 nt0 398.2 -26.0 nt0 403.2 -38.0 nt0 408.2 -29.0 nt0 413.2 -41.0 nt0 418.2 -32.0 nt0 426.2 -32.0 sh0 431.2 -41.0 sh0 436.2 -29.0 sh0 441.2 -38.0 sh0 446.2 -47.0 sh0 451.2 -35.0 sh0 456.2 -44.0 sh0 +473.7 -41.0 hd 20.0 su +498.0 -35.0 hd 20.0 su +525.6 -29.0 hd -20.0 sd +549.9 -20.0 hd -20.0 sd +24.0 572.3 -47.0 bar +583.3 -32.0 nt0 588.3 -41.0 nt0 593.3 -29.0 nt0 598.3 -38.0 nt0 603.3 -47.0 nt0 608.3 -35.0 nt0 613.3 -44.0 nt0 621.3 -23.0 ft0 626.3 -35.0 ft0 631.3 -26.0 ft0 636.3 -38.0 ft0 641.3 -29.0 ft0 646.3 -41.0 ft0 651.3 -32.0 ft0 +0 -70.00 T +/dlsym{ +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -53.0 cclef +27.0 -23.0 ft0 32.0 -35.0 ft0 37.0 -26.0 ft0 42.0 -38.0 ft0 47.0 -29.0 ft0 52.0 -41.0 ft0 57.0 -32.0 ft0 +74.5 -41.0 hd 20.0 su +97.8 -35.0 hd 20.0 su +124.4 -29.0 hd -20.0 sd +147.7 -20.0 hd -20.0 sd +164.2 -59.0 scclef +24.0 179.2 -47.0 bar +190.2 -29.0 nt0 195.2 -41.0 nt0 200.2 -32.0 nt0 205.2 -44.0 nt0 210.2 -35.0 nt0 215.2 -47.0 nt0 220.2 -38.0 nt0 228.2 -38.0 sh0 233.2 -26.0 sh0 238.2 -35.0 sh0 243.2 -23.0 sh0 248.2 -32.0 sh0 253.2 -20.0 sh0 258.2 -29.0 sh0 +275.7 -47.0 hd 20.0 su +299.0 -41.0 hd 20.0 su +322.3 -35.0 hd 20.0 su +348.9 -26.0 hd -20.0 sd +24.0 370.5 -47.0 bar +381.5 -38.0 nt0 386.5 -26.0 nt0 391.5 -35.0 nt0 396.5 -23.0 nt0 401.5 -32.0 nt0 406.5 -20.0 nt0 411.5 -29.0 nt0 419.5 -29.0 ft0 424.5 -41.0 ft0 429.5 -32.0 ft0 434.5 -44.0 ft0 439.5 -35.0 ft0 444.5 -47.0 ft0 449.5 -38.0 ft0 +467.0 -47.0 hd 20.0 su +490.3 -41.0 hd 20.0 su +513.6 -35.0 hd 20.0 su +540.2 -26.0 hd -20.0 sd +556.7 -47.0 stclef +24.0 571.7 -47.0 bar +582.7 -35.0 nt0 587.7 -26.0 nt0 592.7 -38.0 nt0 597.7 -29.0 nt0 602.7 -41.0 nt0 607.7 -32.0 nt0 612.7 -44.0 nt0 620.7 -23.0 sh0 625.7 -32.0 sh0 630.7 -20.0 sh0 635.7 -29.0 sh0 640.7 -38.0 sh0 645.7 -26.0 sh0 650.7 -35.0 sh0 +0 -70.00 T +/dlsym{ +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 tclef +27.0 -23.0 sh0 32.0 -32.0 sh0 37.0 -20.0 sh0 42.0 -29.0 sh0 47.0 -38.0 sh0 52.0 -26.0 sh0 57.0 -35.0 sh0 +74.5 -53.0 hl 74.5 -53.0 hd 20.0 su +110.1 -47.0 hd 20.0 su +145.6 -41.0 hd 20.0 su +185.2 -32.0 hd -20.0 sd +24.0 217.2 -47.0 bar +228.2 -23.0 nt0 233.2 -32.0 nt0 238.2 -20.0 nt0 243.2 -29.0 nt0 248.2 -38.0 nt0 253.2 -26.0 nt0 258.2 -35.0 nt0 266.2 -35.0 ft0 271.2 -26.0 ft0 276.2 -38.0 ft0 281.2 -29.0 ft0 286.2 -41.0 ft0 291.2 -32.0 ft0 296.2 -44.0 ft0 +313.7 -53.0 hl 313.7 -53.0 hd 20.0 su +349.3 -47.0 hd 20.0 su +384.9 -41.0 hd 20.0 su +424.4 -32.0 hd -20.0 sd +24.0 456.5 -47.0 bar +467.5 -35.0 nt0 472.5 -26.0 nt0 477.5 -38.0 nt0 482.5 -29.0 nt0 487.5 -41.0 nt0 492.5 -32.0 nt0 497.5 -44.0 nt0 +515.0 -53.0 hl 515.0 -53.0 hd 20.0 su +550.5 -47.0 hd 20.0 su +586.1 -41.0 hd 20.0 su +625.6 -32.0 hd -20.0 sd +24.0 657.7 -47.0 bar +0 -70.00 T +%%PageTrailer +grestore +showpage +%%Page: 2 2 +gsave 0 813.6 T +% --- width 657.7 +12.0 F2 297.7 -795.3 M(abcm2ps - sample2)showc +0.75 dup scale +68.0 0 T +% --- 4 (Guitar chords - annotations) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Guitar chords - annotations)showc +0 -25.34 T +/dlsym{ +12.0 F0 28.5 46.0 y0 M(no time)gcshow 28.5 34.0 y0 M(signature)gcshow +106.0 46.0 y0 M(gchord)gcshow 106.0 34.0 y0 M(on bar)gcshow +202.1 34.0 y0 M(appogiattura)gcshow +278.8 34.0 y0 M(acciaccatura)gcshow +344.2 58.0 y0 M(three)gcshow 344.2 46.0 y0 M(chord)gcshow 344.2 34.0 y0 M(lines)gcshow +389.9 70.0 y0 M(and)gcshow 389.5 58.0 y0 M(four)gcshow 389.5 46.0 y0 M(chord)gcshow 389.5 34.0 y0 M(lines!)gcshow +444.9 34.0 y0 M(Fa)anshow +491.1 34.0 y0 M(Si‚)anshow +527.0 34.0 y0 M(Faƒ)anshow +570.1 34.0 y0 M(F)gcshow +614.8 34.0 y0 M(B‚)gcshow +}def +/y0{-82.0 add}def +657.7 5 0.0 -82.0 staff +dlsym +12.0 -82.0 tclef +36.5 -88.0 hl 36.5 -88.0 hd 20.0 su +77.3 -85.0 hd 20.0 su +24.0 114.0 -82.0 bar +128.5 -82.0 hd 20.0 su +169.3 -79.0 hd 20.0 su +198.1 -70.0 ghd 1 14.0 sgu +199.5 -77.2 203.7 -75.4 205.1 -72.0 198.1 -75.0 gsl +210.1 -67.0 hd -20.0 sd +274.8 -70.0 ghd 1 14.0 sgu +9.0 5.0 gua +276.2 -77.2 280.4 -75.4 281.8 -72.0 274.8 -75.0 gsl +286.8 -67.0 hd -20.0 sd +352.2 -76.0 hd 20.0 su +397.5 -67.0 hd -20.0 sd +24.0 434.3 -82.0 bar +452.8 -79.0 hd 443.8 y sh0 20.0 su +498.1 -70.0 hd 489.1 y ft0 -20.0 sd +534.9 -79.0 hd 525.9 y nt0 20.0 su +575.7 -79.0 hd 566.7 y sh0 20.0 su +621.0 -70.0 hd 612.0 y ft0 -20.0 sd +24.0 657.7 -82.0 bar 24.0 654.7 -82.0 bar +0 -105.00 T +% --- 5 (Standard decorations) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Standard decorations)showc +0 -25.34 T +/dlsym{ +/y{-26.8 y0}def 13.0 F3 32.9 y M(~)lyshow 68.4 y M(.)lyshow 100.5 y M(J)lyshow 137.0 y M(N)lyshow 183.7 y M(H)lyshow 225.8 y M(R)lyshow 259.0 y M(T)lyshow 295.5 y M(u)lyshow 344.8 y M(v)lyshow 407.3 y M(L)lyshow 465.8 y M(M)lyshow 526.2 y M(P)lyshow 583.7 y M(S)lyshow 621.5 y M(O)lyshow +/y{-41.0 y0}def 24.0 y M(grace)lyshow 62.8 y M(dot)lyshow 92.3 y M(slide)lyshow 127.3 y M(tenuto)lyshow 170.9 y M(fermata)lyshow 221.9 y M(roll)lyshow 254.4 y M(trill)lyshow 283.4 y M(upbow)lyshow 330.3 y M(downbow)lyshow 393.4 y M(emphasis)lyshow 453.4 y M(lmordent)lyshow 511.9 y M(umordent)lyshow 574.0 y M(segno)lyshow 615.1 y M(coda)lyshow +}def +/y0{-50.0 add}def +657.7 5 0.0 -50.0 staff +dlsym +12.0 -50.0 tclef +3.2 34.6 2.6 41.7 -35.8 bm +38.6 -56.0 hl 38.6 -56.0 hd 19.2 su +72.5 -53.0 hd 18.8 su +3.2 39.0 2.6 108.5 -29.8 bm +105.3 -50.0 hd 19.2 su +143.7 -47.0 hd 18.8 su +3.2 42.5 2.7 193.5 -35.8 bm +190.3 -56.0 hl 190.3 -56.0 hd 19.2 su +232.2 -53.0 hd 18.8 su +3.2 36.6 2.6 268.2 -29.8 bm +265.0 -50.0 hd 19.2 su +301.0 -47.0 hd 18.8 su +-3.2 63.7 -2.8 346.5 -55.1 bm +350.3 -35.0 hd -19.1 sd +413.4 -38.0 hd -18.9 sd +3.2 59.2 -2.8 476.6 -21.1 bm +473.4 -41.0 hd 18.9 su +531.9 -44.0 hd 19.1 su +-3.2 39.3 -2.6 585.7 -55.2 bm +589.5 -35.0 hd -19.2 sd +628.1 -38.0 hd -18.8 sd +24.0 657.7 -50.0 bar +38.6 -24.0 grm +72.5 -62.0 stc +100.3 -50.0 sld +143.7 -56.0 emb +190.3 -24.0 hld +232.2 -57.0 gsave 1 -1 scale neg cpu grestore +265.0 -24.0 trl +301.0 -24.0 upb +350.3 -24.0 dnb +413.4 -24.0 accent +473.4 -19.0 lmrd +531.9 -22.0 umrd +589.5 -24.0 sgno +628.1 -24.0 coda +0 -96.30 T +% --- 6 (All decorations) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(All decorations)showc +0 -25.34 T +/dlsym{ +/y{-19.8 y0}def 13.0 F3 29.7 y M( 0)lyshow 52.9 y M( 1)lyshow 78.4 y M( 2)lyshow 101.7 y M( 3)lyshow 127.1 y M( 4)lyshow 150.4 y M( 5)lyshow 178.0 y M( +)lyshow 196.0 y M(accent)lyshow 245.7 y M(breath)lyshow 286.6 y M(crescendo\()lyshow 352.5 y M(crescendo\))lyshow 418.5 y M(D.C.)lyshow 451.1 y M(diminuendo\()lyshow 527.7 y M(diminuendo\))lyshow 605.3 y M( f)lyshow 624.9 y M(ffff)lyshow +}def +/y0{-49.0 add}def +657.7 5 0.0 -49.0 staff +dlsym +12.0 -49.0 tclef +3.2 23.9 2.5 39.7 -34.7 bm +36.5 -55.0 hl 36.5 -55.0 hd 19.3 su +59.8 -52.0 hd 18.7 su +3.2 23.9 2.5 88.4 -28.7 bm +85.2 -49.0 hd 19.3 su +108.5 -46.0 hd 18.7 su +3.2 23.9 2.5 137.1 -22.7 bm +134.0 -43.0 hd 19.3 su +157.2 -40.0 hd 18.7 su +-3.2 28.1 2.5 181.4 -56.8 bm +185.2 -37.0 hd -18.7 sd +212.6 -34.0 hd -19.3 sd +24.0 237.7 -49.0 bar +3.2 45.2 2.7 265.2 -34.8 bm +262.0 -55.0 hl 262.0 -55.0 hd 19.2 su +306.6 -52.0 hd 18.8 su +3.2 59.7 2.8 375.7 -28.9 bm +372.5 -49.0 hd 19.1 su +431.5 -46.0 hd 18.9 su +3.2 77.3 2.8 474.2 -22.9 bm +471.1 -43.0 hd 19.1 su +547.7 -40.0 hd 18.9 su +-3.2 24.3 2.5 607.4 -56.7 bm +611.3 -37.0 hd -18.7 sd +634.9 -34.0 hd -19.3 sd +24.0 657.7 -49.0 bar +(0)36.5 -23.0 fng +(1)59.8 -23.0 fng +(2)85.2 -23.0 fng +(3)108.5 -23.0 fng +(4)134.0 -21.0 fng +(5)157.2 -18.0 fng +185.2 -23.0 dplus +212.6 -23.0 accent +279.8 -22.0 brth +58.9 309.6 -18.0 cresc +(D.C.)431.5 -23.0 dacs +69.6 474.1 -18.0 dim +(f)607.3 -18.0 pf +(ffff)626.9 -18.0 pf +0 -74.00 T +/dlsym{ +/y{-28.8 y0}def 13.0 F3 25.3 y M(fine)lyshow 77.1 y M(invertedfermata)lyshow 193.1 y M(longphrase)lyshow 282.6 y M(mediumphrase)lyshow 392.6 y M(mf)lyshow 448.6 y M(open)lyshow 529.8 y M( p)lyshow 583.5 y M(pppp)lyshow +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 tclef +3.2 61.2 2.8 39.7 -32.9 bm +36.5 -53.0 hl 36.5 -53.0 hd 19.1 su +97.1 -50.0 hd 18.9 su +213.1 -47.0 hd 1 20.0 sfu +302.6 -44.0 hd 1 20.0 sfu +3.2 61.2 2.8 404.5 -20.9 bm +401.3 -41.0 hd 19.1 su +461.9 -38.0 hd 18.9 su +-3.2 61.2 2.8 532.8 -54.9 bm +536.6 -35.0 hd -18.9 sd +597.2 -32.0 hd -19.1 sd +24.0 657.7 -47.0 bar +(FINE)36.5 -21.0 dacs +97.1 -54.0 gsave 1 -1 scale neg hld grestore +248.9 -20.0 lphr +342.1 -20.0 mphr +(mf)396.3 -19.0 pf +461.9 -16.0 opend +(p)532.6 -19.0 pf +(pppp)589.2 -19.0 pf +0 -81.00 T +/dlsym{ +/y{-19.8 y0}def 13.0 F3 24.0 y M(pralltriller)lyshow 111.6 y M(sfz)lyshow 180.4 y M(shortphrase)lyshow 278.3 y M(snap)lyshow 354.1 y M(thumb)lyshow 431.0 y M(turn)lyshow 497.3 y M(wedge)lyshow 573.5 y M(D.S.)lyshow +}def +/y0{-53.0 add}def +657.7 5 0.0 -53.0 staff +dlsym +12.0 -53.0 tclef +3.2 77.3 2.8 47.2 -38.9 bm +44.0 -59.0 hl 44.0 -59.0 hd 19.1 su +120.7 -56.0 hd 18.9 su +200.4 -53.0 hd 1 20.0 sfu +291.1 -50.0 hd 1 20.0 sfu +3.2 215.9 8.3 373.9 -26.7 bm +370.8 -47.0 hd 19.3 su +442.5 -44.0 hd 19.1 su +514.2 -41.0 hd 18.9 su +586.0 -38.0 hd 18.7 su +24.0 657.7 -53.0 bar +44.0 -27.0 umrd +(sfz)113.7 -27.0 sfz +236.6 -26.0 sphr +291.1 -27.0 snap +370.8 -25.0 thumb +442.5 -22.0 turn +514.2 -19.0 wedge +(D.S.)586.0 -16.0 dacs +0 -78.00 T +% --- 7 (Non standard decorations) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Non standard decorations)showc +0 -5.67 T +0 -14.00 T +657.7 0 M 14.0 F1 (Composer \(Origin\))showr +0 -5.67 T +/dlsym{ +/y{-19.8 y0}def 13.0 F3 24.0 y M(turnx)lyshow 59.6 y M(invertedturn)lyshow 133.2 y M(invertedturnx)lyshow 213.6 y M(arpeggio)lyshow 276.1 y M(trill\()lyshow 347.5 y M(trill\))lyshow +}def +/y0{-47.0 add}def +400.9 5 0.0 -47.0 staff +dlsym +12.0 -47.0 tclef +3.2 42.1 2.7 41.4 -20.8 bm +38.3 -41.0 hd 19.2 su +79.6 -38.0 hd 18.8 su +153.2 -35.0 hd 1 20.0 sfu +233.6 -47.0 hd 1 33.0 sfu 233.6 -41.0 hd 233.6 -32.0 hd +24.0 268.1 -47.0 bar +288.6 -32.0 Hd -20.0 sd +24.0 339.5 -47.0 bar +360.0 -32.0 hd 8.0 0 dt -20.0 sd +24.0 400.9 -47.0 bar +346.2 -21.2 302.4 -21.2 290.6 -26.7 0 0.3 300.4 -22.2 348.2 -22.2 358.0 -27.0 290.6 -27.0 SL +38.3 -19.0 turnx +79.6 -6.0 gsave 1 -1 scale neg turn grestore +153.2 -3.0 gsave 1 -1 scale neg turnx grestore +19.0 227.6 -50.0 arp +59.4 288.6 -21.0 ltr +0 -72.00 T +% --- 8 (Decorations on two voices) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Decorations on two voices)showc +0 -18.83 T +16.0 F2 328.9 0 M(\(also in 'd:' lines\))showc +0 -5.67 T +0 -14.00 T +657.7 0 M 14.0 F1 (Composer \(Origin\))showr +0 -14.00 T +657.7 0 M (Rhythm)showr +0 -5.67 T +/dlsym{ +}def +/y0{-80.0 add}def +657.7 5 0.0 -80.0 staff +dlsym +12.0 -80.0 tclef +30.5 -80.0 csig +3.2 72.5 7.3 51.7 -43.7 bm +48.5 -65.0 hd 20.4 su +72.4 -62.0 hd 19.8 su +96.4 -59.0 hd 19.2 su +120.4 -56.0 hd 18.6 su +3.2 72.5 7.3 150.1 -43.7 bm +146.9 -65.0 hd 20.4 su +170.9 -62.0 hd 19.8 su +194.8 -59.0 hd 19.2 su +218.7 -56.0 hd 18.6 su +24.0 242.7 -80.0 bar +3.2 72.6 -0.0 259.2 -28.8 bm +256.0 -50.0 hl 256.0 -50.0 hd 20.2 su +280.0 -50.0 hl 280.0 -50.0 hd 20.2 su +303.9 -50.0 hl 303.9 -47.0 hd 17.2 su +327.9 -50.0 hl 327.9 -44.0 hl 327.9 -44.0 hd 14.2 su +3.2 72.5 5.6 357.6 -34.1 bm +354.5 -53.0 hd 17.9 su +378.4 -50.0 hl 378.4 -50.0 hd 16.8 su +402.4 -50.0 hl 402.4 -47.0 hd 15.6 su +426.3 -50.0 hl 426.3 -44.0 hl 426.3 -44.0 hd 14.5 su +24.0 450.2 -80.0 bar +3.2 72.5 7.3 466.7 -43.7 bm +463.6 -65.0 hd 20.4 su +487.5 -62.0 hd 19.8 su +511.4 -59.0 hd 19.2 su +535.4 -56.0 hd 18.6 su +3.2 72.5 -5.1 565.1 -35.3 bm +562.0 -53.0 hd 16.7 su +585.9 -56.0 hd 18.0 su +609.8 -59.0 hd 19.3 su +633.8 -65.0 hd 23.6 su +24.0 657.7 -80.0 bar 24.0 654.7 -80.0 bar +-3.2 72.5 5.6 44.7 -103.5 bm +48.5 -86.0 hl 48.5 -86.0 hd -16.5 sd +72.4 -83.0 hd -17.6 sd +96.4 -80.0 hd -18.8 sd +120.4 -77.0 hd -19.9 sd +-3.2 72.5 5.6 143.1 -103.5 bm +146.9 -86.0 hl 146.9 -86.0 hd -16.5 sd +170.9 -83.0 hd -17.6 sd +194.8 -80.0 hd -18.8 sd +218.7 -77.0 hd -19.9 sd +-3.2 72.6 -0.0 252.2 -74.2 bm +256.0 -56.0 hd -17.2 sd +280.0 -56.0 hd -17.2 sd +303.9 -53.0 hd -20.2 sd +327.9 -50.0 hl 327.9 -50.0 hd -23.2 sd +-3.2 72.5 7.3 350.6 -78.6 bm +354.5 -59.0 hd -18.6 sd +378.4 -56.0 hd -19.2 sd +402.4 -53.0 hd -19.8 sd +426.3 -50.0 hl 426.3 -50.0 hd -20.4 sd +463.6 -86.0 hl 463.6 -86.0 hd 1 -20.0 sfd +487.5 -83.0 hd 1 -20.0 sfd +-3.2 24.6 2.5 507.6 -99.7 bm +511.4 -80.0 hd -18.7 sd +535.4 -77.0 hd -19.3 sd +-3.2 72.5 -0.0 558.1 -103.2 bm +562.0 -74.0 hd -28.2 sd 562.0 -80.0 hd +585.9 -77.0 hd -25.2 sd +609.8 -80.0 hd -22.2 sd +633.8 -86.0 hl 633.8 -86.0 hd -16.2 sd +48.5 -42.0 grm +48.5 -111.0 grm +72.4 -39.0 stc +72.4 -109.0 stc +91.4 -59.0 sld +91.4 -80.0 sld +120.4 -34.0 emb +120.4 -105.0 emb +146.9 -42.0 hld +146.9 -105.0 gsave 1 -1 scale neg hld grestore +170.9 -36.0 cpu +170.9 -104.0 gsave 1 -1 scale neg cpu grestore +194.8 -37.0 trl +194.8 -113.0 trl +218.7 -34.0 upb +218.7 -110.0 upb +(mf)251.0 -18.0 pf +256.0 -88.0 grm +280.0 -86.0 stc +298.9 -53.0 sld +327.9 -86.0 emb +354.5 -82.0 gsave 1 -1 scale neg hld grestore +378.4 -82.0 gsave 1 -1 scale neg cpu grestore +402.4 -93.0 trl +426.3 -92.0 upb +463.6 -42.0 coda +(sfz)456.6 -18.0 sfz +(5)463.6 -116.0 fng +(4)487.5 -113.0 fng +487.5 -123.0 umrd +511.4 -112.0 lmrd +(3)511.4 -120.0 fng +(4)535.4 -107.0 fng +(5)562.0 -113.0 fng +585.9 -115.0 lmrd +(D.S.)633.8 -38.0 dacs +0 -123.00 T +%%PageTrailer +grestore +showpage +%%Page: 3 3 +gsave 0 813.6 T +% --- width 657.7 +12.0 F2 297.7 -795.3 M(abcm2ps - sample2)showc +0.75 dup scale +68.0 0 T +% --- 9 (Beams) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Beams)showc +0 -25.34 T +/dlsym{ +35.0 4.0 47.5 32.8 y0 tubr(3)65.0 30.8 y0 bnumb +35.0 4.0 88.0 38.8 y0 tubr(3)105.5 36.8 y0 bnumb +38.0 0.0 226.5 35.0 y0 tubr(3)245.4 31.0 y0 bnumb +32.0 0.0 269.9 39.0 y0 tubr(3)285.9 35.0 y0 bnumb +32.0 0.0 424.7 34.0 y0 tubr(3)440.7 30.0 y0 bnumb +36.6 0.0 462.2 42.0 y0 tubr(3)480.5 38.0 y0 bnumb +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 tclef +(4)(4) 30.5 -47.0 tsig +3.2 68.1 10.5 51.7 -25.7 bm +3.2 67.4 10.4 52.0 -30.6 bm +48.5 -53.0 hl 48.5 -53.0 hd 26.4 su +62.0 -50.0 hd 25.4 su +75.5 -47.0 hd 24.5 su +89.0 -44.0 hd 23.6 su +102.5 -41.0 hd 22.7 su +115.9 -38.0 hd 21.7 su +-3.2 86.3 -0.0 128.7 -63.2 bm +-3.2 85.6 -0.0 129.1 -58.2 bm +-3.2 85.6 -0.0 129.1 -53.2 bm +132.6 -35.0 hd -27.2 sd +144.8 -32.0 hd -30.2 sd +157.1 -29.0 hd -33.2 sd +169.3 -26.0 hd -36.2 sd +181.5 -29.0 hd -33.2 sd +193.8 -32.0 hd -30.2 sd +206.0 -35.0 hd -27.2 sd +218.2 -38.0 hd -24.2 sd +230.5 -35.0 r16 +3.2 41.1 6.3 247.1 -24.5 bm +3.2 40.5 6.2 247.4 -29.5 bm +243.9 -50.0 hd 24.5 su +257.4 -47.0 hd 23.6 su +270.9 -44.0 hd 22.7 su +284.4 -41.0 hd 21.7 su +297.9 -35.0 r16 +311.4 -35.0 r32 +-3.2 61.8 -0.0 322.6 -60.0 bm +-3.2 61.2 -0.0 323.0 -55.0 bm +-3.2 61.2 -0.0 323.0 -50.0 bm +326.5 -32.0 hd -26.9 sd +338.7 -29.0 hd -29.9 sd +350.9 -26.0 hd -32.9 sd +363.2 -29.0 hd -29.9 sd +375.4 -32.0 hd -26.9 sd +387.6 -35.0 hd -23.9 sd +399.9 -35.0 r32 +24.0 412.1 -47.0 bar +3.2 66.8 10.4 428.9 -25.6 bm +3.2 66.1 10.3 429.2 -30.6 bm +425.7 -53.0 hl 425.7 -53.0 hd 26.4 su +439.2 -50.0 hd 25.5 su +452.7 -40.0 r16 +466.2 -38.0 r16 +478.3 -41.0 hd 22.6 su +491.8 -38.0 hd 21.7 su +-3.2 87.6 -0.0 504.6 -63.2 bm +-3.2 87.0 -0.0 505.0 -58.2 bm +-3.2 87.0 -0.0 505.0 -53.2 bm +508.5 -35.0 hd -27.2 sd +520.7 -32.0 hd -30.2 sd +532.9 -29.0 hd -33.2 sd +545.2 -35.0 r32 +557.4 -35.0 r32 +571.0 -32.0 hd -30.2 sd +583.2 -35.0 hd -27.2 sd +595.4 -38.0 hd -24.2 sd +609.0 -41.0 Hd 20.0 su +24.0 657.7 -47.0 bar +0 -70.00 T +% --- 10 (Voice overlap) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Voice overlap)showc +0 -18.83 T +16.0 F2 328.9 0 M(invisible and dashed bars)showc +0 -25.34 T +/dlsym{ +}def +/y0{-47.0 add}def +657.7 5 0.0 -47.0 staff +dlsym +12.0 -47.0 tclef +(2)(4) 30.5 -47.0 tsig +3.2 80.0 -7.4 59.5 -16.2 bm +56.3 -44.0 hd 26.8 su +80.6 -47.0 hd 27.5 su +108.1 -50.0 hd 28.0 su +130.9 -53.0 hl 135.6 -53.0 hl 135.6 -53.0 hd 28.4 su +24.0 158.4 -47.0 dotbar +3.2 83.1 -0.0 176.8 -20.0 bm +173.6 -41.0 hd 20.0 su +201.1 -41.0 hd 20.0 su +228.6 -41.0 hd 20.0 su +256.0 -41.0 hd 20.0 su +24.0 283.5 -47.0 bar +298.8 -41.0 hd 20.0 su +/x 356.8 def/y -41.0 def 20.0 su +24.0 407.4 -47.0 bar +422.7 -32.0 Hd 20.0 su +3.2 83.1 7.4 551.0 -19.9 bm +/x 547.8 def/y -41.0 def 20.1 su +575.3 -38.0 hd 19.6 su +602.8 -35.0 hd 19.1 su +630.3 -32.0 hd 18.5 su +24.0 657.7 -47.0 bar +-3.2 83.1 7.4 44.7 -69.9 bm +48.5 -41.0 hd -27.9 sd +76.0 -38.0 hd -28.4 sd +103.4 -35.0 hd -29.0 sd +130.9 -32.0 hd -29.5 sd +-3.2 75.3 -0.0 177.6 -70.2 bm +181.4 -44.0 hd -25.2 sd +201.1 -47.0 hd -22.2 sd +228.6 -50.0 hd -19.2 sd +256.0 -53.0 hl 256.0 -53.0 hd -16.2 sd +-3.2 28.1 -4.8 294.9 -62.1 bm +/x 298.8 def/y -41.0 def -20.2 sd +326.2 -50.0 hd -15.8 sd +-3.2 31.9 -4.9 352.9 -64.8 bm +-3.2 6.0 -0.9 378.5 -63.7 bm +356.8 -41.0 hd 8.0 -3 dt -22.8 sd +388.0 -50.0 hd -18.7 sd +-3.2 83.1 -7.4 418.9 -52.8 bm +/x 422.7 def/y -32.0 def -19.8 sd +450.2 -35.0 hd -19.3 sd +477.6 -38.0 hd -18.7 sd +505.1 -41.0 hd -18.2 sd +547.8 -41.0 Hd -20.0 sd +0 -72.00 T +% --- 11 (Clef transpositions) --- +% --- font 20.0 F2 +0 -22.68 T +0 -25.67 T +20.0 F2 328.9 0 M(Clef transpositions)showc +0 -25.34 T +0 -18.83 T +16.0 F2 0 0 M(No transposition)show +0 -11.34 T +/dlsym{ +12.0 F0 40.5 53.0 y0 M(clef=treble)gcshow 43.4 41.0 y0 M(A,)gcshow +101.8 41.0 y0 M(B,)gcshow +153.4 41.0 y0 M(C)gcshow +203.3 41.0 y0 M(D)gcshow +248.5 53.0 y0 M(alto)gcshow 251.2 41.0 y0 M(A,)gcshow +301.8 41.0 y0 M(B,)gcshow +353.3 41.0 y0 M(C)gcshow +408.8 41.0 y0 M(D)gcshow +453.8 53.0 y0 M(bass)gcshow 456.7 41.0 y0 M(A,)gcshow +507.2 41.0 y0 M(B,)gcshow +558.8 41.0 y0 M(C)gcshow +608.7 41.0 y0 M(D)gcshow +}def +/y0{-65.0 add}def +657.7 5 0.0 -65.0 staff +dlsym +12.0 -65.0 tclef +30.5 -65.0 csig +48.5 -71.0 hl 48.5 -77.0 hl 48.5 -77.0 hd 24.0 su +106.7 -71.0 hl 106.7 -74.0 hd 21.0 su +156.9 -71.0 hl 156.9 -71.0 hd 20.0 su +207.1 -68.0 hd 20.0 su +223.6 -65.0 scclef +24.0 238.6 -65.0 bar +256.4 -59.0 hd 20.0 su +306.6 -56.0 hd 20.0 su +356.8 -53.0 hd 20.0 su +412.6 -50.0 hd -20.0 sd +429.1 -65.0 sbclef +24.0 444.1 -65.0 bar +461.8 -41.0 hd -20.0 sd +512.1 -38.0 hd -20.0 sd +562.3 -35.0 hl 562.3 -35.0 hd -20.0 sd +612.5 -35.0 hl 612.5 -32.0 hd -21.0 sd +24.0 657.7 -65.0 bar +0 -88.00 T +0 -18.83 T +16.0 F2 0 0 M(Explicit clef transposition)show +0 -11.34 T +/dlsym{ +12.0 F0 40.5 53.0 y0 M(clef=G)gcshow 43.4 41.0 y0 M(A,)gcshow +94.6 41.0 y0 M(B,)gcshow +146.9 41.0 y0 M(C)gcshow +197.6 41.0 y0 M(D)gcshow +242.9 53.0 y0 M(clef=c)gcshow 247.1 41.0 y0 M(A)gcshow +298.4 41.0 y0 M(B)gcshow +350.5 41.0 y0 M(c)gcshow +406.8 41.0 y0 M(d)gcshow +451.0 53.0 y0 M(clef=f)gcshow 456.6 41.0 y0 M(a)gcshow +507.3 41.0 y0 M(b)gcshow +556.8 41.0 y0 M(c')gcshow +607.5 41.0 y0 M(d')gcshow +}def +/y0{-65.0 add}def +657.7 5 0.0 -65.0 staff +dlsym +12.0 -65.0 tclef +30.5 -65.0 csig +48.5 -71.0 hl 48.5 -77.0 hl 48.5 -77.0 hd 24.0 su +99.5 -71.0 hl 99.5 -74.0 hd 21.0 su +150.4 -71.0 hl 150.4 -71.0 hd 20.0 su +201.4 -68.0 hd 20.0 su +217.9 -65.0 scclef +24.0 232.9 -65.0 bar +250.9 -59.0 hd 20.0 su +301.9 -56.0 hd 20.0 su +352.9 -53.0 hd 20.0 su +409.4 -50.0 hd -20.0 sd +425.9 -65.0 sbclef +24.0 440.9 -65.0 bar +459.0 -41.0 hd -20.0 sd +509.9 -38.0 hd -20.0 sd +560.9 -35.0 hl 560.9 -35.0 hd -20.0 sd +611.9 -35.0 hl 611.9 -32.0 hd -21.0 sd +24.0 657.7 -65.0 bar +0 -88.00 T +0 -18.83 T +16.0 F2 0 0 M(abc2ps compatible clef transposition)show +0 -11.34 T +/dlsym{ +12.0 F0 40.5 53.0 y0 M(treble)gcshow 43.4 41.0 y0 M(A,)gcshow +94.6 41.0 y0 M(B,)gcshow +146.9 41.0 y0 M(C)gcshow +197.6 41.0 y0 M(D)gcshow +243.0 53.0 y0 M(alto)gcshow 247.1 41.0 y0 M(A)gcshow +298.4 41.0 y0 M(B)gcshow +350.5 41.0 y0 M(c)gcshow +406.8 41.0 y0 M(d)gcshow +451.0 53.0 y0 M(bass)gcshow 456.6 41.0 y0 M(a)gcshow +507.3 41.0 y0 M(b)gcshow +556.8 41.0 y0 M(c')gcshow +607.5 41.0 y0 M(d')gcshow +}def +/y0{-65.0 add}def +657.7 5 0.0 -65.0 staff +dlsym +12.0 -65.0 tclef +30.5 -65.0 csig +48.5 -71.0 hl 48.5 -77.0 hl 48.5 -77.0 hd 24.0 su +99.5 -71.0 hl 99.5 -74.0 hd 21.0 su +150.4 -71.0 hl 150.4 -71.0 hd 20.0 su +201.4 -68.0 hd 20.0 su +217.9 -65.0 scclef +24.0 232.9 -65.0 bar +250.9 -59.0 hd 20.0 su +301.9 -56.0 hd 20.0 su +352.9 -53.0 hd 20.0 su +409.4 -50.0 hd -20.0 sd +425.9 -65.0 sbclef +24.0 440.9 -65.0 bar +459.0 -41.0 hd -20.0 sd +509.9 -38.0 hd -20.0 sd +560.9 -35.0 hl 560.9 -35.0 hd -20.0 sd +611.9 -35.0 hl 611.9 -32.0 hd -21.0 sd +24.0 657.7 -65.0 bar +0 -88.00 T +%%PageTrailer +grestore +showpage +%%Trailer +%%Pages: 3 +%EOF --- abcm2ps-5.8.1.orig/debian/README.Debian +++ abcm2ps-5.8.1/debian/README.Debian @@ -0,0 +1,12 @@ +abcm2ps for Debian +------------------ + +This is a Debianization of Jef Moine's abcm2ps package. It differs +from the original in the following respects: + + - It contains an SGML-based manual page. + - Format files are placed in /usr/share/abcm2ps rather than + /usr/local/share/abcm2ps. + - abcm2ps assumes A4 paper by default. + + -- Anselm Lingnau , Mon Jan 5 03:02:59 2004 --- abcm2ps-5.8.1.orig/debian/changelog +++ abcm2ps-5.8.1/debian/changelog @@ -0,0 +1,127 @@ +abcm2ps (5.8.1-2) unstable; urgency=low + + * Bug fix: "will not accept '-' as input source", thanks to Francis + Larson (Closes: #498630). This used to work and is documented as such + but was apparently broken upstream when code to switch off default-on + options was introduced. + + -- Anselm Lingnau Thu, 11 Sep 2008 22:47:43 +0200 + +abcm2ps (5.8.1-1) unstable; urgency=low + + * New upstream release + * Updated to policy version 3.8.0 + + -- Anselm Lingnau Sat, 05 Jul 2008 11:32:07 +0200 + +abcm2ps (5.5.2-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Mon, 20 Aug 2007 13:18:07 +0200 + +abcm2ps (4.12.27-1) unstable; urgency=low + + * New upstream release + * Changed reference to abc2ps in package description. + + -- Anselm Lingnau Fri, 13 Oct 2006 02:09:19 +0200 + +abcm2ps (4.12.18-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Mon, 5 Jun 2006 23:00:12 +0200 + +abcm2ps (4.12.14-1) unstable; urgency=low + + * New upstream release + * Updated to policy version 3.7.2 + + -- Anselm Lingnau Sat, 22 Apr 2006 17:31:28 +0200 + +abcm2ps (4.11.8-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Tue, 18 Oct 2005 02:56:57 +0200 + +abcm2ps (4.11.7-1) unstable; urgency=low + + * New upstream release (closes: #303151). + * Removed extraneous /usr/sbin directory from the package. + * Various documentation changes as per upstream. + * Updated to policy version 3.6.2. + + -- Anselm Lingnau Tue, 11 Oct 2005 20:12:38 +0200 + +abcm2ps (4.9.4-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Tue, 5 Apr 2005 18:08:18 +0200 + +abcm2ps (4.9.1-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Tue, 22 Mar 2005 12:18:40 +0100 + +abcm2ps (4.8.8-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Mon, 17 Jan 2005 14:15:52 +0100 + +abcm2ps (4.8.5-1) unstable; urgency=low + + * New upstream release (closes: #280008). + * In particular, this fixes the DJB security bug (closes: #285903). + + -- Anselm Lingnau Tue, 21 Dec 2004 11:07:28 +0100 + +abcm2ps (4.6.7-1) unstable; urgency=low + + * New upstream release + * Updated manual page as per upstream changes. + * Converted control file to UTF-8. + * Added versioned depends clause on docbook-to-man (closes: #255804). + + -- Anselm Lingnau Wed, 25 Aug 2004 00:10:18 +0200 + +abcm2ps (4.5.0-1) unstable; urgency=low + + * New upstream release. + * Updated manual page as per upstream changes. + + -- Anselm Lingnau Fri, 21 May 2004 10:38:03 +0200 + +abcm2ps (4.2.1-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Fri, 20 Feb 2004 12:48:27 +0100 + +abcm2ps (4.0.8-1) unstable; urgency=low + + * New upstream release. + * Added "%%staff" and "%%halfbeam" to manual page; change wording of + clef explanations. + * Included examples from upstream distribution. + * Updated to policy version 3.6.1. + + -- Anselm Lingnau Thu, 22 Jan 2004 11:57:19 +0100 + +abcm2ps (4.0.7-1) unstable; urgency=low + + * New upstream release. + * Removed erroneous doc-base control file. + + -- Anselm Lingnau Tue, 13 Jan 2004 09:06:54 +0100 + +abcm2ps (4.0.5-1) unstable; urgency=low + + * Initial Release. + + -- Anselm Lingnau Mon, 5 Jan 2004 02:41:57 +0100 + --- abcm2ps-5.8.1.orig/debian/compat +++ abcm2ps-5.8.1/debian/compat @@ -0,0 +1 @@ +4 --- abcm2ps-5.8.1.orig/debian/dirs +++ abcm2ps-5.8.1/debian/dirs @@ -0,0 +1 @@ +usr/bin --- abcm2ps-5.8.1.orig/debian/watch +++ abcm2ps-5.8.1/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://moinejf.free.fr/abcm2ps-(.*)\.tar\.gz debian uupdate --- abcm2ps-5.8.1.orig/debian/copyright +++ abcm2ps-5.8.1/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Anselm Lingnau on +Wed, 30 Jul 2003 19:45:11 +0200. + +It was downloaded from http://moinejf.free.fr/ + +Upstream Author: Jef Moine + +Copyright: + + Copyright 2008 by Jef Moine . + Based on abc2ps by Michael Methfessel . + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Anselm Lingnau and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- abcm2ps-5.8.1.orig/debian/control +++ abcm2ps-5.8.1/debian/control @@ -0,0 +1,21 @@ +Source: abcm2ps +Section: text +Priority: optional +Maintainer: Anselm Lingnau +Build-Depends: debhelper (>> 4.0.0), docbook-to-man (>> 2.0.0-13) +Standards-Version: 3.8.0 + +Package: abcm2ps +Architecture: any +Depends: ${shlibs:Depends} +Description: Translates ABC music description files to PostScript + This is the Debian port of the abcm2ps program by Jean-François Moine. + The program translates tunes written in the ABC format to PostScript, + which can then be viewed using Ghostview et al. or printed on a + PostScript printer or through Ghostscript. It supports various + semi-standard extensions to the ABC standard, such as multiple + voices and staves. + . + This program is a vastly improved spin-off from Michael Methfessel's + abc2ps, which is no longer supplied as part of Debian. In particular, + it contains a lot of extensions to help typeset classical music. --- abcm2ps-5.8.1.orig/debian/rules +++ abcm2ps-5.8.1/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --enable-a4 + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + /usr/bin/docbook-to-man debian/abcm2ps.sgml > abcm2ps.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + rm -f abcm2ps +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean config.log config.cache config.status + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # We take care of the documentation files later ourselves. + $(MAKE) install prefix=$(CURDIR)/debian/abcm2ps/usr \ + docdir=$(CURDIR)/debian/abcm2ps/doc + rm -rf $(CURDIR)/debian/abcm2ps/doc + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + dh_installexamples *.abc *.eps +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- abcm2ps-5.8.1.orig/debian/docs +++ abcm2ps-5.8.1/debian/docs @@ -0,0 +1,4 @@ +README +features.txt +format.txt +options.txt --- abcm2ps-5.8.1.orig/debian/abcm2ps.sgml +++ abcm2ps-5.8.1/debian/abcm2ps.sgml @@ -0,0 +1,2095 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + Anselm"> + Lingnau"> + July 5, 2008"> + 1"> + lingnau@debian.org"> + + ABCM2PS"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2004 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + translate ABC music notation to PostScript + + + + &dhpackage; + + options + abc-file file-options ... + + + &dhpackage; + + + + + DESCRIPTION + + &dhpackage; translates tunes written in + the ABC music notation format to customary sheet music scores in + PostScript. It is based on abc2ps 1.2.5 and was + developed mainly to print Baroque organ scores that have + independent voices played on multiple keyboards and a + pedal-board. The program has since been extended to support + various other notation conventions in use for sheet music. + Options given immediately after the command name apply to + the run as a whole; options given after an ABC file name apply + to that file. + Formatting parameters can also be set in `format files' and + in the ABC files themselves. + + + + OPTIONS + + + + + + Split tunes across page breaks if necessary. + + + + + + Start a new page if a tune doesn't fit on the current + one (default). + + + + + + Output one tune per page. + + + + + + Output multiple tunes per page (default). + + + + + + Maximal horizontal compression when staff breaks are + chosen automatically. Must be between 0 and 1 (default: + 0.65) + + + + + + Try to typeset b bars + on each staff line. + + + + + + Don't try to typeset a fixed number of + bars on each staff line (default). + + + + + + Start measure numbering at b. + + + + + + Obsolete option; ignored. + + + + + + The continuation symbol is implicitly appended to each + music line. This amounts to automatic line breaking. + + + + + + Automatic line breaking is turned off (default). + + + + + + Search format files in + directory. + + + + + + Set the vertical interstaff space to + length (default: 46pt) + + + + + + Output is generated in EPS format, one file per page. + + + + + + Output is generated in multipage PS format (default). + + + + + + Select which tunes from an ABC file to print. + list is a comma-separated list + of tune numbers (as per the `X:' header). The + option must occur after an ABC file + name and applies to that file. Ranges of tune numbers may + be specified like + t1-t2; + t2 may be omitted which means + `all remaining tunes until the end of file'. Note that + filtering may cause problems, e.g., with global (non-tune) + definitions in the ABC file. + + + + + + Read the format file + file.fmt. + + + + + + Do not read the default format file. + + + + + + Enable flat beams in bagpipe tunes. + + + + + + Omit slurs on grace notes. + + + + + + Draw slurs on grace notes (default). + + + + + + Obsolete option; ignored. + + + + + + Display the current values of the formatting parameters. + + + + + + Display program usage hints and quit. + + + + + + Indent the first line of the tune by + length (default: 0). + + + + + + Output a measure number every + b measures. If + b is 0, the measure number + appears at the left of each staff. The trailing + causes a box to be drawn around each + measure number (default: no measure numbering). + + + + + + Don't output measure numbers. + + + + + + Equivalent to . + + + + + + Equivalent to . + + + + + + Set the language encoding to + ISO-Latin-enc, where + enc can take on values from + to . The value + is equivalent to but + no PostScript encoding table is output (default: 0). + + + + + + Generate landscape output. + + + + + + Generate portrait output (default). + + + + + + Suppress lyrics. + + + + + + Include lyrics (default). + + + + + + Set the left margin to + length (default: 1.8cm) + + + + + + Number pages according to the + mode: + + + no page numbers + + + page numbers at top left + of page + + + page numbers at top right + of page + + + page numbers at top left of + even-numbered pages, top right of odd-numbered + pages + + + page numbers at top right of + even-numbered pages, top left of odd-numbered + pages + + + For compatibility, + is equivalent to + (default: ). + + + + + + Equivalent to (no page + numbering). + + + + + + Include notes and history from ABC tune `N:' fields. + + + + + + Omit notes and history from ABC tune `N:' fields + (default). + + + + + + Define the output file name. By default, the output + file name is `Out.ps' for PostScript output and + `Outnnn.eps' for EPS output (see + ). If this option is given, the output + name will be name or + namennn.eps, respectively. If + name is `=', the output file name + will be the name of the ABC source file with the extension + `.ps' or `.eps'. If name is `-', + the output is written to stdout. + + + + + + Revert to the default output file name (`Out.ps' or + `Outnnn.eps') + + + + + + Obsolete option; ignored. + + + + + + Obsolete option; ignored. + + + + + + Obsolete option; ignored. + + + + + + Print tempo (metronome) indications (default). + + + + + + Omit tempo (metronome) indications. + + + + + + Obsolete option; ignored. + + + + + + Obsolete option; ignored. + + + + + + Set the page scale factor to + scale. Note that the header and + footer are not scaled (default: 0.75). + + + + , + + Activate (or deactivate) tabulature + drawing. n is the tabulature + number as defined in , + and voice is the voice name, + full name or subname as found in . When + this is absent, the option applies to all voices. Up to 4 + such options may be given. See + also format.txt. + + + + + + Use implicit decorations as in + abc2ps (default: off) + + + + + + Output version number and quit. + + + + + + Obsolete option; ignored. + + + + + + Adjust the right margin such that the staff width is + length (default: none) + + + + + + Include the `X:' tune number in the title. + + + + + + Do not include the `X:' tune number in the title + (default). + + + + + + FORMATTING PARAMETERS + + The following formatting parameters can be used in format + files. They can also occur in ABC files when they are preceded + by , or as headers (even + in the middle of a music line). + + + + + If true, set M as + the +tenuto+ decoration and do a pitch + translation if the notes are too high for a bass + clef. + + + + + + Align the bars of the + next int lines of music. This + works only when the music contains only one voice + (no or ) (default: 0). + + + + + + Define where to display the composer field. A negative value + displays it flush-left, a value of zero centered, and a positive + value flush-right (default: 1). + + + + + + Set the annotation font to + font with size + size (default: Helvetica 12) + + + + + + Adjust the clefs when they are not defined in `K:' or + `V:' lines (default: 1). + + + + + + Synonym for . + + + + + + Try to typeset with int bars + per line (default: 0; command line: , + ) + + + + + + Start a sequence of PostScript code lines extending + until the next line. This parameter + may only occur within ABC and format files, not on the + command line. + + + + + + Set the bottom margin to + length (default: 1cm) + + + + + + If this is set, on finding an end-of-line (eoln), + pretend that there was a space before the next note or + rest. This prevents a beam to be continued between two + input lines (default: 1). + + + + + + If this is set, the stem of the note on the middle of + the staff extends downwards. Otherwise it extends up or + down depending on the preceding note (default: 0). + + + + + + If this is set together + with , voice combination takes + place in all cases. Otherwise, notes which are too close + together in pitch are not combined. + + + + + + If this is set, simultaneous notes of the same duration + belonging to voices on the same staff are combined into chords + (default: 0). + + + + + + Set the `composer' font to + font with size + size (default: Times-Italic 14) + + + + + + Set the vertical space before the composer name to + length (Default: 0.2cm) + + + + + + If this is not set, the bar numbers of second repeats are + set to those of the corresponding first repeats. If this is set, + all bars are numbered sequentially (default: 0). + + + + + + If this is set to true, ignore the line breaks in a + tune (default: 0; command line: , + ) + + + + + + Format for date and time output. The admissible values + of this parameter are described in the documentation for + the strftime(3) C library function. Note that percent + signs need to be escaped + (default: "\%b \%e, \%Y \%H:\%M") + + + + + + Define a decoration. This is an experimental feature + which is subject to change in future releases and requires + good knowledge of the internals of abcm2ps. See the + files format.txt and + deco.abc for details. + + + + + + When set, horizontally align dynamic marks (default: 1) + + + + + + Set the language encoding to + ISO-Latin-enc, where + enc can take values from 0 to + 6. The value 0 is the same as 1, but no PostScript + encoding table is output. + Alternatively, enc may take + one of the predefined values us-ascii, + iso-8859-1, iso-8859-2, + iso-8859-3, iso-8859-4, + iso-8859-9, iso-8859-10, + or native (meaning encoding vectors will + not be changed). If enc is anything + else, it must be a string which is taken to be PostScript + commands that set up a suitable encoding vector. + + + + + + Draw expression decorations above the staff. If + neither nor + are `true', expression + decorations are drawn above the staff if there are lyrics + on the staff, and below + otherwise. takes precedence + over (default: 0). + + + + + + Draw expression decorations below the staff. If + neither nor + are `true', expression + decorations are drawn above the staff if there are lyrics + on the staff, and below + otherwise. takes precedence + over (default: 0). + + + + + + Draw flat beams in bagpipe tunes (default: 0; command + line: ) + + + + + + Define a font and its encoding. Use this parameter + when you want to refer to specific fonts in ABC + files/tunes. It must occur before any PostScript output is + written, generally in a format + file. encoding defaults to the + encoding set up by the parameter. + + + + + + Define the text printed at the bottom of every + page. There may be one or two lines. When there are two + lines, these must be separated by the characters `\\n' (not + a real newline). Each of the lines consists of three + areas, left, center and right, which are separated by tabs + (real tabs, not '\\t') and may be empty - if the left area + is empty, the text must be + quoted. + If the footer begins with `-', it will not be printed + on the first page of the document. + The `$' character introduces variable + expansion: + + + + The date and time of last modification + of the ABC file + + + + The current date and time + + + + The current input file name + + + x + The value of + header x of the + tune + + + + The current page number + + + + The current pagenumber (when even) + + + + The current pagenumber (when odd) + + + + The current tune title + + + + `abcm2ps-' followed by the program's + version number + + + For example, the command line option + is equivalent to `%%header "$P0 $P1"' + (note the two tabs). (Default: none) + + + + + + Set the footer font to + font with size + size (default: Times-Roman 12) + + + + + + Read the format file + filename (default: none). + + + + + + Prevent the characters `#', `b' and `=' to be + displayed as the sharp sign, the flat sign, and the + natural sign, respectively, in guitar chords. When this + flag is set, the display of the accidentals may be forced + by escaping the characters (`', + `' and `') (default: 0) + + + + + + Draw a box around guitar chords. Can be set to + `true' using `%%gchordfont' below. (Default: 0) + + + + + + Set the guitar chord font to + font with size + size. If + is specified, draw a box around guitar chords + (default: Helvetica 12, no box) + + + + + + Draw slurs on grace notes if true (default: 1; command + line: , ) + + + + + + Define the space before, between, and after the grace + notes (default: 6.5 8.0 12.0) + + + + + + Define the text printed at the top of every page. See + the parameter above for the syntax + (default: none) + + + + + + Set the header font to + font with size + size (default: Times-Roman 12) + + + + + + Set the font for history entries to + font with size + size (default: Times-Roman 16) + + + + + + If an under-staff lyrics line ends with a hyphen, put + another hyphen at the beginning of the next line + (default:0) + + + + + + Indent the first line of a tune by + length (default:0; command + line: ) + + + + + + Set the information line font to + font with size + size (default: Times-Italic 14) + + + + + + Display the rhythm (`R:'), the origin (`O:'), and the + area (`A:') of the tune on a single `information line' + (default: 0) + + + + + + Define the headers to be printed after a tune + when is + set. The tag is printed before + the actual header value. By default, this outputs the R, + B, S, D, N, Z, and H headers, with tags `Rhythm:', + `Book:', `Source:', `Discography:', `Notes:', + `Transcription:', and `History:', respectively. + + + + + + Set the vertical space before the information line to + length (default: 0). + + + + + + Set page orientation to landscape if true (default: 0; + command line: , ). + + + + + + Set the left margin to + length (default: 1.8cm; command + line: ) + + + + + + Set the factor for spacing between lines of text to + float times the font size + (default: 1.1) + + + + + + Set how much the output may be compressed horizontally + when staff breaks are chosen + automatically. float must be + between 0 and 1 (default: 0.65; command line: + ) + + + + + + Set the maximum vertical inter-staff space to length (default: 800pt) + + + + + + Set the maximum vertical system inter-staff space to length (default: 800pt) + + + + + + Draw a box around the measure numbers if true + (default: 0; command line: or + ). + + + + + + Start measure numbering of the tune at + int. + This parameter is obsolete and should be replaced with + (outside the tune body) + + + + + + Set the font for measure numbers to + font at size + size. If + box is specified, draw a box around + the measure number (default: Times-Italic 14, no box). + + + + + + Draw a measure number every + int bars. If + int is 0, the measure number + appears at the left end of each staff. If + int is -1, no measure numbers + are displayed at all (default: -1; command line: + or + ). + + + + + + If true, no lyrics are output (default: 0; command + line: , ) + + + + + + Set the vertical space before the first staff of a + tune to length (default: + 0.2cm) + + + + + + Set the note spacing factor to + float. This value is used to + compute the natural space notes take up. The base space of + the crotchet (quarter note) is always 40pt. When the + duration of a note type is twice that of another note + type, the space it takes up is multiplied by this + factor. The default value increases the note space by a + factor of 2 when the corresponding note's value increases + by a factor of 4. That is, the space of a semibreve is + 80pt and that of a semiquaver is 20pt. Setting this value + to 1 sets all note spaces to 40pt (default: 1.414). + + + + + + If true, output one tune per page; if false, multiple + tunes are output per page if there is sufficient room + (default: 0; command line: , + ). + + + + + + Set the page height to + length + (default: hardcoded) + + + + + + Set the page width to + length (default: + hardcoded) + + + + + + Set the factor for spacing between text paragraphs to + float + (default: 0.4) + + + + + + Draw a box around the part names if true (default: 0) + + + + + + Set the font for part names to + font with size + size. If + is specified, draw a box around the part names. + (default: Times-Roman 15) + + + + + + Set the vertical space before a new part to + length (default: 0.3cm). + + + + + + Define a postscript sequence to be included in the + header of the output file. This formatting parameter may + be used to override any postscript function or to define + new functions for use in . It should + be processed before any output occurs, that is, in a + format file or at the beginning of the first ABC file. + + + + + + Print the part indications (`P:' header) (default: 1). + + + + + + Print tempo (metronome) indications (`Q:' header) if + true (default: 1; command line: , + ). + + + + + + Set the font for repeat bracket numbers/texts to + font at size + size. + + + + + + Set the right margin to + length (default: 1.8cm) + + + + + + Set the global page scale factor to + float. This does not apply to + headers and footers (default: 0.75; command line: + ). + + + + + + When true, output some indications about the note/chord + and/or decorations for purposes of customisation. These + indications are stored in the PostScript variable + defl. Note: This + is a potential compatibility + problem. The parameter was introduced in version 4.9.4. + (default: 0) + + + + + + + + + Set up alternate fonts for strings. In most strings, + you can switch to one of the alternate fonts using + $1..$4; $0 + switches back to the default value for that string. + (default: Times-Roman 0) + + + + + + Usually in multi-voice tunes, when two voices are in unison + there is often only one note head. If this flag is set, + two note heades are output (one is shifted) if one is a + minim (half note) and the other a crotchet (quarter note) + or shorter, i.e., a "black" note, or if one note is dotted + and the other is not. The parameter is really spelled + "shiftunisson" (default: 0). + + + + + + Set the slur height factor to + float (default: 1.0). + + + + + + If false, a tune is output on a new page if it doesn't + fit on the one currently being output. If true, a tune may + be split across page breaks (default: 0; command line: + , ). + + + + + + If true, display breve notes in a square shape + (default: 0) + + + + + + If false, staves not containing notes are + suppressed. This includes staves that only contain visible rests + (default: 1) + + + + + + Set the vertical inter-staff space to + length (default: 46pt; command + line: ) + + + + + + Set the right margin such that the staff width is + length (default: none - but see + and ). + + + + + + Set the stem height to + float (default: 20.0) + + + + + + If true, use straight flags on stems (mostly useful + for bagpipe tunes (default: 0) + + + + + + If true, stretch the last staff of a tune to fill the + whole line even though it may be underfull (default: 0) + + + + + + If true, stretch all underfull staves to fill the + whole line (default: 1) + + + + + + Set the font for subtitles (second and subsequent `T:' + headers in a tune) to font with + size size (default: Times-Roman + 16) + + + + + + Set the vertical space before subtitles (second and + subsequent `T:' headers in a tune) to + length (default: 0.1cm). + + + + + + Set the vertical system interstaff space to + length (default: 36pt). + + + + + + Define a tablature for the current voice. See + format.txt for the details. + + + + + + Set the font for tempo (metronome) indications to + font with size + size (default: Times-Bold 15) + + + + + + Set the text font to + font with size + size (default: Times-Roman 16) + + + + + + Set the default text option to int. + This option is used for text between + and . + int may be a keyword; see + for values. + + + + + + Set the vertical space before text blocks to + length (default: 0.5cm). + + + + + + If true, a cautionary time signature is added to the + end of the line before if a time signature change occurs + at the beginning of a line of music (default: 0). + + + + + + If true, output the tune title in uppercase letters + (default: 0) + + + + + + Set the title font to + font with size + size (default: Times-Roman 20) + + + + + + Defines the format of the tune title. This format + overrides the standard way the tune title is + displayed. text is a sequence + of letters, numbers, and commas. A letter stands for + an ABC header (reasonable values include A, B, C, D, H, N, + O, P, R, S, T, X, and Z, but any letter may occur) + and can optionally be followed by + a number. This number may be 0 (to center the header), 1 + (to display it flush-right), or -1 (to display it + flush-left); if no number is given the default is 0. A + comma causes the next field(s) to be displayed farther + down the page. Unrecognized characters will be ignored. As + an example, "%%titleformat T-1 T1 T1, R0 C1 A1" + will display the first title header flush-left, the second + and third titles (if any) flush-right, then the rhythm + centered and a little bit lower, and the composer and area + on the right. + + + + + + + If true, output the tune title flush left (instead of + centered) (default: 0) + + + + + + Set the vertical space before the tune title to + length (default: 0.2cm). + + + + + + If true, if the last word of a title starts with a + capital letter and is preceded by a comma and a space, + this word is moved to the beginning of the title. For + example, T:College Hornpipe, The is + printed as The College Hornpipe + (default: 1). + + + + + + Set the top margin to + length (default: 1cm) + + + + + + Set the vertical space at the top of a tune to + length (default: 0.8cm) + + + + + + Define how to draw tuplets. + The when parameter + can be 0 (to decide + automatically whether to draw a slur or bracket over the + tuplet), 1 (to never draw one) or + 2 (to always draw one). The + what parameter defines what to + draw: 0 means a bracket, + 1 a slur; 2 extends + beams across rests (does not work yet). + The value parameter + defines how to annotate the tuplet: 0 means + to write a simple number + (p), 1 writes + nothing, and 2 writes a ratio + (p:q). + + + + + + If true, output lyrics above the staff (instead of + below it) (default: 0) + + + + + + Set the font for lyrics inside a tune to + font with size + size (default: Times-Bold 13) + + + + + + Set the vertical space between a staff and its lyrics to + length (default: 23pt) + + + + + + Set the font for voice names (default: Times-Bold 13). + + + + + + If true, print the number from the `X:' header in the + tune title (default: 0; command line: , + ) + + + + + + Set the font for lyrics at the end of a tune to + font with size + size (default: Times-Roman 16) + + + + + + Set the vertical space before the end-of-tune lyrics to + length (default: 0.5cm) + + + + + + If true, output notes and history (`N:' and `H:' + headers) (default: 0; command line: , + ) + + + + + The following formatting parameters can only occur inside + tunes and not in a format file: + + + + + + Start printing a free-form text. The text to be + printed appears on the subsequent lines of the the input + file up to a line containing . + The text lines may start with . + The parameter may + be: + + + + + Line breaks in the input file are kept (default) + + + + or + + Lines are justified + + + + or + + Line breaks are ignored but output is + left-justified + + + + + + Lines are centered + + + + + + The text lines are not printed at all + + + + + + + + + Print one line of centered text + + + + + + Include filename as an EPS + file + + + + + + Finish a block of free text started by + + + + + + + Define multicolumn + printing. command may be: + + + + + Save the current vertical position and left + and right margins. These margins may then be changed + to print music or text. + + + + + + Reset the vertical position to the place of the + previous and restore the left + and right margins. These can then be changed again + to display another column. + + + + + + Restore the left and right margins and skip down + the page to a `safe place'. + + + + + + + + + Start a new page, restarting page numbering from + int if applicable. + + + + + + Repetition brackets are normally displayed as written in a + voice. %%repbra 0 suppresses them for the + current voice. + + + + + + Replace a sequence of notes by one or many repeat + marks. When placed after a + bar line, n indicates the + number of measures to be repeated, either 1 or + 2. If n is + 1, k gives the number of + repetitions of the preceding + measure. If n is + 2, k is not used. When placed + after a note or rest, n gives + the number of notes and rests to be repeated, + and k gives the number of + repeats. When omitted, n + and k default to 1. + + + + + + See below. + + + + + + Print a separator (line) of length + length with vertical space + h1 above and + h2 below (defaults: + h1 and + h2: 0.5cm; + length: 3cm) + + + + + + Set the measure number to int. + When not inside a tune body, this is equivalent to + . + + + + + + Put the following material on staff + num. This will lead, e.g., + to beams between notes in different staves. Useful for + keyboard music; see, for example, + sample4.abc. + + + + + + Leave a space of length in + the current staff. If length is + greater than 0.5cm, the left side of the staff (system) is + redrawn. In a multi-voice tune, a staff break must be + specified in each voice. + If the f is not given, the staff + break is removed if it occurs at the start or the end of a + line. + + + + + + See below. + + + + + + Output a single line of text. + + + + + + Leave vertical space of height + length. + length may be negative, in + which case the following material is moved closer to that + above. + + + + + + + ADDITIONAL FEATURES + + + Clefs + Clefs can be given in K: and + V: headers. The full syntax is + +clef=typeline+8|-8 middle=pitch + + + + The `clef=' can be omitted when the + type is a clef name. + + + type denotes the clef type. It may + be: + + + A note pitch (G, C, or F) + + The pitch indicates which clef is meant: + G is the treble clef, + C the alto clef and + F the bass clef. It also gives the + name of the note that appears on the clef's line. + + + + A clef name + + The available clef names are + treble (clef gives the pitch for + G), alto or + tenor (C), and + bass (F) + + + + perc or P + + In percussion mode, accidentals change the glyphs used + for note heads. By default, sharp notes are drawn as `x' + and flat notes as circled `x'. This may be changed by + redefining the PostScript + functions pshhd and pflhd. + + + + none + + No clef will be displayed. + + + + + + The line gives the number of the + line within the staff that the base clef will be written + on. The default values are 2 for the treble clef, 3 for the + alto clef, and 4 for the tenor and bass clefs. + + + The +8 and -8 options + draw an 8 above or below the staff, respectively. + `middle=pitch' + (or `m=pitch', + for short) is an alternative way of defining the line number + of the clef: + The pitch indicates what note will be + displayed on the middle line of the staff. + + When no clef is specified, clef changes between + bass and treble will be + inserted automatically. + + + + Multi-voice typesetting + Multiple voices may be defined within the header or the + tune using + +V:name definition ... + + where name is a word consisting of + letters and digits only (like violin1). In + the tune body, the following notes refer to this voice until + another V: is encountered. A + definition can be one of: + + + clef=... + See above + + + name=name or nm=name + + The name will be + displayed at the beginning of the first staff. It can + contain sequences which will + force line breaks. If it contains whitespace it must be + double-quoted. + + + + subname=name or snm=name + + The name will be + displayed at the beginning of all staves except for the + first. It can + contain sequences which will + force line breaks. If it contains whitespace it must be + double-quoted. + + + + merge + + The voice goes on the same staff as the previous + voice. + + + + up or down + + Forces the direction of the stems for the voice. + + + + dyn=up or dyn=down or dyn=auto + + Forces positioning of dynamic marks (above or + below the staff) or reverts to automatic positioning + (the default) + + + + gstem=up or gstem=down or gstem=auto + + Forces the direction of the stems of grace notes (always + up or always down) or reverts to automatic positioning + (the default) + + + + stem=auto + + Reverts to automatic positioning of note stems (up or + down) (the default) + + + + lyrics=up or lyrics=down or lyrics=auto + + Places lyrics above or below the staff or reverts to + automatic positioning (the default) + + + + staffscale=value + + Sets the scale of the associated staff up to 3. + (default: 1) + + + + All other definitions are ignored. + + By default, each voice goes on its own staff. The `%%staves + definition' + pseudo-comment can be used to control staff assignment. The + definition consists of voice names + (from V:) and pairs of parentheses, braces + or brackets. + + + When a voice name is not within a pair of special + characters, it goes on a separate staff. + + + For voice names enclosed in brackets, a bracket is + displayed at the beginning of each line that joins the + staves of the voices in question. + + + For voice names enclosed in braces, all the voices + go on two staves (keyboard score). There can be at most + four voices between a single pair of braces. + + + For voice names enclosed in parentheses, all the + voices appear on a single staff. + + + + + The `|' character prevents measure bars from + being drawn between two staves. + + If `%%staves' occurs in a tune, all the voices not mentioned + will not be output at all. + + + The <literal>%%score</literal> directive + The %%score directive occurs in the ABC + draft 2.0 standard and is similar to the %%staves + specification described earlier. The rules are: + + + Voice names within parentheses form a "voice group" + and go on a single staff. A voice name that is not + within parentheses forms its own voice group and goes on + a staff by itself. + + + Voice groups within braces form a "voice block" and + are preceded by a big brace in the output. This is + especially useful for keyboard music. + + + Voice groups or voice blocks within brackets form a + "voice block" and will be preceded by a big bracket in + the output. + + + If a `|' character occurs between + two voice groups or voice blocks, the bar lines in all + of the associated staves will be continuous. + + + A single voice surrounded by two voice groups can be + preceded by an asterisk to make it into a `floating' + voice. This means that, for each note of the voice, a + separate decision is made whether it is printed on the + preceding or the following voice group's staff. + + + Voices that appear in the tune body but not in + the %%score directive will not be + output at all. If there is no %%score + directive, each voice will be output on its own + staff. + + + A %%score directive inside a tune + resets the mechanism so voices can be removed or + added. + + + + + + Voice overlay + You can add notes to a staff without introducing a + complete extra voice by using the ampersand (&). + A single measure can be split into two voices like + +|F2A2Bc&F2c2bc| + + The (&...&...&) construction + allows splitting multiple measures: + +|!f!(&GG<G|GG F=E| E2 E(_D/E)|_D D C D |C4- |C +     &DC<C|CC_D C|=B,2_B,B, |_A,A,(G,/A,/)B,|F,4-|F,)zzD=E| + + A double ampersand (&&) will allow + overlaying more than two lines of music but this feature has + not yet been implemented. + + + + Lyrics + Aligned lyrics under a staff are written as a + w: line directly below the staff line. For + example: + +edc2 edc2| +w:Three blind mice, three blind mice + + Each word in the w: line (delimited by + blanks) is associated with one note, in sequence. The + following special symbols modify this behaviour: + + + * + Skips one note. + + + - + Splits a word into two syllables which are + associated with two adjacent notes. A `-' is drawn + between them. + + + + | + Advances to the next bar + line + + + ~ + Is output as a space, but unites two words + so they appear under a single note. + + + _ + Draws a thin underscore from the + previous note to the next. + + + + + To include more than one line of lyrics, use multiple + w: lines. To include hyphens without + splitting a word over multiple notes, use + \-. + + + If a word starts with a digit, this is interpreted as a stanza + number and outdented a bit to the left. + + + + Slurs and ties + The direction of slurs and ties may be controlled using + the (, and (', + and -, and -', constructions. + + + + Microtone pitches + Microtone pitches are indicated by a fraction after an + accidental, as in ^3/4c. When omitted, the + numerator defaultes to 1 and the denominator to 2 (so ^/c is the same as ^1/2c). The numerator and denominator + values may not exceed 256. There is built-in support for + quarter-tone accidentals (1/2 and 3/2 sharps and flats); + for other values, rendering functions must be defined using + %%postscript (see + features.txt). + + + EPS inclusion + EPS files may be included inside tunes using the + pseudo-comment `%%EPS file'. + + + + + + SEE ALSO + + The original documentation can be found in files + features.txt, + format.txt, and options.txt, + which on a Debian system are in + /usr/share/doc/abcm2ps. + + + AUTHOR + + This manual page was written by &dhusername; <&dhemail;> for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document as long + as its origin is not misrepresented. + + +
+ + + + --- abcm2ps-5.8.1.orig/debian/abcm2ps.manpages +++ abcm2ps-5.8.1/debian/abcm2ps.manpages @@ -0,0 +1 @@ +abcm2ps.1