#6495: Build the reference manual incrementally
---------------------------------------------------------------+------------
Reporter: mpatel | Owner:
jdemeyer
Type: enhancement | Status:
needs_work
Priority: major | Milestone:
sage-5.7
Component: documentation | Resolution:
Keywords: days38 | Work issues:
Report Upstream: N/A | Reviewers:
Volker Braun, Florent Hivert
Authors: Mitesh Patel, John Palmieri, Florent Hivert | Merged in:
Dependencies: #13143, #12719 | Stopgaps:
---------------------------------------------------------------+------------
Comment (by jhpalmieri):
By the way, the new version of the script doesn't work on OS X, because OS
X uses a BSD version of `sed` which is not completely compatible with the
linux version. To get it to work, you have to make these changes:
{{{
#!diff
--- a/trac_6495-script.sh 2013-01-27 03:44:32.000000000 -0800
+++ b/trac_6495-script.sh 2013-01-28 10:53:39.000000000 -0800
@@ -16,9 +16,9 @@
do
hg rename $f.rst $f/index.rst
# delete lines of the form ".. _ch:blah"
- sed -e 's|^\.\. _ch:.*$||' -i $f/index.rst
+ sed -e 's|^\.\. _ch:.*$||' -i '' $f/index.rst
# remove resulting blank lines from top of file
- sed -e '/./,$!d' -i $f/index.rst
+ sed -e '/./,$!d' -i '' $f/index.rst
cat >$f/conf.py <<EOF
# -*- coding: utf-8 -*-
# This file is execfile()d with the current directory set to its
@@ -47,7 +47,7 @@
cp cmd/conf.py combinat/conf.py
hg add combinat/conf.py
# in combinat/index.rst: change "../sage/combinat/blah" to
"sage/combinat/blah"
-sed -e "s|\.\./||" -i combinat/index.rst
+sed -e "s|\.\./||" -i '' combinat/index.rst
cat >> combinat/index.rst <<EOF
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6495#comment:191>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.