Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python2.7 /
site-packages /
docutils /
utils /
math /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
1.71
KB
-rw-r--r--
2017-04-04 16:39
__init__.pyc
1.43
KB
-rw-r--r--
2017-04-04 16:40
latex2mathml.py
17.11
KB
-rw-r--r--
2017-04-04 16:39
latex2mathml.pyc
19.85
KB
-rw-r--r--
2017-04-04 16:40
math2html.py
177.98
KB
-rw-r--r--
2017-04-04 16:39
math2html.pyc
245.49
KB
-rw-r--r--
2017-04-04 16:40
tex2mathml_extern.py
5.5
KB
-rw-r--r--
2017-04-04 16:39
tex2mathml_extern.pyc
3.99
KB
-rw-r--r--
2017-04-04 16:40
tex2unichar.py
34.29
KB
-rw-r--r--
2017-04-04 16:39
tex2unichar.pyc
18.01
KB
-rw-r--r--
2017-04-04 16:40
unichar2tex.py
17.18
KB
-rw-r--r--
2017-04-04 16:39
unichar2tex.pyc
21.34
KB
-rw-r--r--
2017-04-04 16:40
Save
Rename
# :Id: $Id: __init__.py 7865 2015-04-12 10:06:43Z milde $ # :Author: Guenter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. # This file is offered as-is, without any warranty. # # .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause """ This is the Docutils (Python Documentation Utilities) "math" sub-package. It contains various modules for conversion between different math formats (LaTeX, MathML, HTML). :math2html: LaTeX math -> HTML conversion from eLyXer :latex2mathml: LaTeX math -> presentational MathML :unichar2tex: Unicode character to LaTeX math translation table :tex2unichar: LaTeX math to Unicode character translation dictionaries :tex2mathml_extern: Wrapper for TeX -> MathML command line converters """ # helpers for Docutils math support # ================================= def pick_math_environment(code, numbered=False): """Return the right math environment to display `code`. The test simply looks for line-breaks (``\\``) outside environments. Multi-line formulae are set with ``align``, one-liners with ``equation``. If `numbered` evaluates to ``False``, the "starred" versions are used to suppress numbering. """ # cut out environment content: chunks = code.split(r'\begin{') toplevel_code = ''.join([chunk.split(r'\end{')[-1] for chunk in chunks]) if toplevel_code.find(r'\\') >= 0: env = 'align' else: env = 'equation' if not numbered: env += '*' return env