daniel3735928559 / guppy

WYSIWYG mathematics editor with structured, searchable, LaTeX-compatible, and parseable output
https://guppy.js.org
184 stars 62 forks source link

Problems with representation of subscripts in plain text and Asciimath #134

Open AlienKevin opened 5 years ago

AlienKevin commented 5 years ago

I discovered some problems regarding the representation of subscripts in plain text and asciimath formats when using guppy.engine.get_content().

AlienKevin commented 5 years ago

In addition, I feel that variable names shouldn't be separated from their subscripts. For example, guppy automatically hints the insertion of a pair of parentheses around "F" in "Fx" but the whole variable name should be "Fx" and it should be surrounded with parentheses. I think this behavior is inherited from superscript for powers. Again, I feel that subscripts should be treated separately from superscripts.