[feat] Implement FEP-dc88: Formatting Mathematics #641

Open
opened 2023-09-16 12:25:18 +00:00 by pounce · 0 comments

The idea

FEP-dc88 has been put forward as an attempt to standardize mathematical typesetting on the fediverse. Please see the tracking issue and forum discussion for more information.

Unless akkoma wants to scrub all incoming mathematics (I think this should not be preferred, and instead be an optional MRF), the obligation to implement this would be to allow MathML Core tags in sanitized post content.

In addition, it would be nice to draft MathML posts using the HTML content-type, and later markdown content-types with LaTeX syntax.

The reasoning

Currently no fediverse software implements FEP-dc88, however akkoma could host a very small reference implementation (allowing incoming MathML core and HTML drafting) which could help other software in the fediverse implement it.

If the FEP becomes more widespread, this should increase compatibility with other fediverse software.

Finally, MathML presents a possibility to be more compatible with MFM-drafting instances, since they can produce LaTeX FoundKeyGang/FoundKey#343 (comment)

Have you searched for this feature request?

  • I have double-checked and have not found this feature request mentioned anywhere.
  • This feature is related to the Akkoma backend specifically, and not pleroma-fe.
### The idea [FEP-dc88](https://codeberg.org/fediverse/fep/src/branch/main/fep/dc88/fep-dc88.md) has been put forward as an attempt to standardize mathematical typesetting on the fediverse. Please see the [tracking issue](https://codeberg.org/fediverse/fep/issues/161) and [forum discussion](https://socialhub.activitypub.rocks/t/fep-dc88-formatting-mathematics/3564) for more information. Unless akkoma wants to scrub all incoming mathematics (I think this should not be preferred, and instead be an optional MRF), the obligation to implement this would be to allow MathML Core tags in sanitized post content. In addition, it would be nice to draft MathML posts using the HTML content-type, and later markdown content-types with LaTeX syntax. ### The reasoning Currently no fediverse software implements FEP-dc88, however akkoma could host a very small reference implementation (allowing incoming MathML core and HTML drafting) which could help other software in the fediverse implement it. If the FEP becomes more widespread, this should increase compatibility with other fediverse software. Finally, MathML presents a possibility to be more compatible with MFM-drafting instances, since they can produce LaTeX https://akkoma.dev/FoundKeyGang/FoundKey/issues/343#issuecomment-10179 ### Have you searched for this feature request? - [x] I have double-checked and have not found this feature request mentioned anywhere. - [x] This feature is related to the Akkoma backend specifically, and not pleroma-fe.
pounce added the
feature request
label 2023-09-16 12:25:18 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#641
No description provided.