On 06/05/2012 03:20 AM, Sergiu Ivanov wrote:
On Tue, Jun 5, 2012 at 9:52 AM, Joachim Durchholz<[email protected]> wrote:
Am 04.06.2012 23:22, schrieb Sergiu Ivanov:
Considering Stefan's words, can you see any use cases for boldface in
pretty printing which cannot be addressed by having LaTeX output?
Yes - acute LaTeX allergy ;-)
:-D
Jokes aside, I can see that it's a more seamless workflow if you can see the
results right in the SymPy console without having to transfer results to a
LaTeX viewer.
Since we only have boldface in mind, I wonder how much more seamless
it's going to make the interaction with SymPy console :-)
I start with the assumption that nothing in SymPy really needs
colours. I may be wrong (though I'd be surprised to hear that).
The real question (and the one which I can't answer) is whether having
boldface is really enough of a difference in practice to warrant the extra
effort.
It might be interesting to find out how much extra effort is really needed;
if it turns out that all consoles in practical use interpret the same escape
sequences, then sure, why not; if we're getting into maintenance nightmares
because of a maze of little twisty standards, all marginally different, then
hell no.
Yes, indeed, that's the salient point. I tried to address it with the
suggestion to use standard escape sequences and do nothing when those
won't work. Apparently, this shouldn't require "too" much of effort,
but will surely not cover all of the audience (not even 90% of it, I'd
guess).
I'm not really sure about how checking whether ANSI escape sequence
works. This may be another bit of a headache, if it there isn't
something terminfo/termcap-like for all terminal emulators, and I
guess there isn't.
Sergiu
ansicon is the only thing I have found on windows an even then the bold
is not very good, color works OK -
https://github.com/adoxa/ansicon/
http://sourceforge.net/projects/pycmd/forums/forum/951389/topic/4871570
--
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en.