brpy / colab-pdf

Simple script to download your colab ipynb as a pdf using nbconvert
Apache License 2.0
82 stars 38 forks source link

Doesn't export full notebook #1

Open RenatoLopes771 opened 3 years ago

RenatoLopes771 commented 3 years ago

Other users on youtube are also having this issue. It's on the last few pages, where it doesn't print everything.

However, I don't believe it's fully your fault. If I try to print out of the browser, the same problem happens (and with ugly print). I don't know

brpy commented 3 years ago

Have you used any plots just before the problem starts to appear? If yes what kinds of plots?

If you are comfortable with it, could you share the notebook?

RenatoLopes771 commented 3 years ago

Yes. Here's the file (I'll delete it once this issue is resolved): Just put it on google colab

file.zip

brpy commented 3 years ago

Hi! I ran it on colab after passing the exact file name with underscores.

It gave me the pdf file for all content as expected.

Could you maybe share your pdf file?

C_Exemplos_Recursivos_e_iterativos.pdf

murgado commented 3 years ago

Today I had the same issue and I managed to address it by:

  1. Cloning the ipynb file into the "Colab Notebooks" directory.
  2. Changing the name of the file in order to transform all whitespaces into underscores (normalization of the file's name).

After these steps, one must just change the code section related to the conversion to PDF, specifying the file's name and then execute it. Easy peasy 👍