On Tue, Oct 13, 2009 at 7:43 PM, John H Palmieri <jhpalmier...@gmail.com> wrote:
>
> On Oct 13, 7:22 pm, William Stein <wst...@gmail.com> wrote:
>> On Tue, Oct 13, 2009 at 7:13 PM, John H Palmieri <jhpalmier...@gmail.com> 
>> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > On Oct 13, 8:38 am, William Stein <wst...@gmail.com> wrote:
>> >> Hi,
>>
>> >> This is a release candidate for Sage-4.1.2:
>>
>> >>http://sage.math.washington.edu/home/wstein/farm/src/sage-4.1.2.rc2.tar
>>
>> >> If nobody finds any serious problems with it, something close to it
>> >> will get released (though I'm not in a hurry).
>>
>> > Here's a nonserious problem: running "sage -docbuild developer html --
>> > jsmath" prints an error message.  At the end of the build process, I
>> > get this error:
>>
>> > copying static files... Exception occurred:
>> >  File "/Applications/sage_builds/sage-4.1.2.rc2-64-bit/local/lib/
>> > python2.6/site-packages/Sphinx-0.5.1-py2.6.egg/sphinx/builder.py",
>> > line 668, in finish
>> >    for filename in os.listdir(staticdirname):
>> > OSError: [Errno 2] No such file or directory: '/Applications/
>> > sage_builds/sage-4.1.2.rc2-64-bit/local/notebook/javascript/jsmath'
>> > The full traceback has been saved in /var/folders/JV/
>> > JVYCpshdHd4FFoThuUgD8k+++TI/-Tmp-/sphinx-err-X1Sd6B.log, if you want
>> > to report the issue to the author.
>> > Please also report this if it was a user error, so that a better error
>> > message can be provided next time.
>> > Send reports to sphinx-...@googlegroups.com. Thanks!
>> > Build finished.  The built documents can be found in /Applications/
>> > sage_builds/sage-4.1.2.rc2-64-bit/devel/sage/doc/output/html/en/
>> > developer
>>
>> > Did the directory "SAGE_ROOT/local/notebook" move some place else?
>>
>> Yes, it did move -- it's now part of the sagenb spkg, and gets
>> installed into python's site-package using Python's standard package
>> data protocol.
>>
>> Is the build OK, but there is an error?  I.e., can this be safely
>> fixed in the next SAge release.  Or do we have to fix it ASAP?
>
> The build is broken because jsmath is not turned on, so you see LaTeX
> code like "t^2e^t -\sin(t)" instead of the typeset version.
>

Thanks.  I figured out the one-line change to make:

wst...@sage:~/build/sage-4.1.2.rc2/devel/sage/sage$ hg diff
diff --git a/doc/common/conf.py b/doc/common/conf.py
--- a/doc/common/conf.py
+++ b/doc/common/conf.py
@@ -113,7 +113,7 @@
 # array.  We can override / overwrite selected files by putting them
 # in the remaining paths.
 if 'SAGE_DOC_JSMATH' in os.environ:
-    jsmath_static = os.path.join(SAGE_ROOT, 'local/notebook/javascript/jsmath')
+    jsmath_static = os.path.join(SAGE_ROOT,
'local/lib/python/site-packages/sagenb/data/javascript/jsmath/')
     html_static_path.insert(0, jsmath_static)

 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
wst...@sage:~/build/sage-4.1.2.rc2/devel/sage/sage$

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

Reply via email to