Update of bug #68499 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #4:
commit 2b1ac62922d9fca8662d81663b00629243764a16
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 a729e70ffdc93cc68ed58f402b66c85478b4852e
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 2514058c706fe6fed80029b939b9f8c8f643e89b
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 953664bfe57a01bef987316729122713b56b65b7
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`.
These other fixes may also be of interest.
commit e72e7250b8d49aacf75d1f88ea644c2afa73140f
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 dc22e6708694dd784e8c1b4d3829c110c56e0bf0
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 04d69ea374c7f06bf02065cea4b2bc1a304518ad
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.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68499>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
