summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-06-21 07:55:57 +0000
committerwlemb <wlemb>2001-06-21 07:55:57 +0000
commitd707affcfd4bc04b3e991b4bd0ab1d1dd06b8cb4 (patch)
tree85224ef1dae0f76ee97842e119d3c8d7dd7fd877
parentee81e9017901746d6b20d79d68823f644a7ae258 (diff)
downloadgroff-d707affcfd4bc04b3e991b4bd0ab1d1dd06b8cb4.tar.gz
* src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
image names. * src/roff/troff/dic.cc (blank_line): Add html tag.
-rw-r--r--ChangeLog10
-rw-r--r--src/preproc/html/pre-html.cc2
-rw-r--r--src/roff/troff/div.cc5
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 <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();
}