mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-06 02:15:17 +00:00
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.
This commit is contained in:
parent
c03c0d5f9d
commit
67fac1879c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 $(<F) --interaction=nonstopmode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue