Update of bug #68499 (group groff):
Status: None => In Progress
_______________________________________________________
Follow-up Comment #3:
Hi Phong,
Good news. I expect to your fix, and more, to be in my next push to Savannah
Git, and therefore to resolve this issue for _groff_ 1.25.
commit bf87d2a5c8d226d866e93fd99c295d474f5d3791
Author: G. Branden Robinson <[email protected]>
Date: Mon Jul 13 07:47:16 2026 -0500
[grohtml]: Modernize XHTML document header.
* src/devices/grohtml/post-html.cpp (html_printer::writeHeadMetaStyle):
Revise XHTML output header to modernize it and work with contemporary
Firefox and Epiphany.
commit ce3a86719b7962896ab95a30da1851e65d6323e9
Author: G. Branden Robinson <[email protected]>
Date: Mon Jul 13 08:08:23 2026 -0500
[grohtml]: Emit `'` for U+0027.
* src/devices/grohtml/post-html.cpp (get_html_entity): Emit `'` for
character code 0x27 regardless of `doctype`. Its omission appears to
have been a casualty of the IE4 era (Y2K).
commit 53e182116638a7fa56f611ad49286c9448700f07
Author: G. Branden Robinson <[email protected]>
Date: Mon Jul 13 08:19:18 2026 -0500
[grohtml]: Emit fewer named entities in XHTML.
* src/devices/grohtml/post-html.cpp (get_html_entity): Emit named
character entities only for HTML 4, not XHTML, with the exception of
the handful recognized by XML, already handled earlier in this
function.
This change uses Mulley's brace style and omits an indentation update to
keep the logic change clear.
commit 824f16bbae5b7b32cfb544e1e5552fc2cbb8330e
Author: G. Branden Robinson <[email protected]>
Date: Mon Jul 13 08:28:38 2026 -0500
[grohtml]: Update code indentation.
* src/devices/grohtml/post-html.cpp (get_html_entity): Do it.
commit b566449625228c201cc216df10ce66eb242f9c27
Author: Nguyễn Gia Phong <[email protected]>
Date: Wed Jul 8 11:14:03 2026 +0900
[eqn]: Emit better-formed XHTML/MathML. (1/3)
* src/preproc/eqn/box.cpp
(half_space_box::output)
(full_space_box::output)
(thick_space_box::output)
(thin_space_box::output):
* src/preproc/eqn/other.cpp
(overline_char_box::output)
(overline_box::output)
(underline_char_box::output)
(underline_box::output): Emit numeric character references, not named
entities, when generating MathML, because GNU eqn supports MathML only
when producing XHTML.
Begins fixing <https://savannah.gnu.org/bugs/?68499>.
commit 72ab26cfd853a609fd0a8a55acc8b262c728022b
Author: Nguyễn Gia Phong <[email protected]>
Date: Wed Jul 8 11:14:03 2026 +0900
[eqn]: Emit better-formed XHTML/MathML. (2/3)
* src/preproc/eqn/text.cpp: Stop mapping special characters to named
entities when outputting MathML. Preprocessor-include "unicode.h".
(special_char_box::output): Use libgroff's
`valid_unicode_code_sequence()` to obtain its Unicode sequence
representation if it is in groff Unicode special character escape
sequence syntax. If not, use `glyph_name_to_unicode()` to look up its
Unicode representation.
Continues fixing <https://savannah.gnu.org/bugs/?68499>.
commit 81261b2979f588baaeb05c4d8b9f35383d0c93f7
Author: Nguyễn Gia Phong <[email protected]>
Date: Wed Jul 8 11:14:03 2026 +0900
[eqn]: Emit better-formed XHTML/MathML. (3/3)
* src/preproc/eqn/text.cpp: Drop dead static data (`entity_table`), its
now unused data type declaration (`struct map`).
(special_to_entity): Drop now unused function.
Fixes <https://savannah.gnu.org/bugs/?68499>.
ANNOUNCE: Acknowledge Phong. (--GBR)
commit 11fc76221bcab79665a3261a78e0c7808ebd93b8
Author: G. Branden Robinson <[email protected]>
Date: Mon Jul 13 09:41:59 2026 -0500
src/preproc/eqn/text.cpp: Fix code style nits.
* src/preproc/eqn/text.cpp: Rationalize header file inclusions. Arrange
C standard library header file names in alphabetical order.
(special_char_box::output): Spell null pointer constant the idiomatic
C++98 way (`0`) instead of as `NULL`.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68499>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
