Convert TEX to Wiki
Max file size 100mb.
TEX vs Wiki Format Comparison
| Aspect | TEX (Source Format) | Wiki (Target Format) |
|---|---|---|
| Format Overview |
TEX / LaTeX
Document Preparation System
LaTeX is a high-quality typesetting system designed for scientific and technical documentation. Created by Leslie Lamport as a macro package for Donald Knuth's TeX system, it's the standard for academic publishing, especially in mathematics, physics, and computer science. Scientific Academic |
MediaWiki
Wiki Markup Language
MediaWiki markup is the formatting syntax used by Wikipedia and thousands of other wikis. It provides a simple way to create formatted web content with links, tables, and basic styling. The syntax is designed to be easy to learn and quick to type for collaborative editing. Web Content Collaborative |
| Technical Specifications |
Structure: Plain text with markup commands
Encoding: UTF-8 or ASCII Format: Open standard (TeX/LaTeX) Processing: Compiled to DVI/PDF Extensions: .tex, .latex, .ltx |
Structure: Plain text with wiki markup
Encoding: UTF-8 Format: MediaWiki-specific markup Processing: Rendered to HTML by wiki software Extensions: .wiki, .mediawiki, .txt |
| Syntax Examples |
LaTeX uses backslash commands: \documentclass{article}
\title{My Document}
\begin{document}
\maketitle
\section{Introduction}
This is a paragraph with
\textbf{bold} and \textit{italic}.
\begin{itemize}
\item First item
\item Second item
\end{itemize}
$E = mc^2$
\end{document}
|
MediaWiki uses special characters: = My Document = == Introduction == This is a paragraph with '''bold''' and ''italic'' text. * First item * Second item <math>E = mc^2</math> |
| Content Support |
|
|
| Advantages |
|
|
| Disadvantages |
|
|
| Common Uses |
|
|
| Best For |
|
|
| Version History |
TeX Introduced: 1978 (Donald Knuth)
LaTeX Introduced: 1984 (Leslie Lamport) Current Version: LaTeX2e (1994+) Status: Active development (LaTeX3) |
Introduced: 2002 (MediaWiki software)
Wikipedia Launch: 2001 Status: Active development Evolution: WikiText, Parsoid, Visual Editor |
| Software Support |
TeX Live: Full distribution (all platforms)
MiKTeX: Windows distribution Overleaf: Online editor/compiler Editors: TeXstudio, TeXmaker, VS Code |
MediaWiki: Official wiki platform
Wikipedia: Largest wiki site Pandoc: Read/Write support Editors: Wiki software visual editors |
Why Convert LaTeX to MediaWiki?
Converting LaTeX documents to MediaWiki format is valuable when you want to publish academic or technical content on wiki platforms like Wikipedia, internal company wikis, or documentation wikis. Wiki markup makes content collaborative and web-accessible while maintaining structure.
MediaWiki markup was developed alongside Wikipedia, starting in 2001. While simpler than LaTeX, it supports essential formatting for encyclopedic and documentation content. The format is designed for easy editing by large communities and includes features like internal linking and version history.
For academic content, converting to wiki format allows sharing research findings with a broader audience. Wikipedia articles can reach millions of readers, and many projects use MediaWiki for documentation. The conversion helps bridge the gap between academic publishing and public knowledge sharing.
Key Benefits of Converting TEX to Wiki:
- Web Publishing: Share content on Wikipedia or other wikis
- Collaboration: Enable community editing and improvement
- Accessibility: Reach wider audiences beyond academia
- Cross-Linking: Connect content with related wiki pages
- Version Control: Built-in history and revision tracking
- Easy Updates: No compilation required for changes
Practical Examples
Example 1: Academic Paper Section
Input TEX file (paper.tex):
\section{Introduction}
This paper presents our findings on quantum
computing algorithms. We demonstrate that
\textbf{Grover's algorithm} provides a
quadratic speedup for search problems.
\subsection{Background}
The complexity of classical search is $O(n)$,
while quantum search achieves $O(\sqrt{n})$.
Output Wiki file:
== Introduction ==
This paper presents our findings on quantum
computing algorithms. We demonstrate that
'''Grover's algorithm''' provides a
quadratic speedup for search problems.
=== Background ===
The complexity of classical search is <math>O(n)</math>,
while quantum search achieves <math>O(\sqrt{n})</math>.
Example 2: Document with Lists
Input TEX file (guide.tex):
\section{Installation}
\begin{enumerate}
\item Download the package
\item Extract the archive
\item Run the installer
\end{enumerate}
\textbf{Note:} Requires Python 3.8+
Output Wiki file:
== Installation == # Download the package # Extract the archive # Run the installer '''Note:''' Requires Python 3.8+
Frequently Asked Questions (FAQ)
Q: What is MediaWiki markup?
A: MediaWiki markup is the formatting syntax used by Wikipedia and thousands of other MediaWiki-powered websites. It uses symbols like == for headings, ''' for bold, and '' for italic. It's designed to be simple enough for anyone to learn while powerful enough for complex documentation.
Q: Will my LaTeX equations work in Wiki?
A: MediaWiki supports LaTeX math notation through the <math> tags. Wikipedia and many wikis render these equations using LaTeX. Inline equations become <math>E=mc^2</math> and display equations use the math tag on its own line. Complex equations are well supported.
Q: Can I use this output on Wikipedia?
A: Yes, the converted output uses standard MediaWiki syntax compatible with Wikipedia. However, Wikipedia has specific style guidelines and notability requirements. You may need to adjust formatting and add citations per Wikipedia's Manual of Style.
Q: What formatting is preserved?
A: Basic formatting (bold, italic, headings, lists, tables) is preserved. LaTeX math becomes wiki math tags. Complex LaTeX features like custom macros and advanced layouts may be simplified. Review the output and adjust wiki markup as needed.
Q: How are references handled?
A: LaTeX bibliography entries are converted to wiki reference format using <ref> tags. For best results on Wikipedia, you may want to convert to citation templates like {{cite journal}} or {{cite book}} which provide consistent formatting.