When I add images to scrivener some are not correctly compiled to MMD, then to LaTeX.
I have the same issue as @phrk here: Using Images with MMD to Latex
Although his solution does not work all the time.
After adding a picture and compiling it to markdown they appear as so:
![Ice-cream machine fully assembled][Draft_Full_Isometric]## Hardware ##
Then they are compiled to LaTeX and become:
\begin{figure}[htbp]
\centering
\includegraphics[width=241pt,height=400pt]{Draft_Full_Isometric.png}
\caption{Ice-cream machine fully assembled}
\label{draft_full_isometric}
\end{figure}
BUT SOMETIMES:
They generate to this markdown:
Also note that the ice forming on the wall of the cylinder heat exchanger, creates a heat-insulating layerben_lakhdar_heat_2005, therefore constant scraping is necessary, and heat transfer in this way is a pulsating exchange.
![Breakout of the freezing assembly][Draft_FreezingAssembly_PerspectWithBladesUncut]
Translates to LaTeX without the tags:
\includegraphics[width=350pt,height=269pt]{Draft_FreezingAssembly_PerspectWithBladesUncut.png}
The difference as @phrk noted is the trailing empty line before the image. But it has to be in Markdown!
Sometimes Scrivener removes this empty line.
And the empty line in front of the image in Scrivener would not fix it.
Sometimes an empty line with a whitespace fixes it, but sometimes even that would not help.
All my images are at the end of scrivenings, and have text before them
I could replace /r/n