[sage-support] strange issue with 3d plots/Jmol

2011-08-28 Thread pong
I encountered a pretty strange issue with Jmol.

In each notebook worksheet, I can have Jmol to display only two 3d
plots! From the third 3d plots onwards, it just giving me black
screens...
It must be some problems on the installation since if I transfer the
same worksheet to another server, it display all the plots.

Any idea on where the problem could be and how to fix that?

I'm using SAGE 4.7.1

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: strange issue with 3d plots/Jmol

2011-08-28 Thread pong
Well after reading this post:

http://ask.sagemath.org/question/711/jmol-in-notebook

I start suspecting it's an issue with the browser and how Java is
implemented. Surely enough, it works fine with Safari on Mac (but
nothing else, not chrome, not firefox...)
On Windows Jmol works with firefox.

I still have a similar problem on Linux with icedtea for Java

On Aug 28, 1:12 am, pong wypon...@gmail.com wrote:
 I encountered a pretty strange issue with Jmol.

 In each notebook worksheet, I can have Jmol to display only two 3d
 plots! From the third 3d plots onwards, it just giving me black
 screens...
 It must be some problems on the installation since if I transfer the
 same worksheet to another server, it display all the plots.

 Any idea on where the problem could be and how to fix that?

 I'm using SAGE 4.7.1

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: Problems running the app under Mac OS X 10.6.8

2011-08-28 Thread Questor
menu Terminal Session  Sage gives

/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/
sage; exit
% /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/
sage; exit
--
| Sage Version 4.7.1, Release Date: 2011-08-11   |
| Type notebook() for the GUI, and license() for information.|
--
Traceback (most recent call last):
  File /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/
sage/local/bin/sage-location, line 226, in module
if install_moved():
  File /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/
sage/local/bin/sage-location, line 77, in install_moved
write_location_file()
  File /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/
sage/local/bin/sage-location, line 32, in write_location_file
O = open(location_file,'w')
IOError: [Errno 13] Permission denied: '/Applications/Sage-4.7.1-
OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/sage-current-
location.txt'
logout

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Re: TinyMCE don't recognize user-define LaTeX Macros

2011-08-28 Thread pong
Hum... what do you mean by text mode?
Just realized that the effect of using $\newcommand...$ in a TinyMCE
cell persists throughout the whole worksheet.
This solves my original problem


On Aug 28, 8:47 am, ksk...@gmail.com ksk...@gmail.com wrote:
 Related question: if I understand correctly, TinyMCE only looks for
 LaTeX code within dollar signs. Is there some way to force a LaTeX
 evaluation (e.g., of \newcommand) within text mode?

 Kiran

 On Aug 27, 10:49 pm, pong wypon...@gmail.com wrote:







  Is there a way to make TinyMCE recognize user-define macros?

  from sage.misc.latex import *

  latex.add_macro(\\newcommand{\\Rr}{\mathbb{R}})

  %latex
  $\Rr$

  returns the blackboard face R.

  However, $\Rr$ in the TinyMCE editor produces Unknown control sequence
  '\Rr'

  Need help.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org