Shouldn't #FEPb2b8 https://codeberg.org/fediverse/fep/src/branch/main/fep/b2b8/fep-b2b8.md include more common HTML elements/attributes useful for a long text?

I.e. `dl` (and `dt`and `dt`) etc. and the #MathML Core safe list https://w3c.github.io/mathml-docs/mathml-safe-list ?

@silverpill @evan @pfefferle

#MathMLCore #HTML

fep/fep/b2b8/fep-b2b8.md at main

fep - Fediverse Enhancement Proposals

Codeberg.org

Andregradsligning

Forsøker varianter hvor MathML-elementene brytes opp vha. linjeskift og innrykk.

Først uten noe oppbryting innen avsnittet:

En andregradsligning $a \cdot x^{2} + b \cdot x + c = 0$ hvis $a \neq 0$ kan løses vha:

$$x_{1,2} = \frac{-b \pm \sqrt{b^2 – 4 \cdot a \cdot c}}{2 \cdot a}$$

Linjeskift:

En andregradsligning $a \cdot x^{2} + b \cdot x + c = 0$ hvis $a \neq 0$ kan løses vha:

$$x_{1,2} = \frac{-b \pm \sqrt{b^2 – 4 \cdot a \cdot c}}{2 \cdot a}$$

Linjeskift og innrykk:

En andregradsligning $a \cdot x^{2} + b \cdot x + c = 0$ hvis $a \neq 0$ kan løses vha:

$$x_{1,2} = \frac{-b \pm \sqrt{b^2 – 4 \cdot a \cdot c}}{2 \cdot a}$$

MathML er generert vha Temml

Temml - Convert TeX to MathML

Eulers

Mer tilfeldig test av fep-dc88 (MathML i ActivityPub) fra WordPress.

Dot operator (U+22C5)

Eulers formel er e^(i*pi) = cos x + i*sin x, hvor x = pi gir e^(i*pi) = -1.

Invisible times (U+2062)

Eulers formel er e^(i*pi) = cos x + i*sin x, hvor x = pi gir e^(i*pi) = -1.

Test av fep-dc88 (MathML i ActivityPub) fra WordPress

WordPress-instikket ActivityPub (AP) tillater fra versjon 1.0.2 mer eller mindre alle HTML-elementer, dvs. en kan legge til MathML. Det blir da opp til AP-mottakeren, f.eks. Mastodon, om en skal fjerne disse elementene, noe de fleste pr. i dag vil gjøre. Forslaget FEP-dc88: Formatting Mathematics forsøker å rydde opp i det ved å beskrive hvordan MathML [...]

Logg for Aslak Raanes

Test av fep-dc88 (MathML i ActivityPub) fra WordPress

WordPress-instikket ActivityPub (AP) tillater fra versjon 1.0.2 mer eller mindre alle HTML-elementer, dvs. en kan legge til MathML. Det blir da opp til AP-mottakeren, f.eks. Mastodon, om en skal fjerne disse elementene, noe de fleste pr. i dag vil gjøre.

Forslaget FEP-dc88: Formatting Mathematics forsøker å rydde opp i det ved å beskrive hvordan MathML kan tilbys, eller alternativt strippes slik at en kun står igjen med innholdet i <annotation> som ofte da vil inneholde en mer tekstlig representasjon.

Følgende er fra eksempelet i FEP-dc88:

LaTeX i <annotation>:

I have a truly marvelous proof that $x^n + y^n \ne z^n$ which this note is too small to contain!

AsciiMath i <annotation>:

I have a truly marvelous proof that x^n + y^n ≠ z^n which this note is too small to contain!

ActivityPub

Connect your site to the Open Social Web and let millions of users follow, share, and interact with your content from Mastodon, Pixelfed, and more.

WordPress.org

@Edent Some things might be better solved if #Mastodon† supported #MathML Core as suggested in https://github.com/mastodon/mastodon/issues/26943

† and other #ActivityPub software

#MathMLCore #FEPdc88

Implement FEP-dc88: Formatting Mathematics · Issue #26943 · mastodon/mastodon

Pitch Currently, several instances (such as https://mathstodon.xyz and https://types.pl) implement mathematical formatting locally, rendering mathematics between certain delimeters. However, this c...

GitHub

@drdrang The next thing which would be nice to have is for #Mastodon (and other ActivityPub software) to allow #MathML Core in addition to the upcoming (?) support for some HTML tags https://github.com/mastodon/mastodon/pull/23913

#MathMLCore

Add support for incoming rich text by ClearlyClaire · Pull Request #23913 · mastodon/mastodon

Add native support for the incoming tags: del, pre, blockquote, code, b, strong, u, i, em, ul, ol, li Transform h1 through h6 tags to <p><strong>contents</strong></p>

GitHub

Igalia Brings #MathML Back to #Chromium | #Igalia

"Thanks to the tireless work of Igalia’s #FrédéricWang and other team members, standardization groups, and more, an implementation of the #MathMLCore specification is in the release of #Chrome 109 stable, meaning support for MathML is now enabled by default for all users."

https://www.igalia.com/2023/01/10/Igalia-Brings-MathML-Back-to-Chromium.html

Igalia Brings MathML Back to Chromium | Igalia

Igalia is an open source consultancy specialised in the development of innovative projects and solutions. Our engineers have expertise in a wide range of technological areas, including browsers and client-side web technologies, graphics pipeline, compilers and virtual machines. We have the most WPE, WebKit, Chromium/Blink and Firefox expertise found in the consulting business, including many reviewers and committers. Igalia designs, develops, customises and optimises GNU/Linux-based solutions for companies across the globe. Our work and contributions are present in many projects such as GStreamer, Mesa 3D, WebKit, Chromium, etc.

Igalia