[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: mdoc %T: use typographic quotes
From: |
Carsten Kunze |
Subject: |
[groff] 01/01: mdoc %T: use typographic quotes |
Date: |
Thu, 16 Feb 2017 17:11:06 -0500 (EST) |
carstenkunze pushed a commit to branch master
in repository groff.
commit a0fb862e7a12a28c05936c7e1d7a8fbf09a2fdec
Author: Ingo Schwarze <address@hidden>
Date: Thu Feb 16 23:09:43 2017 +0100
mdoc %T: use typographic quotes
See https://savannah.gnu.org/bugs/?43553
---
ChangeLog | 23 +++++++++++++++++++++++
tmac/doc.tmac-u | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index eaaf03f..e0263e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,28 @@
2017-02-16 Ingo Schwarze <address@hidden>
+ mdoc %T: use typographic quotes
+
+ * tmac/doc.tmac-u: Changed \*[q] to \*[Lq] and \*[Rq]
+
+ Citing Anthony J. Bentley:
+
+ The below patch causes -mdoc to generate typographic quotes
+ around a %T (reference title) instead of straight quotes.
+
+ I also submitted similar diffs to mandoc and heirloom troff
+ (which haven't been committed yet). It would be nice for
+ the major implementations not to differ here, and the change
+ is trivial.
+
+ It's worth noting that groff's refer(1) already uses typographic
+ quotes around %T with my -ms documents.
+
+ https://savannah.gnu.org/bugs/?43553
+ http://comments.gmane.org/gmane.comp.tools.mdocml.devel/723
+ https://github.com/n-t-roff/heirloom-doctools/pull/6
+
+2017-02-16 Ingo Schwarze <address@hidden>
+
mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq] for all terminal
devices
diff --git a/tmac/doc.tmac-u b/tmac/doc.tmac-u
index 93d5248..8f9f90f 100644
--- a/tmac/doc.tmac-u
+++ b/tmac/doc.tmac-u
@@ -5245,7 +5245,7 @@
. unformat doc-reference-title-name-for-book
. chop doc-reference-title-name-for-book
. ie ((\n[doc-journal-count] == 1) : (\n[doc-book-count] == 1)) \{\
-. nop \)\*[q]\)\*[doc-reference-title-name-for-book]\)\*[q]\c
+. nop \)\*[Lq]\)\*[doc-reference-title-name-for-book]\)\*[Rq]\c
. doc-finish-reference \n[doc-reference-title-count]
. \}
. el \{\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: mdoc %T: use typographic quotes,
Carsten Kunze <=