#10118: upgrade sphinx to version 1.0.4
-------------------------------+--------------------------------------------
Reporter: mvngu | Owner: tbd
Type: enhancement | Status: needs_review
Priority: blocker | Milestone: sage-4.6.1
Component: packages | Keywords: sphinx spkg
Author: Minh Van Nguyen | Upstream: N/A
Reviewer: Jeroen Demeyer | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Comment(by jhpalmieri):
Oh, sorry, my mistake. The line I mentioned does get used when producing
the latex/PDF docs, but not the html. For the html docs, the file
pngmath.py (in sphinx/ext) has been changed from the old version of Sphinx
to use utf8x instead of utf8. We could try a patch like this:
{{{
#!diff
--- ../src/sphinx/ext/pngmath.py 2010-07-24 03:07:36.000000000
-0700
+++ pngmath.py 2010-11-17 10:20:51.000000000 -0800
@@ -34,7 +34,7 @@
DOC_HEAD = r'''
\documentclass[12pt]{article}
-\usepackage[utf8x]{inputenc}
+\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
}}}
It also might be worth investigating why the Sphinx people changed this in
the first place.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10118#comment:32>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.