Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 6 years, 8 months ago. Active 2 months ago. Viewed k times. PandocMissing: Pandoc wasn't found: Please check that pandoc is installed if i try to install pandoc pip install pandoc , this gives me ImportError: No module named 'ConfigParser' and this is where i get stuck because i just don't know what else to do. Isak Baizley Isak Baizley 1, 3 3 gold badges 13 13 silver badges 19 19 bronze badges. That means you have to install them before you can use this feature.
And they're not python packages, therefore you cannot use pip. Add a comment. Active Oldest Votes. To make it work, I installed latex, typical latex extra, and pandoc. With ubuntu: sudo apt-get install texlive texlive-latex-extra pandoc it takes some times: several Mb to download. Mine required pandoc and texlive-xetex. I also needed texlive-generic-extra for solving this issue , apart from texlive-xetex that douggard suggested. Thanks a lot that was a great help : — farnaz jazayeri. If you are on a Mac and have Homebrew installed, open a terminal shell and install pandoc typing the command: brew install pandoc be patient, time to install and compile can take a while on slow internet connections or older systems.
Andrea Andrea 1 1 gold badge 10 10 silver badges 18 18 bronze badges. This worked on OS X My installation on pandoc took less than a minute I must have had most of the components already on my system. Took 2 minutes. AndreaNalon The command mentioned above isn't working, stackoverflow. For OSX Scott Scott 2, 25 25 silver badges 38 38 bronze badges.
To convert notebooks to PDF you first need to have nbconvert installed. Ninjakannon 3, 5 5 gold badges 46 46 silver badges 68 68 bronze badges. Tanmay Lata Tanmay Lata 1 1 silver badge 6 6 bronze badges. The following short line directly generated a PDF file without leaving any intermediary files created through compilation.
Philipp Schwarz Philipp Schwarz 13k 4 4 gold badges 30 30 silver badges 34 34 bronze badges. I htink the answer will be clearer if you just put the commandline options for wkhtml, and an example. So, I tried this.
It is effectively better than exporting directly to pdf. Weirdly, some of my mathjax is rendered correctly at the start of the document , and then it stops rendering, about 12 pages into the document, for no obvious reason. Install Nbconvert, Pandoc, and Tex: Open a terminal and implement the following commands in it.
Yogesh Yogesh 1, 18 18 silver badges 16 16 bronze badges. MobileDev MobileDev 91 5 5 bronze badges. I agree, but Chrome, some times, don't print all the outputs because Jupyter make a scroll for big outputs.
Can you add this information in your answer? This can be very helpful for more users. Dhiren Biren Dhiren Biren 3 3 silver badges 5 5 bronze badges. This solution failed to include images when I did it.
Mac OSX: using MacPorts installation of pandoc port install pandoc This should take nearly an hour to complete in the usual case. Then it will produce both latex and HTML, and each tool can select the one it's best able to display. By design, there isn't something to check for where the output is going, because it can go to more than one place e.
Instead, a displayed object can represent itself in multiple formats, and different tools can select the best one for themselves. Skip to content. Star 1. New issue. Jump to bottom. Labels format:LaTeX. Copy link. HTML works well in --to html, however does not display correctly in --to pdf The text was updated successfully, but these errors were encountered:. HTML df. If you want to open a pdf file using the jupyter filebrowser, you need to use Firefox - Google Chrome blocks it.
Alternatively, to open the pdf inside a jupyter notebook cell, you can use IFrame - but again, it doesn't work for Chrome. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.
Ask Question. Asked 2 years, 8 months ago. Active 1 year, 5 months ago. Viewed 10k times. Kai Aeberli 1, 7 7 silver badges 18 18 bronze badges. Kshitij Agarwal Kshitij Agarwal 2 2 silver badges 10 10 bronze badges. Why do you want to open a pdf in Jupyter? If you just want to read it, you could use a pdf reader. Are you trying to edit it? No Simon. I want to read the file in the browser itself as I am doing courses together and they all have pdf files in them.
0コメント