Skip to content

Commit 85e1d77

Browse files
committed
use pstopn/pnmtopng to generate png from ps file, because ps2png is not supported on rtd docker file
1 parent 5f96c10 commit 85e1d77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/latex/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ RSTFILES=$(TEXFILES:%.tex=%.rst)
4242
PSFILES=$(wildcard fig/*.ps)
4343
PNGFILES=$(PSFILES:%.ps=%.png)
4444
%.png : %.ps
45-
ps2png $^ $@
45+
#ps2png $^ $@
46+
pstopnm -stdout $^ | pnmtopng - > $@
47+
4648

4749
rst: manual.rst
4850
manual.rst: latex.py $(RSTFILES) $(PNGFILES)

0 commit comments

Comments
 (0)