Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Anne Schilling
On 12/13/12 2:37 AM, Dima Pasechnik wrote:
> ["Followup-To:" header set to gmane.comp.mathematics.sage.devel.]
> On 2012-12-12, Anne Schilling  wrote:
>> Hi!
>>
>> Both Travis and I are having trouble viewing the documentation after
>>
>> sage -docbuild reference html
>>
>> It yields a lot of [MathError] when viewing the html sources.
>> The problem started occurring some time between 5.4.beta1 to 5.5.rc0,
>> most likely due to the switch to mathjax from jsmath.
>> Does anyone else have this problem? What do we need to do to fix this?
> Hi Anne,
> 
> I reviewed that ticket, and I didn't see anything like this.
> 
> Could you please specify the particular URL in documentation where this
> can be seen?
> As well as your browser/OS...

This happens for me for all documentation (whereever there is a formula
like `f(x)=y`). I am using Firefox, MacOS 10.6.8.
Travis is using Windows, so he would need to be more specific (as I
do not know).

> It could be TeX errors in the docs, actually. We fixed a few on that 
> ticket(s).

This happens for all TeX code though. Do I need to install something?

Thanks,

Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Dima Pasechnik
Hi Anne,

On 14 December 2012 00:01, Anne Schilling  wrote:
> On 12/13/12 2:37 AM, Dima Pasechnik wrote:
>> ["Followup-To:" header set to gmane.comp.mathematics.sage.devel.]
>> On 2012-12-12, Anne Schilling  wrote:
>>> Hi!
>>>
>>> Both Travis and I are having trouble viewing the documentation after
>>>
>>> sage -docbuild reference html
>>>
>>> It yields a lot of [MathError] when viewing the html sources.
>>> The problem started occurring some time between 5.4.beta1 to 5.5.rc0,
>>> most likely due to the switch to mathjax from jsmath.
>>> Does anyone else have this problem? What do we need to do to fix this?
>> Hi Anne,
>>
>> I reviewed that ticket, and I didn't see anything like this.
>>
>> Could you please specify the particular URL in documentation where this
>> can be seen?
>> As well as your browser/OS...
>
> This happens for me for all documentation (whereever there is a formula
> like `f(x)=y`). I am using Firefox, MacOS 10.6.8.

Could you please give one concrete URL, relative to SAGE_ROOT?
I just opened Firefox, start browsing documentation, cannot see any problems...


> Travis is using Windows, so he would need to be more specific (as I
> do not know).
>
>> It could be TeX errors in the docs, actually. We fixed a few on that 
>> ticket(s).
>
> This happens for all TeX code though. Do I need to install something?
You need to be online. Mathjax is uploading fonts on the fly.

Best,
Dima


>
> Thanks,
>
> Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Anne Schilling
On 12/13/12 8:17 AM, Dima Pasechnik wrote:
> Hi Anne,
> 
> On 14 December 2012 00:01, Anne Schilling  wrote:
>> On 12/13/12 2:37 AM, Dima Pasechnik wrote:
>>> ["Followup-To:" header set to gmane.comp.mathematics.sage.devel.]
>>> On 2012-12-12, Anne Schilling  wrote:
 Hi!

 Both Travis and I are having trouble viewing the documentation after

 sage -docbuild reference html

 It yields a lot of [MathError] when viewing the html sources.
 The problem started occurring some time between 5.4.beta1 to 5.5.rc0,
 most likely due to the switch to mathjax from jsmath.
 Does anyone else have this problem? What do we need to do to fix this?
>>> Hi Anne,
>>>
>>> I reviewed that ticket, and I didn't see anything like this.
>>>
>>> Could you please specify the particular URL in documentation where this
>>> can be seen?
>>> As well as your browser/OS...
>>
>> This happens for me for all documentation (whereever there is a formula
>> like `f(x)=y`). I am using Firefox, MacOS 10.6.8.
> 
> Could you please give one concrete URL, relative to SAGE_ROOT?
> I just opened Firefox, start browsing documentation, cannot see any 
> problems...

When I review a patch and want to check its documentation I do

sage -b
sage -docbuild reference html
.
Build finished.  The built documents can be found in 
/Applications/sage-5.5.rc0/devel/sage/doc/output/html/en/reference

Then if I check on my local computer in Firefox under for example

file:///Applications/sage-5.5.rc0/devel/sage/doc/output/html/en/reference/sage/combinat/posets/posets.html

the fourth line is

Constructs a (finite) [Math Processing Error]-element poset from a set of 
elements and a directed acyclic graph or poset.

But this happens in *all* files. This is not specific to a particular
doc.

>> This happens for all TeX code though. Do I need to install something?
> You need to be online. Mathjax is uploading fonts on the fly.

I am online.

Best,

Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Dima Pasechnik
On 14 December 2012 00:33, Anne Schilling  wrote:
> On 12/13/12 8:17 AM, Dima Pasechnik wrote:
>> Hi Anne,
>>
>> On 14 December 2012 00:01, Anne Schilling  wrote:
>>> On 12/13/12 2:37 AM, Dima Pasechnik wrote:
 ["Followup-To:" header set to gmane.comp.mathematics.sage.devel.]
 On 2012-12-12, Anne Schilling  wrote:
