is there a generic fallback like an "else" statement for neither html nor latex outputs?

On Tue, Apr 9, 2019, 16:30 John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:
ivo welch <ivowel@gmail.com> writes:

> my main problem is the lack of column spanning support in md tables. 
>  Alas, until there is a definitive solution, are there crutch solutions? 
> In particular, I wonder how one can author raw html tables (and/or raw tex)
> tables into the markdown text and just do it twice, once in each native
> format.

Yes, you can do this. Use the raw attribute:

```{=latex}
\begin{table}
...here's your tex table.
...it won't appear in HTML output
\end{table}
```

```{=html}
<table>
...here's your HTML table.
...it won't appear in LaTeX output
```

> or can pandoc take an html table with column spans, properly
> designated in the markdown, and convert it to a tex table with column spans
> (i.e., not authoring the table as a markdown table).

Sorry, the answer to this is no, currently.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/yh480kr2ab3rke.fsf%40johnmacfarlane.net.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAK0LiykYbQb8JPmdahhU3rVATJWSvhrrNoTd%3DEf119-oSZ7H%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.