mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
updated Makefile; added compiled png to examples
This commit is contained in:
parent
c4a77fb34e
commit
93e7d576e2
8 changed files with 79 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
|||
SOURCE = vector-addition-and-scaling
|
||||
DELAY = 80
|
||||
DENSITY = 300
|
||||
WIDTH = 500
|
||||
WIDTH = 512
|
||||
|
||||
make:
|
||||
pdflatex $(SOURCE).tex -output-format=pdf
|
||||
make clean
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET) *.class *.html *.log *.aux
|
||||
rm -rf $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
|
||||
|
||||
gif:
|
||||
pdfcrop $(SOURCE).pdf
|
||||
|
@ -25,7 +25,11 @@ 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
|
||||
|
|
BIN
tikz/vector-addition-and-scaling/vector-addition-and-scaling.png
Normal file
BIN
tikz/vector-addition-and-scaling/vector-addition-and-scaling.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Add table
Add a link
Reference in a new issue