Follow-up Comment #3, bug #64730 (project groff):
> The "groff" software, as a typesetting one, should not deal with producing other formats like "html". For that, software for converting between different formats is the right choice. If people want "html" format they should do it themselves with software like "pdftohtml" (Debian package "poppler-utils"). What other softwares for typesetting produce themselves formats like "html"? N.B. man (man-db) relies on "groff" to produce "html", but should (must) it? Software, that converts a format to "html", that I have on my Debian testing computer is (man -k convert): asciidoctor (1) - converts AsciiDoc source files to HTML, DocBook, and other formats enscript (1) - convert text files to PostScript, HTML, RTF, ANSI, and overstrikes pamtohtmltbl (1) - convert pnm/pam visual image to an HTML table pdftohtml (1) - program to convert PDF files into HTML, XML and PNG images pod2html (1) - convert .pod files to .html files rst-buildhtml (1) - convert many reST documents to HTML rst2html (1) - convert reST documents to XHTML rst2html4 (1) - convert reST documents to XHTML rst2html5 (1) - convert reST documents to HTML 5 rstpep2html (1) - convert reST Python Enhancement Proposals to HTML wvHtml (1) - convert msword documents to HTML4.0 xmlmantohtml (1) - xml to html converter -.- Compiling groff-1.23.0 shows these warnings, that do not show up in my groff branch with my usual configuration and are not dependent on the C or C++ standard that I use. CXX src/preproc/html/pre-html.o In file included from /usr/include/stdio.h:906, from ./lib/stdio.h:43, from ../src/include/getopt.h:35, from ../src/include/lib.h:44, from ../src/preproc/html/pre-html.cpp:24: In function 'int vsnprintf(char*, size_t, const char*, __va_list_tag*)', inlined from 'char* make_string(const char*, ...)' at ../src/preproc/html/pre-html.cpp:408:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:36: warning: null destination pointer [-Wformat-truncation=] 68 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, __ap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX src/preproc/html/pushback.o -.- ../src/preproc/tbl/table.cpp:1057:45: warning: extra ';' after in-class function definition [-Wextra-semi] 1057 | virtual int is_single_line() { return 0; }; and more of this type (-Wextra-semi). .-. GROFF contrib/pdfmark/pdfmark.pdf troff:/home/bg/Sottar.skrar/groff-1.23.0/build/../doc/../contrib/pdfmark/pdfmark.ms:374: warning [p 1, 5.0i]: cannot adjust line troff:/home/bg/Sottar.skrar/groff-1.23.0/build/../doc/../contrib/pdfmark/pdfmark.ms:374: warning [p 1, 4.6i]: cannot adjust line This is caused by ".CW \n(.F ,", where the "string" ".F" does not have any '\:' in it. (I use PAGE=A4). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64730> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/