[sage-support] Re: sage reference manual addition?

2008-04-05 Thread mabshoff

On Apr 5, 2:51 pm, David Joyner [EMAIL PROTECTED] wrote:

Hi David,

 Hi:
 I wonder if there is a procedure to requesting that a module be added to
 the SAage reference manual?

We don't have any special way to do this.

 For example, under coding theory, it
 now has linear 
 code.pyhttp://www.sagemath.org/hg/sage-main/file/cc1e12a492fc/sage/coding/li...
 and 
 code_bounds.pyhttp://www.sagemath.org/hg/sage-main/file/cc1e12a492fc/sage/coding/co...
 Recently I've tried to make 
 code_constructions.pyhttp://www.sagemath.org/hg/sage-main/file/cc1e12a492fc/sage/coding/co...
 and 
 sd_codes.pyhttp://www.sagemath.org/hg/sage-main/file/cc1e12a492fc/sage/coding/sd...
 readable. Is there any chance they could be added?

Sure, submit a patch to add them. I guess somebody ought to read the
the manual sections before approving the patch, but that is certainly
up for discussion.

 - David Joyner

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage reference manual addition?

2008-04-05 Thread Martin Albrecht

On Saturday 05 April 2008, David Joyner wrote:
 I tried following the README in the devel/doc/ref section and am
 having latex compilation problems.
 First, in mwrank somewhere there is a \Sha which latex has trouble with.
 Second, in sage.rings.polynomial.pbori there is a \Sage, \var{other}
 and var[ring] which
 I think latex doesn't like. (Could be wrong though.)

This is quite likely that I just forgot to add an r to the docstring such 
that the backslashes are passed through.

 Third, I think in code_constructions there is a line
   ValueError including a traceback error message: x must divide x^4 -
 1 which latex complains about a missing $ sign. (I'm not sure though.)

x^4 is only valid in math mode.

 The problem is that when I try to correct them and rerun build_pdf, the new
 corrections are not taken into account. They I went into
 devel/doc/ref/sage and deleted
 the corresponding *.tex files and still, the compilation failed at the
 same places.

You need to edit the source (*.py, *.pyx) files rather than the TeX, so e.g.

SAGE_ROOT/devel/sage/sage/rings/polynomial/pbori.pyx 

Hope that helps,
Martin


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---