Skip to content

Commit

Permalink
Merge pull request #972 from Madhu94/add-pdf-mimetype
Browse files Browse the repository at this point in the history
PDFExporter currently has its "output_mimetype" traitlet to be 'text/latex'
  • Loading branch information
MSeal authored Mar 26, 2019
2 parents 6cbc541 + ca1a264 commit 914be01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nbconvert/exporters/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class PDFExporter(LatexExporter):

texinputs = Unicode(help="texinputs dir. A notebook's directory is added")
writer = Instance("nbconvert.writers.FilesWriter", args=(), kw={'build_directory': '.'})

output_mimetype = "application/pdf"

_captured_output = List()

Expand Down

0 comments on commit 914be01

Please sign in to comment.