jupyter icon indicating copy to clipboard operation
jupyter copied to clipboard

\bbone<tab> not working

Open MasonProtter opened this issue 5 years ago • 7 comments

All of my commonly used julia latex completions work in the jupyter repl and org jupyter-julia blocks except the \bb___ family, i.e. \bbone (𝟙). This does work for me in jupyter notebooks, so I'm not sure what's going wrong.

MasonProtter avatar Dec 11 '19 20:12 MasonProtter

All of my commonly used julia latex completions work in the jupyter repl and org jupyter-julia blocks except the \bb___ family, i.e. \bbone (𝟙)

When you say it does not work, what exactly does not work? Do you get the completion list with e.g. \bbGamma or is the completion list empty after typing \bb? Is the issue with unicode not being inserted (but completion works)?

fleimgruber avatar Dec 11 '19 22:12 fleimgruber

Sorry, I should have been more specific. I get the proper completion list when I type \bb but pressing tab does not convert \bbone to the corresponding Unicode character.

This is in contrast to standard SRC Julia blocks in the same notebook blocks where it does work (as opposed to SRC jupyter-julia).

MasonProtter avatar Dec 11 '19 23:12 MasonProtter

The Unicode symbol substitution is done by julia-mode so my first thought was that it is not installed. But if Unicode symbol substitution works in plain julia org-mode source blocks then that must be installed.

With point inside the jupyter-julia source block, can you check whether jupyter-org-interaction-mode minor mode is active?

fleimgruber avatar Dec 12 '19 23:12 fleimgruber

Another idea: Which version of Julia are you using? The \bbone and related digits were added not too long ago, see https://github.com/JuliaLang/julia/pull/32838. Since you mentioned other Unicode symbol substitutions work and the non-jupyter julia source blocks only miss these bb digits, maybe the Julia kernel used by jupyter-julia is older than the Julia version used in non-jupyter julia source blocks.

fleimgruber avatar Dec 12 '19 23:12 fleimgruber

I'm on 1.3 and have the identifiers. I can connect a jupyter notebook to the very same kernel used by jupyter-julia and have these characters work.

MasonProtter avatar Dec 12 '19 23:12 MasonProtter

This is in contrast to standard SRC Julia blocks in the same notebook blocks where it does work (as opposed to SRC jupyter-julia).

Hm, it seems I got confused and wrongly assumed you meant org-mode files when you said notebook (as the usual nomenclature is org-mode:block and jupyter-notebook:cell).

But then I am out of ideas for now...

fleimgruber avatar Dec 13 '19 00:12 fleimgruber

Possibly related to https://github.com/dzop/emacs-jupyter/pull/201

MasonProtter avatar Dec 14 '19 01:12 MasonProtter