mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-08 20:21:12 -06:00
DRAFT: try png
This commit is contained in:
@@ -53,7 +53,7 @@ produce a lot of \ch{CO2}.
|
||||
% Generate first with: cd figures && pdflatex fig-ethanol-oxidation-external.tex
|
||||
\begin{figure}[!htb]
|
||||
\begin{center}
|
||||
\includegraphics{figures/fig-ethanol-oxidation-external.pdf}
|
||||
\includegraphics{figures/fig-ethanol-oxidation-external.png}
|
||||
\caption[Acetic acid creation]{Oxygen is required to create acetic
|
||||
acid~\cite{acetic+acid+production}.}%
|
||||
\end{center}
|
||||
@@ -70,8 +70,8 @@ produce a lot of \ch{CO2}.
|
||||
% Works
|
||||
% Generate first with: cd figures && pdflatex fig-life-planet-sourdough-timeline-external.pdf
|
||||
\begin{figure}[!htb]
|
||||
\includegraphics{figures/fig-life-planet-sourdough-timeline-external.pdf}
|
||||
\caption[Sourdough microbiology timeline]{Timeline works embedded as pdf}%
|
||||
\includegraphics{figures/fig-life-planet-sourdough-timeline-external.png}
|
||||
\caption[Sourdough microbiology timeline]{Timeline works embedded as png}%
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}[!htb]
|
||||
|
||||
@@ -10,6 +10,7 @@ if [ "$#" -ne 1 ]; then
|
||||
done
|
||||
else
|
||||
target=figures/`basename $1 .png.pdf`.png
|
||||
echo ${target}
|
||||
echo "Converting: " $1 " to: " ${target}
|
||||
convert -density 900 -trim $1 -quality 100 ${target}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user