2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

added image

This commit is contained in:
Martin Thoma 2014-09-25 08:57:32 +02:00
parent fa6853c7c4
commit ea3127a5f2
3 changed files with 8 additions and 4 deletions

View file

@ -1,14 +1,14 @@
SOURCE = bar-chart-simple SOURCE = bar-chart-simple
DELAY = 80 DELAY = 80
DENSITY = 300 DENSITY = 300
WIDTH = 500 WIDTH = 512
make: make:
pdflatex $(SOURCE).tex -output-format=pdf pdflatex $(SOURCE).tex -output-format=pdf
make clean make clean
clean: clean:
rm -rf $(TARGET) *.class *.html *.log *.aux rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
gif: gif:
pdfcrop $(SOURCE).pdf pdfcrop $(SOURCE).pdf
@ -25,8 +25,9 @@ transparentGif:
make clean make clean
svg: svg:
make
#inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg #inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
pdf2svg $(SOURCE).pdf $(SOURCE).svg pdf2svg $(SOURCE).pdf $(SOURCE).svg
# Necessary, as pdf2svg does not always create valid svgs: # Necessary, as pdf2svg does not always create valid svgs:
inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg #inkscape $(SOURCE)1.svg --export-width=$(WIDTH) --export-plain-svg=$(SOURCE)1.svg
#rsvg-convert -a -w 720 -f svg $(SOURCE)1.svg -o $(SOURCE).svg
#rm $(SOURCE)1.svg

View file

@ -0,0 +1,3 @@
Compiled example
----------------
![Example](bar-chart-simple.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB