Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Jupytext with Jupyter Lab? #78

Closed
mwouts opened this issue Sep 13, 2018 · 7 comments
Closed

How to use Jupytext with Jupyter Lab? #78

mwouts opened this issue Sep 13, 2018 · 7 comments
Labels
question Further information is requested

Comments

@mwouts
Copy link
Owner

mwouts commented Sep 13, 2018

In the README we describe how to use Jupytext with Jupyter notebook.

For Jupyter Lab we should document

  • whether it is possible to edit the notebook metadata
  • how scripts and markdown document can be opened as a notebook (requires v0.35, not yet released)
  • if it is possible to have two views on a text notebook (notebook and text views, cf. Doug's question )

@grst , would you like to answer these questions? Thanks

@mwouts mwouts added the question Further information is requested label Sep 13, 2018
@grst
Copy link
Contributor

grst commented Sep 13, 2018

whether it is possible to edit the notebook metadata

Only in the text representation. Cf. jupyterlab/jupyterlab#1308.

how scripts and markdown document can be opened as a notebook (requires v0.35, not yet released)

Right click, "Open With" -> "Notebook"

if it is possible to have two views on a text notebook

It is possible to open both a text and notebook version of a notebook, however they do not synchronize.
Clicking on "New View for Notebook" on a text-based notebook is dysfunctional. I do not know what to do to make this work. Maybe the jupyter guys kann tell use more about this.

@mwouts
Copy link
Owner Author

mwouts commented Sep 14, 2018

Thanks @grst . I will soon include this in the README (and ask you to review the change first!).

@mwouts
Copy link
Owner Author

mwouts commented Sep 15, 2018

Gregor, would you like to review the PR: #81? Thanks!

@mwouts mwouts closed this as completed Sep 19, 2018
@abalter
Copy link

abalter commented Oct 16, 2018

Just linking to #8

@yuvipanda
Copy link
Contributor

I wrote an extension that lets you edit metadata in JupyterLab https://github.com/yuvipanda/jupyterlab-nbmetadata. Thought y'all might be interested.

<3 Jupytext!

@NoisySignal
Copy link

I appreciate all of your efforts in making notebooks work with GIT. I got here because I made a change to notebook and couldn't remember if it was just a spelling correction or a number of changes. As you know, this turned out to be NOT a simple question to answer.

General comment: It could be worth making the installation instructions for Jupiter Lab more distinct e.g. having a link near the top of the markdown for the Jupyter Notebook installation instructions and a link for the Jupyter Lab installation instructions. It may also be worth noting in the instructions that the Jupytext menu won't appear in the File menu for Jupyter Lab.

I know this is minor but there are two distinct installations, which provide two distinct user interfaces.

Very nice work!

@mwouts
Copy link
Owner Author

mwouts commented Mar 19, 2019

Thanks @NoisySignal for the nice feedback. Regarding the documentation, I do agree that the two user interfaces are distinct. Following your remark, I will add a link between the mention of how to pair a notebook to the screenshots of the Jupytext menu in the notebook, and to the commands in Jupyter Lab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants