[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq]
From: |
Carsten Kunze |
Subject: |
[groff] 01/01: mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq] |
Date: |
Thu, 16 Feb 2017 17:00:59 -0500 (EST) |
carstenkunze pushed a commit to branch master
in repository groff.
commit e553d384d06318fcbd5944a7167659681fd06e0f
Author: Ingo Schwarze <address@hidden>
Date: Thu Feb 16 22:58:53 2017 +0100
mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq]
Map these strings equally for all terminal devices.
See https://savannah.gnu.org/bugs/?43554
---
ChangeLog | 21 +++++++++++++++++++++
tmac/doc-nroff-u | 6 ++----
2 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 86c05cf..eaaf03f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2017-02-16 Ingo Schwarze <address@hidden>
+
+ mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq] for all terminal
+ devices
+
+ * tmac/doc-nroff-u: .ds Lq \[lq], .ds Rq \[rq]
+
+ If you use \[lq] and \[rq] directly in your document, the
+ quotes already render nicely for all terminal devices:
+ as U+201C and U+201D for devutf8 and as ASCII 0x22 (") for
+ devascii and devlatin1.
+ So it is not quite clear why doc-nroff should avoid
+ \[lq] and \[rq] when resolving \[Lq] and \[Rq] for devascii
+ and devlatin1. Quite to the contrary, many people seem to
+ consider "``" and "''" ugly renderings because they look
+ unbalanced.
+
+ See
+
+ https://savannah.gnu.org/bugs/?43554
+
2017-02-16 Bjarni Ingi Gislason <address@hidden>
Use the traditional (portable) method of using a backslash
diff --git a/tmac/doc-nroff-u b/tmac/doc-nroff-u
index 8f5e0ca..3134cba 100644
--- a/tmac/doc-nroff-u
+++ b/tmac/doc-nroff-u
@@ -148,6 +148,8 @@
.ds aa \[aa]
.ds ga \[ga]
.ds q \[dq]
+.ds Lq \[lq]
+.ds Rq \[rq]
.ds Ne \[!=]
.ds Le \[<=]
.ds Ge \[>=]
@@ -162,15 +164,11 @@
.\" character representations which are different from GNU troff's standard
.\" forms.
.ie '\*[.T]'utf8' \{\
-. ds Rq \[rq]
-. ds Lq \[lq]
. ds ua \[ua]
. ds Pi \[*p]
. ds If \[if]
.\}
.el \{\
-. ds Rq ''
-. ds Lq ``
. ds ua ^
. ds Pi pi
. ds If infinity
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq],
Carsten Kunze <=