sphinxcontrib-jupyter icon indicating copy to clipboard operation
sphinxcontrib-jupyter copied to clipboard

Different rendering in Traditional Jupyter Notebook and JupyterLab

Open mmcky opened this issue 7 years ago • 5 comments

It appears that Jupyterlab doesn't render the same way (for html) than the traditional Jupyter notebook.

Opening tests/ipynb/images.ipynb is as I would expect in traditional jupyter notebook but all images are the same size irrespective of html tags for alignment and size in jupyterlab.

Does anyone know why?

mmcky avatar Aug 30 '18 05:08 mmcky

Current incompatibility between traditional notebook and jupyterlab

  • [ ] image sizes is not consistent
  • [ ] current implementation for labelled math is not consistent (with jupyterlab ignoring the table structure) in the notebook.

mmcky avatar Nov 27 '18 04:11 mmcky

This might be a useful resource: https://github.com/jupyterlab/jupyterlab/pull/5012

mmcky avatar Nov 27 '18 05:11 mmcky

The displaymath change has been implemented in https://github.com/QuantEcon/sphinxcontrib-jupyter/pull/154

mmcky avatar Nov 27 '18 06:11 mmcky

From conversation with @jlperla and @arnavs it appears this issue may be resolved? (or perhaps a browser issue). @arnavs can you please close this if that is the case.

mmcky avatar Jul 22 '19 01:07 mmcky

julia team will use width for more general compatibility between jupyter notebook and jupyterlab. I think the cause of this has been identified and a solution found when needing to resize images. @arnavs are you happy for this to be closed?

mmcky avatar Sep 17 '19 23:09 mmcky