diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-02 18:16:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-02 18:16:57 +0000 |
commit | 372ddb1f38b754bcfe45b662c5d35cfff9b32699 (patch) | |
tree | 71b0d1270bc9af57c0292ab59602556cb85ebbfd /mdoc_term.c | |
parent | 4990e7aa1240908bdb1c35d5ac3b6e87df72ecba (diff) | |
download | mandoc-372ddb1f38b754bcfe45b662c5d35cfff9b32699.tar.gz |
Let .Do .Dq .Ql .So .Sq generate the correct roff(7) character escape
sequences such that output modes like -Tutf8 have a chance to select
nice glyphs. This doesn't change anything for -Tascii, and, for now,
it doesn't affect -Tps and -Tpdf either.
OK matthew@ bentley@; like the idea tedu@; no opinion jmc@.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 7cfb567a..a9b41f15 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1925,7 +1925,7 @@ termp_quote_pre(DECL_ARGS) case (MDOC_Do): /* FALLTHROUGH */ case (MDOC_Dq): - term_word(p, "``"); + term_word(p, "\\(lq"); break; case (MDOC_Eo): break; @@ -1946,7 +1946,7 @@ termp_quote_pre(DECL_ARGS) case (MDOC_So): /* FALLTHROUGH */ case (MDOC_Sq): - term_word(p, "`"); + term_word(p, "\\(oq"); break; default: abort(); @@ -1991,7 +1991,7 @@ termp_quote_post(DECL_ARGS) case (MDOC_Do): /* FALLTHROUGH */ case (MDOC_Dq): - term_word(p, "''"); + term_word(p, "\\(rq"); break; case (MDOC_Eo): break; @@ -2012,7 +2012,7 @@ termp_quote_post(DECL_ARGS) case (MDOC_So): /* FALLTHROUGH */ case (MDOC_Sq): - term_word(p, "'"); + term_word(p, "\\(cq"); break; default: abort(); |