Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.56 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.56 KB

X (formerly Twitter) Follow GitHub Repo stars

"Performance Analysis and Tuning on Modern CPUs" by Denis Bakhvalov, et al.

Building a book (pdf)

At the moment, building the PDF book only works on Windows and Linux. MacOS requires building some components (e.g. pandoc-crossref) from sources.

Requirements:

  • Python3. Install natsort module: pip install natsort.
  • Pandoc. Install version 2.9
  • pandoc-fignos and pandoc-tablenos. Run pip install pandoc-fignos pandoc-tablenos.
  • pandoc-crossref. This one requires manual installation. I just downloaded the binary from here and copied it to the same place where pandoc-fignos is.
  • MiKTeX. Check Yes for automatic package installation.

Run:

# Linux bash and Windows cmd prompt
python export_book.py && pdflatex book.tex && bibtex book && pdflatex book.tex && pdflatex book.tex

# Windows powershell
function Run-Block-With-Error($block) {
    $ErrorActionPreference="Stop"
    Invoke-Command -ScriptBlock $block
}
Run-Block-With-Error {python.exe export_book.py; pdflatex book.tex; bibtex book; pdflatex book.tex; pdflatex book.tex}

As a result, book.pdf will be generated. The first compilation may be slow.

License

Creative Commons Zero v1.0 Universal