Ask Your Question

Incorrect parsing of docstring of sage.structure.indexed_generators.IndexedGenerators

asked 2015-02-07 03:28:31 -0500

SL gravatar image

[This is more of a bug report, but I'm not sure how to report bugs.]

I'm running 'Sage Version 6.5.rc0, Release Date: 2015-01-29' and when I display the help for sage.structure.indexed_generators.IndexedGenerators I get some weird formatting error. It's coming from line 103 of the file $SAGE_ROOT/local/lib/python2.7/site-packages/sage/structure/ where a \left is displayed as <=ft. It seems that \le in \left gets replaced by <=.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-07 20:44:07 -0500

kcrisman gravatar image

I'm surprised this was never noticed before. See

edit flag offensive delete link more


I noticed another similar (related?) issue in the help for the timeit command. The help contains

 sage: timeit("a = 2nb=131nfactor(a^b-1)", number=25)
  25 loops, best of 3: ... per loop

where some \n have been replaced by n.

SL gravatar imageSL ( 2015-02-14 07:54:41 -0500 )edit

Another such issues appear for dirac_delta, heaviside, unit_step. A \left gets replaced by <=ft.

SL gravatar imageSL ( 2015-02-19 03:34:08 -0500 )edit

If you find any more, please consider posting them at the ticket directly - hopefully it will all be fixed, anyway the infrastructure will exist once this ticket gets in.

kcrisman gravatar imagekcrisman ( 2015-02-21 15:52:58 -0500 )edit

@kcrisman, I don't have a Trac account yet, I should probably get one. I did find another instance of this problem in the documentation of dodecahedron.

SL gravatar imageSL ( 2015-02-25 23:37:16 -0500 )edit

Yeah, this just isn't a great venue for continuing reports, nor is it efficient. I've opened for more such issues. We definitely value such diligent work, it makes things look much more professional.

kcrisman gravatar imagekcrisman ( 2015-02-27 10:01:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-02-07 03:28:31 -0500

Seen: 197 times

Last updated: Feb 07 '15