dendibakh / perf-book

The book "Performance Analysis and Tuning on Modern CPU"
https://book.easyperf.net/perf_book
Creative Commons Zero v1.0 Universal
2.06k stars 148 forks source link

Failed to get a complete build #3

Closed gavinchou closed 1 year ago

gavinchou commented 2 years ago

Nice book!

I have pandoc 2.16.2 and pandoc-crossref (built with pandoc 2.16) installed, however, I got the error LaTeX Error: Environment pandoccrossrefsubfigures undefined.

I ignored all the error messages and finally got a pdf book with 176 pages. I don't know if it is a complete book.

Here is the detailed message

Underfull \hbox (badness 10000) in paragraph at lines 1442--1442
[][][]\T1/lmr/m/n/9 (+20) Book ``Work-load Mod-el-ing for Com-puter Sys-tems Pe
r-for-mance Eval-u-a-tion'' -
[23 <./img//1/CompDist2.png>]

! LaTeX Error: Environment pandoccrossrefsubfigures undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.1470 \begin{pandoccrossrefsubfigures}

Env. info

macOS Big Sur

$ pandoc --version
pandoc 2.16.2
Compiled with pandoc-types 1.22.1, texmath 0.12.3.3, skylighting 0.12.1,
citeproc 0.6, ipynb 0.1.0.2
User data directory: /Users/gavin/.local/share/pandoc
Copyright (C) 2006-2021 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

$ pandoc-crossref --version
pandoc-crossref v0.3.12.1 git commit 0a47293d7d47aa763e82204e13deabc8f1a041c4 (HEAD) built with Pandoc v2.16.2, pandoc-types v1.22.1 and GHC 8.10.7

$ pdflatex --version
pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018)
kpathsea version 6.3.0
Copyright 2018 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.34; using libpng 1.6.34
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.00

$ bibtex --version
BibTeX 0.99d (TeX Live 2018)
kpathsea version 6.3.0
Copyright 2018 Oren Patashnik.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the BibTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the BibTeX source.
Primary author of BibTeX: Oren Patashnik.
caork commented 2 years ago

same

dendibakh commented 2 years ago

Sorry folks. I will take a look over the weekend.

dendibakh commented 2 years ago

Please check again. I think after https://github.com/dendibakh/perf-book/commit/be6204563f455db01d2c052644daa28c612c6aa8 it should work. It's building for me.