Changes

Jump to navigation Jump to search
1,257 bytes added ,  13:29, 16 August 2008
Explain how to configure a TeXShop engine for ConTeXt minimals
The following assumes that you want to use ConTeXt and you are a not inside unix world (otherwise, see before and after).
It guides you to install ConTeXt minimal installation under Mac in the typical Applications folder. Then it gives you some information
about how to configure [http://smultron.sourceforge.net/ Smultron] and [http://www.uoregon.edu/~koch/texshop/obtaining.html TeXShop] to work as an editor for ConTeXt.
Smultron is a mac-only, open source text editor which is very easy to use and at the same time powerful (see also [http://en.wikipedia.org/wiki/Smultron]).
7. If you want an automatic update of the pdf you are workin on you can use another mac app, [http://pdfview.sourceforge.net/ pdfview]. You have simply to install it, open your pdf file and choose the automatic update option. Every time you recompile form Smultron (or by another editor), it updates the displayed pdf
 
We are not using the famous TeXShop editor, because it is slighlty more complicated and typically you grab it bundled with a TeX distribution (like MacTeX), and opportunely configured. By using Smultron, we have created a completely autonomous and lightweight ConTeXTMinimals installation which can work aside MacTeX/TeXShop installation. More, by pdfview we have auto update, which is one of the very relevant feature of TeXShop (If you do not know about all this stuff, see [http://wiki.contextgarden.net/Mac_Installation Mac installation]
 
=== TeXShop installation and configuration===
 
1. TeXShop is a popular TeX editor for Mac OS X. To install it, download the [http://www.uoregon.edu/~koch/texshop/obtaining.html disk image] and put the app under the Applications folder (as usual)
 
2. Launch TeXShop. It will automatically create support files in your home folder. This will be the place where the TeXShop engine for ConTeXt Minimals will be located.
 
3. Create an empty text document with your favorite text editor or TeXShop. Then, insert this text in the document:
 
<pre>
#!/bin/bash
source /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/context/tex
texexec "$1"
</pre>
 
4. Save this document under "Library/TeXShop/Engines/" in your home folder and name it "ConTeXt Minimals.engine".
 
5. Close all open documents in TeXShop, open a new one and select "ConTeXt Minimals" in the list next to the "Typeset" button in the toolbar. This will instruct TeXShop to use this engine to compose your documents.
 
6. Edit your ConTeXt document with TeXShop. When you want to typeset it, simply hit Command-T or go under Composition-->Composer. This will generate a PDF file in the same folder of your .tex file.
===Notes===
1. All the process requires that you have installed on your machine rsync, ruby and perl. But if you are on macosx, Apple should already have provided it, so at 99% there should not be problems.
2. We are not using All the famous TeXShop editor, because it is slighlty more complicated and typically process requires that you grab it bundled with a TeX distribution (like MacTeX)have installed on your machine rsync, ruby and opportunely configuredperl. By using SmultronBut if you are on macosx, we Apple should already have created a completely autonomous and lightweight ConTeXTMinimals installation which can work aside MacTeX/TeXShop installation. Moreprovided it, by pdfview we have auto update, which is one of the very relevant feature of TeXShop (If you do so at 99% there should not know about all this stuff, see [http://wiki.contextgardenbe problems.net/Mac_Installation Mac installation]
== Windows ==
Anonymous user

Navigation menu