Comment #9 on issue 1490 by ryanlists: LatexPrinter doprint inline=None http://code.google.com/p/sympy/issues/detail?id=1490
Yes, it seems like a variable with three options would be more transparent to the user than my inline=None trick. Should we change the name of the kwarg from inline to mode or will that potentially break people's code? Anyone who has sympy.latex(expr, inline=my_bool) in their code will be unhappy. Is that o.k. in a 0.6.# release or should be keep the inline name and allow 3 values? Should we try to handle mode and inline as separate kwargs? Is the idea of three string values better or worse than mode(or inline) = 0, 1, or 2? One advantage of this is that since True==1 and False==0, we might not break people's code with inline=0,1, or 2 . I am fairly certain I can easily handle which ever is the best route. Do we want mode or inline as the kwarg and do we want strings or ints for values? And do we want to change the default from '$x+y$' to 'x+y' or will that potentiall aggravate users? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" 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/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---
