#20888: Support GinacFunction._print_latex_() customization
-------------------------------+------------------------
       Reporter:  rws          |        Owner:
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-7.3
      Component:  symbolics    |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------
Description changed by rws:

Old description:

> Defining a LaTeX print function (instead of just a latex name) is only
> possible for `GinacFunction`s by changing Pynac.
>
> I think it would be more consistent to simply allow the same mechanism as
> with `BuiltinFunction`s. This should pose no problem, since there it is
> already channeled through Pynac. Effectively, if there is not a LaTeX
> print function defined in Pynac then the Python `_print_latex_` member
> should be tried.

New description:

 Defining a LaTeX print function (instead of just a latex name) is only
 possible for `GinacFunction`s by changing Pynac.

 I think it would be more consistent to simply allow the same mechanism as
 with `BuiltinFunction`s. This should pose no problem, since there it is
 already channeled through Pynac. Effectively, if there is not a LaTeX
 print function defined in Pynac then the Python `_print_latex_` member
 should be tried.

 See also #11428

--

--
Ticket URL: <https://trac.sagemath.org/ticket/20888#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to