I got the ebook template (https://www.latextemplates.com/template/ebook) and can't seem to get it to work on my system.
It works fine in Overleaf: https://www.overleaf.com/read/gpbzxbcxzcmx
But on my machine it doesn't work: https://daviddaily.dev/LaTeX/Anders/Output.pdf
all of the code for it is also there: https://daviddaily.dev/LaTeX/Anders
the shell script I'm using to generate Output.pdf is
Code: Select all
#!/bin/bash
while inotifywait -e close_write *.tex; do
pdflatex -file-line-error -interaction nonstopmode Main.tex
mv Main.pdf Output.pdf
mv Main.log .main.log
rm Main.out
rm Main.aux
rm Main.toc
done
Code: Select all
#!/bin/bash
while inotifywait -e close_write *.tex; do
pdflatex -file-line-error -interaction nonstopmode Main.tex
pdflatex -file-line-error -interaction nonstopmode Main.tex
mv Main.pdf Output.pdf
mv Main.log .main.log
rm Main.out
rm Main.aux
rm Main.toc
done