marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
3.01k stars 793 forks source link

Link to Chapter 7 programming environment #439

Closed fenekku closed 6 years ago

fenekku commented 6 years ago

While trying to make sure I didn't break anything in the pdf, I realized I wasn't able to build it. So I fixed the needed packages, but there seems to be a missing file (book.idx I think?) that still prevents make book.pdf from running properly.

marijnh commented 6 years ago

The TeX build dependencies are a mess, I'm afraid. book.idx should be generated by a previous run of xelatex, though.

The patch looks good.

fenekku commented 6 years ago

There were some issues beforehand that caused the error I was seeing. First bidi.sty was missing and that can be fixed by adding texlive-lang-arabic to the apt-get install. Then Inconsolata LGC font is missing (apt-get install fonts-inconsolata wasn't enough it seems). I don't know how to install it such that texlive recognizes though so I am stuck there.