Hello, I am quite new to SAGE but I think I've found a problem with the latex(math-expression) command. I've tried with version 2.8.6, 2.8.7 and 2.8.8.1:
The problem seems to be the abs() command. Take any function like f(x)=2*abs(x) with a changing sign. Entering now latex(f) shows me as the result: x \ {\mapsto}\ {2 \cdot \abs \left( x \right)} Compiling this with LaTeX I cannot see the mathematical sign for abs ( preferred \left| (...) \right| ), but simple brackets. Furthermore the LaTeX compilers tells me of errors: !undefined control sentence In fact, \abs is no known latex command to me. Deleting \abs removes the latex compiler error, of course, but thats not the correct latex code for my expression for f(x). The following packages have been included for compiling in latex: \usepackage{ngerman} \usepackage{color, framed} \usepackage{graphicx} \usepackage{amsmath, amsthm, amssymb} \usepackage[automark]{scrpage2} I don't know if I've done something wrong or if this is a bug or if its even supposed to be that way. So I'ld like to ask you: what can I do? How can I get the right result as latex code, if its neccessary to use absolut values of functions or parts of functions? Thanks for your help, marko --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---