16396: sphinx-1.2.2 install: fix grammar script; bump version
16396: fix SEEALSO indentation
16396: fixing sage-doc-9999-r1 with Steve's help
16396: Depend on Sage since docs are now built
Merge branch 'develop' into t/16396/upgrade_sphinx_to_1_2

* develop: (964 commits)
  Updated Sage version to 6.3.beta6
  Trac 12947: handle numerical noise correctly
  in doc of input-parameter: is_zero=None (= instead of ==)
  one Type, one ``...```, one PEP8
  removed trac reference, since this does not give additional information; operators-->operands
  rewrote def multioperand_add to lambda-function
  make def logical_and, def logical_or inline (lambda) functions
  Trac 13331: fix doctests on 32 bits
  Include labels if not lattice polytope is not fully-dimensional.
  Enhance is_Markov_chain to handle symbolic probabilities
  Force upgrade of Singular and fix doctests on 64 bits.
  Let Singular build with clang.
  Fixed repetition of error for super additive
  Reorder arguments description.
  Fixed docstring formatting.
  Trac 12880: reviewer patch
  Trac 11474: fix doctest that depended on the extended Cremona database
  trac #16186: transducers.add for arbitrary length input vectors
  New common transducers "all" and "or"
  New common transducer Wait
  ...

Conflicts:
	build/pkgs/sphinx/package-version.txt
16396: latex math output is broken for inline math in chapters
Correct checksum, refresh patch to eliminate the fuzz.
Faster way to check if a lattice is [semi]modular.
17189: upon the first pass of the documentation compilation, warnings don't trigger an exception
Correction from is_ranked to is_graded; some changes on docs.
Removed empty comment line.
17189: referee's suggestions: only undefined warnings don't trigger an exception
Arghs. is_graded := is_ranked for lattices.
Get the right extension for the inline-latex patch
"More mathematical" way to write loop.
Trac #16396: upgrade Sphinx to 1.2

According to https://groups.google.com/forum/#!topic/sphinx-
users/EC7_wNtE5To Sphinx-1.2 is 25% faster than 1.1.2, and this matters
with doc-clean Sage builds.

Source:
 [https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.2.tar.gz]

URL: http://trac.sagemath.org/16396
Reported by: rws
Ticket author(s): Ralph Stephan, Steven Trogdon
Reviewer(s): François Bissey, Julien Puydt, John Palmieri
Trac #17189: Upon the first pass of the documentation compilation, undefined label warnings should not trigger an exception

Currently, any warning during the documentation compilation causes an
exception which stops the compilation.

This prevents adding certain cross links in the reference
manual. Indeed an undefined warning is issued during the first pass of
the compilation whenever some document A cross links to some document
B while A happens to be compiled before document B.

With this ticket, warnings during the first pass of compilation don't
trigger an exception any more. This ticket also adds a cross link from
sage.dynamics to sage.combinat to illustrate and test the issue.

URL: http://trac.sagemath.org/17189
Reported by: nthiery
Ticket author(s): Florent Hivert, Nicolas Thiéry
Reviewer(s): John Palmieri
Trac #17186: LatticePoset: faster is_modular

Checking if a lattice is modular can be done with rank function. Same
applies to [upper|lower]_semimodular.

URL: http://trac.sagemath.org/17186
Reported by: jmantysalo
Ticket author(s): Jori Mäntysalo
Reviewer(s): Nathann Cohen