version 1.332, 2019/12/11 18:44:05 |
version 1.333, 2020/01/19 18:02:00 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2014-2019 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 115 static int mdoc_ss_pre(MDOC_ARGS); |
|
Line 115 static int mdoc_ss_pre(MDOC_ARGS); |
|
static int mdoc_st_pre(MDOC_ARGS); |
static int mdoc_st_pre(MDOC_ARGS); |
static int mdoc_sx_pre(MDOC_ARGS); |
static int mdoc_sx_pre(MDOC_ARGS); |
static int mdoc_sy_pre(MDOC_ARGS); |
static int mdoc_sy_pre(MDOC_ARGS); |
|
static int mdoc_tg_pre(MDOC_ARGS); |
static int mdoc_va_pre(MDOC_ARGS); |
static int mdoc_va_pre(MDOC_ARGS); |
static int mdoc_vt_pre(MDOC_ARGS); |
static int mdoc_vt_pre(MDOC_ARGS); |
static int mdoc_xr_pre(MDOC_ARGS); |
static int mdoc_xr_pre(MDOC_ARGS); |
Line 241 static const struct mdoc_html_act mdoc_html_acts[MDOC_ |
|
Line 242 static const struct mdoc_html_act mdoc_html_acts[MDOC_ |
|
{mdoc__x_pre, mdoc__x_post}, /* %Q */ |
{mdoc__x_pre, mdoc__x_post}, /* %Q */ |
{mdoc__x_pre, mdoc__x_post}, /* %U */ |
{mdoc__x_pre, mdoc__x_post}, /* %U */ |
{NULL, NULL}, /* Ta */ |
{NULL, NULL}, /* Ta */ |
|
{mdoc_tg_pre, NULL}, /* Tg */ |
}; |
}; |
|
|
|
|
Line 718 mdoc_xr_pre(MDOC_ARGS) |
|
Line 720 mdoc_xr_pre(MDOC_ARGS) |
|
print_text(h, n->string); |
print_text(h, n->string); |
h->flags |= HTML_NOSPACE; |
h->flags |= HTML_NOSPACE; |
print_text(h, ")"); |
print_text(h, ")"); |
|
return 0; |
|
} |
|
|
|
static int |
|
mdoc_tg_pre(MDOC_ARGS) |
|
{ |
|
char *id; |
|
|
|
if ((id = html_make_id(n, 1)) != NULL) |
|
print_otag(h, TAG_MARK, "i", id); |
return 0; |
return 0; |
} |
} |
|
|