bigcompany / know-your-http

a series of A1-sized posters about the HTTP protocol
Other
1.23k stars 77 forks source link

Removed duplicated pdf generation #15

Closed bcho closed 10 years ago

bcho commented 10 years ago

It's ok to run the command only once.

And by the way, is it better to use xelatex than pdflatex ?

jfhbrook commented 10 years ago

It's ok to run the command only once.

You actually do need to run them twice. The first time you run it, you should generate metadata files, and then the second time actually incorporate them into the build. LaTeX generally has to be ran in multiple passes, and it doesn't really manage that for you. We could make tasks for these metadata files, but in this case just running it twice every time was easier.

And by the way, is it better to use xelatex than pdflatex ?

No. xetex was basically invented because at the time pdftex couldn't handle truetype fonts. This could be an issue if we were using a truetype font, but we're not so it's cool. (As a side note, luatex can do the same truetype stuff as xetex but with any pdftex features xetex was missing, plus lua scripting support.)

bcho commented 10 years ago

OK, thanks for your quick response :)