diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | src/preproc/html/pre-html.cc | 2 | ||||
-rw-r--r-- | src/roff/troff/div.cc | 5 |
3 files changed, 12 insertions, 5 deletions
@@ -1,8 +1,14 @@ -2001-06-19 Gaius Mulley <gaius@glam.ac.uk> +2001-06-20 Gaius Mulley <gaius@glam.ac.uk> + + * 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 <gaius@glam.ac.uk> * src/roff/troff/input.cc (do_suppress): Fix typo. -2001-06-18 Gaius Mulley <gaius@glam.ac.uk> +2001-06-18 Gaius Mulley <gaius@glam.ac.uk> 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(); } |