CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.84k stars 7.88k forks source link

Can not generates the pdf for chapter1-chapter5, but chapter6 is ok #260

Open andyyuan78 opened 9 years ago

andyyuan78 commented 9 years ago

I ran to_latex_pdf.sh , here are the log for chapter1

ubgpu@ubgpu:~/github/PPBP/Chapter1_Introduction$ vim Chapter1.log

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2015.3.24) 6 MAY 2015 01:55 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **Chapter1.tex (./Chapter1.tex LaTeX2e <2011/06/27> Babel <3.9h> and hyphenation patterns for 2 languages loaded. (/usr/share/sphinx/texinputs/sphinxhowto.cls

LaTeX Warning: You have requested document class /usr/share/sphinx/texinputs/s phinxhowto', but the document class providessphinxhowto'.

Document Class: sphinxhowto 2009/06/02 Document class (Sphinx HOWTO) (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 )) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty Package: inputenc 2008/03/30 v1.1d Input encoding file \inpenc@prehook=\toks14 \inpenc@posthook=\toks15

(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc Now handling font encoding OML ... ... no UTF-8 mapping file for font encoding OML Now handling font encoding T1 ... ... processing UTF-8 mapping file for font encoding T1

(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc defining Unicode char U+00A1 (decimal 161) defining Unicode char U+00A3 (decimal 163) defining Unicode char U+00AB (decimal 171) defining Unicode char U+00BB (decimal 187) defining Unicode char U+00BF (decimal 191) defining Unicode char U+00C0 (decimal 192) defining Unicode char U+00C1 (decimal 193) defining Unicode char U+00C2 (decimal 194) defining Unicode char U+00C3 (decimal 195) "Chapter1.log" 2711L, 88151C 1,1 Top Overfull \vbox (151.42586pt too high) detected at line 1108 []

Overfull \vbox (152.42586pt too high) detected at line 1108 []

Overfull \vbox (153.42586pt too high) detected at line 1108 []

Overfull \vbox (154.42586pt too high) detected at line 1108 []

Overfull \vbox (155.42586pt too high) detected at line 1108 []

Overfull \vbox (156.42586pt too high) detected at line 1108 []

Overfull \vbox (157.42586pt too high) detected at line 1108 []

Package mdframed Warning: correct box splittet fails It seems you are using a non splittable contents (mdframed) on input line 1108.

Package mdframed Info: You first box width is to small mdframed fixed it (mdframed) on input line 1108. [11 <./Chapter1_files/Chapter1_19_0.png>] ! Undefined control sequence. l.1141 \lambda_1 & \text{if } t \lt \tau \cr ? ! Emergency stop. l.1141 \lambda_1 & \text{if } t \lt \tau \cr End of file on the terminal!

Here is how much of TeX's memory you used: 26800 strings out of 495028 474728 string characters out of 6181497 585611 words of memory out of 5000000 29388 multiletter control sequences out of 15000+600000 60835 words of font info for 71 fonts, out of 8000000 for 9000 15 hyphenation exceptions out of 8191 56i,10n,78p,10422b,989s stack positions out of 5000i,500n,10000p,200000b,80000s ! ==> Fatal error occurred, no output PDF file produced!

CamDavidsonPilon commented 9 years ago

Ah right, this bug was discovered last week too, but I forgot to followup. I'll try to fix this tonight!

andyyuan78 commented 9 years ago

any update? i am sorry that I am a little pushy. Since another bug is that we cannot print this article properly on IE,or firefox, so I am eager that I can see the PDF.

thanks

andyyuan78 commented 9 years ago

any can help? I want print it.

CamDavidsonPilon commented 9 years ago

I haven't had a change. Do you know any latex? The problem is in latex errors in the text. Ex:

 \lambda_1 & \text{if } t \lt
\tau \cr

is incorrect for the version of latex you have. These are why the errors are happening.

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github/deepID/DeepID_FaceClassify/src/conv_net$ sudo apt-get install texlive-latex-extra [sudo] password for ubgpu: Reading package lists... Done Building dependency tree
Reading state information... Done texlive-latex-extra is already the newest version. The following packages were automatically installed and are no longer required: avahi-utils python-gnomekeyring python-libxml2 python-smbc Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. ubgpu@ubgpu:~/github/deepID/DeepID_FaceClassify/src/conv_net$ ubgpu@ubgpu:~/github/deepID/DeepID_FaceClassify/src/conv_net$ latex This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) restricted \write18 enabled. Please type the name of your input file. Please type the name of your input file.

what's version I should have?