Hi Brett,
Brett Viren <[email protected]> writes:
> #+MACRO: himg #+HTML: <a name="$1"><center><img width="100%" src="$2.svg"
> alt="$3"/> $3</center></a>
> #+MACRO: limg #+LATEX:
> \begin{figure}\label{$1}\includegraphics[width=\textwidth]{$2.pdf}\caption{$3}\end{figure}
>
> I then call each macro explicitly:
>
> {{{limg(fig:overview,dataflow,Overview of the data flow.)}}}
> {{{himg(fig-overview,dataflow,Overview of the data flow.)}}}
>
> It works but has a few warts:
>
> 0) It totally subverts org-mode's figure markup.
>
> 1) So far I think I must use two macro calls thus annoyingly repeating
> data. Can macros be nested?
No.
> Can they have newlines?
I don't think so -- did you try?
--
Bastien