File: math_output_mathjax.py

package info (click to toggle)
python-docutils 0.16%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,864 kB
  • sloc: python: 45,783; lisp: 14,475; xml: 1,785; javascript: 1,032; sh: 140; makefile: 111
file content (14 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Source and destination file names.
test_source = "data/math.txt"
test_destination = "math_output_mathjax.html"

# Keyword parameters passed to publish_file.
reader_name = "standalone"
parser_name = "rst"
writer_name = "html"

# Settings
settings_overrides['math_output'] = 'MathJax /usr/share/javascript/mathjax/MathJax.js'
# local copy of default stylesheet:
settings_overrides['stylesheet_path'] = (
    'functional/input/data/html4css1.css')