When comparing DokuWiki vs LaTeX, the Slant community recommends DokuWiki for most people. In the question“What are the best markup languages?” DokuWiki is ranked 7th while LaTeX is ranked 10th. The most important reason people chose DokuWiki is:
Licensed under GPL2.
Ranked in these QuestionsQuestion Ranking
Pro Free and open source
Licensed under GPL2.
Pro Easy to set up and mantain
To install you need a webserver running PHP 5.2 or later where you unpack the downloaded archive and navigate to install.php in your browser, fill out the necessary information required for the one-page installer and you are done.
Pro Plain-text file storage
Dokuwiki does not require a database, it stores everything in plain-text.
Pro Version control
Dokuwik offers unlimited page revisions.
Pro Good selection of plugins
DokuWiki offers over a thousand plugins to extend its functionality.
Pro Access control
DokuWiki has built-in ACL support.
Pro Runs on any PHP server
It requires a webserver running PHP 5.2 or later of any kind.
Pro Search functionality
DokuWiki allows searching through pages.
Pro A dedicated page for recent changes
A dedicated page to quickly note what has changed recently can be set up.
Pro Good selection of themes
DokuWiki offers over a hundred templates to change the visual appearance of the site.
Pro Lets you focus on the content
LaTeX handles the design so you can focus on the content
You can edit LaTeX sources in any text editor.
Pro Effortless math input
The whole reason that TeX -- and, by extension, LaTeX -- exists is to give people an easy way (well, for some value of "easy") to produce high-quality documents with properly laid out mathematical expressions and text in them. As long as you know the language (or have a reference sheet handy), you can include mathematical expressions in your document with little to no extra effort needed on your part.
Pro Free open source software
Licensed under the LaTeX Project Public License
Pro High-quality typesetting by default
There's a reason that scholarly journals often require the use of LaTeX for articles printed in their pages, and it's because the quality of the output is that good. Universities often require, or at least encourage, the use of LaTeX for graduate theses and dissertations for this same reason.
Con Lots of plugins to manage
DokuWiki is highly modular. Even thing like WYSIWYG editors and categories have to be added separately as plugins. This can quickly lead to managing lots of plugins.
Con Steep learning curve
LaTeX is not what you'd consider easy to use, and while there's plenty of documentation out there, much of it is rather opaque unless you're a seasoned TeXnician.
Con Single-threaded design
LaTeX is single-threaded by design, since it must necessarily work sequentially to produce each page as it is laid out by the typesetting engine. This makes it dependent on the power of just one individual core in your multi-core computer setup and so migrating to a machine with more cores won't necessarily make your LaTeX documents build faster.