Changes

Jump to navigation Jump to search
2,908 bytes added ,  21:28, 29 October 2007
→‎Installation: some preliminary notes
* Mac Os X PPC
* other platforms on request (please send a mail to the ntg-context mailing list)
 
= Installation =
 
This is a description of how the first installation and any subsequent updates should work (or how it would be nice if they worked that way):
 
One should be able to download <code>setup.zip</code> (approx. 2MB) which would download all the other things (selected engines, fonts, modules, ...) on demand. It should contain:
* some really basic documentation (README, INSTALL)
* setup script
* texmf-[os]/bin/luatex + texlua symbolic link
* ... [finishme]
 
We need to:
* create files <code>README INSTALL</code>
 
* create a file <code>context-minimals-seetings.lua</code> (or some other self-explanatory name):
*** <b>rsync location</b> (default: <code>rsync://contextgarden.net/minimals</code>, could be anything)
*** ??? <b>installation location</b> (default is simply the current location (<code>pwd</code>))
*** <b>engines</b> (default: all - pdftex, xetex, luatex, metapost)
*** <b>formats</b> (default: english + dutch context for all the installed engines, metapost, metafun; optional: other interfaces, plain pdftex, xetex)
*** <b>fonts</b> (need to be reorganized/improved anyway, perhaps a list of fonts should be fetched)
*** once in the future: <b>supported font encodings for pdftex</b> (default: texnansi, ec, optional: greek, t5, t2a, t2b, t2c, ...)
*** <b>third party modules</b> (list needs to be fetched form the garden, default)
*** <b>context version</b> (default: current, other options: beta, highly-experimental (for "Hans-and-Taco-only"), specific-date <font color="red">in the case of a fixed version issue a warning at next update</font>)
*** <b>interactive flag</b>: shoud the script ask for changes interactively again or should it simply reaspect & use them (defaut: interactive for the first time, after that automatic)
 
* create a file <code>first-setup(.sh, .bat)</code> (or with some other self-explanatory name), which:
** checks if rsync exists (if not, an error is issued, saying <code>please install rsync first</code>)
** checks for perl and ruby and issues a similar error/warning (in fact, we can still proceed to the next step and download things even if perl & ruby are not installed, but that doesn't make much sense)
** detects the platform (straightforward for windows, for unix-like platforms the same kind of detection is used as later in <code>setuptex</code>)
** does rsync to installation files themselves (in case mtx-update has changed in the mean time)
** reads in <code>context-minimals-seetings.lua</code> (which engines, formats, fonts, modules to download ...) if interactive is set to true, ask for default settings again, otherwise respect those settings and continue
** asks for installation location
** creates (or updates) the file with settings (if interactive)
** fetch files with rsync
** create formats
** suggest what to put into <code>.bash_profile</code> (or equivalent locations) to have context initilized automatically
= Binaries =

Navigation menu