From d707affcfd4bc04b3e991b4bd0ab1d1dd06b8cb4 Mon Sep 17 00:00:00 2001 From: wlemb Date: Thu, 21 Jun 2001 07:55:57 +0000 Subject: * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect image names. * src/roff/troff/dic.cc (blank_line): Add html tag. --- ChangeLog | 10 ++++++++-- src/preproc/html/pre-html.cc | 2 +- src/roff/troff/div.cc | 5 +++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index fe15e544..87651cb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,14 @@ -2001-06-19 Gaius Mulley +2001-06-20 Gaius Mulley + + * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect + image names. + * src/roff/troff/dic.cc (blank_line): Add html tag. + +2001-06-19 Gaius Mulley * src/roff/troff/input.cc (do_suppress): Fix typo. -2001-06-18 Gaius Mulley +2001-06-18 Gaius Mulley Added two new options (-D and -I) to specify image names and a subdirectory to place the images in. diff --git a/src/preproc/html/pre-html.cc b/src/preproc/html/pre-html.cc index 59399f48..b41a34e1 100644 --- a/src/preproc/html/pre-html.cc +++ b/src/preproc/html/pre-html.cc @@ -287,7 +287,7 @@ make_message (const char *fmt, ...) strcpy(np, p); strcat(np, s); strcat(np, l); - search += strlen(s)-2; + search += strlen(s); break; case '%': /* remove one of the two % that we have seen */ diff --git a/src/roff/troff/div.cc b/src/roff/troff/div.cc index 0ca45c32..c885ca80 100644 --- a/src/roff/troff/div.cc +++ b/src/roff/troff/div.cc @@ -767,9 +767,10 @@ void space_request() void blank_line() { curenv->do_break(); - if (!trap_sprung_flag && !curdiv->no_space_mode) + if (!trap_sprung_flag && !curdiv->no_space_mode) { curdiv->space(curenv->get_vertical_spacing()); - else + curenv->add_html_tag(".sp", 1); + } else truncated_space += curenv->get_vertical_spacing(); } -- cgit v1.2.1