Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PARTIES
publications
Minimal Scheduling
Commits
1e40c628
Commit
1e40c628
authored
Jul 21, 2020
by
Jaime Arias
Browse files
fix script to generate figures
parent
1d87b090
Changes
1
Hide whitespace changes
Inline
Side-by-side
results/generate_figures.sh
View file @
1e40c628
...
...
@@ -13,5 +13,5 @@ for path in $TEX_FILE; do
filename
=
`
basename
$path
.tex
`
;
echo
'Processing '
$path
;
(
cd
$folder
;
tex-pdf
"
$filename
.tex"
&&
pdftoppm
-png
"
$filename
.pdf"
"
$filename
"
&&
if
[[
$(
ls
$filename
*
.png |
wc
-l
)
-eq
1
]]
;
then
mv
"
$filename
-1.png"
"
$filename
.png"
;
fi
)
;
(
cd
$folder
;
tex-pdf
"
$filename
.tex"
&&
pdftoppm
-png
"
$filename
.pdf"
"
$filename
"
&&
if
[[
$(
ls
$filename
*
.png |
wc
-l
)
=
1
]]
;
then
mv
"
$filename
-1.png"
"
$filename
.png"
;
fi
)
;
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment