[sage-support] Re: jsMath typeset long eq

2011-10-19 Thread Jaasiel Ornelas
Thanks a lot! It worked. Would be nice not having to go through that, though :) On Oct 18, 11:14 pm, John H Palmieri wrote: > Instead of using jsMath, you could type "latex(a)" to get the LaTeX code for > the object a.  Then you can paste it into a LaTeX document and edit it as > you please for v

[sage-support] Re: jsMath typeset long eq

2011-10-18 Thread John H Palmieri
Instead of using jsMath, you could type "latex(a)" to get the LaTeX code for the object a. Then you can paste it into a LaTeX document and edit it as you please for viewing or printing. Or you can do this: sage: from sage.misc.latex import _latex_file_ sage: _latex_file_(a) This will ou

[sage-support] Re: jsmath rendering - will MathJax fix this?

2011-01-22 Thread kcrisman
On Jan 22, 10:39 am, Jason Grout wrote: > On 1/22/11 9:06 AM, kcrisman wrote: > > > > > > > Take your favorite Sage worksheet.  Go into TinyMCE.  Write a long > > sentence, preferably one that has a long sequence of formulas like $ > > \sum_{i=1}^{k+1} i=\sum_{i=1}^k i+(k+1)=\frac{k(k+1)}{2}+(k+

[sage-support] Re: jsmath rendering - will MathJax fix this?

2011-01-22 Thread Jason Grout
On 1/22/11 9:06 AM, kcrisman wrote: Take your favorite Sage worksheet. Go into TinyMCE. Write a long sentence, preferably one that has a long sequence of formulas like $ \sum_{i=1}^{k+1} i=\sum_{i=1}^k i+(k+1)=\frac{k(k+1)}{2}+(k+1)=(k +1)\left(\frac{k}{2}+1\right)=\frac{(k+1)(k+2)}{2},$, and m

[sage-support] Re: jsmath image fonts

2010-05-31 Thread ma...@mendelu.cz
I copied png files manualy to the correct place and still get no image fonts in Sage notebook. Any idea? Many thanks, Robert On 29 kvě, 08:56, "ma...@mendelu.cz" wrote: > Dear all > > I installed jsmath image fonts in fresh 4.4.2, but these fonts remain > unavailable - the switch to these fonts

[sage-support] Re: jsMath working on server

2009-09-25 Thread Mikie
Changed to AsciiMath. Working great. I have pretty print all over the server. Most of the functions have pretty print. Works great with FireFox even from a Linux box. If you use IE8 or 7 you will need to install MathPlayer. Try the text2speech function. Really nice. Right click on the math

[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread Elizabeth Yip
Sorry !! Let me try again !! http://sites.google.com/site/mislwagroup/Home/eg_jsmath.3.4.pdf?attredirects=0 Elizabeth On Aug 3, 11:37 pm, Minh Nguyen wrote: > Hi Elizabeth, > > On Tue, Aug 4, 2009 at 4:34 PM, Elizabeth Yip wrote: > > > John > > The pdf file at > > >http://sites.google.com/site

[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread Minh Nguyen
Hi Elizabeth, On Tue, Aug 4, 2009 at 4:34 PM, Elizabeth Yip wrote: > > John > The pdf file at > > http://sites.google.com/site/mislwagro/Home/eg_jsmath.3.4.pdf?attredirects=0 > > is the output from sage-3.4 I went to that URL and got a "Site not found" error. -- Regards Minh Van Nguyen --~--~

[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread Elizabeth Yip
John The pdf file at http://sites.google.com/site/mislwagro/Home/eg_jsmath.3.4.pdf?attredirects=0 is the output from sage-3.4 Thanks for the prompt response! Elizabeth On Aug 3, 10:12 pm, John H Palmieri wrote: > On Aug 3, 9:39 pm, Elizabeth Yip wrote: > > > Hello, > > > The line > > > jsma

[sage-support] Re: jsmath in sage-4.1

2009-08-03 Thread John H Palmieri
On Aug 3, 9:39 pm, Elizabeth Yip wrote: > Hello, > > The line > > jsmath("cos(2\phi)"+latex(1/x)) > > in the sage-4.1 notebook produces different result from the sage-3.4 > notebook.  The result in sage-3.4 is what I want. Okay, in the latest version, I see cos(2\phi)\frac{1}{x} I don't have a

[sage-support] Re: jsmath

2009-07-03 Thread John H Palmieri
On Jul 3, 5:05 am, Mikie wrote: > Yes, I am not using the notebook.  I have created an API(server) using > a python script.  It lets the user do interactive calculations from my > website.  The output is in a textarea and not "pretty print" as the > notebook.  I was wondering if jsmath could be u

[sage-support] Re: jsmath

2009-07-03 Thread Mikie
Yes, I am not using the notebook. I have created an API(server) using a python script. It lets the user do interactive calculations from my website. The output is in a textarea and not "pretty print" as the notebook. I was wondering if jsmath could be used to do "pretty print". On Jul 2, 8:13

[sage-support] Re: jsmath

2009-07-02 Thread John H Palmieri
On Jul 2, 9:14 am, Mikie wrote: > Is it possible to go have pretty print  using > from sage.misc.latex import jsmath,?? In Sage's notebook, 'pretty_print' (which is what gets used when you click on the "Typeset" checkbox) uses jsMath already. > I am looking at > > http://www.sagemath.org/doc/r

[sage-support] Re: jsmath fonts bafflement

2009-04-21 Thread Jason Grout
Kevin Horton wrote: > On 21 Apr 2009, at 11:38, Jason Grout wrote: > >> dpvc wrote: >>> OK, from the testing that I've done, it looks like this is, indeed, >>> the problem, and you won't have to do the testing that I suggested. >>> >>> It turns out that this problem was fixed in version 3.6b of j

[sage-support] Re: jsmath fonts bafflement

2009-04-21 Thread Kevin Horton
On 21 Apr 2009, at 11:38, Jason Grout wrote: > dpvc wrote: >> OK, from the testing that I've done, it looks like this is, indeed, >> the problem, and you won't have to do the testing that I suggested. >> >> It turns out that this problem was fixed in version 3.6b of jsMath, >> and you are running

[sage-support] Re: jsmath fonts bafflement

2009-04-21 Thread Jason Grout
dpvc wrote: > OK, from the testing that I've done, it looks like this is, indeed, > the problem, and you won't have to do the testing that I suggested. > > It turns out that this problem was fixed in version 3.6b of jsMath, > and you are running 3.6a, so if you download the latest version of > js

[sage-support] Re: jsmath fonts bafflement

2009-04-21 Thread dpvc
OK, from the testing that I've done, it looks like this is, indeed, the problem, and you won't have to do the testing that I suggested. It turns out that this problem was fixed in version 3.6b of jsMath, and you are running 3.6a, so if you download the latest version of jsMath and replace the cop

[sage-support] Re: jsmath fonts bafflement

2009-04-21 Thread Kevin Horton
On 21 Apr 2009, at 06:53, dpvc wrote: > As an experiment, if you could insert the lines > > > jsMath.Autoload = {root: "https://99.240.209.8:8000/"} > > > to the font test HTML file just before the script tag where jsMat

[sage-support] Re: jsmath fonts bafflement

2009-04-21 Thread dpvc
OK, thanks for the detailed description of what is happening. Now this makes me think that this IS a jsMath bug, and not an improper image font installation. If the image fonts are working in Firefox, then they are installed properly. The error you are getting about jsMath thinking that you are

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread Jason Grout
Kevin Horton wrote: > > I am happy with the workaround of using Firefox, so this is only worth > working on if it may represent a bug, or a problem with the > installation instructions, etc. Given that things work fine on sagenb.org, I'll not spend more time on this, as it sounds like somet

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread Kevin Horton
On 20 Apr 2009, at 11:32, William Stein wrote: > On Mon, Apr 20, 2009 at 8:15 AM, Kevin Horton > wrote: >> >> On 20 Apr 2009, at 10:16, Jason Grout wrote: >> >>> dpvc wrote: > By works correctly, I mean that Firefox displays the nicely > rendered > equations, while IE only displa

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread William Stein
On Mon, Apr 20, 2009 at 8:55 AM, Jason Grout wrote: > > William Stein wrote: > >> >> That's because I installed the jsmath-image-fonts-1.3 spkg into >> sagenb.org's sage install.   I have jsmath-image-fonts-1.3 and not >> jsmath-image-fonts-1.3p1 installed; that could make a difference. > > > Rea

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread Jason Grout
William Stein wrote: > > That's because I installed the jsmath-image-fonts-1.3 spkg into > sagenb.org's sage install. I have jsmath-image-fonts-1.3 and not > jsmath-image-fonts-1.3p1 installed; that could make a difference. Really? Are you sure you have jsmath-image-fonts-1.3.spkg installed

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread William Stein
On Mon, Apr 20, 2009 at 8:15 AM, Kevin Horton wrote: > > On 20 Apr 2009, at 10:16, Jason Grout wrote: > >> dpvc wrote: By works correctly, I mean that Firefox displays the nicely rendered equations, while IE only displays raw latex code. >>> >>> OK, thanks for the clarification.  I had

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread Kevin Horton
On 20 Apr 2009, at 10:16, Jason Grout wrote: > dpvc wrote: >>> By works correctly, I mean that Firefox displays the nicely rendered >>> equations, while IE only displays raw latex code. >> >> OK, thanks for the clarification. I had misunderstood. In Firefox, >> can you click on the "jsMath" but

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread Jason Grout
dpvc wrote: >> By works correctly, I mean that Firefox displays the nicely rendered >> equations, while IE only displays raw latex code. > > OK, thanks for the clarification. I had misunderstood. In Firefox, > can you click on the "jsMath" button in the lower right and tell me > what font mod

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread dpvc
> By works correctly, I mean that Firefox displays the nicely rendered   > equations, while IE only displays raw latex code. OK, thanks for the clarification. I had misunderstood. In Firefox, can you click on the "jsMath" button in the lower right and tell me what font mode is reported next to

[sage-support] Re: jsmath fonts bafflement

2009-04-19 Thread Kevin Horton
On 19 Apr 2009, at 06:54, dpvc wrote: > I do not think it is a jsMath bug. If I understand you, by "works > correctly" you mean that Firefox doesn't show the font warning message > (while IE7 does, which you consider not working correctly). You have > tried several means of installing the jsMa

[sage-support] Re: jsmath fonts bafflement

2009-04-19 Thread dpvc
I do not think it is a jsMath bug. If I understand you, by "works correctly" you mean that Firefox doesn't show the font warning message (while IE7 does, which you consider not working correctly). You have tried several means of installing the jsMath image fonts as a solution to this problem. T

[sage-support] Re: jsmath fonts bafflement

2009-04-18 Thread Jason Grout
Kevin Horton wrote: > > I have made some progress in that I discovered that Firefox 3 works > correctly on my work PC. It is only IE 7 that has the problems. I > can live with this, so I will not invest any more time on this issue, > unless someone wants my assistance to try to beat this

[sage-support] Re: jsmath fonts bafflement

2009-04-18 Thread Kevin Horton
On 18 Apr 2009, at 00:59, Adam Webb wrote: > > > > On Apr 18, 12:35 am, Kevin Horton wrote: >> I am running sage 3.4 on OS X. I get the well known jsmath fonts >> messages when I try to view a notebook worksheet from my work >> computer. Our work PCs are so locked down that I cannot install >

[sage-support] Re: jsmath fonts bafflement

2009-04-18 Thread Kevin Horton
On 18 Apr 2009, at 04:29, Jason Grout wrote: > > Kevin Horton wrote: >> I am running sage 3.4 on OS X. I get the well known jsmath fonts >> messages when I try to view a notebook worksheet from my work >> computer. Our work PCs are so locked down that I cannot install >> additional fonts there

[sage-support] Re: jsmath fonts bafflement

2009-04-18 Thread Jason Grout
Kevin Horton wrote: > I am running sage 3.4 on OS X. I get the well known jsmath fonts > messages when I try to view a notebook worksheet from my work > computer. Our work PCs are so locked down that I cannot install > additional fonts there, so I need to address this on the server end. > > I h

[sage-support] Re: jsmath fonts bafflement

2009-04-17 Thread Adam Webb
On Apr 18, 12:35 am, Kevin Horton wrote: > I am running sage 3.4 on OS X.  I get the well known jsmath fonts > messages when I try to view a notebook worksheet from my work > computer.  Our work PCs are so locked down that I cannot install > additional fonts there, so I need to address this on

[sage-support] Re: jsmath bitmap fonts in sage 3.4 and solve command

2009-03-18 Thread Jason Grout
ma...@mendelu.cz wrote: > On 17 Bře, 00:41, Jason Grout wrote: >> ma...@mendelu.cz wrote: >> >> Robert, for now, you can >> installhttp://sage.math.washington.edu/home/mabshoff/spkgs/jsmath-image-font... >> into sage 3.4 and it should work. The javascript code was recently >> reorganized, so th

[sage-support] Re: jsmath bitmap fonts in sage 3.4 and solve command

2009-03-18 Thread ma...@mendelu.cz
On 17 Bře, 00:41, Jason Grout wrote: > ma...@mendelu.cz wrote: > > Robert, for now, you can > installhttp://sage.math.washington.edu/home/mabshoff/spkgs/jsmath-image-font... > into sage 3.4 and it should work.  The javascript code was recently > reorganized, so that explains the problem (but doe

[sage-support] Re: jsmath bitmap fonts in sage 3.4 and solve command

2009-03-16 Thread Jason Grout
ma...@mendelu.cz wrote: > Hello, I installed today new sage with jsmath bitmap font. These fonts > did not work, I had to put the bitmap fonts from old installation to / > opt/sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux/data/extcode/ > javascript/jsmath manually. > > From this reason I r

[sage-support] Re: jsMath (sage notebook) 'error code -7' even with rpm packaged fonts installed

2009-02-17 Thread Jzmer
I guess I will have to stick with it for a while, as the ".fonts" works anyway, albeit the browser still cannot utilize the already installed fonts in 3.6a. It might be worthy for me to run a local Sage Notebook with jsMath 3.3c. I see your rationale in upholding the bundling. One of the solution

[sage-support] Re: jsMath (sage notebook) 'error code -7' even with rpm packaged fonts installed

2009-02-16 Thread mabshoff
On Feb 16, 11:11 am, Jzmer wrote: Hi, > Same for me to feel sorry for my own late reply --- I thought nobody > is gonna answer this, but I am surprised that you still remember all > this 5 days later. Some experiment that you have suggested does churn > out some interesting result. I checked

[sage-support] Re: jsMath (sage notebook) 'error code -7' even with rpm packaged fonts installed

2009-02-16 Thread Jzmer
Same for me to feel sorry for my own late reply --- I thought nobody is gonna answer this, but I am surprised that you still remember all this 5 days later. Some experiment that you have suggested does churn out some interesting result. I checked with Sage 3.3.rc0, which ships jsMath v3.6a and

[sage-support] Re: jsMath (sage notebook) 'error code -7' even with rpm packaged fonts installed

2009-02-15 Thread mabshoff
On Feb 10, 9:43 am, Jzmer wrote: Hi, Sorry for the late reply, things have been crazy and since I talked to you in IRC and suggested you post to sage-support my wisdom has been exhausted. > In a 3.3alpha6 version of sagenb and on a system of Fedora 10 with > mathml-fonts-1.0-22.fc10.noarch i

[sage-support] Re: jsMath GLOBAL setting

2009-01-24 Thread Jason Grout
kks wrote: > SAGE Version 2.11, Release Date: 2008-03-30 > > OS : Linux Debian Etch - 32 bit i386 > > There is an admin account. If you do not remember the password, > quit the notebook and type notebook(reset=True). > Removing stale pidfile /home/kks/.sage/sage_notebook/twistd.pd > 2009/01/24

[sage-support] Re: jsmath error -7 in chroot environment

2009-01-17 Thread Jason Grout
D. Monarres wrote: > Thank you, I will do that. It is interesting that I never got a > similar error when I was running it outside of the chroot. > This error is on the client side. Are you now testing on different computers? Jason --~--~-~--~~~---~--~~ To p

[sage-support] Re: jsmath error -7 in chroot environment

2009-01-17 Thread D. Monarres
Thank you, I will do that. It is interesting that I never got a similar error when I was running it outside of the chroot. On Jan 17, 5:05 pm, Jason Grout wrote: > D. Monarres wrote: > > Hello all, > > I have been managing a little local sage server for my office for the > > past six months an

[sage-support] Re: jsmath error -7 in chroot environment

2009-01-17 Thread Jason Grout
D. Monarres wrote: > Hello all, > I have been managing a little local sage server for my office for the > past six months and it has been working fine. In anticipation of a > wider audience I recompiled sage in a chrooted jail and now am > getting an error -7 from jsmath every once and awhile. Do

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-02 Thread Pierre
Here's a solution to my problem -- I'm pretty sure it could be useful to other people. Trying to follow the instructions above, I misinterpreted "unzip the .zip here" (i *always* get these things wrong). the way i understood it, i ended up with files like /home/ foobar/.fonts/cmr10.ttf. However,

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-02 Thread mabshoff
On Dec 2, 6:55 am, dpvc <[EMAIL PROTECTED]> wrote: Hi Davide, > > I'm pretty sure we don't use the easy/load.js (and I'm not sure why). > > Probably because it didn't exist when jsMath support was added to > sage.  The easy/load.js file was a relatively late addition to jsMath, > but certain

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-02 Thread dpvc
> We have an optional sage package for the > image fonts that is easy to install.  You're right, we decided to not > make it standard because of the size. OK, sounds good. > Currently, if the jsmath image fonts are not installed, we add the > following code to the header of the page: > > src="/

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-02 Thread Pierre
are you able to select "native tex fonts" in the jsmaths preferences ? i can only use "unicode fonts", they look okay but they're not the usual Tex fonts, that's for sure. On Dec 1, 5:17 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > dpvc wrote: > > The real problem is not the missing fonts, but th

[sage-support] Re: JsMath issue

2008-12-01 Thread M. Yurko
Thanks for your responses. The reason that I didn't install the extra Tex fonts explicitly is because I thought that the jsmath-fonts package contained them already, however, I'll try and explicitly download them into that directory. On Dec 1, 11:00 am, Jason Grout <[EMAIL PROTECTED]> wrote: > St

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-01 Thread Jason Grout
dpvc wrote: > The real problem is not the missing fonts, but the fact that sage > doesn't include the jsMath image fonts that are supposed to be used > when the jsMath TeX fonts aren't available. I'm sure this was not > included because it was considered to be too large a component, but it > real

[sage-support] Re: JsMath issue

2008-12-01 Thread Jason Grout
Stan Schymanski wrote: > Just search for "jsMath failed to set up" in the sage-support forum > and you find out what to do (need to install the tex fonts from > jsMath). Many people had this problem and I believe that the solution > is being incorporated into the documentation. > It's also been

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-01 Thread dpvc
The real problem is not the missing fonts, but the fact that sage doesn't include the jsMath image fonts that are supposed to be used when the jsMath TeX fonts aren't available. I'm sure this was not included because it was considered to be too large a component, but it really should be, as it wo

[sage-support] Re: JsMath issue

2008-11-30 Thread Stan Schymanski
Just search for "jsMath failed to set up" in the sage-support forum and you find out what to do (need to install the tex fonts from jsMath). Many people had this problem and I believe that the solution is being incorporated into the documentation. Good luck! Stan On Nov 29, 8:02 pm, "M. Yurko"

[sage-support] Re: jsmath directory confusion.

2008-11-27 Thread Jason Grout
Gary Church wrote: > Hello all, > > I've noticed that sage has two separate, but somewhat unequal, jsmath > subdirectories. > > One is rooted at: sage/data/extcode/javascript/ > The other is at: sage/data/extcode/notebook/javascript/ > > Why two jsmath directories and if I want to upgrade the

[sage-support] Re: jsMath failed to set up properly (error code -7)

2008-11-13 Thread William Stein
On Thu, Nov 13, 2008 at 11:34 AM, Sand Wraith <[EMAIL PROTECTED]> wrote: > > Hi all! > > I am running SAGE Version 3.1.4 on my XUbuntu ( 2.6.27-7-generic #1 > SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux), > > and then executing show("Test") in sage notebook i have this error > message: > >>It l

[sage-support] Re: jsMath issue and solution with error code -7

2008-10-10 Thread mabshoff
On Oct 10, 1:55 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > We really ought to include these fonts with Sage and have the error > message say: "Here are some fonts.  Install them.  If you want darker or > lighter variations, go here (link to the website)" #1608 :) > Jason Cheers, Michael

[sage-support] Re: jsMath issue and solution with error code -7

2008-10-10 Thread Jason Grout
Doug Bradshaw wrote: > Thanks! > > On Aug 24, 8:46 am, "Philippe Saade" <[EMAIL PROTECTED]> wrote: >> Hi, >> >> i post this here for future newbies who might encounter the same problem... >> >> ** on Linux/Ubuntu 8.04, under Firefox 2 or 3, with all TexFonts >> installed, i kept having this error

[sage-support] Re: jsMath issue and solution with error code -7

2008-10-10 Thread Doug Bradshaw
Thanks! On Aug 24, 8:46 am, "Philippe Saade" <[EMAIL PROTECTED]> wrote: > Hi, > > i post this here for future newbies who might encounter the same problem... > > ** on Linux/Ubuntu 8.04, under Firefox 2 or 3, with all TexFonts > installed, i kept having this error message : > > It looks like jsMa

[sage-support] Re: jsmath typesetting for sqrt, sin, etc.

2008-09-16 Thread hjuergens
> Do you have the jsmath TeX fonts installed?  Click on the "jsmath" icon > at the bottom of the page and check to see if it says "jsMath v3.5 (TeX > fonts)".  If it doesn't, that may be the problem. > > If you don't have the tex fonts, you might go > tohttp://www.math.union.edu/~dpvc/jsMath/dow

[sage-support] Re: jsmath typesetting for sqrt, sin, etc.

2008-09-15 Thread Jason Grout
hjuergens wrote: > Using SAGE 3.1.1 notebook GUI in Safari 3.1.2 on Mac OS X >var ('x') >f = 1/sqrt(x) >jsmath(f) > produces the output\frac{1}{\sqrt{ x }} > and does no typesetting > while >var ('x') >g = 1/x^2 >jsmath(g) > produces nice typset of that formular. A dat

[sage-support] Re: jsMath issue and solution with error code -7

2008-09-02 Thread mitch_feaster
Thanks a lot! Worked perfectly for me. --~--~-~--~~~---~--~~ 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/sa

[sage-support] Re: jsMath issue and solution with error code -7

2008-08-24 Thread Timothy Clemans
I've been seeing this with the last few releases. On Sun, Aug 24, 2008 at 10:46 AM, Philippe Saade <[EMAIL PROTECTED]> wrote: > > Hi, > > i post this here for future newbies who might encounter the same problem... > > ** on Linux/Ubuntu 8.04, under Firefox 2 or 3, with all TexFonts > installed, i