Skip to main content

Converter from latex to edX XML format course content files.

Project description

Converts latex to edX XML format.

Uses plasTeX

Installation

pip install -e git+https://github.com/mitocw/latex2edx.git#egg=latex2edx

Note that xmllint and lxml are required; for ubuntu, this may work:

apt-get install libxml2-utils python-lxml

Usage

Usage: latex2edx [options] filename.tex

Options:

--version

show program’s version number and exit

-h, --help

show this help message and exit

-v, --verbose

verbose error messages

-o OUTPUT_FN, --output-xbundle=OUTPUT_FN

Filename for output xbundle file

-d OUTPUT_DIR, --output-directory=OUTPUT_DIR

Directory name for output course XML files

-c CONFIG_FILE, --config-file=CONFIG_FILE

configuration file to load

-m, --merge-chapters

merge chapters into existing course directory

History

  • v1.0: python package; unit tests; xbundle and modular code

  • v1.1: Support for jsinput, custom mathjax filtering, formularesponse

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

latex2edx-0.1.1.tar.gz (85.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page