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

Better support for PDF reports #672

Closed
Ro-Ol opened this issue Mar 22, 2022 · 7 comments
Closed

Better support for PDF reports #672

Ro-Ol opened this issue Mar 22, 2022 · 7 comments

Comments

@Ro-Ol
Copy link

Ro-Ol commented Mar 22, 2022

Hello,

at the moment is only possible to have the report of a task in .ipynb/.html format.
It would also be useful to have them in .pdf.

I personally use wkhtmltopdf for the .html/.pdf conversion, I do not know if it is useful.

Best,
Raffaele

@idomic
Copy link
Contributor

idomic commented Mar 22, 2022

So after some digging, you can use .pdf, we're using behind the hood in nbconvert, you'll just need to add more dependencies. You'll need to install pandoc and Tex: https://nbconvert.readthedocs.io/en/latest/install.html#installing-pandoc

Then you can just change the extension to .pdf

Let me know if that works for you?

@Ro-Ol
Copy link
Author

Ro-Ol commented Mar 22, 2022 via email

@edublancas edublancas changed the title Reports in pdf Better support for PDF reports Mar 22, 2022
@edublancas
Copy link
Contributor

Thanks for your feedback! It makes sense to support different PDF converters, we'll add this to the roadmap. in the meantime, my recommendation is to output .ipynb in your pipeline.yaml and then convert them to PDF using nbconvert

@Ro-Ol
Copy link
Author

Ro-Ol commented Mar 22, 2022 via email

@edublancas
Copy link
Contributor

Great, does this solve the issue? If so, I'll close this and open a new one so we keep in mind to add support for other PDF converters.

@Ro-Ol
Copy link
Author

Ro-Ol commented Mar 22, 2022

Yes it does, just keeping in mind that in some cases the HTML format for inserting images could be the best choice

@edublancas
Copy link
Contributor

agree! thanks for your feedback, keep an eye on #675 - we'll work on this soon :)

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

No branches or pull requests

3 participants