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 09:02:17 +02:00
parent ca8152bc82
commit 69d11f2a4a
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
SOURCE = bchart-simple
DELAY = 80
DENSITY = 300
WIDTH = 500
WIDTH = 512
make:
pdflatex $(SOURCE).tex -output-format=pdf
@ -25,11 +25,9 @@ transparentGif:
make clean
svg:
make
#inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
pdf2svg $(SOURCE).pdf $(SOURCE).svg
# Necessary, as pdf2svg does not always create valid svgs:
inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg
rsvg-convert -a -w $(WIDTH) -f svg $(SOURCE).svg -o $(SOURCE)2.svg
inkscape $(SOURCE)2.svg --export-plain-svg=$(SOURCE).svg
rm $(SOURCE)2.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](bchart-simple.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB