diff --git a/doc/images/example-report-page-1.png b/doc/images/example-report-page-1.png index 66ecc31..dd5eb2b 100644 Binary files a/doc/images/example-report-page-1.png and b/doc/images/example-report-page-1.png differ diff --git a/doc/images/example-report-page-2.png b/doc/images/example-report-page-2.png index 7275ab7..035a85d 100644 Binary files a/doc/images/example-report-page-2.png and b/doc/images/example-report-page-2.png differ diff --git a/doc/images/example-report-page-3.png b/doc/images/example-report-page-3.png index 6e84ac3..2f53320 100644 Binary files a/doc/images/example-report-page-3.png and b/doc/images/example-report-page-3.png differ diff --git a/examples/example_problemset/.crifx/crifx-report.tex b/examples/example_problemset/.crifx/crifx-report.tex index f70b922..eaa8425 100644 --- a/examples/example_problemset/.crifx/crifx-report.tex +++ b/examples/example_problemset/.crifx/crifx-report.tex @@ -18,8 +18,8 @@ \definecolor{insufficientred}{RGB}{255,100,100}% \definecolor{sufficientgreen}{RGB}{0,210,0}% \title{CRIFX Contest Preparation Status Report}% -\author{}% -\date{Compiled \today~at \DTMcurrenttime\DTMcurrentzone~for commit b0d8fbe9}% +\author{CRIFX 0.1.4}% +\date{Report compiled \today~at \DTMcurrenttime\DTMcurrentzone~for commit 0fc6ecc9}% % \begin{document}% \normalsize% diff --git a/examples/example_problemset/crifx-report.pdf b/examples/example_problemset/crifx-report.pdf index b08eaac..82962a2 100644 Binary files a/examples/example_problemset/crifx-report.pdf and b/examples/example_problemset/crifx-report.pdf differ diff --git a/scripts/make_doc_images.sh b/scripts/make_doc_images.sh new file mode 100755 index 0000000..4800a9a --- /dev/null +++ b/scripts/make_doc_images.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +test -e pyproject.toml + +magick -quality 200 -density 200 -scene 1 \ + examples/example_problemset/crifx-report.pdf \ + doc/images/example-report-page-%d.png + +for png_file in doc/images/example-report-page-*.png +do + magick "${png_file}" -background white -alpha remove -alpha off "${png_file}" +done