groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/05: tmac/unicode.tmac: Execute in compatibility mode.


From: G. Branden Robinson
Subject: [groff] 01/05: tmac/unicode.tmac: Execute in compatibility mode.
Date: Thu, 27 Jun 2019 13:38:38 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit d322f1951dcfc6ac7816fe8a654731041533443c
Author: G. Branden Robinson <address@hidden>
Date:   Fri Jun 28 01:37:44 2019 +1000

    tmac/unicode.tmac: Execute in compatibility mode.
    
    ...since the script uses a GNU extension (.char).
    
    Also update editor hints to Vim and (modern) Emacs.
---
 ChangeLog         |  5 +++++
 tmac/latin1.tmac  |  8 ++++++--
 tmac/unicode.tmac | 12 +++++++++---
 3 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8e7973b..be9d68f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-28  G. Branden Robinson <address@hidden>
+
+       * tmac/unicode.tmac: Execute in compatibility mode since the
+       script uses a GNU extension (.char).
+
 2019-06-27  G. Branden Robinson <address@hidden>
 
        libdriver: Fix SEGV (Savannah #56555).
diff --git a/tmac/latin1.tmac b/tmac/latin1.tmac
index a3bf14d..ad5ed66 100644
--- a/tmac/latin1.tmac
+++ b/tmac/latin1.tmac
@@ -1,5 +1,3 @@
-.\" -*- nroff -*-
-.\"
 .\" latin1.tmac
 .\"
 .nr _C \n(.C
@@ -107,3 +105,9 @@
 .trin \[char254]\[Tp]
 .trin \[char255]\[:y]
 .cp \n[_C]
+.\"
+.\" Local Variables:
+.\" mode: nroff
+.\" fill-column: 72
+.\" End:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/tmac/unicode.tmac b/tmac/unicode.tmac
index 89864a6..5bda095 100644
--- a/tmac/unicode.tmac
+++ b/tmac/unicode.tmac
@@ -1,8 +1,14 @@
-.\" -*- nroff -*-
-.\"
 .\" unicode.tmac
 .\"
+.nr _C \n(.C
+.cp 0
 .char - \[hy]
 .char ` \[oq]
 .char ' \[cq]
-.\" EOF
+.cp \n[_C]
+.\"
+.\" Local Variables:
+.\" mode: nroff
+.\" fill-column: 72
+.\" End:
+.\" vim: set filetype=groff textwidth=72:



reply via email to

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