Module Name: src Committed By: joerg Date: Sun Apr 12 17:56:35 UTC 2009
Modified Files: src/distrib/sets/lists/text: mi src/gnu/dist/groff/tmac: tty.tmac src/gnu/usr.bin/groff/tmac: Makefile Added Files: src/gnu/dist/groff/tmac: ascii.tmac Log Message: 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@ To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/distrib/sets/lists/text/mi cvs rdiff -u -r0 -r1.1 src/gnu/dist/groff/tmac/ascii.tmac cvs rdiff -u -r1.1.1.2 -r1.2 src/gnu/dist/groff/tmac/tty.tmac cvs rdiff -u -r1.24 -r1.25 src/gnu/usr.bin/groff/tmac/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/text/mi diff -u src/distrib/sets/lists/text/mi:1.31 src/distrib/sets/lists/text/mi:1.32 --- src/distrib/sets/lists/text/mi:1.31 Fri Aug 29 06:08:40 2008 +++ src/distrib/sets/lists/text/mi Sun Apr 12 17:56:35 2009 @@ -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 Index: src/gnu/dist/groff/tmac/tty.tmac diff -u src/gnu/dist/groff/tmac/tty.tmac:1.1.1.2 src/gnu/dist/groff/tmac/tty.tmac:1.2 --- src/gnu/dist/groff/tmac/tty.tmac:1.1.1.2 Mon Feb 6 18:15:17 2006 +++ src/gnu/dist/groff/tmac/tty.tmac Sun Apr 12 17:56:35 2009 @@ -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 Index: src/gnu/usr.bin/groff/tmac/Makefile diff -u src/gnu/usr.bin/groff/tmac/Makefile:1.24 src/gnu/usr.bin/groff/tmac/Makefile:1.25 --- src/gnu/usr.bin/groff/tmac/Makefile:1.24 Sat Oct 25 22:27:35 2008 +++ src/gnu/usr.bin/groff/tmac/Makefile Sun Apr 12 17:56:35 2009 @@ -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 @@ 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 \ Added files: Index: src/gnu/dist/groff/tmac/ascii.tmac diff -u /dev/null src/gnu/dist/groff/tmac/ascii.tmac:1.1 --- /dev/null Sun Apr 12 17:56:35 2009 +++ src/gnu/dist/groff/tmac/ascii.tmac Sun Apr 12 17:56:35 2009 @@ -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