groff-commit
[Top][All Lists]
Advanced

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

[groff] 03/09: tmac/an-old.tmac: Stop remapping ` and '.


From: G. Branden Robinson
Subject: [groff] 03/09: tmac/an-old.tmac: Stop remapping ` and '.
Date: Wed, 21 Oct 2020 02:44:44 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 697e6db7fcacd403f5dde682002d02caa52e48df
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Oct 19 04:40:31 2020 +1100

    tmac/an-old.tmac: Stop remapping ` and '.
    
    Our own pages now appear to be clear of wrong-quote problems, so let's
    make them visible if they recur.  Those who don't want to fix bad man
    pages (distributors, site admins) can restore the mappings in their
    man.local files.
---
 ChangeLog        | 22 ++++++++++++++++------
 tmac/an-old.tmac |  8 ++------
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a055295..873faf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2020-10-18  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * tmac/an-old.tmac: Stop remapping ` and '.  Our own pages now
+       appear to be clear of wrong-quote problems, so let's make them
+       visible if they recur.  Those who don't want to fix bad man
+       pages (distributors, site admins) can restore the mappings in
+       their man.local files.
+
+2020-10-18  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * tmac/an-old.tmac (an-warn): New; emits warning diagnostic.
        (R): Use new macro instead of .tm* requests directly.
 
@@ -25,9 +33,11 @@
 
        hpftodit: incorrect 'delete' after new[]
 
-       * src/utils/hpftodit/hpftodit.cpp (output_font_name): use 'delete[]'.
+       * src/utils/hpftodit/hpftodit.cpp (output_font_name): use
+       'delete[]'.
 
-       Fixes bug #55331. Found by David Binderman, fixed by Ingo Schwarze.
+       Fixes bug #55331. Found by David Binderman, fixed by Ingo
+       Schwarze.
 
 2020-10-18  Bertrand Garrigues <bertrand.garrigues@laposte.net>
 
@@ -36,10 +46,10 @@
        * src/preproc/preconv/preconv.cpp (do_file): don't call
        detect_file_encoding if input file is "-"
 
-       This fixes the failure on MS-Windows described #55334, however this
-       does not fix the encoding detection with uchardet if the input is
-       stdin (the user would have to pass with -D the correct encoding as
-       explained in the man page).
+       This fixes the failure on MS-Windows described #55334, however
+       this does not fix the encoding detection with uchardet if the
+       input is stdin (the user would have to pass with -D the correct
+       encoding as explained in the man page).
 
 2020-10-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 0d2ae2e..5428713 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -634,16 +634,12 @@
 .ie c\[rq] .ds rq \(rq\"
 .el        .ds rq ""\"
 .
-.\" For UTF-8, map some characters conservatively for the sake
-.\" of easy cut and paste.
+.\" For UTF-8, map the hyphen-minus to itself to facilitate copy and
+.\" paste of code examples, file names, and URLs embedding it.
 .
 .if '\*[.T]'utf8' \{\
-.  rchar \- - ' `
-.
 .  char \- \N'45'
 .  char  - \N'45'
-.  char  ' \N'39'
-.  char  ` \N'96'
 .\}
 .
 .\" Load man macro extensions.



reply via email to

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