#5610: [with patch, needs work] LaTeX customization
---------------------------+------------------------------------------------
 Reporter:  jhpalmieri     |       Owner:  jhpalmieri
     Type:  enhancement    |      Status:  new       
 Priority:  major          |   Milestone:  sage-3.4.2
Component:  documentation  |    Keywords:            
---------------------------+------------------------------------------------

Comment(by jhpalmieri):

 Replying to [comment:11 rbeezer]:
 >The new methods for setting matrix and vector delimiters are a very
 welcome addition, and the options for "bolding" rings provide a good
 example for future options like this. One should note that work still
 needs to be done to make this work for all rings, this patch appears to
 only demonstrate use for ZZ and GF (though I could have missed some).

 The second patch also changes QQ, RR, and CC.  It leaves {{{\mathbb{P}}}}
 and {{{\mathbb{A}}}} unchanged.  (The first patch includes only the core
 of the customization code, and the relevant files happened not to use QQ,
 RR, or CC.)

 > The use of an instance of the Latex class, named "latex" had me confused
 for a while, since now {{{latex.__call__}}} replaces the functionality of
 the old {{{latex()}}}.  Some commentary highlighting the {{{latex}}}
 instance in the source (at some point - either now, or later) might save
 others the same confusion.

 Does this affect end-users, or just developers?  I mean, does
 {{{latex(blah)}}} behave the same as it used to?  I hope so -- that was my
 intention.  You're right, though, that the syntax from the development end
 is different, but that seemed like the nicest way to do the customization:
 as methods (which could be tab-completed) attached to latex.  Do you have
 suggestions about what sorts of comments to add?

 > {{{sage -docbuild pdf reference}}} seemed to choke on the doctest for
 the {{{list_function}}} method in {{{misc/latex.py}}}.

 I think this is easy to fix: put an "r" in front of the triple quotes at
 the beginning of the docstring.  It was there originally, and then I
 deleted it (I don't know why) in the new version.

 I'll produce a new patch soon with the "r", and with part 2 rebased
 against 3.4.1.rc4.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5610#comment:12>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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