3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-11 12:52:31 +00:00

Adjusted dot call to avoid pdflatex rejecting input due to too high resolution.

Set fairly randomly picked size when generating dot graphs based on
example I came across, to avoid the following error from pdflatex when
building documentation:

  [46 <./rdata_map_luts.pdf>]
  ! Dimension too large.

I am not sure which size make sense, nor how to decide which value are
best.

This issue is a fix for a build problem reported in
<URL: https://bugs.debian.org/1133986 >, which include a
link to the build log of the failed build.
This commit is contained in:
Petter Reinholdtsen 2026-04-16 17:59:56 +02:00
parent ec0a102302
commit c03c0d5f9d

View file

@ -33,7 +33,7 @@ TEX_FILES := $(shell find . -name *.tex)
all_tex: $(TEX_FILES:.tex=.pdf) $(TEX_FILES:.tex=.svg)
%.pdf: %.dot
$(FAKETIME) dot -Tpdf -o $@ $<
$(FAKETIME) dot -Tpdf -Gsize="9x15!" -o $@ $<
%.pdf: %.tex
cd $(@D) && $(FAKETIME) pdflatex $(<F) --interaction=nonstopmode