Jump to content

Converting LaTeX to Mediatext

From Our Interactions in AGT
Revision as of 11:19, 2 February 2026 by Olaundon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you have any notes written in LaTeX that would be relevant to upload to this wiki, then you can easily convert them from LaTeX to the Mediatext format. The Mediatext format is what articles on this wiki (as well as wikipedia, which you will be familiar with already) are written in.

How to convert

[edit]

note: These instructions assume a basic familiarity with using a command line. If you are having any difficulties, please ask in the Discussion page.

  • Make sure you have pandoc installed. Pandoc is a program for converting documents between different formatting languages.
  • Assuming have a file called mynotes.tex, you can run the following command (from the same directory as mynotes.tex) to convert it to Wikitext:

pandoc -f latex -t mediawiki -o output.wiki mynotes.tex

This will create the file output.wiki containing the mediatext formatted version of your notes.

  • Copy-paste the contents of output.wiki into a page on this wiki.

Now you are done! (after checking for mistakes of course). Congrats on making a contribution to OurInteractionsinAGT!