Questions tagged [jupyterbook]

33 questions
1
vote
0 answers

Local video file embed in Jupyter books does not work properly

I'm trying to play a video in Jupyter books and I must be missing something. This works...but it just auto-plays without controls and without the ability to stop it (unless one clicks and then it opens up with controls)...but it's not obvious to the…
1
vote
0 answers

How to import/export myst markdown from emacs?

I've been starting to use jupyterbook and it comes with an interesting function called jupytext that can translate md to ipynb and vice versa. Since, I would like to be using emacs for md editing and jupyterbook requires myst flavor: is there a way…
jfmay
  • 13
  • 3
1
vote
0 answers

Can I publish a jupyter book on github pages in another folder?

I have a Github repository, see here. For a subfolder of this repository I built a Jupyter book, see here. The develop branch of this repository is set-up to host with github pages. However, it doesn't render my Jupyter book. If I go to the supposed…
Thinker
  • 73
  • 5
1
vote
0 answers

DataFrame width should match the page width in jupyter book

I have many DataFrames which I want to show in a jupyter book. The length of the values in the DataFrames vary a lot. Currently the output looks like this: current output. What I actually want is, that all Data Frames have the same width. I managed…
luisa
  • 72
  • 8
0
votes
1 answer

HTML generated by Jupyter Book does not recognise inline equations

The official JupyterBook documentation states that simply placing an equation between two $ signs should be all that is needed, e.g. $y = wx + b$. Unfortunately, on creating the book (jb build ... on the command line) the HTML file is generated…
0
votes
0 answers

How to add enumeration to a custom Sphinx/JupyterBook extension

I'm writing a simple extension for Sphinx/JupyterBook for a directive called examplenum that will add a new title starting with "Example", then will automatically add the correct section and example number to the end of the title. For instance, if…
0
votes
0 answers

Style not compatible with Jupyter-Book when using python-sphinx autodoc to generate API documentation

I'd love to use the so elegant Jupyter-Book to construct documentation for my packages. I've tried quite a lot, and here is an example I'm finalizing those days : the package is available on a gitlab repository…
0
votes
1 answer

How to move a file from one folder to another folder through GitHub Actions?

I am trying to move a file from a folder to another through GitHub actions. I am doing this because I am building a jupyterbook pdf from this https://jupyterbook.org/en/stable/advanced/pdf.html. When I do it through pycharm and terminal, I can see…
0
votes
0 answers

Displaying multilayerd table of contents in Jupyter book

I am somewhat new to Jupyter book and stackoverflow, so forgive me if the question isn't up to par. I am trying to include a within-page Table of Contents in my Jupyter book project. I am wondering how to make the diplyed table of contents show more…
0
votes
1 answer

How to convert jupyterbook to pdf

I have a folder for jupyter bookdown that I want to convert to PDF. This book is composed of many .MDs. How to convert ths?
Lu_Ce
  • 1
  • 2
0
votes
1 answer

Jupyter Book - Changing LateX preamble for PDFLatex based compilation

I am using TexLive 2022 on Mac OSX. I am using Jupyter Book to write a textbook with Python snippets, with a lot of mathematics in it. I have been able to create Python notebooks with extension .ipynb for the various chapters therein. I have…
Indian
  • 977
  • 3
  • 12
  • 24
0
votes
0 answers

How to update Jupyter Book website link hosted on github pages

I created a Jupyter Book and hosted it on github. The website link is something like - /_build/html/index.html What config setting can I change to make the website link - /index.html
Phil
  • 2,143
  • 19
  • 44
0
votes
1 answer

How to link to non-markdown files in Jupyter book?

How do I link to a non-markdown file in a Jupyter Book? I would expect that [some text](relative-link) works, but this is not the case. For example, starting from a brand new Jupyter Book suppose in the source file I write in the generated intro.md…
Andrej Bauer
  • 2,458
  • 17
  • 26
0
votes
0 answers

must jupyterbook's TOC renumber chapters after each part?

As I understand it, when one specifies parts in the _toc.yml file, then renumbering of chapters happens at each part. Is there any way to disable that feature? I'd like for chapter numbering to continue ordinally, using parts as just a benign…
0
votes
1 answer

jupyterbook is not recognised as an internal or external command

I am trying to install jupyterbook on Windows 10 I do have Python3.9 installed so at the Dos prompt in c:\Users\kirst\AppData\Local\Programs\Python\Python39 I typed py -m pip install -U jupyter-book which placed files in the lib\site-packages…
Kirsten
  • 15,730
  • 41
  • 179
  • 318