From 67fac1879c7bca1dfe99000618df6ed8e7c83842 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Tue, 5 May 2026 10:24:04 +1200 Subject: [PATCH] fixup dot pdf size limit Use US letter size as (a less arbitrary) max, since the final latexpdf size is the same. Drop the ! since smaller images are fine. Fix `x` -> `,` for `x,y` separator. --- docs/source/_images/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/_images/Makefile b/docs/source/_images/Makefile index 086821c60..dc75c97c9 100644 --- a/docs/source/_images/Makefile +++ b/docs/source/_images/Makefile @@ -32,8 +32,9 @@ FORCE: TEX_FILES := $(shell find . -name *.tex) all_tex: $(TEX_FILES:.tex=.pdf) $(TEX_FILES:.tex=.svg) +# limit output size to US letter (same as latexpdf output) to avoid oversize error %.pdf: %.dot - $(FAKETIME) dot -Tpdf -Gsize="9x15!" -o $@ $< + $(FAKETIME) dot -Tpdf -Gsize="8.5,11" -o $@ $< %.pdf: %.tex cd $(@D) && $(FAKETIME) pdflatex $(