This shows how to dynamically generate a plot in R+ggplot2, then embed it into a latex document, and compile it to pdf, all with proper autodependencies.
3 lines
55 B
Text
3 lines
55 B
Text
exec >&2
|
|
redo-ifchange "$2.dvi"
|
|
dvips -o "$3" "$2.dvi"
|