Add extra memory to pdflatex to build PDF manuals

Imported from <a href="http://trac.sagemath.org/sage_trac/ticket/12572">trac #12572</a>.

Diff for the sphinx spkg, for review only

Reported by: jdemeyer

Component: packages

CC: 

Report Upstream: N/A

Authors: Jeroen Demeyer

Dependencies: 

Work issues: 

Reviewers: Minh Van Nguyen

Merged in: sage-5.0.beta7

Attachments: <ol><li><a href="http://trac.sagemath.org/sage_trac/attachment/ticket/12572/sphinx-1.1.2.p1.diff">sphinx-1.1.2.p1.diff: Diff for the sphinx spkg, for review only</a> by jdemeyer at 20120229T10:20:10</li></ol>