Open davidleejy opened 1 month ago
Hi,
Mathfly automatically activates different commands based on the context (the current app and window title).
For VSCode, since it isn't natively a mathematics editor, you'll want the LaTeX command set. This is activated when the current window title contains .tex
, the file extension for LaTeX files. If you create a file with the .tex
extension, the commands should be activated. You can test this by saying greek alpha
, for example.
Let me know if this doesn't work.
Hi @mrob95, thanks for writing back, and taking a look at my situation.
For VSCode, since it isn't natively a mathematics editor, you'll want the LaTeX command set.
By "LaTeX command set", would you happen to be referring to a VSCode extension, or the LaTeX related files in this repository like latex.py
and latex.talon
?
I have cloned this repository into ~/.talon/user/mathfly-talon
, so presumably the LaTeX related scripts are now active unless I missed out on additional steps that need to be done.
Hi @mrob95,
Thank you for sharing your scripts to type math with Talon. I was trying to use mathfly-talon but can't get it to "start".
I am able to install Talon and use it in the popular IDE, Visual Studio Code (otherwise called VSCode). Next I tried to install mathfly-talon by essentially git cloning all the material in this repository into
~/.talon/user/mathfly-talon
directory as per the installation instructions, and then I restarted Talon and VSCode.While I am able to see Talon's hats above characters in VSCode like in this video shows the use of Mathfly with Talon in VSCode (https://www.youtube.com/watch?v=v0j2_W97_s0), mathfly commands don't seem to work, and would be grateful if there might be someone here would be able to arrive at some ideas of what I could check to troubleshoot. Perhaps the following questions might be helpful:
How do I check that math-fly is enabled in Talon?
Do I have to modify the context in which math-fly talon scripts are assigned be active in because currently this context could be set to work in LyX and Scientific Notebook apps only?