```
% pandoc -t latex
![moon^[the moon]](test/lalune.jpg)
^D
\begin{figure}
\centering
\includegraphics{test/lalune.jpg}
\caption[moon]{moon\footnotemark{}}
\end{figure}
\footnotetext{the moon}
```