version 1.7, 2017/06/06 15:01:04 |
version 1.11, 2017/06/24 14:38:33 |
|
|
#include <assert.h> |
#include <assert.h> |
#include <stddef.h> |
#include <stddef.h> |
|
|
|
#include "mandoc.h" |
#include "roff.h" |
#include "roff.h" |
#include "out.h" |
#include "out.h" |
#include "html.h" |
#include "html.h" |
Line 38 static const roff_html_pre_fp roff_html_pre_acts[ROFF_ |
|
Line 39 static const roff_html_pre_fp roff_html_pre_acts[ROFF_ |
|
NULL, /* ft */ |
NULL, /* ft */ |
NULL, /* ll */ |
NULL, /* ll */ |
NULL, /* mc */ |
NULL, /* mc */ |
|
NULL, /* po */ |
|
roff_html_pre_ce, /* rj */ |
roff_html_pre_sp, /* sp */ |
roff_html_pre_sp, /* sp */ |
NULL, /* ta */ |
NULL, /* ta */ |
NULL, /* ti */ |
NULL, /* ti */ |
Line 83 roff_html_pre_sp(ROFF_HTML_ARGS) |
|
Line 86 roff_html_pre_sp(ROFF_HTML_ARGS) |
|
|
|
SCALE_VS_INIT(&su, 1); |
SCALE_VS_INIT(&su, 1); |
if ((n = n->child) != NULL) { |
if ((n = n->child) != NULL) { |
if (a2roffsu(n->string, &su, SCALE_VS) == 0) |
if (a2roffsu(n->string, &su, SCALE_VS) == NULL) |
su.scale = 1.0; |
su.scale = 1.0; |
else if (su.scale < 0.0) |
else if (su.scale < 0.0) |
su.scale = 0.0; |
su.scale = 0.0; |