Sorry for being unprecise.
Here is what I want to achieve with an example.
I have a mediawiki file FILE.wiki including a template part like this
{{lemma|1=
The following are equivalent for all propositional formulas $\varphi$ and $\psi$:
# $\varphi \SemEquiv \psi$.
# $\models \varphi \leftrightarrow \psi$.
}}
and a mediawiki template file Template:lemma like this :
<div style="background-color: #e8e8e8">
'''Lemma'''
{{{1}}}
</div>
I want to convert FILE.wiki to html and the html afterwads to pdf.
Currently the lemma part in FILE.wiki, defined in Template:lemma, is ignored and only the rest is converted.
Sorry for being pandoc newb.
Am Dienstag, 29. Januar 2019 14:37:19 UTC+1 schrieb Joseph:
On 1/29/19 8:12 AM, h...-3vvhdjb0zIN5ymO/+jiHEA@public.gmane.org wrote:
> I want to convert mediawiki files including mediawiki templates to
> pdf but don't know who to get mediawiki template files to register.
> Pandoc is ignoring them.
If I understand you correctly, there's thousands of templates; it's not as if pandoc has a version of the mediawiki templating engine. Your probably better going the media->HTML->PDF route.