Hi Håkan,

On Sat, Nov 6, 2010 at 9:54 PM, Håkan Granath
<hakan.gran...@googlemail.com> wrote:
> When I try to build the Sage 4.6 pdf reference manual by running
>
> ./sage -docbuild reference pdf
>
> it fails with no pdf output. This happens on 64 bit Ubuntu
> 10.04.1 LTS. It works fine to build the Sage 4.5.3 reference
> manual on the same machine.

That's weird because I successfully built the PDF version of the
reference manual on the machine sage.math. Warnings and errors in
building the standard documentation are not propagated by the version
of Sphinx currently distributed with Sage (Sphinx 0.6.3); see ticket
#10200 (http://trac.sagemath.org/sage_trac/ticket/10200). We are
working on upgrading to Sphinx 1.0.4. See ticket #10118
(http://trac.sagemath.org/sage_trac/ticket/10118). If you want the PDF
version of the reference manual, you can download it from

http://www.sagemath.org/help.html#SageStandardDoc


> l.9136   \item is\_
>                   absolute() (sage.rings.rational
> \_field.RationalField meth...

This is likely due to ReST formatting in the file

sage/rings/rational_field.py

Here's a patch against Sage 4.6 that I hope should fix the problem you
reported above. I haven't tested the patch yet.

diff --git a/sage/rings/rational_field.py b/sage/rings/rational_field.py
--- a/sage/rings/rational_field.py
+++ b/sage/rings/rational_field.py
@@ -487,7 +487,7 @@


     def embeddings(self, K):
-        """
+        r"""
         Return list of the one embedding of `\QQ` into
         `K`, if it exists.

@@ -581,7 +581,7 @@
         return integer.Integer(1)

     def is_absolute(self):
-        """
+        r"""
         `\QQ` is an absolute extension of
         `\QQ`.

@@ -593,7 +593,7 @@
         return True

     def is_subring(self, K):
-        """
+        r"""
         Return ``True`` if `\QQ` is a subring of
         `K`.

@@ -649,7 +649,7 @@
         return False

     def is_prime_field(self):
-        """
+        r"""
         Return ``True``, since `\QQ` is a prime
         field.

@@ -677,7 +677,7 @@
         return integer.Integer(0)

     def maximal_order(self):
-        """
+        r"""
         Return the maximal order of the rational numbers, i.e., the ring
         `\ZZ` of integers.

@@ -692,7 +692,7 @@
         return ZZ

     def number_field(self):
-        """
+        r"""
         Return the number field associated to `\QQ`. Since
         `\QQ` is a number field, this just returns
         `\QQ` again.

-- 
Regards
Minh Van Nguyen

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to