Ask Your Question
0

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

asked 2015-02-07 10:28:31 +0200

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/indexed_generators.py 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
0

answered 2015-02-08 03:44:07 +0200

kcrisman gravatar image

I'm surprised this was never noticed before. See http://trac.sagemath.org/ticket/17745.

edit flag offensive delete link more

Comments

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 14:54:41 +0200 )edit

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

SL gravatar imageSL ( 2015-02-19 10:34:08 +0200 )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 22:52:58 +0200 )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-26 06:37:16 +0200 )edit

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

kcrisman gravatar imagekcrisman ( 2015-02-27 17:01:05 +0200 )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

Stats

Asked: 2015-02-07 10:28:31 +0200

Seen: 416 times

Last updated: Feb 08 '15