Re: Outliner keyboard navigation fails on MacOS

2020-01-11 Thread Jason Sun
I am working on a patch as of now. On Fri, Dec 27, 2019 at 9:39 PM Scott Kostyshak wrote: > On Sat, Jun 29, 2019 at 05:33:04PM -0400, Jason Sun wrote: > > Let me check again. I have been working on another larger extension these > > days. > > > > On Sat, Jun 29, 2

Is it possible to get transparent cursors?

2019-09-02 Thread Jason Sun
I tried to use a bigger cursor but the cursor blocks the text if I do so, making it a bit annoying.. Is there an option to make the cursor transparent with the current implementation?

Re: A baby example prototype widget that mixes Jupyter and LyX

2019-07-07 Thread Jason Sun
prefer not to have two separate > documents to manage but rather have the two integrated into one. > > Thanks, > Joel > > P.S. I switched to top-posting to try to maintain consistency with you so > the thread doesn't become too chaotic. > > On Sun, Jul 7, 2019 at 9:1

Re: A baby example prototype widget that mixes Jupyter and LyX

2019-07-07 Thread Jason Sun
sza wrote: > >> On Sat, Jul 6, 2019 at 2:03 PM Jason Sun wrote: > >> The proper way to establish communication is to use ZeroMQ to interact with >> IPython directly from LyX. I read the jupyter docs, it is something we >> could try to do. I can communicate with th

Re: A baby example prototype widget that mixes Jupyter and LyX

2019-07-06 Thread Jason Sun
alternatives. Sent from my iPhone > On Jul 6, 2019, at 9:12 AM, Joel Kulesza wrote: > >> On Tue, Jul 2, 2019 at 11:03 AM Jason Sun wrote: > >> I have built an example prototype widget that tries to combine LyX and >> Jupyter Notebook together. >> >> Is it imp

Re: A baby example prototype widget that mixes Jupyter and LyX

2019-07-06 Thread Jason Sun
(retranslate, and input variable)Jupyter Variable Manager(LyX Side)<Jupyter Variable Manager or IPython Kernel depending choice of implementation according to (A) or (B)<-(User end)Jupyter Notebook (embeded in LyX). On Sat, Jul 6, 2019 at 9:13 AM Joel Kulesza wrote: > On Tu

Re: Discussion on a few ideas.

2019-07-02 Thread Jason Sun
in my Gmail sometimes I don't. Of all the communications in the thread, this is the only one that I was notified by Gmail. Is this correspondence in correct format? On Tue, Jul 2, 2019 at 3:27 PM Joel Kulesza wrote: > On Tue, Jul 2, 2019 at 9:23 AM Jason Sun wrote: > >> Okay.

A baby example prototype widget that mixes Jupyter and LyX

2019-07-02 Thread Jason Sun
I have built an example prototype widget that tries to combine LyX and Jupyter Notebook together. Is it implemented via QtWebEngine. Basically, by embedding a mini webpage browser inside LyX. A screenshot is here: https://github.com/jupyter/notebook/issues/1604#issuecomment-507746234 A bidirecti

Re: Discussion on a few ideas.

2019-07-02 Thread Jason Sun
Here is the snapshot of the prototype. https://github.com/jupyter/notebook/issues/1604#issuecomment-507746234

Re: Discussion on a few ideas.

2019-07-02 Thread Jason Sun
Also, we could do the other direction: when editing jupyter notebook with heavy mathematics component, we could use LyX main buffer as a draft and with a proper implemented convert function, the content could be rendered in the jupyter notebook in just one click.

LyX 2.3.3: tell me about performance issues

2019-07-02 Thread Jason Sun
Currently, the editing process has been smooth for me. However, in my build of the master branch, after a hit the new page button, there is a 0.5-1 second lag freeze. 2.3.2 does not have this issue.

Re: Discussion on a few ideas.

2019-07-02 Thread Jason Sun
Okay. I will then build up a prototype then. It is basically a jupyter notebook pane.

Re: Discussion on a few ideas.

2019-07-01 Thread Jason Sun
I read on the web that if LGPLv3 are used, the final product will be GPL3. However, LyX is GPL2+. I don't know if the LyX community has plan to upgrade it GPL3.

Re: Discussion on a few ideas.

