[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] [patch] Typographic quotes in -mdoc %T
From: |
Anthony J. Bentley |
Subject: |
[Groff] [patch] Typographic quotes in -mdoc %T |
Date: |
Wed, 05 Nov 2014 23:07:08 -0700 |
Hi,
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.
http://comments.gmane.org/gmane.comp.tools.mdocml.devel/723
https://github.com/n-t-roff/heirloom-doctools/pull/6
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 80c6b88..ee25144 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -5296,7 +5296,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 \{\
- [Groff] [patch] Typographic quotes in -mdoc %T,
Anthony J. Bentley <=
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Carsten Kunze, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Carsten Kunze, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Tadziu Hoffmann, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Keith Marshall, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Anthony J. Bentley, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Werner LEMBERG, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Keith Marshall, 2014/11/06
- Re: [Groff] [patch] Typographic quotes in -mdoc %T, Ralph Corderoy, 2014/11/06