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
> 2012/7/7 Paulo César Pereira de Andrade
> <>:
> 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

diff -ur src/sphinx/ src.patched/sphinx/
--- src/sphinx/	2010-08-11 17:17:48.000000000 +0200
+++ src.patched/sphinx/	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']

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

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
> python-flask-autoindex
> python-flask-babel
> other python-flask* required packages were already in rawhide.
> Paulo

scitech mailing list

[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