public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: hbs-3vvhdjb0zIN5ymO/+jiHEA@public.gmane.org
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: mediawiki to html
Date: Tue, 29 Jan 2019 05:59:10 -0800 (PST)	[thread overview]
Message-ID: <2a3c5fdd-b4de-474b-a630-e18018ec27e5@googlegroups.com> (raw)
In-Reply-To: <b22a1829-5e59-97f6-4fe2-0474b1c97e17-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1753 bytes --]

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 <javascript:> 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. 
>

-- 
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2a3c5fdd-b4de-474b-a630-e18018ec27e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2755 bytes --]

  parent reply	other threads:[~2019-01-29 13:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29 13:12 hbs-3vvhdjb0zIN5ymO/+jiHEA
     [not found] ` <66e9301c-8943-4732-82af-071a957a6710-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-01-29 13:37   ` Joseph Reagle
     [not found]     ` <b22a1829-5e59-97f6-4fe2-0474b1c97e17-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2019-01-29 13:59       ` hbs-3vvhdjb0zIN5ymO/+jiHEA [this message]
     [not found]         ` <2a3c5fdd-b4de-474b-a630-e18018ec27e5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-01-30  5:35           ` John MacFarlane
     [not found]             ` <m2sgxaemi0.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-01-30 12:53               ` hbs-3vvhdjb0zIN5ymO/+jiHEA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a3c5fdd-b4de-474b-a630-e18018ec27e5@googlegroups.com \
    --to=hbs-3vvhdjb0zin5ymo/+jihea@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).