[texworks] Integrating TeXWorks with SageTeX

LRN lrn1986 at gmail.com
Sun Apr 21 12:01:51 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20.04.2013 11:30, LRN wrote:
> On 20.04.2013 00:40, Herbert Schulz wrote:
> 
>> On Apr 19, 2013, at 12:32 PM, LRN <lrn1986 at gmail.com> wrote:
> 
>>> The way SageTeX works is that it generates a Sage file that
>>> has to be processed by Sage to output TeX, which can be used
>>> in LaTeX. Right now this means that to use Sage you have to
>>> typeset a LaTeX document that uses SageTex, run Sage on one of
>>> the files it outputs, then re-typeset the file again (this time
>>> it will include Sage's output).
>>> 
>>> TeXShop is known to be able to do this latex-sage-latex dance 
>>> automatically. Can TeXWorks do that?
> 
>> Howdy,
> 
>> Since you mention TeXShop can I assume you are using OS X?
> No. I mentioned TeXShop because it is mentioned in SageTeX
> documentation specifically.
> 
> 
After reading AdvancedTypesettingTools, i came up with the following
script (attached), which i added as a XeLaTeX+SageTeX typesetter.
That seems to work well enough.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRc7kNAAoJEOs4Jb6SI2CwJ/wIAJCGkXcNPwAZDcRRAnqIy9I0
Hkab7yFYJbK1SUDz43ea6Za8GpYfbplpKm5oLkpK+cxlePTIZxeLXtSqkkRRjUi9
CUDxlQ8C+cLoW9UbSCjx6o882mDdNlOnwzomRTOowQiFc15soXLhqmMwIrBixja3
hHK2YFbqfwlwrCwIU404GCZ5a7EG/VPgBjDO2KnFo3JweVIzijvZtOaEinCBJd/E
wVfzwpbjX0UcWBVu/PULbvU3EPUtAA4PcLkcMdqEJTuIYnT0ZiPHdokasQAv4v5R
Y/T+kSm0mr3f2T361CEtXT4zk//DCfPuRwEPehCog52PplH3O0fC0uqim9zoSFw=
=YODY
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xelatex_sage_xelatex.sh
Type: application/x-sh
Size: 1067 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20130421/56007b82/attachment.sh>


More information about the texworks mailing list