> Hi!
>
> Both Travis and I are having trouble viewing the documentation after
>
> sage -docbuild reference html
>
> It yields a lot of [MathError] when viewing the html sources.
> The problem started occurring some time between 5.4.beta1 to 5.5.rc0,
> most likely due to the switch to mathjax from jsmath.
> Does anyone else have this problem? What do we need to do to fix this?
 Hi Anne,

 I reviewed that ticket, and I didn't see anything like this.

 Could you please specify the particular URL in documentation where this
 can be seen?
 As well as your browser/OS...
>>>
>>> This happens for me for all documentation (whereever there is a formula
>>> like `f(x)=y`). I am using Firefox, MacOS 10.6.8.
>>
>> Could you please give one concrete URL, relative to SAGE_ROOT?
>> I just opened Firefox, start browsing documentation, cannot see any 
>> problems...
>
> When I review a patch and want to check its documentation I do
>
> sage -b
> sage -docbuild reference html
> .
> Build finished.  The built documents can be found in 
> /Applications/sage-5.5.rc0/devel/sage/doc/output/html/en/reference
>
> Then if I check on my local computer in Firefox under for example
>
> file:///Applications/sage-5.5.rc0/devel/sage/doc/output/html/en/reference/sage/combinat/posets/posets.html
>
> the fourth line is
>
> Constructs a (finite) [Math Processing Error]-element poset from a set of 
> elements and a directed acyclic graph or poset.

OK,  I can confirm this. It is Firefox-specific, as on OSX 10.6.8 I
only see this on Firefox (5.0.1), but not on Safari and Chrome.

Here are errors (from Firefox error console):

Error: no element found
Source File: chrome://web2pdfextension/content/feat_support_new.xul
Line: 1, Column: 20
Source Code:


Error: c.FONTDATA.FONTS.MathJax_Main[8212][5] is undefined
Source File: 
file:///usr/local/src/sage/sage-5.5.rc0/devel/sage/doc/output/html/en/reference/_static/jax/output/HTML-CSS/imageFonts.js
Line: 15

no idea why this fails on Firefox, but works on the remaining
browsers. Perhaps mathjax  (or/and Sage?) treats Firefox in a special
way.


>
> But this happens in *all* files. This is not specific to a particular
> doc.
>
>>> This happens for all TeX code though. Do I need to install something?
>> You need to be online. Mathjax is uploading fonts on the fly.
>
> I am online.
>
> Best,
>
> Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Volker Braun
Works for me on Firefox 17.0.1 on Linux x86_64. Can somebody try and see if 
its fixed in more recent recent release?



On Thursday, December 13, 2012 4:52:09 PM UTC, Dima Pasechnik wrote:
>
> OK,  I can confirm this. It is Firefox-specific, as on OSX 10.6.8 I 
> only see this on Firefox (5.0.1), but not on Safari and Chrome. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/Tpy0fZTMUGkJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread John H Palmieri


On Thursday, December 13, 2012 9:03:51 AM UTC-8, Volker Braun wrote:
>
> Works for me on Firefox 17.0.1 on Linux x86_64. Can somebody try and see 
> if its fixed in more recent recent release?


In more detail: go to  and follow the 
link for "Current Version: MathJax-2.1". Unzip the file to get a directory 
called something like "~/Downloads/mathjax-MathJax-24a378e". Now, go to 
SAGE_ROOT/devel/sagenb/sagenb/data and do

$ mv mathjax mathjax-old
$ mv ~/Downloads/mathjax-MathJax-24a378e mathjax

and try looking at the documentation.

-- 
John
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/fWfuYoY47ugJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread John H Palmieri


On Thursday, December 13, 2012 9:09:15 AM UTC-8, John H Palmieri wrote:
>
>
>
> On Thursday, December 13, 2012 9:03:51 AM UTC-8, Volker Braun wrote:
>>
>> Works for me on Firefox 17.0.1 on Linux x86_64. Can somebody try and see 
>> if its fixed in more recent recent release?
>
>
> In more detail: go to  and follow the 
> link for "Current Version: MathJax-2.1". 
>
>
Or perhaps Volker meant a more recent release of Firefox. What is the most 
recent release available for OS X 10.6.8?

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/lCFZQHfbZAYJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Volker Braun
On Thursday, December 13, 2012 5:13:38 PM UTC, John H Palmieri wrote:

> Or perhaps Volker meant a more recent release of Firefox. What is the most 
> recent release available for OS X 10.6.8?


Thats what I meant - most recent version is 17.0.1 on all platforms. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/FH6XOM8wCXwJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Dima Pasechnik
I should mention that this kind of error was reported on
http://trac.sagemath.org/sage_trac/ticket/13143
but nobody was able to say exactly where the problem lies.
Now we know, it's Firefox-specific.

I can also add that on OSX 10.5 with Firefox version 3.6.28 the situation is
the same.

Anyhow, the workaround ---use another browser--- is there...


