Closed ntoslinux closed 2 months ago
@dendibakh
Actually, you're right. I like to use powershell on windows (and maybe some other folks as well), so let's keep powershell commands as well.
My suggestion:
# 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}
And sorry for the delay
Below change will make the build instructions same as Linux. We just have to run
cmd
before running them.