Hi,
But instead, I want a specific output for LaTeX and another for EPUB (which goes through HTML). Basically, something like
$if(outputformat=latex)$
\begin{foo}
some text
\end{foo}
$endif$
$if(outputformat=epub)$
<div class="foo">
some text
</div>
$endif$
Can anyone shed some light on me?
Thanks!