John Kitchin

Results 420 comments of John Kitchin

I would like to paste screenshots into cocreate so that I can annotate them. These screenshots are typically of code, or parts of a gui. I use these in teaching.

This might already work with ob-ipython (which can support other kernels via Jupyter). In the scimax modifications to ob-ipython (https://github.com/jkitchin/scimax/blob/master/scimax-org-babel-ipython-upstream.el) there is support for async execution that works for ipython,...

You can use pandoc to convert ipynb to org right now. It is technically possible to do a round trip conversion, but you will lose things like cell metadata, and...

in principle this is possible, but we do not do it yet. we are working on using docker to compile these, so it could be possible to make different packages...

ok. Thanks for the update. I have hacked something that supports org-syntax in bibtex-completion-display-formats. It is not super fancy, and doesn't really support colors, but gets me bold, italics and...

That is fair, I was just looking for some options. Here is another approach that I am not sure is better with an ivy-transformer. The format of the entry is...

I am converging on a good way to do this I think. Here I use the shr library to render html in the format strings. ``` (article . "${=has-pdf=:1}${=has-note=:1} ${year:4}...

I was able to make the widgets extension, and when I ran some ``` import plotly.graph_objects as go f = go.FigureWidget() f.add_scatter(y=[2, 1, 4, 3]); f ``` a browser did...

I think it looks like this: ``` import os from hashlib import md5 from IPython.display import Image, FileLink import plotly.graph_objects as go import plotly.io as pio def myshow(self, *args, **kwargs):...

With the code I posted, here is what I get. ![image](https://user-images.githubusercontent.com/1610070/137482642-a1a04f0b-80e6-430f-90ee-844e8f2d3727.png) The headers are set as (setq org-babel-default-header-args:jupyter-python '((:results . "value") (:session . "jupyter") (:kernel . "python3") (:pandoc . "t")...