#7051: [with patch, positive review] latex issues
------------------------------+---------------------------------------------
 Reporter:  jhpalmieri        |         Owner:  jhpalmieri
     Type:  defect            |        Status:  closed    
 Priority:  minor             |     Milestone:  sage-4.2  
Component:  misc              |    Resolution:  fixed     
 Keywords:                    |   Work_issues:            
   Author:  John H. Palmieri  |      Reviewer:  Tim Dumol 
   Merged:  sage-4.2.alpha0   |  
------------------------------+---------------------------------------------

Comment(by mpatel):

 The sagenb spkg in 4.2.alpha0 and all more recent versions (to date) do
 not load the jsMath macros.  I'm working to fix this.  To see the
 `\texttt` message, I did
 {{{
 #!python
 sage: from sage.misc.latex_macros import sage_jsmath_macros
 sage: for m in sage_jsmath_macros: print m
 }}}
 and inserted the definitions
 {{{
 #!js
 jsMath.Macro('ZZ','\\Bold{Z}')
 jsMath.Macro('RR','\\Bold{R}')
 jsMath.Macro('CC','\\Bold{C}')
 jsMath.Macro('QQ','\\Bold{Q}')
 jsMath.Macro('QQbar','\\overline{\\QQ}')
 jsMath.Macro('GF','\\Bold{F}_{#1}',1)
 jsMath.Macro('Zp','\\ZZ_{#1}',1)
 jsMath.Macro('Qp','\\QQ_{#1}',1)
 jsMath.Macro('Zmod','\\ZZ/#1\\ZZ',1)
 jsMath.Macro('CDF','\\texttt{Complex Double Field}')
 jsMath.Macro('CIF','\\Bold{C}')
 jsMath.Macro('CLF','\\Bold{C}')
 jsMath.Macro('RDF','\\Bold{R}')
 jsMath.Macro('RIF','\\Bold{I} \\Bold{R}')
 jsMath.Macro('RLF','\\Bold{R}')
 jsMath.Macro('CFF','\\Bold{CFF}')
 jsMath.Macro('Bold','\\mathbf{#1}',1)
 }}}
 into
 {{{
 SAGE_ROOT/local/lib/python/site-
 packages/sagenb/data/templates/notebook/head.tmpl
 }}}
 by hand.

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