Re: sagemath 5.0.1 rawhide WIP screenshots (now 5.2 alpha0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/7/10 Paulo César Pereira de Andrade
<paulo.cesar.pereira.de.andrade@xxxxxxxxx>:
> 2012/7/7 Paulo César Pereira de Andrade
> <paulo.cesar.pereira.de.andrade@xxxxxxxxx>:
>
> http://fedorapeople.org/~pcpa/rawhide-sage-notebook2.png
>
> Still need to figure out why cannot interact/change the examples, they are not
> supposed to be static...

  This should not be easy to convince to be added to upstream sphinx or
as a patch to fedora sphinx, so, not sure how to handle it... It is required
to:

---%<---
diff -ur src/sphinx/highlighting.py src.patched/sphinx/highlighting.py
--- src/sphinx/highlighting.py	2010-08-11 17:17:48.000000000 +0200
+++ src.patched/sphinx/highlighting.py	2010-11-28 12:04:44.068642703 +0100
@@ -161,7 +161,7 @@

         # find out which lexer to use
         if lang in ('py', 'python'):
-            if source.startswith('>>>'):
+            if source.startswith('>>>') or source.startswith('sage: '):
                 # interactive session
                 lexer = lexers['pycon']
             else:
---%<---

but then examples in "non fast/static" documentation become interactive,
example:

http://fedorapeople.org/~pcpa/rawhide-sage-notebook3.png

In the screenshot above, it actually was showing an animated plot :-)

I will cross open a fedora bug report and sagemath trac to see if a
reasonable solution can be found for the sagemath sphinx patch
on a system wide sphinx install...

> sagemath 5.2 alpha0 also requires a few new packages that I just made
> review requests:
>
> python-flask-silk https://bugzilla.redhat.com/show_bug.cgi?id=839098
> python-flask-autoindex https://bugzilla.redhat.com/show_bug.cgi?id=839097
> python-flask-babel https://bugzilla.redhat.com/show_bug.cgi?id=839071
>
> other python-flask* required packages were already in rawhide.
>
> Paulo

Paulo
_______________________________________________
scitech mailing list
scitech@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/scitech



[Index of Archives]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Deep Creek Hot Springs]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux