Install some default transliterations for man pages. If nroff is used

with ASCII as output, encode the German umlaut and szet characters with
the normal transliteration rules.

OK wiz@
This commit is contained in:
joerg 2009-04-12 17:56:35 +00:00
parent c7ad9a2170
commit ae707ac197
4 changed files with 15 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.31 2008/08/29 06:08:40 lukem Exp $
# $NetBSD: mi,v 1.32 2009/04/12 17:56:35 joerg Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -602,6 +602,7 @@
./usr/share/tmac/an-old.tmac text-groff-share share
./usr/share/tmac/an.tmac text-groff-share share
./usr/share/tmac/andoc.tmac text-groff-share share
./usr/share/tmac/ascii.tmac text-groff-share share
./usr/share/tmac/composite.tmac text-groff-share share
./usr/share/tmac/cp1047.tmac text-groff-share share
./usr/share/tmac/devtag.tmac text-groff-share share

8
gnu/dist/groff/tmac/ascii.tmac vendored Normal file
View File

@ -0,0 +1,8 @@
.\" Transliterate non-ASCII characters for use in man pages etc.
.fchar \(:a ae
.fchar \(:o oe
.fchar \(:u ue
.fchar \(:A Ae
.fchar \(:O Oe
.fchar \(:U Ue
.fchar \(ss ss

View File

@ -83,7 +83,9 @@
.ie '\*(.T'cp1047' \
. do mso cp1047.tmac
.el \
. if !'\*(.T'ascii' \
. if '\*(.T'ascii' \
. do mso ascii.tmac
. el \
. do mso latin1.tmac
.
.\" If you want the character definitions in tty-char.tmac to be loaded

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2008/10/25 22:27:35 apb Exp $
# $NetBSD: Makefile,v 1.25 2009/04/12 17:56:35 joerg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/tmac/Makefile,v 1.41 2003/05/01 13:22:21 ru Exp $
@ -26,7 +26,7 @@ NORMALFILES= mandoc.tmac andoc.tmac an-old.tmac \
ps.tmac psold.tmac pspic.tmac psatk.tmac \
dvi.tmac \
tty.tmac tty-char.tmac \
latin1.tmac latin2.tmac latin9.tmac cp1047.tmac \
latin1.tmac latin2.tmac latin9.tmac cp1047.tmac ascii.tmac \
unicode.tmac \
X.tmac Xps.tmac \
lj4.tmac \