summaryrefslogtreecommitdiff
path: root/src/devices/grohtml
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2021-07-27 00:10:49 +1000
committerG. Branden Robinson <g.branden.robinson@gmail.com>2021-07-27 10:24:57 +1000
commitc71b4ef4aa46f9264751df37ffac4fdf796c45eb (patch)
tree49a934deec6f881b4f6110e5b849450b85d5cffb /src/devices/grohtml
parent13ceb5aceae63e7709dc4ad36085eb95ff2a6484 (diff)
downloadgroff-git-c71b4ef4aa46f9264751df37ffac4fdf796c45eb.tar.gz
[grohtml]: Fix Savannah #60971.
* src/preproc/html/pre-html.cpp (makeFileName): Consistently put a dash at the end of `macroset_template` whether the image file name stem is user-supplied or the default. Stop adding the dash before the image number in `image_template` instead. This makes the image file name format reliable whether the image needs to be subdivided (eqn) or not (tbl). Fixes <https://savannah.gnu.org/bugs/?60971>.
Diffstat (limited to 'src/devices/grohtml')
-rw-r--r--src/devices/grohtml/grohtml.1.man7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/devices/grohtml/grohtml.1.man b/src/devices/grohtml/grohtml.1.man
index 6ee201fb4..4a18e3adf 100644
--- a/src/devices/grohtml/grohtml.1.man
+++ b/src/devices/grohtml/grohtml.1.man
@@ -328,12 +328,17 @@ indicates 200 pixels per inch.
.BI \-I \~image-stem
Determine the image file name stem.
.
-If omitted grohtml uses
+If omitted,
+.I grohtml
+uses
.IR \%grohtml\- XXXXX
(where
.I XXXXX
is the process ID).
.
+A dash is appended to the stem to separate it from the following image
+number.
+.
.
.TP
.BI \-j \~output-stem