Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199
all: update copyright
2015-01-03 21:36:32 +01:00
tk0miya
cc5859fcbf
Add imgpath property to all builders
2014-09-27 10:11:47 +09:00
Takayuki Shimizukawa
02539d5eaf
merge with stable
2014-09-26 02:11:51 +09:00
Takayuki Shimizukawa
0a25e61eff
refactoring by using with cd
2014-09-26 01:46:29 +09:00
Georg Brandl
31452fc64d
[WIP] parallel read
2014-09-22 14:51:47 +02:00
Georg Brandl
71cd2f7e50
Change extension setup() return value to a dictionary of metadata.
...
This makes it possible to introduce more metadata values later.
2014-09-22 11:06:42 +02:00
Georg Brandl
fc680f1e25
Return version from setup() for all sphinx.ext extensions.
2014-09-03 16:39:30 +02:00
Takayuki Shimizukawa
e19f97dae1
refactoring. remove old python related code (from sha import sha)
2014-08-10 17:01:21 +09:00
Takayuki Shimizukawa
ba4dcaa8dd
use b prefix for bytes instead of sphinx.pycompat.b function.
2014-05-01 22:54:09 +09:00
Takayuki Shimizukawa
00eff0b7f6
use six privided text_type() to replace with unicode() to support py2/py3 in one source. refs #1350 .
2014-04-29 23:44:12 +09:00
Georg Brandl
ac92719ac3
Update copyright year.
2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Dmitry Shachnev
ce2185ce27
Modernize the code now that Python 2.5 is no longer supported
...
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.
This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Georg Brandl
fe0532a6e3
Closes #923 : Take the entire LaTeX document into account when caching
...
pngmath-generated images. This rebuilds them correctly when
``pngmath_latex_preamble`` changes.
2014-01-11 09:17:27 +01:00
Georg Brandl
c12aa9250c
Closes #908 : On Python 3, handle error messages from LaTeX correctly in the pngmath extension.
2014-01-11 09:07:11 +01:00
Georg Brandl
151856819c
Copyright update.
2013-01-01 22:13:15 +01:00
Georg Brandl
bc0a31f10e
Add an easier way to raise MathExtError with stderr/stdout only displayed if present.
2012-12-30 21:02:38 +01:00
Georg Brandl
0c02841412
Closes #1010 : Make pngmath images transparent by default; IE7+ should handle it.
2012-10-28 19:06:48 +01:00
Georg Brandl
bc6b586836
Added :confval:pngmath_add_tooltips
.
2011-01-08 19:08:38 +01:00
Herbert Griebel
9088c2ffc2
add option pngmath_use_tooltips
...
This option will show the latex formula code in the tooltips if enabled,
default is True.
2010-06-15 22:51:04 +02:00
Georg Brandl
17efae5622
merge with 1.0
2011-01-04 11:29:09 +01:00
Georg Brandl
0e1db6ad90
New year update.
2011-01-04 10:00:51 +01:00
Daniel Neuhäuser
c0d493cec9
Use b() so that the regex is a bytestring
2010-08-23 18:16:19 +02:00
Georg Brandl
630791c42c
Docstring harmonization.
2010-08-22 11:36:08 +02:00
Georg Brandl
34d9cc8b7f
merge with 0.6
2010-05-22 14:42:53 +02:00
Georg Brandl
c41f516dda
#393 : Fix the usage of Unicode characters in mathematic formulas when using the `pngmath
` extension.
2010-05-22 14:33:24 +02:00
Georg Brandl
1ec19290e1
Rename os to osutil, thanks to relative imports.
2010-01-17 17:49:01 +01:00
Georg Brandl
c5d67b0321
Refactor util package.
2010-01-17 17:35:12 +01:00
Georg Brandl
f6a56192d1
Happy new year!
2010-01-01 14:09:13 +01:00
Georg Brandl
0dc0837e01
#301 : use errno values from errno module.
2009-12-24 12:58:53 +01:00
Georg Brandl
630c39d6e1
Change the name of mathbase.setup() so that putting it in extensions doesn't fail with an obscure TypeError.
2009-11-08 19:01:31 +01:00
Georg Brandl
5569f89de2
#210 : Fix nesting of HTML tags for displayed math from pngmath extension.
2009-07-09 12:08:42 +02:00
Georg Brandl
728e1904ec
Make check happy.
2009-06-17 08:48:19 +02:00
Georg Brandl
42d12d8683
Refix #188 .
2009-06-03 23:18:02 +02:00
Georg Brandl
799bc4fefe
#188 : fix oversight in replacing parameter.
2009-06-01 10:40:17 +02:00
Georg Brandl
8e574c4a10
#179 : properly set rebuild parameter for pngmath config values.
2009-05-27 21:59:07 +02:00
Georg Brandl
f2ed7b24ca
merge with 0.5
2009-02-27 15:09:03 +01:00
Georg Brandl
2ca8c15eba
Fix PNG depth assignment for depth=0.
2009-02-27 15:05:58 +01:00
Georg Brandl
9ed275c868
#109 : fix circular import problems by moving exceptions into their own module.
2009-02-24 19:15:39 +01:00
Georg Brandl
361ed69a3a
Don't call LaTeX or dvipng over and over again if it was not
...
found once, and use text-only latex as a substitute in that case.
2009-02-07 20:55:27 +01:00
Georg Brandl
0b28b3e6f6
Switch copyright and license tags to single style. Add contributor
...
names in AUTHORS instead, and add the license of etree13 to
LICENSE.
2009-01-03 11:57:07 +01:00
Georg Brandl
1dc46e6583
* #72 : In pngmath, make it possible to give a full path to LaTeX and
...
dvipng on Windows. For that to work, the ``pngmath_latex`` and
``pngmath_dvipng`` options are no longer split into command and
additional arguments; use ``pngmath_latex_args`` and
``pngmath_dvipng_args`` to give additional arguments.
2008-12-15 19:24:34 +01:00
Georg Brandl
b7a2491e21
#65 : Store depth information in PNG images themselves.
2008-12-10 00:43:11 +01:00
Georg Brandl
1219e3e73a
merge with main
2009-02-14 23:25:30 +01:00
Georg Brandl
b068e91803
Reformat to EOL80.
2009-01-10 21:23:39 +01:00
Georg Brandl
c8e08821fd
Use regular system message node for warning about latex failures.
2008-11-22 14:22:39 +01:00
Pauli Virtanen
6be9f22ecf
sphinx.ext.pngmath: make Latex errors non-fatal for HTML output
2008-11-20 21:38:21 +02:00
Sebastian Wiesner
331f625f91
Fixed encoding issue in pngmath hashing
2008-11-20 20:06:36 +01:00
Georg Brandl
390e6487ea
In pngmath, don't call latex again if an image with the given SHA sum already
...
exists.
2008-11-19 18:08:51 +01:00