On Saturday, 24 March 2012 13:33:59 UTC, Nicolas M. ThiƩry wrote:
>
> On Sat, Mar 24, 2012 at 04:35:42AM -0700, David Loeffler wrote:
> >    I tried to use this, but ran into the following stupid glitch.  

Yeah, those recompilations are a pain. In such a situation, one would
> want to hack sage-main to setup --warn-links as default compilation
> option. Do you see a preferable way for this, that would survive
> through -clone, and not interfere with mercurial branches?
>
The problem isn't with sage-main, but with the code for "sage -clone". This 
code already contains a (slightly hackish) routine to check whether or not 
"--jsmath" was set last time "sage -docbuild" was called, and call it again 
with the same options. The existing routine does this by checking a 
specific output file in the reference manual to see if it includes the 
jsmath code, and so is no help with --warn-links which makes no actual 
difference to the output. A better way would presumably be to examine the 
contents of the Sphinx environment pickle, which must be where the options 
last used are stored.

David

-- 
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