language-pfm icon indicating copy to clipboard operation
language-pfm copied to clipboard

Math support

Open ZelphirKaltstahl opened this issue 9 years ago • 2 comments

Where is the promised Math support?

Display style math blocks using $$ and $$ don't get highlighted at all ... check this screenshot:

atom6

Note: The white color and dotted border are from my user stylesheet. Otherwise there would be NO highlighting at all.

EDIT: This is an issue with the selected Theme, not with this package! You need to select a theme, which distinguishes math from regular text. This issue may be closed.

It seems the language-pfm package only distinguishes two elements of the math blocks. Those two are: punctuation definition constant math tex and constant character math tex.

I think it would be desirable to extend the packages support for math and distinguish operators like +, -, *, /, ^ and _. Variables should also be marked up.

ZelphirKaltstahl avatar May 09 '16 20:05 ZelphirKaltstahl

I helped add Latex support to language-rst, it's possible to simply include the pre-installed LaTex grammer into the math scope (language-pfm currently defines it's own maths). I think using the installed latex grammer is a better solution https://github.com/Lukasa/language-restructuredtext/issues/44

mangecoeur avatar Nov 01 '16 22:11 mangecoeur

Sorry for never responding. I am unable to maintain this project (see also #31)

leipert avatar Apr 14 '18 09:04 leipert