URL: <https://savannah.gnu.org/bugs/?66592>
Summary: [eqn] [MathML] doesn't understand left floor/right floor (or \[rf]) Group: GNU roff Submitter: gbranden Submitted: Sat 21 Dec 2024 09:01:35 PM UTC Category: Preprocessor eqn Severity: 3 - Normal Item Group: Incorrect behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sat 21 Dec 2024 09:01:35 PM UTC By: G. Branden Robinson <gbranden> Reported as [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059542 #1059542]. Package: groff-base Version: 1.23.0-3 Version: 1.22.4-10 Severity: normal Dear Maintainer, I'm trying to assemble some equations. MathML is convenient for high-res renders and embedding. One such is: w = left floor l 39 over 40 right floor When rendering images with eqn2graph and groff -Thtml (both attached), this yields the expected ⌊ and ⌋ wrapping. However, when rendering with eqn -TMathML and groff -Txhtml (likewise), this yields "w = floor l³⁹⁄₄₉ floor". Also \[lf] and \[lf] are "unknown eqn/troff special char [rl]f", but they obviously ought to be given that they are understood by groff. Best, наб -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-9-amd64 (SMP w/24 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages groff-base depends on: ii libc6 2.36-9+deb12u3 ii libgcc-s1 12.2.0-14 ii libstdc++6 12.2.0-14 ii libuchardet0 0.0.7-1 groff-base recommends no packages. Versions of packages groff-base suggests: ii groff 1.22.4-10 .if !dEQ .ds EQ .if !dEN .ds EN .EQ <math><mrow><mi>w</mi><mo>=</mo><merror>unknown eqn/troff special char lf</merror><merror>unknown eqn/troff special char rf</merror><mrow><mo>floor</mo><mrow><mi>l</mi><mfrac><mrow><mn>3</mn><mn>9</mn></mrow><mrow><mn>4</mn><mn>0</mn></mrow></mfrac></mrow><mo>floor</mo></mrow></mrow></math> .EN <?xml version="1.0" encoding="us-ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [<!ENTITY mathml "http://www.w3.org/1998/Math/MathML">]> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="generator" content="groff -Txhtml, see www.gnu.org"/> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"/> <meta name="Content-Style" content="text/css"/> <style type="text/css"> .center { text-align: center } .right { text-align: right } p { margin-top: 0; margin-bottom: 0; vertical-align: top } pre { margin-top: 0; margin-bottom: 0; vertical-align: top } table { margin-top: 0; margin-bottom: 0; vertical-align: top } h1 { text-align: center } </style> <!-- Creator : groff version 1.23.0 --> <!-- CreationDate: Thu Dec 28 00:59:46 2023 --> <title></title> </head> <body> <hr/> <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>w</mi><mo>=</mo><merror>unknown eqn/troff special char lf</merror><merror>unknown eqn/troff special char rf</merror><mrow><mo>floor</mo><mrow><mi>l</mi><mfrac><mrow><mn>3</mn><mn>9</mn></mrow><mrow><mn>4</mn><mn>0</mn></mrow></mfrac></mrow><mo>floor</mo></mrow></mrow></math> <hr/> </body> </html> _______________________________________________________ File Attachments: ------------------------------------------------------- Name: nab1.png Size: 845B <https://file.savannah.gnu.org/file/nab1.png?file_id=56710> ------------------------------------------------------- Name: nab2.png Size: 555B <https://file.savannah.gnu.org/file/nab2.png?file_id=56711> AGPL NOTICE These attachments are served by Savane. You can download the corresponding source code of Savane at https://savannah.gnu.org/source/savane-d58233b6feaa780411f7f09b695724cabce7bc1d.tar.gz _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66592> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature