Ipython 3.0.0 html未导出为pdf

Ipython 3.0.0 html未导出为pdf,html,pdf,export,ipython-notebook,Html,Pdf,Export,Ipython Notebook,刚刚在Debian Linux上将我的IPython升级到新的稳定版本3.0.0,经过最初的几次颠簸之后,我现在可以将我的笔记本导出到pdf 然而。。。使用html时,nbconvert不会将html呈现为pdf from IPython.display import HTML eersteWaarde = 3.2 tweedeWaarde = 4.3 s = """<table width="80%"> <tr> <th width="40%">E

刚刚在Debian Linux上将我的IPython升级到新的稳定版本3.0.0,经过最初的几次颠簸之后,我现在可以将我的笔记本导出到pdf

然而。。。使用html时,nbconvert不会将html呈现为pdf

from IPython.display import HTML
eersteWaarde = 3.2
tweedeWaarde = 4.3

s = """<table width="80%">
<tr>
    <th width="40%">Eerste waarde</th>
    <th width="40%">Tweede waarde</th>
</tr>
<tr>
    <td>""" + str(eersteWaarde) + """</td>
    <td>""" + str(tweedeWaarde) + """</td>
</tr>
</table>"""

html = HTML(s)
display(html)
另外,我在哪里可以找到中间文件“notebook.tex”?顺便说一句,html cellmagic在导出为pdf时也不能正确呈现

任何帮助都会很好,
KK

将任意HtML转换为Latex可能是不可能的。因此,在PDF转换中不需要使用HTML。所以HTML是在转换过程中故意丢弃的

%%bash 
ipython nbconvert Untitled1.ipynb --to pdf

[NbConvertApp] Using existing profile dir: u'/home/wout/.ipython/profile_default'
[NbConvertApp] Converting notebook Untitled1.ipynb to pdf
[NbConvertApp] Support files will be in Untitled1_files/
[NbConvertApp] Loaded template article.tplx
[NbConvertApp] Making directory Untitled1_files
[NbConvertApp] Writing 15864 bytes to notebook.tex
[NbConvertApp] Building PDF
[NbConvertApp] Running pdflatex 3 times: [u'pdflatex', u'notebook.tex']
[NbConvertApp] PDF successfully created
[NbConvertApp] Making directory Untitled1_files
[NbConvertApp] Writing 206123 bytes to Untitled1.pdf