mdoc_term.c revision 698f87a48e2e945bfe5493ce168e0d0ae1cedd5c
2N/A/* $Id: mdoc_term.c,v 1.258 2013/12/25 21:24:12 schwarze Exp $ */
2N/A#ifdef HAVE_CONFIG_H
2N/A term_newln(p);
2N/A term_vspace(p);
2N/A term_flushln(p);
2N/A term_flushln(p);
2N/A p->trailspace = 0;
2N/A term_flushln(p);
2N/A (p->maxrmargin -
2N/A term_flushln(p);
2N/A term_flushln(p);
2N/A p->trailspace = 0;
2N/A term_flushln(p);
2N/A term_newln(p);
2N/A term_vspace(p);
2N/A case (LIST_column):
2N/A case (LIST_bullet):
2N/A case (LIST_hyphen):
2N/A case (LIST_column):
2N/A case (LIST_inset):
2N/A case (LIST_bullet):
2N/A case (LIST_hyphen):
2N/A case (LIST_column):
2N/A p->trailspace = 0;
2N/A case (LIST_bullet):
2N/A case (LIST_hyphen):
2N/A case (LIST_column):
2N/A case (LIST_bullet):
2N/A term_fontpop(p);
2N/A case (LIST_hyphen):
2N/A term_fontpop(p);
2N/A case (LIST_bullet):
2N/A case (LIST_hyphen):
2N/A case (LIST_column):
2N/A case (LIST_inset):
2N/A term_newln(p);
2N/A case (LIST_column):
2N/A term_flushln(p);
2N/A term_newln(p);
2N/A p->trailspace = 0;
2N/A term_flushln(p);
2N/A p->trailspace = 0;
2N/A term_flushln(p);
2N/A term_newln(p);
2N/A term_newln(p);
2N/A term_newln(p);
2N/A term_vspace(p);
2N/A term_newln(p);
2N/A term_fontpop(p);
2N/A term_fontpop(p);
2N/A term_newln(p);
2N/A term_fontpop(p);
2N/A term_newln(p);
2N/A term_newln(p);
2N/A term_vspace(p);
2N/A term_vspace(p);
2N/A term_newln(p);
2N/A synopsis_pre(p, n);
2N/A synopsis_pre(p, n);
2N/A synopsis_pre(p, n);
2N/A term_newln(p);
2N/A case (MDOC_BLOCK):
2N/A term_vspace(p);
switch (n->type) {
case (MDOC_HEAD):
term_newln(p);
case (MDOC_BODY):
term_newln(p);
p->offset = 0;
term_newln(p);
term_newln(p);
synopsis_pre(p, n);
int pretty;
synopsis_pre(p, n);
if (pretty) {
term_fontpop(p);
if (pretty) {
term_flushln(p);
if (pretty)
term_fontpop(p);
if (n->next) {
if (pretty) {
term_flushln(p);
term_fontpop(p);
print_bvspace(p, n, n);
case (MDOC_Sm):
case (MDOC_br):
case (MDOC_sp):
case (MDOC_Bl):
case (MDOC_D1):
case (MDOC_Dl):
case (MDOC_Lp):
case (MDOC_Pp):
term_flushln(p);
term_newln(p);
const char *pp;
int flags;
switch (n->tok) {
case (MDOC_Bsx):
case (MDOC_Dx):
case (MDOC_Fx):
case (MDOC_Nx):
case (MDOC_Ox):
case (MDOC_Ux):
abort();
if (n->child) {
switch (n->type) {
case (MDOC_BLOCK):
term_newln(p);
if (n->prev)
term_vspace(p);
case (MDOC_HEAD):
term_newln(p);
synopsis_pre(p, n);
synopsis_pre(p, n);
term_fontpop(p);
switch (n->tok) {
case (MDOC_sp):
case (MDOC_br):
len = 0;
if (0 == len)
term_newln(p);
for (i = 0; i < len; i++)
term_vspace(p);
switch (n->tok) {
case (MDOC_Ao):
case (MDOC_Aq):
case (MDOC_Bro):
case (MDOC_Brq):
case (MDOC_Oo):
case (MDOC_Op):
case (MDOC_Bo):
case (MDOC_Bq):
case (MDOC_Do):
case (MDOC_Dq):
case (MDOC_Eo):
case (MDOC_Po):
case (MDOC_Pq):
case (MDOC__T):
case (MDOC_Qo):
case (MDOC_Qq):
case (MDOC_Ql):
case (MDOC_So):
case (MDOC_Sq):
abort();
switch (n->tok) {
case (MDOC_Ao):
case (MDOC_Aq):
case (MDOC_Bro):
case (MDOC_Brq):
case (MDOC_Oo):
case (MDOC_Op):
case (MDOC_Bo):
case (MDOC_Bq):
case (MDOC_Do):
case (MDOC_Dq):
case (MDOC_Eo):
case (MDOC_Po):
case (MDOC_Pq):
case (MDOC__T):
case (MDOC_Qo):
case (MDOC_Qq):
case (MDOC_Ql):
case (MDOC_So):
case (MDOC_Sq):
abort();
int pretty;
synopsis_pre(p, n);
if (pretty) {
if (pretty) {
term_flushln(p);
term_flushln(p);
if (p->col)
term_fontpop(p);
term_fontpop(p);
switch (n->type) {
case (MDOC_BLOCK):
case (MDOC_HEAD):
case (MDOC_BODY):
abort();