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 details)

Uploaded Source

File details

Details for the file latex2edx-0.1.1.tar.gz.

File metadata

  • Download URL: latex2edx-0.1.1.tar.gz
  • Upload date:
  • Size: 85.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for latex2edx-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8ec1ab54cd1afbfb6d65b6ae8a530891ae347b63ffdad8d07a335c87ea0fefd1
MD5 a1c1dd14e4c86682b890c65671e5cd16
BLAKE2b-256 17a2031ac18991cce4bdc32a16a5bb06c0c0f6903405d371ab97572b1d0c1fcc

See more details on using hashes here.

Supported by

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