[sage-devel] Re: Multiline math equations in documentation

2013-03-05 Thread Travis Scrimshaw
Hey everyone, My guess is that the reason it works is because MathJax is being forgiving > in how it parses things. I don't know if MathJax has a "strict" setting > which would complain in these cases. > Hmm...well at least behavior will now be documented. > > I think the developer's guide cou

[sage-devel] Re: Multiline math equations in documentation

2013-03-02 Thread John H Palmieri
On Thursday, February 28, 2013 7:46:37 AM UTC-8, Travis Scrimshaw wrote: > > Hey, > > The problem is the "align" environment: it is not meant to be used in math >> mode, but rather as a way to enter math mode instead of \[ \] delimiters >> (or $$ $$ delimiters, etc.). Using the ".. math::" mark

[sage-devel] Re: Multiline math equations in documentation

2013-02-28 Thread kcrisman
On Thursday, February 28, 2013 10:46:37 AM UTC-5, Travis Scrimshaw wrote: > > Hey, > > The problem is the "align" environment: it is not meant to be used in math >> mode, but rather as a way to enter math mode instead of \[ \] delimiters >> (or $$ $$ delimiters, etc.). Using the ".. math::" mar

[sage-devel] Re: Multiline math equations in documentation

2013-02-28 Thread Travis Scrimshaw
Hey, The problem is the "align" environment: it is not meant to be used in math > mode, but rather as a way to enter math mode instead of \[ \] delimiters > (or $$ $$ delimiters, etc.). Using the ".. math::" markup tells Sphinx that > the following code should be typeset in math mode, and then

[sage-devel] Re: Multiline math equations in documentation

2013-02-27 Thread John H Palmieri
On Wednesday, February 27, 2013 10:26:13 AM UTC-8, John H Palmieri wrote: > > > > On Wednesday, February 27, 2013 7:24:36 AM UTC-8, Travis Scrimshaw wrote: >> >> Hey everyone, >>While reviewing #14130, there was a multiline array* environment >> inside of a .. MATH::, and this ended up build

[sage-devel] Re: Multiline math equations in documentation

2013-02-27 Thread John H Palmieri
On Wednesday, February 27, 2013 7:24:36 AM UTC-8, Travis Scrimshaw wrote: > > Hey everyone, >While reviewing #14130, there was a multiline array* environment inside > of a .. MATH::, and this ended up building just fine as html, but did not > compile in pdf form. For example, suppose you ha

[sage-devel] Re: Multiline math equations in documentation

2013-02-27 Thread kcrisman
> > > >> graphs/graph_decompositions/vertex_separation.pyx:151: >> \begin{alignat}{2} >> > > This one seems to work (I presume it compiles in the pdf doc okay), > although the html does quite like the \intertext... > > Here's the full doc for reference: > > .. MATH:: > :nowrap: > >

[sage-devel] Re: Multiline math equations in documentation

2013-02-27 Thread Travis Scrimshaw
Hey, Is this conceivably because align is in the amsmath package and we > (perhaps) don't include packages in the pdf building? > I don't know if we use many such environments elsewhere in the doc. How > do these examples look in the pdf (if they are even in the reference > manual)? > > sa

[sage-devel] Re: Multiline math equations in documentation

2013-02-27 Thread kcrisman
Thanks for tracking this down, Travis. On Wednesday, February 27, 2013 10:24:36 AM UTC-5, Travis Scrimshaw wrote: > > Hey everyone, >While reviewing #14130, there was a multiline array* environment inside > of a .. MATH::, and this ended up building just fine as html, but did not > compile i