diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb2f774 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.tex +build diff --git a/Cgroups/linux-cgroups1.md b/Cgroups/linux-cgroups-1.md similarity index 100% rename from Cgroups/linux-cgroups1.md rename to Cgroups/linux-cgroups-1.md diff --git a/LinuxKernelInsides.pdf b/LinuxKernelInsides.pdf new file mode 100644 index 0000000..675a6a2 Binary files /dev/null and b/LinuxKernelInsides.pdf differ diff --git a/latex.sh b/latex.sh new file mode 100755 index 0000000..b79935c --- /dev/null +++ b/latex.sh @@ -0,0 +1,23 @@ +#!/bin/bash +rm -r build +mkdir build +for D in *; do + if [ -d "${D}" ] && [ "${D}" != "build" ] + then + echo "Converting $D . . ." + pandoc ./$D/README.md ./$D/linux-*.md -o build/$D.tex --template default + fi +done + +cd ./build +for f in *.tex +do + pdflatex -interaction=nonstopmode $f +done + +cd ../ +pandoc README.md SUMMARY.md CONTRIBUTING.md CONTRIBUTORS.md \ + -o ./build/Preface.tex --template default + +pdfunite ./build/*.pdf LinuxKernelInsides.pdf +