-/* $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>
*
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');
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);
-/* $Id: mdoc_term.c,v 1.345 2017/02/16 14:38:12 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.346 2017/02/17 19:15:41 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012-2017 Ingo Schwarze <schwarze@openbsd.org>
case MDOC_Bq:
term_word(p, "[");
break;
+ case MDOC__T:
+ /* FALLTHROUGH */
case MDOC_Do:
case MDOC_Dq:
term_word(p, "\\(Lq");
case MDOC_Pq:
term_word(p, "(");
break;
- case MDOC__T:
case MDOC_Qo:
case MDOC_Qq:
term_word(p, "\"");
case MDOC_Bq:
term_word(p, "]");
break;
+ case MDOC__T:
+ /* FALLTHROUGH */
case MDOC_Do:
case MDOC_Dq:
term_word(p, "\\(Rq");
case MDOC_Pq:
term_word(p, ")");
break;
- case MDOC__T:
case MDOC_Qo:
case MDOC_Qq:
term_word(p, "\"");
# $OpenBSD: Makefile,v 1.7 2015/02/04 18:03:28 schwarze Exp $
REGRESS_TARGETS = allch args break empty three_authors
+UTF8_TARGETS = allch break empty three_authors
LINT_TARGETS = allch args empty
# groff-1.22.3 defect:
--- /dev/null
+RS-ALLCH(1) General Commands Manual RS-ALLCH(1)
+
+N\bNA\bAM\bME\bE
+ R\bRs\bs-\b-a\bal\bll\blc\bch\bh – reference block using all supported child macros
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ reference on the same line: some _\bb_\bo_\bg_\bu_\bs text author name, “title of
+ article”, _\bb_\bo_\bo_\bk _\bt_\bi_\bt_\bl_\be, _\bi_\bs_\bs_\bu_\be_\br _\bn_\ba_\bm_\be, _\bj_\bo_\bu_\br_\bn_\ba_\bl _\bn_\ba_\bm_\be, report name, number of
+ journal, volume number, uniform resource locator, page number,
+ institutional author, city name, date of publication, optional
+ information.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+ reference after a blank line:
+
+ some _\bb_\bo_\bg_\bu_\bs text author name, “title of article”, _\bb_\bo_\bo_\bk _\bt_\bi_\bt_\bl_\be, _\bi_\bs_\bs_\bu_\be_\br _\bn_\ba_\bm_\be,
+ _\bj_\bo_\bu_\br_\bn_\ba_\bl _\bn_\ba_\bm_\be, report name, number of journal, volume number, uniform
+ resource locator, page number, institutional author, city name, date of
+ publication, optional information.
+
+OpenBSD July 7, 2014 OpenBSD
--- /dev/null
+RS-BREAK(1) General Commands Manual RS-BREAK(1)
+
+N\bNA\bAM\bME\bE
+ R\bRs\bs-\b-b\bbr\bre\bea\bak\bk – line break before reference start
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ reference on the same line: author, _\bj_\bo_\bu_\br_\bn_\ba_\bl, 42.
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+ reference after a blank line:
+
+ author, _\bj_\bo_\bu_\br_\bn_\ba_\bl, 42.
+
+S\bSE\bEE\bE _\bA_\bL_\bS_\bO
+ reference after a blank line:
+
+ author, _\bj_\bo_\bu_\br_\bn_\ba_\bl, 42.
+
+OpenBSD April 15, 2014 OpenBSD
--- /dev/null
+RS-EMPTY(1) General Commands Manual RS-EMPTY(1)
+
+N\bNA\bAM\bME\bE
+ R\bRs\bs-\b-e\bem\bmp\bpt\bty\by – empty reference blocks
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ initial text final text
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+ initial text
+
+ final text
+
+OpenBSD February 4, 2015 OpenBSD
--- /dev/null
+RS-THREE_AUTHORS(1) General Commands Manual RS-THREE_AUTHORS(1)
+
+N\bNA\bAM\bME\bE
+ R\bRs\bs-\b-t\bth\bhr\bre\bee\be_\b_a\bau\but\bth\bho\bor\brs\bs – listing three authors in a reference block
+
+A\bAU\bUT\bTH\bHO\bOR\bRS\bS
+ kristaps, joerg, and ingo, _\bm_\ba_\bn_\bd_\bo_\bc.
+
+OpenBSD May 1, 2009 OpenBSD