mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2026-04-20 19:04:29 -05:00
Export figures feature (#70)
This adds a `make export_figures` command which exports all the flow charts into nicely looking pngs. The command requires that you have docker running locally.
This commit is contained in:
committed by
GitHub
parent
36b9c4c7a9
commit
e0d5422041
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
for i in *.pdf
|
||||
do
|
||||
docker run -v $(pwd):/imgs dpokidov/imagemagick -density 900 -trim /imgs/$i -quality 100 /imgs/$i.png
|
||||
rename 's/pdf.png/png/' *.png
|
||||
rename 's/fig-/figure-/' *.png
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user