Skip to content

Webpdf export appends .pdf #2248

@timkpaine

Description

@timkpaine
> jupyter nbconvert Untitled.ipynb --to html --output=test.html
[NbConvertApp] Converting notebook Untitled.ipynb to html
[NbConvertApp] Writing 276742 bytes to test.html

> jupyter nbconvert Untitled.ipynb --to pdf --output=test.pdf
[NbConvertApp] Converting notebook Untitled.ipynb to pdf
[NbConvertApp] Writing 20449 bytes to notebook.tex
[NbConvertApp] Building PDF
[NbConvertApp] Running xelatex 3 times: ['xelatex', 'notebook.tex', '-quiet']
[NbConvertApp] Running bibtex 1 time: ['bibtex', 'notebook']
[NbConvertApp] WARNING | bibtex had problems, most likely because there were no citations
[NbConvertApp] PDF successfully created
[NbConvertApp] Writing 8301 bytes to test.pdf

> jupyter nbconvert Untitled.ipynb --to webpdf --output=test.pdf
[NbConvertApp] Converting notebook Untitled.ipynb to webpdf
[NbConvertApp] Building PDF
[NbConvertApp] PDF successfully created
[NbConvertApp] Writing 9709 bytes to test.pdf.pdf

Note:

to test.html
to test.pdf
to test.pdf.pdf

Apologies if this is a duplicate, I'm going to open a PR and want to link an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions