From dbb4ce0df0ce1d15cf66fc59e0c769cca16b4f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Kesz=C3=B6cze?= Date: Thu, 7 Nov 2024 11:50:28 +0100 Subject: [PATCH 1/4] Add prerequisites to book make target In order to build the book, one needs to have some code and figures generated. Adding this explicitly to the corresponding make target allows to simply call `make book`, wait, and receive the final pdf file. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 620afef..0f7c635 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ checkref: fig: make -C figures -book: +book: gencode fig pdflatex $(DOC) pdflatex $(DOC) bibtex $(DOC) From aa3769af0f927058a0d136e7b6d976a43716a909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Kesz=C3=B6cze?= Date: Thu, 7 Nov 2024 12:00:15 +0100 Subject: [PATCH 2/4] Add prerequisites to slides make target In order to build the slides, one needs to have some code and figures generated. Adding this explicitly to the corresponding make target allows to simply call `make genslides`, wait, and receive the final pdf file. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0f7c635..b7c1db8 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ book: gencode fig pdflatex $(DOC) pdflatex $(DOC) -genslides: +genslides: gencode fig cd slides; ./doslides.sh veryclean: From a0389c2f8ce19f63d6e08c421917eca01da12e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Kesz=C3=B6cze?= Date: Thu, 7 Nov 2024 12:03:45 +0100 Subject: [PATCH 3/4] Fix LaTeX build error The xcolor packages was provided with the non-existent option pdflatex. This seems to be a rather common problem. The code is changed according to the solution presented at StackOverflow: https://tex.stackexchange.com/questions/713015/unknown-option-pdflatex-for-package-xcolor-edef --- slides/common/slides_common.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/common/slides_common.tex b/slides/common/slides_common.tex index c08d14f..688b709 100644 --- a/slides/common/slides_common.tex +++ b/slides/common/slides_common.tex @@ -1,4 +1,4 @@ -\documentclass[xcolor=pdflatex,dvipsnames,table]{beamer} +\documentclass[xcolor={dvipsnames,table}]{beamer} \usepackage{epsfig,graphicx} \usepackage{palatino} \usepackage{fancybox} From 1b383beb9c4635de2567d32db750c3ceb13b304f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Kesz=C3=B6cze?= Date: Thu, 7 Nov 2024 13:33:08 +0100 Subject: [PATCH 4/4] Make the Makefile for the tutorial build as much as possible --- slides-tutorial/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/slides-tutorial/Makefile b/slides-tutorial/Makefile index 49c9e1b..39641cd 100644 --- a/slides-tutorial/Makefile +++ b/slides-tutorial/Makefile @@ -3,7 +3,10 @@ all: pdflatex program - pdflatex intro + pdflatex features + pdflatex chisel-10min + pdflatex chisel-30min + pdflatex unit1 pdflatex unit2 pdflatex unit3 pdflatex unit4