d2l-ai / d2l-book

Books with Jupyter notebooks
https://book.d2l.ai/
Apache License 2.0
230 stars 99 forks source link

Render problems in d2l ipynb and pdf #73

Open f-zl opened 1 year ago

f-zl commented 1 year ago

Thanks for the tool. I found some render problems in d2l ipynb and pdf that might be related to this repo.

Screenshot of d2l-en/xxx/chapter_multilayer-perceptrons/mlp.ipynb: ipynb

I'm not sure whether the rst strings like :numref: is an error because there are raw rst strings in the top index.ipynb as well. Should some extensions be installed for jupyter notebook to render this, or is it a compilation error?

Screenshot of d2l-en.pdf, page170: pdf \$ should be $

AnirudhDagar commented 1 year ago

Hi, thanks for raising the issue. This is a know missing feature, where the markdown references and labels are not translated to the links in jupyter notebooks built from the md files. Feel free to send a PR to add support for the conversions.