head	1.3;
access;
symbols
	groff-1_20_1_real:1.3
	groff-1_20_1:1.3
	groff-1_20:1.3
	groff-1_19_2:1.3
	FDL:1.2
	groff-1_19_1:1.2
	groff-1_19:1.2
	groff-1_18_1:1.2
	groff-1_18:1.2
	groff-1_17_2:1.2
	groff-1_17_1:1.2
	groff-1_17a:1.2
	groff-1_17:1.2
	groff-1_16_1b:1.2
	groff-1_16_1a:1.2
	groff-1_16_1:1.2
	groff-1_16:1.2
	groff-20000311:1.1.1.1
	groff-20000310-1:1.1.1.1
	groff-20000310:1.1.1.1
	pre-1_16:1.1.1.1
	start:1.1.1.1
	wlemb:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2005.05.18.07.03.07;	author wl;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.22.20.46.24;	author wlemb;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.06.09.36.20;	author wlemb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.02.06.09.36.20;	author wlemb;	state Exp;
branches;
next	;


desc
@@


1.3
log
@

Miscellaneous script portability enhancements.

* aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
generated conftest.sh script, conforming to portability
recommendation in autoconf docs.
* configure: Likewise, for code generated by GROFF_CSH_HACK.
* contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
to portability recommendation in autoconf docs.
* contrib/gdiffmk/gdiffmk.sh: Likewise.
* contrib/gdiffmk/tests/runtests.in: Likewise.
* contrib/grap2graph/grap2graph.sh: Likewise.
* contrib/groffer/groffer.sh: Likewise.
* contrib/mm/mmroff.pl: Likewise.
* contrib/mom/momdoc/appendices.html: Likewise.
* contrib/pic2graph/pic2graph.sh: Likewise.
* font/devps/generate/afmname: Likewise.
* src/devices/xditview/ad2c: Likewise.
* src/preproc/eqn/neqn.sh: Likewise.
* src/roff/grog/grog.pl: Likewise.
* src/roff/grog/grog.sh: Likewise.
* src/roff/nroff/nroff.sh: Likewise.
* PROBLEMS: Likewise, in embedded script examples.


Improve portability of `pdfroff' shell script.

* arch/misc/shdeps.sh: Add space in shebang, conforming to
portability guidelines in `autoconf' docs.
(PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
initialization code.  Used by contrib/pdfmark/pdfroff.sh's
`searchpath' function.
@
text
@#! /bin/sh
# Fix the path name of an AFM file.
if test -f "$1"
then
	echo "$1"
else
	echo `dirname $1`/`basename $1 .afm | awk '
/^AvantGarde-Book$/ { print "avangbk" }
/^AvantGarde-BookOblique$/ { print "avangbko" }
/^AvantGarde-Demi$/ { print "avangd" }
/^AvantGarde-DemiOblique$/ { print "avangdo" }
/^Bookman-Demi$/ { print "bookmd" }
/^Bookman-DemiItalic$/ { print "bookmdi" }
/^Bookman-Light$/ { print "bookml" }
/^Bookman-LightItalic$/ { print "bookmli" }
/^Courier$/ { print "couri" }
/^Courier-Bold$/ { print "courib" }
/^Courier-BoldOblique$/ { print "couribo" }
/^Courier-Oblique$/ { print "courio" }
/^Helvetica$/ { print "helve" }
/^Helvetica-Bold$/ { print "helveb" }
/^Helvetica-BoldOblique$/ { print "helvebo" }
/^Helvetica-Narrow$/ { print "helven" }
/^Helvetica-Narrow-Bold$/ { print "helvenb" }
/^Helvetica-Narrow-BoldOblique$/ { print "helvenbo" }
/^Helvetica-Narrow-Oblique$/ { print "helveno" }
/^Helvetica-Oblique$/ { print "helveo" }
/^NewCenturySchlbk-Bold$/ { print "newcsb" }
/^NewCenturySchlbk-BoldItalic$/ { print "newcsbi" }
/^NewCenturySchlbk-Italic$/ { print "newcsi" }
/^NewCenturySchlbk-Roman$/ { print "newcsr" }
/^Palatino-Bold$/ { print "palatb" }
/^Palatino-BoldItalic$/ { print "palatbi" }
/^Palatino-Italic$/ { print "palati" }
/^Palatino-Roman$/ { print "palatr" }
/^Symbol$/ { print "symbol" }
/^Times-Bold$/ { print "timesb" }
/^Times-BoldItalic$/ { print "timesbi" }
/^Times-Italic$/ { print "timesi" }
/^Times-Roman$/ { print "timesr" }
/^ZapfChancery-MediumItalic$/ { print "zapfcmi" }
/^ZapfDingbats$/ { print "zapfd" }
' `.afm
fi
@


1.2
log
@* doc/Makefile: Added rule for creating info files.

* font/devdvi/*: Added kernings for `cq' glyph.  Updated to latest
AMS font metrics.
* font/devdvi/generate/Makefile: Fixed dependencies.

* font/devps/*: Regenerated.  Heavy changes for Bookman and
NewCentury Schoolbook!
* font/devps/generate/afmname: Will now run with GNU awk.
* font/devps/generate/textmap: Added forgotten `cq' glyph name.
* font/devps/generate/Makefile: Cosmetic changes only.
@
text
@d1 1
a1 1
#!/bin/sh
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
	echo `dirname $1`/`basename $1 .afm | awk -e '
@


1.1.1.1
log
@groff pre-1.16 with new directory structure
@
text
@@
