#11632: conf.py in thematics tutorial overwrites jsmath macros
-----------------------------+----------------------------------------------
   Reporter:  jhpalmieri     |          Owner:  mvngu        
       Type:  defect         |         Status:  needs_review 
   Priority:  minor          |      Milestone:  sage-4.7.2   
  Component:  documentation  |       Keywords:               
Work_issues:                 |       Upstream:  N/A          
   Reviewer:                 |         Author:  John Palmieri
     Merged:                 |   Dependencies:               
-----------------------------+----------------------------------------------
Changes (by jhpalmieri):

  * status:  new => needs_review


Comment:

 I can't reproduce this; I've tried on two different machines with vanilla
 versions of Sage 4.7.  (I wrote the patch based on 4.7.1.rc0, but I don't
 think anything relevant has changed since 4.7.)  I can change the patch to
 {{{
 #!diff
 diff --git a/doc/en/thematic_tutorials/conf.py
 b/doc/en/thematic_tutorials/conf.py
 --- a/doc/en/thematic_tutorials/conf.py
 +++ b/doc/en/thematic_tutorials/conf.py
 @@ -32,7 +32,10 @@ htmlhelp_basename = "thematic_tutorials"
  # following line turns it into bold face only when using jsMath, thus
  # avoiding the errors, while keeping the nice mathfrak fonts when not
  # using jsMath.
 -html_theme_options['jsmath_macros'] = ["mathfrak : ['\\\\mathbf{#1}',
 1]"]
 +try:
 +    html_theme_options['jsmath_macros'].append("mathfrak :
 ['\\\\mathbf{#1}', 1]")
 +except KeyError:
 +    html_theme_options['jsmath_macros'] = ["mathfrak : ['\\\\mathbf{#1}',
 1]"]

  # Grouping the document tree into LaTeX files. List of tuples
  # (source start file, target name, title, author,
 }}}
 if you think that would be a good idea.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11632#comment:2>
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.

Reply via email to