Best,
Dima

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread John H Palmieri


On Thursday, December 13, 2012 9:17:24 AM UTC-8, Volker Braun wrote:
>
> On Thursday, December 13, 2012 5:13:38 PM UTC, John H Palmieri wrote:
>
>> Or perhaps Volker meant a more recent release of Firefox. What is the 
>> most recent release available for OS X 10.6.8?
>
>
> Thats what I meant - most recent version is 17.0.1 on all platforms. 
>

I wonder if upgrading MathJax would help anyway.

-- 
John
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/zsS8xVr14eYJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Anne Schilling
On 12/13/12 9:17 AM, Volker Braun wrote:
> On Thursday, December 13, 2012 5:13:38 PM UTC, John H Palmieri wrote:
> 
> Or perhaps Volker meant a more recent release of Firefox. What is the 
> most recent release available for OS X 10.6.8?
> 
> 
> Thats what I meant - most recent version is 17.0.1 on all platforms. 

I just upgraded to 17.0.1. That did not seem to help.

Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Anne Schilling
On 12/13/12 9:09 AM, John H Palmieri wrote:
> 
> 
> On Thursday, December 13, 2012 9:03:51 AM UTC-8, Volker Braun wrote:
> 
> Works for me on Firefox 17.0.1 on Linux x86_64. Can somebody try and see 
> if its fixed in more recent recent release?
> 
> 
> In more detail: go to  and follow the link 
> for "Current Version: MathJax-2.1". Unzip the file to get a directory called 
> something like
> "~/Downloads/mathjax-MathJax-24a378e". Now, go to 
> SAGE_ROOT/devel/sagenb/sagenb/data and do
> 
> $ mv mathjax mathjax-old
> $ mv ~/Downloads/mathjax-MathJax-24a378e mathjax
> 
> and try looking at the documentation.

I tried. It did not help either.

Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Travis Scrimshaw

On Thursday, December 13, 2012 9:32:49 AM UTC-8, Dima Pasechnik wrote:
>
> I should mention that this kind of error was reported on 
> http://trac.sagemath.org/sage_trac/ticket/13143 
> but nobody was able to say exactly where the problem lies. 
> Now we know, it's Firefox-specific. 
>
> I can also add that on OSX 10.5 with Firefox version 3.6.28 the situation 
> is 
> the same. 
>
> Anyhow, the workaround ---use another browser--- is there... 
>
>  
I switched to Chromium (18.0.1025.168) and then it worked for me, so I can 
reconfirm it is a Firefox-specific issue. I'm running Firefox 15.0.1 on an 
Ubuntu 10.04 VM through VirtualBox.

Thanks,
Travis

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/9rrFjM-TWKcJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Andrew Mathas
I am using macosx 10.7.5 and firefox 17.0.1 and the page displays properly 
for me. So the problem is also operating system dependent.

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/0NEjtuUHIx0J.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-14 Thread Volker Braun
This is the following issue:

http://docs.mathjax.org/en/v1.1-latest/installation.html#firefox-and-local-fonts

I do have stix fonts installed in the OS (Fedora 18) and equations render 
fine. If I uninstall stix-fonts then I get the [Math Processing Error]. 
Apparently they are only included from OS X 10.7 onward. 

At http://www.mathjax.org/help/fonts/ there are detailed instructions for 
how to install stix fonts manually.




On Thursday, December 13, 2012 5:32:49 PM UTC, Dima Pasechnik wrote:
>
> I should mention that this kind of error was reported on 
> http://trac.sagemath.org/sage_trac/ticket/13143 
> but nobody was able to say exactly where the problem lies. 
> Now we know, it's Firefox-specific. 
>
> I can also add that on OSX 10.5 with Firefox version 3.6.28 the situation 
> is 
> the same. 
>
> Anyhow, the workaround ---use another browser--- is there... 
>
>
> Best, 
> Dima 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/gVJRov-4eU8J.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-14 Thread Anne Schilling
Yes, cool! This works! Thanks so much,

Anne

On 12/14/12 3:46 AM, Volker Braun wrote:
> This is the following issue:
> 
> http://docs.mathjax.org/en/v1.1-latest/installation.html#firefox-and-local-fonts
> 
> I do have stix fonts installed in the OS (Fedora 18) and equations render 
> fine. If I uninstall stix-fonts then I get the [Math Processing Error]. 
> Apparently they are only included from OS X 10.7 onward. 
> 
> At http://www.mathjax.org/help/fonts/ there are detailed instructions for how 
> to install stix fonts manually.
> 
> 
> 
> 
> On Thursday, December 13, 2012 5:32:49 PM UTC, Dima Pasechnik wrote:
> 
> I should mention that this kind of error was reported on
> http://trac.sagemath.org/sage_trac/ticket/13143 
> 
> but nobody was able to say exactly where the problem lies.
> Now we know, it's Firefox-specific.
> 
> I can also add that on OSX 10.5 with Firefox version 3.6.28 the situation 
> is
> the same.
> 
> Anyhow, the workaround ---use another browser--- is there...
> 
> 
> Best,
> Dima

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.