Re: Standalone Math Editor
Thanks a lot! I'm trying Lyxserver and Lyx functions. They are amazing. I can just send commands to open a document and insert a display math! One problem seems that there is no Lyx function allowing me to get the content of math. I can use select and copy to put it into clipboard, then maybe read the clipboard to get the content. This seems not very elegant and reliable? Another problem is that I don't know how to return to the editor. That seems a much harder problem. Wei-Ting
Re: Standalone Math Editor
Thank you Guillaume. Your suggestions are valuable and important for me. I never think Lyx is not lightweight. Actually, I'm always satisfied with its speed. I just think to type math equations we don't need a full Lyx. But you're right. The first step should be the input/output function. I'm thinking to implement the following function: (1)When I'm editing an equation, say \[ f(x)= \], I can open Lyx with, say Ctrl+C. (2)Lyx is initiated with a display math mode, so I can edit the equation. (3)After finishing editing, push some keybinding to hide the Lyx window and return the Latex code to the editor. (4)The editor can receive the Latex code and insert it into my file. I think (1) and (4) involve the editor's functions, and should be put aside at the beginning. For (2) and (3), do you have any suggestions? I've checked the source code, and kind of overwhelmed. I have no idea where to start from. Thank you, Wei-Ting
Standalone Math Editor
Hi all, I have used Lyx for several years. This is a really amazing software. However, many people still write LaTex with text editors. That usually means when we cowork on some article, we have to write LaTex directly. This is ok. However, sometimes we have very long and complicated equations. One of amazing features of Lyx is its math editor. This makes the equation visible, when you're editing. That has helped me a lot. Therefore, I'm thinking if it is possible to separate the math editor, as a standalone, lightweight editor. I'm also thinking if it is possible to call the editor from vim, emacs or whatever, when we need to edit an equation, and then return the LaTex code back to vim or emacs. It seems there is no such work yet. I'm wondering how difficulty to implement this. If this is not too hard, I would like to try to do it. Thank you very much, Wei-Ting