emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: exporting to mediawiki syntax math is not converted
Date: Tue, 21 Jun 2022 06:59:16 +0200	[thread overview]
Message-ID: <87r13izk63.fsf@mat.ucm.es> (raw)
In-Reply-To: 87tu8er5je.fsf@localhost

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

>>> "IR" == Ihor Radchenko <yantar92@gmail.com> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>>> See org-html-with-latex. We use mathjax syntax for LaTeX export by
>>> default
>> I see, but that means, the exported wiki cannot be used say for
>> wikipedia since it uses mediawiki syntax for math.
>> Does anybody knows about a 3rd party package providing support for mediawiki?

> You just need a custom export filter for latex fragments in
> org-export-filter-latex-fragment-functions.

> Or, if you think that mediawiki math export is common enough, we may
> implement mediawiki support as an additional option in
> org-html-with-latex. But we will need other people to voice their
> support.

Fair enough. Meanwhile I got ox-pandoc to work (although I still use
pandoc 1.9 and it requires 2.X) and indeed it has an export option for
mediawiki and the math is correctly converted.

So for me that is fine, but maybe others, who can't use pandoc might
want mediawiki support?

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

      reply	other threads:[~2022-06-21  5:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 16:00 exporting to mediawiki syntax math is not converted Uwe Brauer
2022-06-21  3:18 ` Ihor Radchenko
2022-06-21  4:30   ` Uwe Brauer
2022-06-21  4:42     ` Ihor Radchenko
2022-06-21  4:59       ` Uwe Brauer [this message]

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87r13izk63.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \


* 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.
Code repositories for project(s) associated with this public inbox


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 read-only IMAP folder(s) and NNTP newsgroup(s).