#13261: Update SageTeX documentation on use with TeXShop
------------------------------------+---------------------------------------
Reporter: justin | Owner: mvngu
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.4
Component: documentation | Resolution:
Keywords: TeX, SageTeX | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Justin C. Walker | Merged in:
Dependencies: | Stopgaps:
------------------------------------+---------------------------------------
Comment (by kcrisman):
Here's the patch from the spkg.
{{{
#!diff
diff -Naur sagetex-2.3.3.p3/src/sagetex.dtx
sagetex-2.3.3.p2/src/sagetex.dtx
--- sagetex-2.3.3.p3/src/sagetex.dtx 2012-07-16 16:25:17.000000000
-0400
+++ sagetex-2.3.3.p2/src/sagetex.dtx 2012-01-16 01:40:54.000000000
-0500
@@ -384,27 +384,19 @@
%
% Starting with version 2.25,
% \href{http://www.uoregon.edu/~koch/texshop/}{\TeX Shop} includes
-% support for \ST. You must move the file |sage.engine| from
+% support for \ST. If you move the file |sage.engine| from
% |~/Library/TeXShop/Engines/Inactive/Sage| to
-% |~/Library/TeXShop/Engines| in order for \TeX Shop to typeset a
-% file using \ST. Once the file |sage.engine| is placed in the
-% |Engines| directory, \TeX Shop should be restarted so that it
recognizes
-% the new engine.
-
-% The engine is invoked in one of two ways. The first is by selecting
-% it in the pulldown menu to the right of the "Typeset" button. The
-% second is by putting the following line
- |%!TEX TS-program = sage|
-% with the first 12 lines at the beginning of the .tex file in question.
-% Note that, in this line, there must be exactly one space on either
-% side of the "=". Either method assures that \TeX Shop will
-% automatically run Sage for you when compiling your document. Note that
-% the |"%TEX"| string is only useful when typesetting with \TeX Shop.
+% |~/Library/TeXShop/Engines| and put the line
+% \begin{quotation}
+% |%!TEX TS-program = sage|
+% \end{quotation}
+% at the top of your document, then \TeX Shop will automatically run Sage
+% for you when compiling your document.
%
% Note that you will need to make sure that \LTX can find |sagetex.sty|
-% using any of the methods above. Unless you installed Sage in
/Applications,
-% you will need to edit the |sage.engine| script to reflect the location
of
-% your Sage installation.
+% using any of the methods above. You also might need to edit the
+% |sage.engine| script to reflect the location of your Sage
+% installation.
%
% \subsection{Other scripts included with \ST}
% \label{sec:inst-other-scripts}
}}}
I wonder whether we should still keep the part about the pulldown menu;
it's not in this patch, but why couldn't it be?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13261#comment:8>
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].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.