Skip to content

Commit 7ba474c

Browse files
committed
feat: workaround for inconsistent author formatting in LaTeX2HTML
This fixes inconsistent author list formatting in the v5.0.0 reference manual.
1 parent bdda029 commit 7ba474c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/make-docs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ pushd build
7575
make -C doc/manual pdf
7676
make -C doc/manual latex2html
7777
clean_latex2html doc/manual/manual
78+
# Workaround for https://github.com/latex2html/latex2html/issues/89.
79+
# See also: https://github.com/form-dev/form/pull/789.
80+
# NOTE: -i requires GNU sed.
81+
sed -i ':a;N;$!ba; s#<STRONG>\([^<]*\)</STRONG>\n<BR>\n\([^<]*\)#<STRONG>\1 \2</STRONG>#' doc/manual/manual/index.html
7882
make_tarball doc/manual/manual "form-$version-manual-html"
7983

8084
cp ../doc/form.1 doc/form.1

0 commit comments

Comments
 (0)