First time here? Check out the FAQ!

Sorry, this content is not available

Ask Your Question
0

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

asked 10 years ago

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 <=.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 10 years ago

kcrisman gravatar image

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

Preview: (hide)
link

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 ( 10 years ago )

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

SL gravatar imageSL ( 10 years ago )

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 ( 10 years ago )

@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 ( 10 years ago )

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 ( 10 years ago )

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: 10 years ago

Seen: 456 times

Last updated: Feb 08 '15