diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-17 19:15:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-17 19:15:41 +0000 |
commit | 3f281dc275671e5aacae67a4e15dab02de264e7b (patch) | |
tree | c09089e710c40a5c67e159d57e3bd57dd20a05b8 /mdoc_man.c | |
parent | 1dcbde3e1a6941a3253b1fbda8cbb0c765636066 (diff) | |
download | mandoc-3f281dc275671e5aacae67a4e15dab02de264e7b.tar.gz mandoc-3f281dc275671e5aacae67a4e15dab02de264e7b.tar.zst mandoc-3f281dc275671e5aacae67a4e15dab02de264e7b.zip |
Use typographic quotes rather than '"' for .Rs %T (no change for -Tascii
output, of course). Patch from bentley@ in November 2014. This can be
committed now because groff merged Anthony's patch yesterday.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r-- | mdoc_man.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.103 2017/02/16 03:00:23 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.104 2017/02/17 19:15:41 schwarze Exp $ */ /* * Copyright (c) 2011-2017 Ingo Schwarze <schwarze@openbsd.org> * @@ -717,8 +717,7 @@ pre__t(DECL_ARGS) if (n->parent && MDOC_Rs == n->parent->tok && n->parent->norm->Rs.quote_T) { - print_word(""); - putchar('\"'); + print_word("\\(lq"); outflags &= ~MMAN_spc; } else font_push('I'); @@ -732,8 +731,7 @@ post__t(DECL_ARGS) if (n->parent && MDOC_Rs == n->parent->tok && n->parent->norm->Rs.quote_T) { outflags &= ~MMAN_spc; - print_word(""); - putchar('\"'); + print_word("\\(rq"); } else font_pop(); post_percent(meta, n); |