# App/Xtn/Mediawiki/Math/Latex/Linux

From XOWA: the free, open-source, offline wiki application

## Programs

- latex should already be in your /usr/bin directory.

  If not, please consult your distribution's docs for more info.

- dvipng should already be in your /usr/bin directory.

  If not, do `sudo apt-get install dvipng`

## Paths

Note that XOWA assumes that LaTEX and dvipng have the following paths:

- /usr/bin/latex
- /usr/bin/dvipng

If these paths are different on your system, you will need to update the config file. Instructions are provided below. You may want to visit Dev/Config_files for more information about config files.

- Open /xowa/xowa.gfs in a text editor.
- Search for `.cmd_('/usr/bin/latex')`
- Update the path to whatever it is on you system.
- Repeat for the other paths
- Save the file and restart XOWA.

## Options

The math module uses MathJax by default. You can change it to LaTEX by navigating to Options/Math and choosing LaTeX

## Test

- Visit Diagnostics/Math

### XOWA

- Main page
- Screenshots
- Video
- Download XOWA
- Download wikis

### Getting started

- Requirements
- Installation
- Simple Wikipedia
- English Wikipedia
- Other Wikipedias

### Android

- Setup
- Video

### Help

- About
- Contents
- Media
- Feedback

### Blog

- Current

### Links

- Wikimedia dumps
- XOWA @ archive.org
- English Wikipedia

### Donate

- archive.org
- Wikipedia
- XOWA