groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff ChangeLog tmac/Makefile.sub tmac/fallback...


From: Werner LEMBERG
Subject: [Groff-commit] groff ChangeLog tmac/Makefile.sub tmac/fallback...
Date: Thu, 24 May 2012 06:36:16 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     12/05/24 06:36:15

Modified files:
        .              : ChangeLog 
        tmac           : Makefile.sub 
Added files:
        tmac           : fallbacks.tmac 

Log message:
        Add some generic fallback characters.
        
        * tmac/fallbacks.tmac: New file.
        * tmac/troffrc: Include it.
        * tmac/Makefile.sub (NORMALFILES): Include it.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1333&r2=1.1334
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/Makefile.sub?cvsroot=groff&r1=1.51&r2=1.52
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/fallbacks.tmac?cvsroot=groff&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1333
retrieving revision 1.1334
diff -u -b -r1.1333 -r1.1334
--- ChangeLog   20 May 2012 13:58:09 -0000      1.1333
+++ ChangeLog   24 May 2012 06:36:15 -0000      1.1334
@@ -1,3 +1,11 @@
+2012-05-24  Ivan Shmakov  <address@hidden>
+
+       Add some generic fallback characters.
+
+       * tmac/fallbacks.tmac: New file.
+       * tmac/troffrc: Include it.
+       * tmac/Makefile.sub (NORMALFILES): Include it.
+
 2012-05-20  Deri James  <address@hidden>
 
        * doc/groff.texinfo: Add extra info about `.asciify'.

Index: tmac/Makefile.sub
===================================================================
RCS file: /cvsroot/groff/groff/tmac/Makefile.sub,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- tmac/Makefile.sub   26 Jul 2011 17:11:12 -0000      1.51
+++ tmac/Makefile.sub   24 May 2012 06:36:15 -0000      1.52
@@ -1,4 +1,4 @@
-# Copyright (C) 1989-2007, 2009-2011
+# Copyright (C) 1989-2007, 2009-2012
 #   Free Software Foundation, Inc.
 #      Written by James Clark (address@hidden)
 # 
@@ -48,7 +48,7 @@
   html.tmac html-end.tmac \
   devtag.tmac \
   europs.tmac \
-  composite.tmac \
+  composite.tmac fallbacks.tmac \
   eqnrc \
   refer.tmac refer-me.tmac refer-ms.tmac \
   troffrc troffrc-end \

Index: tmac/fallbacks.tmac
===================================================================
RCS file: tmac/fallbacks.tmac
diff -N tmac/fallbacks.tmac
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ tmac/fallbacks.tmac 24 May 2012 06:36:15 -0000      1.1
@@ -0,0 +1,61 @@
+.\" fallbacks.tmac
+.\"
+.\" This file contains generic fallback characters.
+.
+.
+.\" fall back to GREEK CAPITAL LETTER DELTA for INCREMENT
+.fchar \[u2206] \[u0394]
+.
+.
+.\" NB: as per http://unicode.org/Public/UNIDATA/NamesList.txt
+.\"
+.\" #!/usr/bin/perl
+.\" ## Ivan Shmakov, 2012.
+.\" ## This code is in the public-domain.
+.\" my $u;
+.\" while (<>) {
+.\"   $u = oct ("0x" . $1)
+.\"       if (/^([[:xdigit:]]{4})/);
+.\"   next unless (defined ($u) && $u >= 0x2160 && $u <= 0x217F);
+.\"   if (/^\s+#\s+([[:xdigit:][:blank:]]+)(\s.*)?$/) {
+.\"     ## NB: may make sense to map to \[uXXXX]'s instead
+.\"     printf (".fchar \\[u%04x] %s\n", $u,
+.\"             pack ("U*", map { oct ("0x" . $_); } split (/ /, $1)));
+.\"     $u = undef;
+.\"   }
+.\" }
+.
+.fchar \[u2160] I
+.fchar \[u2161] II
+.fchar \[u2162] III
+.fchar \[u2163] IV
+.fchar \[u2164] V
+.fchar \[u2165] VI
+.fchar \[u2166] VII
+.fchar \[u2167] VIII
+.fchar \[u2168] IX
+.fchar \[u2169] X
+.fchar \[u216a] XI
+.fchar \[u216b] XII
+.fchar \[u216c] L
+.fchar \[u216d] C
+.fchar \[u216e] D
+.fchar \[u216f] M
+.fchar \[u2170] i
+.fchar \[u2171] ii
+.fchar \[u2172] iii
+.fchar \[u2173] iv
+.fchar \[u2174] v
+.fchar \[u2175] vi
+.fchar \[u2176] vii
+.fchar \[u2177] viii
+.fchar \[u2178] ix
+.fchar \[u2179] x
+.fchar \[u217a] xi
+.fchar \[u217b] xii
+.fchar \[u217c] l
+.fchar \[u217d] c
+.fchar \[u217e] d
+.fchar \[u217f] m
+.
+.\" EOF



reply via email to

[Prev in Thread] Current Thread [Next in Thread]