Makefile 765 B

123456789101112131415161718192021222324252627282930313233
  1. SOURCE = chess-chessboard-simple-example
  2. DELAY = 80
  3. DENSITY = 300
  4. WIDTH = 512
  5. make:
  6. pdflatex $(SOURCE).tex -output-format=pdf
  7. pdflatex $(SOURCE).tex -output-format=pdf
  8. make clean
  9. clean:
  10. rm -rf $(TARGET) *.class *.html *.log *.aux *.data
  11. gif:
  12. pdfcrop $(SOURCE).pdf
  13. convert -verbose -delay $(DELAY) -loop 0 -density $(DENSITY) $(SOURCE)-crop.pdf $(SOURCE).gif
  14. make clean
  15. png:
  16. make
  17. make svg
  18. inkscape $(SOURCE).svg -w $(WIDTH) --export-png=$(SOURCE).png
  19. transparentGif:
  20. convert $(SOURCE).pdf -transparent white result.gif
  21. make clean
  22. svg:
  23. #inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
  24. pdf2svg $(SOURCE).pdf $(SOURCE).svg
  25. # Necessary, as pdf2svg does not always create valid svgs:
  26. inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg
HTTP/1.0 302 Found Content-Type: text/html; charset=utf-8 Location: /radu/LaTeX-examples/src/34cebd8a5ddb0870c4d24caa44f0edddaa7de3f3/documents/gantt-pgf Set-Cookie: lang=zh-TW; Path=/; Max-Age=2147483647 Date: Wed, 05 Aug 2026 12:38:02 GMT Content-Length: 108 Found.