2019-07-01 Thread Jason Sun
Just want to add a few words here: In this post, the request for a better math rendering for jupyter has been brought up(https://github.com/jupyter/notebook/issues/1604). It seems that the jupyter community likes LyX very much. The end goal is to create a function that lets Jupyter to communicate

Re: Discussion on a few ideas.

2019-07-01 Thread Jason Sun
I think you are absolutely right. I tried the Python Approach, it is not very good. So far I just created a new Dialog in CPP and it seems that only using CPP and Qt is better to maintain.

Qt Webengine licensing issue

2019-06-30 Thread Jason Sun
This module is under LGPLv3. Can I use it?

Discussion on a few ideas.

2019-06-29 Thread Jason Sun
I have managed to created two prototypes both extending LyX to include some scientific IDE features. One uses pure C++ and the other uses PySide2. From a ease of compile standpoint, the c++ one is better to integrate since the other one, if chosen would most likely to include another python interpr

Re: Outliner keyboard navigation fails on MacOS

2019-06-29 Thread Jason Sun
e TocWidget.cpp … > I had to change the TocWidget.h too, then it compiles. > > But I cannot see the improvement in behavior. I’m on master. > > Stephan > > > > > On 6/19/19 4:52 PM, Jason Sun wrote: > >> This problem is resolved by inserting the followi

Is it possible to make the ERT inset show different colors for different text?

2019-06-27 Thread Jason Sun
I think this is crucial to implement syntax highlighting of ERT box.

DesignOpinion needed

2019-06-26 Thread Jason Sun
I managed to put together basic UI and mini-code editor/runner inside LyX. The terminal has been implemented. Other functions are still under active development. I would like to use this thread to ask for inputs on what other functions/UI should be prioritized. A screenshot of the current prototy

About file qt_i18n.h

2019-06-26 Thread Jason Sun
I see that in every .ui file there is a line that includes qt_i18n.h file. When I create a new .ui file in Qt Creator using in Designer Form, this line is not included. So I have to manually added it. The question is there a way to tell Qt Designer to include this include directive? Jason

Re: Path to extending Lyx to a full featured Jupyter-like IDE

2019-06-25 Thread Jason Sun
Python and use PySide2. It is by no means easy. Plus, PySide2 is relatively new. It's hard to predict the quality of the ported work. So the only viable option left, in my opinion, is to bring Jupyter to LyX. On Tue, Jun 25, 2019 at 4:10 PM Jason Sun wrote: > So the overall question

Re: Path to extending Lyx to a full featured Jupyter-like IDE

2019-06-25 Thread Jason Sun
of Jupyter Notebook is its latex capabilities. Cf this discussion: https://github.com/jupyter/notebook/issues/1604 On Tue, Jun 25, 2019 at 3:50 PM Richard Kimberly Heck wrote: > On 6/25/19 2:57 PM, Jason Sun wrote: > > I have attached a prototype in the screenshots in the attachment. > &

Re: Path to extending Lyx to a full featured Jupyter-like IDE

2019-06-20 Thread Jason Sun
it seems a better idea is to just use the jupyter_client and develop a new Jupyter DockView in LyX. The jupyter console does not play well with python subprocess. On Thu, Jun 20, 2019 at 3:27 PM Jason Sun wrote: > I am trying to embed the jupyter console into the current LyX 2.3.2 > bran

Re: Path to extending Lyx to a full featured Jupyter-like IDE

2019-06-20 Thread Jason Sun
lly love > to see it happen --- I tried to use Jupyter Notebook a while back, but got > bogged down for various reasons, and having its functionalities as a > stand-alone desktop app which would make nice PDFs would suit my needs > quite nicely. > > On Thu, Jun 20, 2019 at 10:42 A

Path to extending Lyx to a full featured Jupyter-like IDE

2019-06-20 Thread Jason Sun
r some of your ideas on this. Jason Sun Cornell University

Re: Outliner keyboard navigation fails on MacOS

2019-06-19 Thread Jason Sun
_.setFocus(); gui_view_.activateWindow(); } } Will be pushing a fix to the branch soon. On Wed, Jun 19, 2019 at 3:21 PM Jason Sun wrote: > I use MacOX High Sierra 10.13.6 and LyX 2.3.2. > > The problem is the outline items(sections in the document) can only be > s

Outliner keyboard navigation fails on MacOS

2019-06-19 Thread Jason Sun
all the variables or at least the QtIndices when navigating through the tocTV variable on GUI. Jason Sun Ph.D Candidate Department of Statistical Science Cornell University 105 Malott Hall Ithaca, NY 14853-3201

Possible to implement jupyter notebook features?

2019-06-14 Thread Jason Sun
With the help of the reticulate package and knitr package, we are able to now embed python and R code in lyx in a reproducible manner. But the problem is that we have to compile the file every time we need to see the execution result of the python/R code. In jupyter notebook, this is not necessary