markor icon indicating copy to clipboard operation
markor copied to clipboard

KaTex: $ gets interpreted even when math is off

Open ravilov opened this issue 2 years ago • 2 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a bug. Not a question or feature request.
  • [X] The topic is not already reported at Issues. (I've searched it).
  • [X] Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • [X] The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

Dollar symbol for math equations seems to get interpreted even if I turn off Math/KaTeX in settings. Tends to mess up dollar amounts, especially if within a table.

Steps to reproduce

  1. Make sure Math/KaTeX is off in options.
  2. Enter some dollar amount into a document, eg. $23,000 $.
  3. Save and switch to view mode.
  4. The dollar amount will show with no dollar symbol.

Information

Android version: 14 Device: Samsung A53 App Version: 2.11.1 (148)

Source

F-Droid

Format / File type

Markdown

Additional info / Log

No response

ravilov avatar Mar 05 '24 03:03 ravilov

KaTex was updated here, a test APK can be downloaded there to check if it works better. (Don't forget to check if Math is enabled/disabled accordingly in settings)

gsantner avatar Mar 27 '24 03:03 gsantner

That didn't help, sorry. Tables with dollar amounts in cells are still broken regardless of KaTeX being off or on.

It seems like Math isn't actually being disabled when the checkbox is off.

ravilov avatar Apr 09 '24 19:04 ravilov