Takeshi KOMIYA
20bf74c637
Separate jsmath to sphinxcontrib package
2019-01-13 14:07:12 +09:00
Takeshi KOMIYA
68c90a26f1
quickstart: Simplify generated conf.py (for latex)
2019-01-07 23:06:14 +09:00
Takeshi KOMIYA
76e9f57c2e
Merge branch '1.8'
2019-01-02 16:16:25 +09:00
Takeshi KOMIYA
1b1ebd2c75
A happy new year!
2019-01-02 16:00:30 +09:00
Takeshi KOMIYA
3905cb8b7c
Merge branch '1.8'
2018-12-18 23:32:52 +09:00
Michael Goerz
77e617e25a
Use mathjax CDN "latest" URL by default
...
Closes #5725
2018-12-17 22:14:25 -05:00
Jon Dufresne
bade33c7e4
Remove unnecessary encoding cookie from Python source files
...
In Python 3, the default encoding of source files is utf-8. The encoding
cookie is now unnecessary and redundant so remove it. For more details,
see the docs:
https://docs.python.org/3/howto/unicode.html#the-string-type
> The default encoding for Python source code is UTF-8, so you can
> simply include a Unicode character in a string literal ...
Includes a fix for the flake8 header checks to stop expecting an
encoding cookie.
2018-12-16 12:22:12 -08:00
Takeshi KOMIYA
c6bd84a614
refactor: Remove u-prefix from strings
2018-12-16 21:28:51 +09:00
Jon Dufresne
49d3a3c0c1
Replace ENOENT errno checks with Python 3 FileNotFoundError
...
The error is more specific and self documenting.
This removes the last use of sphinx.util.osutil.ENOENT, so it is now
deprecated for removal. sphinx.util.osutil.EEXIST was already unused so
that is deprecated as well.
2018-12-15 09:02:55 -08:00
Takeshi KOMIYA
2e6e940df8
Fix #5497 : Do not include MathJax.js and jsmath.js unless it is really needed
2018-10-17 01:42:17 +09:00
Takeshi KOMIYA
206395121d
Merge pull request #5250 from tk0miya/refactor_math4
...
Add :rst:role:`math:numref` role to refer equations (Same as :rst:role:`eq`)
2018-08-04 21:03:49 +09:00
Takeshi KOMIYA
8e56f86383
Add :rst:role:math:numref
role to refer equations (Same as :rst:role:eq
)
2018-08-02 01:52:40 +09:00
Takeshi KOMIYA
da7a06b323
WIP: #726 , #969 : Add mathjax_config
2018-07-29 22:36:53 +09:00
Takeshi KOMIYA
34126021d9
Close #3784 : mathjax: Add :confval:mathjax_options
2018-06-13 23:24:21 +09:00
Takeshi KOMIYA
e675ad2ec9
Enable math_block node rendering by default (without HTML builders)
2018-05-17 00:42:22 +09:00
Takeshi KOMIYA
4e04bff4f5
Enable math node rendering by default (without HTML builders)
...
Nowadays, math elements (inline and block level equations) are
integrated into reST spec by default. But, in Sphinx, they are
not enabled by default. For this reason, users have to enable
one of math extensions even if target builder supports math
elements directly.
This change starts to enable them by default. As a first step,
this replaces math node and its structure by docutils based one.
2018-05-15 22:27:49 +09:00
Takeshi KOMIYA
b1a0e8062f
Fix #4767 : html: search highlighting breaks mathjax equations
2018-04-15 00:30:53 +09:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
9340a45393
test: Don't use os.errno. Use errno directly
2018-01-25 00:48:37 +09:00
Takeshi KOMIYA
d1d55eb35f
Fix broken test
2018-01-20 10:54:53 +09:00
Takeshi KOMIYA
8b8c3d1736
Merge branch 'stable' into 1.7-release
2018-01-20 02:22:35 +09:00
Takeshi KOMIYA
f91c732749
Fix #4438 : math: math with labels with whitespace cause html error
2018-01-19 23:13:21 +09:00
Takeshi KOMIYA
4d040abafb
Fix #4079 : Add notranslate class to let Google Translate know they are not translatable
2018-01-13 20:25:49 +09:00
Takeshi KOMIYA
f1f6ca8cc9
Merge branch 'happy_new_year' into master
2018-01-01 01:09:17 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
e2bf2ef11d
Merge pull request #4166 from jahn/math_numfig
...
Number equations across pages and by section (fix #3991 , #4080 )
2017-12-21 00:39:44 +09:00
Stephen Finucane
41c19ddf91
tests: Skip tests with missing binaries
...
While there are already some skips included here, they clearly aren't
doing their job and the test fail locally. Resolve this.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-18 20:10:18 +00:00
Oliver Jahn
783cff44b3
add tests for math_numfig
2017-10-18 16:52:28 -04:00
shimizukawa
d497d74370
refs #3458 : add sphinx.testing that are moved from /tests directory.
2017-05-14 20:47:15 +09:00
Takeshi KOMIYA
af02bfa7b3
Merge branch 'master' into 3638_eqref_format
2017-05-07 16:20:51 +09:00
Takeshi KOMIYA
8fda21099d
Remove deprecated testing utilities
2017-04-27 23:38:42 +09:00
Takeshi KOMIYA
a252954ea3
Fix #3638 : Allow to change a label of reference to equation
2017-04-27 21:47:20 +09:00
Takeshi KOMIYA
8f9dd64992
Merge branch 'stable'
2017-03-26 11:52:15 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
Takeshi KOMIYA
e1da72b59c
Reduce DeprecationWarnings for regexp
2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
cf2061dfad
Fix flake8 violations
2017-01-26 01:13:17 +09:00
shimizukawa
baaef9146d
pytest: remove deprecated with_app decorator functions
2017-01-06 01:14:47 +09:00
Takeshi KOMIYA
bd22d09f48
Add domain support to support equation cross references (ref: #1210 , #2851 )
2016-08-22 19:58:46 +09:00
Takeshi KOMIYA
0e829c845e
sphinx.ext.math: Update the label of permalink
2016-07-19 11:16:57 +09:00
Takeshi KOMIYA
a692009808
Merge branch 'stable'
2016-07-15 00:51:29 +09:00
Takeshi KOMIYA
b95f450452
Optimize tests: test_jsmath
2016-07-14 01:43:25 +09:00
Takeshi KOMIYA
3fb439c476
Optimize tests: test_imgmath_png, test_imgmath_svg
2016-07-14 01:36:40 +09:00
Takeshi KOMIYA
80921b2ab8
Fix flake8 violation under tests/
2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
f15bdce1db
Fix testcase
2016-04-16 16:11:48 +09:00
Takeshi KOMIYA
c3fe96f6fc
Remove debug print
2016-04-14 12:03:10 +09:00
Takeshi KOMIYA
3206ccbae0
sphinx.ext.mathbase: Refactor LaTeX output
2016-04-14 10:39:33 +09:00
Takeshi KOMIYA
39396a4b1e
Fix #2370 : the equations are slightly misaligned in LaTeX
2016-04-14 10:37:54 +09:00
Hong Xu
d019d3f9b8
Correct a duplicated test case name in test_ext_math
2016-02-18 18:51:02 -08:00
Hong Xu
bb9cde4e32
Math extension: support alignment of multiple equations for MathJAX.
...
This is a follow-up commit of #2254 , which supported alignment of
multiple equations for imgmath and LaTeX output.
2016-02-18 18:49:10 -08:00
Hong Xu
76e29ca5b3
Use "align" environment to wrap math equations instead of "gather"
...
Using align brings the benefit when multiple math equations are in one
math directive, alignment is provided. We also use "aligned" to wrap the
equations since in this way all the equations will be given only one
label/tag, while previously only the first equation is labeled.
2016-01-20 23:25:58 -08:00