https://wiki.contextgarden.net/api.php?action=feedcontributions&user=Metan0r&feedformat=atomWiki - User contributions [en]2024-03-28T20:31:24ZUser contributionsMediaWiki 1.34.1https://wiki.contextgarden.net/index.php?title=Headers_and_Footers&diff=13212Headers and Footers2011-07-19T17:50:38Z<p>Metan0r: Modified skipping header/footer section. Added 1 alternative to draw a line under the header.</p>
<hr />
<div>< [[Structurals]] | <br />
<br />
== Headers with centered content ==<br />
<br />
ConTeXt offers the possibility to have mirrored headers (for odd and even pages); content can be in two parts, at the inner and outer margin of each page. But how do you get a header that will have one part of its content centered and one part in the outer margin? (This is a common setup for books: chapter title centered, page number in outer margin.) Hans posted this solution to the list:<br />
<br />
<texcode><br />
\setuppagenumbering[alternative=doublesided]<br />
<br />
\setupheadertexts[]<br />
\setupheadertexts[\setups{text a}][][][\setups{text b}]<br />
<br />
\startsetups[text a]<br />
\rlap{\pagenumber}<br />
\hfill<br />
\getmarking[chapter]<br />
\hfill<br />
\llap{whatever}<br />
\stopsetups<br />
<br />
\startsetups[text b]<br />
\rlap{whatever}<br />
\hfill<br />
\getmarking[section]<br />
\hfill<br />
\llap{\pagenumber}<br />
\stopsetups<br />
<br />
</texcode><br />
<br />
The use of the TeX macros rlap and llap allows centering of content. Note that \pagenumber gets you the number prior to conversion; if you're using \setupuserpagenumber[numberconversion=...] then you'll want to use \userpagenumber instead.<br />
<br />
== Using capitals ==<br />
<br />
In the previous example, the chapter title and the section title were fetched with the macro <cmd>getmarking</cmd> which wraps around <cmd>fetchmark</cmd>. <br />
However, in case you need a raw version of the mark, say for instance to put it uppercase, you may use this setup instead:<br />
<br />
<texcode><br />
<br />
\startsetups[text a]<br />
\rlap{\pagenumber}<br />
\hfill<br />
\expanded{\uppercase{\fetchmark[chapter][first]}}<br />
\hfill<br />
\llap{whatever}<br />
\stopsetups<br />
<br />
\startsetups[text b]<br />
\rlap{whatever}<br />
\hfill<br />
\expanded{\uppercase{\fetchmark[section][first]}}<br />
\hfill<br />
\llap{\pagenumber}<br />
\stopsetups<br />
<br />
</texcode><br />
<br />
<br />
You can replace <cmd>uppercase</cmd> by <cmd>WORD</cmd> and so on.<br />
<br />
== Marginal headings and centered headings ==<br />
<br />
The following file gives a way to achieve marginal and centered headings for doublesided documents. Experiment to achieve other effects!<br />
<br />
<texcode><br />
<br />
% output=pdf interface=en<br />
<br />
\setuppapersize [A5][A4]<br />
<br />
\newdimen\Margin<br />
\Margin=3cm<br />
<br />
\newdimen\MarginRaise<br />
\MarginRaise=56ex<br />
<br />
\setuplayout[width=middle,<br />
height=middle,<br />
footer=3\bodyfontsize,<br />
header=\bodyfontsize,<br />
headerdistance=\bodyfontsize,<br />
bottom=3\bodyfontsize,<br />
location={middle,doublesided},<br />
margin=\Margin,<br />
marking=on]<br />
<br />
\setuppagenumbering[alternative=doublesided,<br />
location={footer,middle}]<br />
<br />
\setuptexttexts[margin][][\setups{text a}][\setups{text b}][]<br />
\setuptext[style=\tf,state=high]<br />
<br />
\startsetups[text a]<br />
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%<br />
\startalignment[right]<br />
\getmarking[chapter]<br />
\stopalignment<br />
}}<br />
\stopsetups<br />
<br />
\startsetups[text b]<br />
\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%<br />
\startalignment[left]<br />
\getmarking[section]<br />
\stopalignment<br />
}}<br />
\stopsetups<br />
<br />
\setupbottomtexts[pagenumber]<br />
\setupbottom[style=\tf,state=high]<br />
<br />
\setupfootertexts%<br />
[][\setups{text c}][\setups{text d}][]<br />
\setupfooter[style=\tf,<br />
state=high]<br />
<br />
\startsetups[text c]<br />
\midaligned{\raise2\bodyfontsize\hbox{\getmarking[chapter]}}<br />
\stopsetups<br />
<br />
\startsetups[text d]<br />
\midaligned{\raise2\bodyfontsize\hbox{\getmarking[section]}}<br />
\stopsetups<br />
<br />
\setupinmargin[align=inner,<br />
style=\tfx\setupinterlinespace]<br />
<br />
\showframe<br />
<br />
\starttext<br />
<br />
\chapter{Chapter Knuth Testing}<br />
<br />
\section{Section Knuth Testing}<br />
\dorecurse{20}{\input knuth\par\ }<br />
<br />
\stoptext<br />
<br />
</texcode><br />
<br />
== Skipping headers or footers ==<br />
<br />
You can suppress or bypass a header or footer on a chapter page like this:<br />
<texcode><br />
\setuphead[chapter][header=high,footer=none] % with header=high the text area of the page will extend up into the space where the header normaly sits<br />
% or:<br />
\setuphead[chapter][header=empty,footer=none] % header=empty leaves the header area intact, but does not fill it with any text<br />
</texcode><br />
The options for 'header=' and 'footer=' are none,empty,high,nomarking.<br />
<br />
== Adding a line below the header ==<br />
There are two ways to achieve this:<br />
<texcode><br />
\setupbackgrounds[header][text][bottomframe=on]<br />
</texcode><br />
The above method will require the header=high option if you want to skip the line on pages where a chapter begins (with header=empty the line will still be there but with no text). The second method allows skipping the header (including the line) with both the header={empty|high} option.<br />
<texcode><br />
\setupheader[text][after={\blackrule[width=\textwidth,height=\linewidth,depth=0pt]}]<br />
</texcode></div>Metan0rhttps://wiki.contextgarden.net/index.php?title=Enumerations&diff=13183Enumerations2011-07-07T12:38:47Z<p>Metan0r: Added section "Horizontal spacing"</p>
<hr />
<div>< [[Structurals]]<br />
<br />
= Overview of commands =<br />
<br />
== \startitemize ==<br />
<br />
The most basic form of using enumerations in ConTeXt is<br />
<br />
<texcode><br />
\startitemize<br />
\item here we list the points,<br />
\item one after the other.<br />
\stopitemize<br />
</texcode><br />
<br />
The <cmd>startitemize</cmd> command takes optional parameters (see the documentation of <cmd>startitemgroup</cmd> for a complete list), for example a number conversion may be given, with the following predefined types:<br />
<br />
<table><br />
<tr><td><tt>n</tt> or <tt>N</tt></td><td>Usually the default: a numbered list</td></tr><br />
<tr><td><tt>m</tt></td><td>A numbered list, with lowercase (&ldquo;medieval&rdquo;, aka &ldquo;oldstyle&rdquo;) numbers.</td></tr><br />
<tr><td><tt>1</tt> &hellip; <tt>8</tt></td><td>Different kinds of bullets. All items get the same symbol.</td></tr><br />
<tr><td><tt>a</tt></td><td>Items are numbered a., b., c., &hellip;</td></tr><br />
<tr><td><tt>A</tt></td><td>Items are numbered A., B., C., &hellip;</td></tr><br />
<tr><td><tt>AK</tt></td><td>Items are numbered A., B., C., &hellip;, in small caps.</td></tr><br />
<tr><td><tt>r</tt></td><td>Items are numbered in lowercase Roman numerals.</td></tr><br />
<tr><td><tt>R</tt></td><td>Items are numbered in uppercase Roman numerals.</td></tr><br />
<tr><td><tt>KR</tt></td><td>Items are numbered in uppercase Roman numerals, small caps style.</td></tr><br />
</table><br />
<br />
It is also possible to define your own number conversions; see [[User-Defined Enumerations]]. If you have loaded the [[Chinese]] module, you can also use <tt>c</tt> (and some more) for Chinese numbers.<br />
<br />
Additional parameters include<br />
* <tt>continue</tt> (start where the previous itemization was finished, to allow text injections),<br />
* <tt>packed</tt> (less vertical space between items), <br />
* <tt>inmargin</tt> (place enumeration symbols into the margin), and<br />
* <tt>text</tt> (paragraph enumerations, formats the items as a running text).<br />
<br />
== \setupitemize ==<br />
<br />
To change the general layout of enumerations, there is <cmd>setupitemize</cmd>. It accepts an integer as its first parameter to denote for which level of itemization the subsequent settings should apply. <br />
<br />
You will find more about <cmd>setupitemize</cmd> at <cmd>defineitemgroup</cmd>.<br />
<br />
== \defineitemgroup ==<br />
<br />
For finer control, it is advisable to create new types of itemization, using the command <cmd>defineitemgroup</cmd> (which unfortunately seems undocumented). For example:<br />
<br />
{|<br />
! width="45%"|<br />
! width="10%"|<br />
! width="45%"|<br />
|-<br />
| <texcode><br />
\defineitemgroup[ltxitm][levels=5]<br />
%<br />
\setupitemgroup[ltxitm][1][1]<br />
\setupitemgroup[ltxitm][2][2]<br />
\setupitemgroup[ltxitm][3][3,packed]<br />
\setupitemgroup[ltxitm][4][4,packed]<br />
\setupitemgroup[ltxitm][5][5,packed]<br />
%<br />
\starttext<br />
%<br />
\startltxitm<br />
\item Consider<br />
\startltxitm<br />
\item this part<br />
\item and also these subpoints:<br />
\startltxitm<br />
\item one<br />
\item two<br />
\item three<br />
\startltxitm<br />
\item threeandahalf<br />
\stopltxitm<br />
\item four<br />
\stopltxitm<br />
\stopltxitm<br />
\stopltxitm<br />
%<br />
\stoptext<br />
</texcode><br />
|<br />
| <context><br />
\defineitemgroup[ltxitm][levels=5]<br />
%<br />
\setupitemgroup[ltxitm][1][1]<br />
\setupitemgroup[ltxitm][2][2]<br />
\setupitemgroup[ltxitm][3][3,packed]<br />
\setupitemgroup[ltxitm][4][4,packed]<br />
\setupitemgroup[ltxitm][5][5,packed]<br />
%<br />
\starttext<br />
%<br />
\startltxitm<br />
\item Consider<br />
\startltxitm<br />
\item this part<br />
\item and also these subpoints:<br />
\startltxitm<br />
\item one<br />
\item two<br />
\item three<br />
\startltxitm<br />
\item threeandahalf<br />
\stopltxitm<br />
\item four<br />
\stopltxitm<br />
\stopltxitm<br />
\stopltxitm<br />
%<br />
\stoptext<br />
</context><br />
|}<br />
<br />
= Customization details and examples =<br />
<br />
==Labels==<br />
<br />
{|<br />
! width="50%"|<br />
! width="50%"|<br />
|-<br />
|<context><br />
\starttext<br />
\setupitemize[left=(, right=), margin=4em, stopper=]<br />
\startitemize[a, packed]<br />
\item one item,<br />
\item next item.<br />
\stopitemize<br />
\stoptext<br />
</context><br />
| <texcode><br />
\setupitemize[left=(, right=), margin=4em, stopper=]<br />
\startitemize[a]<br />
\item one item,<br />
\item next item.<br />
\stopitemize<br />
</texcode><br />
* <tt>margin</tt> is from left margin to start of item text<br />
* <tt>stopper</tt> is the dot (or whatever) after the "number"<br />
|-<br />
|<context><br />
\starttext<br />
\startitemize[R,fit][itemalign=flushright,stopper={ --- }]<br />
\dorecurse{5}{\item blablabla}<br />
\stopitemize<br />
\stoptext<br />
</context><br />
|<texcode><br />
\startitemize[R,fit][itemalign=flushright,stopper={ --- }]<br />
\dorecurse{5}{\item blablabla}<br />
\stopitemize<br />
</texcode><br />
|-<br />
|<context><br />
\starttext<br />
\startitemize[n,packed][start=42,stopper={\space}]<br />
\dorecurse{3}{\item Lorem ipsum}<br />
\stopitemize<br />
\stoptext<br />
</context><br />
|<br />
You can tell ConTeXt to begin item numbering at given offset [http://thread.gmane.org/gmane.comp.tex.context/61728/focus=61729]:<br />
<texcode><br />
\startitemize[n,fit][start=42,stopper={\space}]<br />
\dorecurse{3}{\item Lorem ipsum}<br />
\stopitemize<br />
</texcode><br />
|-<br />
|<context><br />
\starttext<br />
\startitemize[a,packed]<br />
\item bar<br />
\sym{1.} foo<br />
\sym{2.} bar<br />
\sym{3.} foo<br />
\sym{5.} bar<br />
\sym{8.} foo<br />
\sym{13.} bar<br />
\item foo<br />
\stopitemize<br />
\stoptext<br />
</context><br />
|Irregular item types can be inserted via [[cmd:sym|<tt>\sym{#1}</tt>]] [http://article.gmane.org/gmane.comp.tex.context/61731]:<br />
<texcode><br />
\startitemize[a]<br />
\item bar<br />
\sym{1.} foo<br />
\sym{2.} bar<br />
\sym{3.} foo<br />
\sym{5.} bar<br />
\sym{8.} foo<br />
\sym{13.} bar<br />
\item foo<br />
\stopitemize<br />
</texcode><br />
Note that the original (alphabetically enumerated) order is not affected by <br />
these insertions: it continues after the last one as if they didn't exist.<br />
|}<br />
<br />
== Vertical spacing ==<br />
<br />
This is the way how you can set spacing before and after itemize when working with<br />
<texcode><br />
\setupwhitespace[big]<br />
</texcode><br />
<br />
An option '''nowhite''' comes in handy:<br />
<br />
<texcode><br />
paragraph before<br />
<br />
\startitemize[joinedup,nowhite,after]<br />
\item first<br />
\item second<br />
\stopitemize<br />
<br />
paragraph after<br />
</texcode><br />
<br />
These are all the four possible combinations of whitespace settings that you might want to use:<br />
<br />
<br />
<context><br />
\setuplayout[scale=0.8,width=9cm]<br />
\setupwhitespace[big]<br />
\definesymbol[1][$\triangleright$]<br />
\startcolumns<br />
{\bf joinedup:} \startitemize[joinedup] \item test \item test \stopitemize after \par<br />
{\bf joinedup,nowhite:} \startitemize[joinedup,nowhite] \item test \item test \stopitemize after \column<br />
{\bf joinedup,nowhite,before:} \startitemize[joinedup,nowhite,before] \item test \item test \stopitemize after \par<br />
{\bf joinedup,nowhite,after:} \startitemize[joinedup,nowhite,after] \item test \item test \stopitemize after<br />
\stopcolumns<br />
</context><br />
<br />
==Horizontal spacing==<br />
{|<br />
! width="45%"|<br />
! width="10%"|<br />
! width="45%"|<br />
|-<br />
|To control the space between the item symbol (bullet) and the item text<br />
<br />
you can use eather the broad option<br />
<texcode><br />
\startitemize[n*broad] %replace n with a number (e.g "3").<br />
\item Test<br />
\stopitemize<br />
</texcode><br />
or you can use absolute values (for fine tuning):<br />
<texcode><br />
\startitemize[width=1em,distance=0pt]<br />
\item Test<br />
\stopitemize<br />
</texcode><br />
|<br />
|<context><br />
\startitemize[width=1em,distance=0pt]<br />
\item Using width=1em,distance=0pt<br />
\stopitemize\setuplayout[scale=0.8,width=9cm]<br />
\startitemize<br />
\item {\bf Default} (no arguments)<br />
\stopitemize<br />
<br />
\startitemize[1*broad]<br />
\item Using 1*broad<br />
\stopitemize<br />
\startitemize[3*broad]<br />
\item Using 2*broad<br />
\stopitemize<br />
</context><br />
|}<br />
<br />
==Multicolumn==<br />
<br />
Hans posted a solution to the list for a multicolumn enumeration that counts across then down, instead of down then across. When he posted it (Dec 21, 2005), he said the joinedup option does not work, but he would fix that. This is a version without the tufte and zapf text<br />
<br />
{|<br />
! width="45%"|<br />
! width="10%"|<br />
! width="45%"|<br />
|-<br />
| <texcode><br />
\starttext<br />
<br />
Some previous sentence before the list<br />
<br />
\startitemize[columns,n,joinedup]<br />
\item one<br />
\item two<br />
\stopitemize<br />
\startitemize[continue,columns,joinedup]<br />
\item one<br />
\item two<br />
\stopitemize<br />
\startitemize[continue,columns,joinedup]<br />
\item one<br />
\item two<br />
\stopitemize<br />
<br />
And the text continues after the list<br />
<br />
\stoptext<br />
</texcode><br />
|<br />
|<context><br />
\starttext<br />
<br />
Some previous sentence before the list<br />
<br />
\startitemize[columns,n,joinedup]<br />
\item one<br />
\item two<br />
\stopitemize<br />
\startitemize[continue,columns,joinedup]<br />
\item one<br />
\item two<br />
\stopitemize<br />
\startitemize[continue,columns,joinedup]<br />
\item one<br />
\item two<br />
\stopitemize<br />
<br />
And the text continues after the list<br />
<br />
\stoptext<br />
<br />
</context><br />
|}<br />
<br />
= Other considerations =<br />
<br />
== Randomizing items ==<br />
It is possible to make ConTeXt randomize the items in enumerations; this can come handy when, e.g., typesetting tests. You have to add a <tt>random</tt> option to <cmd>startitemize</cmd>. There are two caveats:<br />
# You have to say <cmd>startitem</cmd> ... <cmd>stopitem</cmd> instead of <cmd>item</cmd> ... .<br />
# Somehow the first item does not get randomized. (I learned from the mailing list - thanks, Aditya! - that adding a <cmd>nextrandom</cmd> somewhere earlier helps.)<br />
Example:<br />
<br />
{|<br />
! width="45%"|<br />
! width="10%"|<br />
! width="45%"|<br />
|-<br />
| <texcode><br />
\nextrandom<br />
\startitemize[random]<br />
\startitem A \stopitem<br />
\startitem B \stopitem<br />
\startitem C \stopitem<br />
%\startitem F \stopitem<br />
\stopitemize<br />
</texcode><br />
|<br />
| <context><br />
\nextrandom<br />
\startitemize[random]<br />
\startitem A \stopitem<br />
\startitem B \stopitem<br />
\startitem C \stopitem<br />
%\startitem F \stopitem<br />
\stopitemize<br />
</context><br />
|}<br />
<br />
== Referring to items ==<br />
You can also use a reference to an item, just like a chapter or section. See also [[References]].<br />
<br />
{|<br />
! width="45%"|<br />
! width="10%"|<br />
! width="45%"|<br />
|-<br />
| <texcode><br />
\starttext<br />
\startitemize[n]<br />
\item A<br />
\item[foo] B<br />
\item C<br />
\stopitemize<br />
\dots<br />
As seen in \in{item}[foo] on page \at{page}[foo], B is teh shizzle.<br />
\stoptext<br />
</texcode><br />
|<br />
| <context><br />
\starttext<br />
\startitemize[n]<br />
\item A<br />
\item[foo] B<br />
\item C<br />
\stopitemize<br />
\dots<br />
As seen in \in{item}[foo] on page \at{page}[foo], B is teh shizzle.<br />
\stoptext<br />
</context><br />
|}<br />
<br />
=Further Reading=<br />
* [[\startitemize]]</div>Metan0rhttps://wiki.contextgarden.net/index.php?title=ConTeXt_Standalone&diff=13182ConTeXt Standalone2011-07-07T10:14:37Z<p>Metan0r: Fixed typo in link to Installing third party modules</p>
<hr />
<div>< [[Installation]] | [[ConTeXt Minimals/FAQ|Minimals/FAQ]] | '''[[ConTeXt Minimals/Tree|Minimals/Tree]]''' | [[ConTeXt Minimals/Structure|Minimals/Structure]] | [[ConTeXt Minimals/Implementation|Minimals/Implementation]] | [[ConTeXt Minimals/TODO|Minimals/TODO]] | [[ConTeXt Minimals/Contents|Minimals/Contents]] | [[ConTeXt Minimals/TeX Live|Minimals/TeX Live]] ><br />
<br />
The '''ConTeXt Minimal''' is a complete, up-to-date ConTeXt distribution which can be upgraded efficiently. It can be used to install either the stable or the beta version of ConTeXt. It can also be used in parallel with existing TeX installtions such as MikTeX, TeXLive, or older minimal installation. It is aimed towards ConTeXt users, so it does not include LaTeX specific packages and binaries. <br />
<br />
{{Note | ConTeXt develops at a fast pace, and sometimes beta releases have serious bugs. ConTeXt minimals allow you to test the latest ConTeXt release without having to worry if an upgrade will mess an critical project. You can have two (or multiple) parallel ConTeXt minimals, and freeze one for your critical projects, and use the other one for experimenting.}}<br />
<br />
<br />
{{TOClimit|limit=1}}<br />
<br />
= General Information =<br />
<br />
== Supported platforms ==<br />
<br />
{| style="border:1px solid #DDDDDD;"<br />
|- align="left" <br />
! Platform<br />
! Short name<br />
! Binaries by<br />
! Notes<br />
|- align="left" style="background-color:#EEEEEE;"<br />
! Windows<br />
| mswin<br />
| Akira Kakuto (W32TeX)<br />
|<br />
|- align="left"<br />
! Linux<br />
| linux<br />
| Hans Hagen<br />
| compiled with glibc 2.3.6<br />
|- align="left" style="background-color:#EEEEEE;"<br />
! Linux, 64-bit<br />
| linux-64<br />
| Peter Münster<br />
| might be renamed to linux-amd64<br />
|- align="left"<br />
! Linux, PowerPC<br />
| linux-ppc<br />
| Piotr Kopszak<br />
|<br />
|- align="left" style="background-color:#EEEEEE;"<br />
! Mac OS X, Intel (32-bit)<br />
| osx-intel<br />
| Mojca Miklavec<br />
|<br />
|- align="left"<br />
! Mac OS X, Intel (64-bit)<br />
| osx-64<br />
| Mojca Miklavec<br />
|<br />
|- align="left" style="background-color:#EEEEEE;"<br />
! Mac OS X, PowerPC<br />
| osx-ppc<br />
| Mojca Miklavec<br />
|<br />
|- align="left""<br />
! Mac OS X, Universal Binaries<br />
| osx-universal<br />
| Mojca Miklavec<br />
| not used<br />
|- align="left" style="background-color:#EEEEEE;"<br />
! FreeBSD<br />
| freebsd<br />
| Yue Wang, Diego Depaoli<br />
| might be renamed to freebsd-intel<br />
|- align="left"<br />
! FreeBSD, 64-bit<br />
| freebsd-amd64<br />
| Michael Krauß<br />
| <br />
|- align="left" style="background-color:#EEEEEE;"<br />
! kFreeBSD<br />
| kfreebsd-i386<br />
| Alan Braslau<br />
| FreeBSD + glibc (Debian)<br />
|- align="left"<br />
! kFreeBSD, 64-bit<br />
| kfreebsd-amd64<br />
| Alan Braslau<br />
| FreeBSD + glibc (Debian)<br />
|- align="left" style="background-color:#EEEEEE;"<br />
! Solaris, Intel<br />
| solaris-intel<br />
| Marco Patzer<br />
|<br />
|- align="left"<br />
! Solaris, Sparc<br />
| solaris-sparc<br />
| Vladimir Volovich<br />
| compiled on solaris 8, not maintaned<br />
|}<br />
<br />
We need volunteers for providing binaries for other platforms. If you want to support a platform, please write to [[ConTeXt Mailing Lists]]<br />
<br />
== Dependencies ==<br />
* [http://www.ruby-lang.org Ruby] 1.8 or newer (used for MKII)<br />
* Rsync (The windows binary of rsync is distributed within the minimals)<br />
<br />
== Disc space required ==<br />
ConTeXt macro files are small (less than 10MB), but the minimals comes with various free fonts which considerably increase the size of the distribution to around 200MB).<br />
<br />
== Installation tree ==<br />
Browse the [http://minimals.contextgarden.net installation tree]<br />
<br />
<br />
<br />
= Unix-like platforms (Linux/MacOS X/FreeBSD/Solaris) =<br />
<br />
<br />
== Single user installation ==<br />
<br />
Select a folder where you want to install ConTeXt. We recommend that you can use your <code>$HOME/context</code> directory. Create this folder. Then download <br />
[http://minimals.contextgarden.net/setup/first-setup.sh first-setup.sh] and place it in <code>$HOME/context</code> directory. Open a terminal, then:<br />
<br />
cd context<br />
<br />
Then make <code>first-setup.sh</code> executable and run it to download the whole distribution and make formats:<br />
<br />
chmod +x first-setup.sh<br />
sh ./first-setup.sh<br />
<br />
This takes a long time, so go have a coffee.<br />
<br />
By default, the minimals installs ConTeXt beta. If you want the stable version of ConTeXt, you can use<br />
<br />
sh ./first-setup.sh --context=current<br />
<br />
== System-wide installation ==<br />
<br />
A system wide installation is only recommeded for users who are comfortable with the command line. Only the location of installing ConTeXt is different for a system wide installation.<br />
<br />
* on Linux you can use <code>/opt/context</code><br />
* on MacOS X you can use <code>/Applications/ConTeXt</code><br />
<br />
Note that, at present, while ''using'' MkIV, you need to have write permissions<ref>Actually, you only need write permission for <code>$TEXMFCACHE</code>.</ref> in the installation directory.<ref>This effectively means that only one user will be able to generate the formats</ref> So, if you are installing the minimals in <code>/opt/context</code> or <code>/Applications/ConTeXt</code>, run<br />
<br />
chown `whoami` -R /opt/context <br />
<br />
or <br />
<br />
chown `whoami` -R /Applications/ConTeXt<br />
<br />
(<code>`whoami`</code> outputs your user name, you can type that directly, of course.)<br />
<br />
In order to install the minimals, open a terminal, go to the installation directory and download [http://minimals.contextgarden.net/setup/first-setup.sh first-setup.sh]:<br />
<br />
$ rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh .<br />
<br />
Then run that script to download the whole distribution and make formats:<br />
<br />
sh ./first-setup.sh<br />
<br />
This takes a long time, so go have a coffee.<br />
<br />
By default, the minimals installs ConTeXt beta. If you want the stable version of ConTeXt, you can use<br />
<br />
sh ./first-setup.sh --context=current<br />
<br />
===Cache===<br />
<br />
Normaly you do not want to allow access in e.g. /opt. but you like to allow it in /var/cache/*. In ConTeXt you have two ways of setting up the directory for the cache:<br />
# Uncomment the TEXMFCACHE setting in ./tex/setuptex and change the value to the directory you want or<br />
# Change in the file ./tex/texmf/web2c/texmfcnf.lua the value of TEXMFCACHE to the directory you want.<br />
<br />
First ConTeXt looks for the environment variable TEXMFCACHE. If this variable does not exist ConTeXt looks for the value of TEXMFCACHE inside the file texmfcnf.lua. <br />
<br />
My personal suggestion is to edit the setuptex.<br />
<br />
===Arch Linux===<br />
There’s a [http://aur.archlinux.org/packages.php?ID=30398 PKGBUILD] in<br />
the AUR, provided by Aditya [https://github.com/adityam/context-pkgbuild].<br />
Install it using your favorite AUR frontend, e.g.<br />
<br />
<pre><br />
yaourt -S context-minimals-git<br />
</pre><br />
<br />
This will get you a fresh, up-to-date Context tree in<br />
<tt>/opt/context-minimals</tt>.<br />
<br />
== The funtoo way ==<br />
<br />
If you are using [http://funtoo.org funtoo] there are ebuilds that will make an installation as easy as installing any other package from portage. Take a look at the [[ConTeXt Minimals Funtoo]] Howto. This might also work for [http://www.gentoo.org gentoo], but is untested right now.<br />
<br />
== Proxy settings ==<br />
<br />
The installation script uses <code>rsync</code> to fetch the required files. So, if you are behind a proxy server, you need to tell the details to rsync. The easiest way to set this is to set <code>RSYNC_PROXY</code> variable in the terminal or your startup script (<code>.bashrc</code> or the corresponding file for your shell). Replace username, password, proxyhost and proxyport with the correct information<br />
<br />
export RSYNC_PROXY=username:password@proxyhost:proxyport<br />
<br />
Sometimes, when behind a firewall, port 873 may be closed for outgoing TCP connections. If port 22 is open for ssh connections, a trick that can be used is to connect to a computer located somewhere outside of the firewall and to tunnel port 873 (using the program <code>nc</code>).<br />
<br />
export RSYNC_CONNECT_PROG='ssh tunnelhost nc %H 873'<br />
<br />
where <code>tunnelhost</code> is the machine outside of the firewall on which you have <code>ssh</code> access. Of course, this machine must have <code>nc</code> and port 873 open for outgoing TCP connections.<br />
<br />
== Usage ==<br />
<br />
ConTeXt minimals works in a non-interfering manner because it does not put anything in your <code>$PATH</code> and does not set any system variables. This in turn means that in order to use it, you need to do some initialization. An intialization script called <code>setuptex</code> is provided in <code>installation-dir/tex/</code>. <br />
<br />
If you run context from a terminal, source <code>setuptex</code> before running ConTeXt. This depends on the shell that you are using.<br />
<br />
* '''bash''' users can use<br />
source /installation-dir/tex/setuptex<br />
<br />
* '''zsh''' users can use<br />
. /installation-dir/tex/setuptex<br />
<br />
* '''(t)csh''' users can use <br />
source /installation-dir/tex/setuptex.csh<br />
<br />
If you do not know which shell you are using, open a terminal and type <br />
echo $SHELL<br />
<br />
== Exclusive usage ==<br />
<br />
The above method means that you always have to type <code>source /installation-dir/tex/setuptex</code> in a terminal before you can use typeset. If you always use ConTeXt minimals and never use LaTeX or plain TeX provided by another TeX distribution, you can add the above intialization line to the startup script of your shell. For bash, this means <code>$HOME/.bashrc</code>; for zsh, this means <code>$HOME/.zshrc</code>; for (t)csh, this means <code>$HOME/.cshrc</code> or <code>$HOME/.tcshrc</code>. Then, <code>setuptex</code> will always be sourced in your terminal. <br />
<br />
== Integrating with an editor ==<br />
<br />
If you run ConTeXt from an editor, you need to source <code>setuptex</code> in a terminal and then open your editor from the same terminal. I.e. if you run your editor from the shell.<br />
<br />
Depending on how your editor intializes, you may still need to source it in order to run ConTeXt directly from your editor, <br />
In theory, it is sufficient to add <code>/installation-dir/tex/texmf-<platform>/bin</code> to your PATH in order to use the minimals. You can try to add this to the paths that your editor searches.<br />
<br />
For information about configuring [http://smultron.sourceforge.net/ Smultron] and [http://www.uoregon.edu/~koch/texshop/obtaining.html TeXShop] (which are popular TeX editors on Mac) see [[ConTeXt Minimals/Mac Installation]]. If you don't mind investing a bit of money (abt eur 50), [http://macromates.com/ TextMate] with (the not yet officially released) [[ConTeXt Bundle for TextMate]] is an easy-to-install option.<br />
<br />
== Updating ==<br />
<br />
For updating the ConTeXt minimals, <br />
first update <code>first-setup.sh</code>, then run it. You could<br />
also create an alias or a little script “ctx-update”<br />
with the following example contents:<br />
<pre><br />
cd /opt/context<br />
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .<br />
./first-setup.sh --extras=all<br />
</pre><br />
<br />
== Uninstalling ==<br />
<br />
ConTeXt minimals does not touch anything outside its installation folder. So to uninstall it, you can simply remove the installation folder.<br />
<br />
== Remaking formats ==<br />
<br />
Normally, the update script should create the formats for you. If for some reason you need to recreate the formats, you can do the following:<br />
<br />
* For making MKII format.<br />
<br />
mktexlsr<br />
texexec --make --all <br />
<br />
* For making XeTeX format<br />
<br />
mktexlsr<br />
texexec --make --xtx --all <br />
<br />
* For making MKIV format<br />
<br />
mtxrun --selfupdate<br />
mtxrun --generate<br />
luatools --generate<br />
context --make<br />
<br />
= Installation and use on Windows =<br />
<br />
If you want to use ConTeXt minimals alongside MikTeX/TeXLive (needed if you also run LaTeX), follow the command-line installation method. Otherwise, you can follow either the command line or GUI installation method.<br />
<br />
== Installation ==<br />
<br />
=== Command line method ===<br />
Download [http://minimals.contextgarden.net/setup/context-setup-mswin.zip context-setup-mswin.zip] and unzip to a directory where you want to install ConTeXt. It is recommended that you choose a directory that does not have a space in its full path. Then open <code>cmd.exe</code>, go to the installation directory and run<br />
<br />
first-setup.bat<br />
<br />
This takes a long time, so go have a coffee. <br />
<br />
By default, the minimals installs ConTeXt beta. If you want the stable version of ConTeXt, you can use <br />
<br />
first-setup.bat --context=current<br />
<br />
=== GUI Installer ===<br />
<br />
There is also a [http://minimals.contextgarden.net/setup/context-installer/ContextMinimalInstall.exe GUI installer] made by Vyatcheslav Yatskovsky. Download and run the installer and it will ask you where to install the minimals, which distribution to use (stable or beta) and whether or not you want to make formats. <br />
<br />
{{note| The GUI installer asks if you want to set environmental variables globally. Click this only if you do '''not''' use MikTeX or TeXLive and do '''not''' plan to use LaTeX}}<br />
<br />
You should also see the [http://meeting.contextgarden.net/2008/talks/2008-08-21-vyatcheslav-win-installer/windows_installer.pdf slides] giving details about the GUI installer.<br />
<br />
== Proxy settings ==<br />
<br />
The installation script uses <code>rsync</code> to fetch the required files. So, if you are behind a proxy server, you need to tell the details to rsync. The easiest way to set this is to set <code>RSYNC_PROXY</code> variable in the terminal as (replace username, password, proxyhost and proxyport with the correct information)<br />
<br />
set RSYNC_PROXY=username:password@proxyhost:proxyport<br />
<br />
or set the variable permanently as a Windows environment variable.<br />
<br />
Sometimes, when behind a firewall, port 873 may be closed for outgoing TCP connections. If port 22 is open for ssh connections, a trick that can be used is to connect to a computer located somewhere outside of the firewall and to tunnel port 873 (using the program <code>nc</code>).<br />
<br />
export RSYNC_CONNECT_PROG='ssh tunnelhost nc %H 873'<br />
<br />
where <code>tunnelhost</code> is the machine outside of the firewall on which you have <code>ssh</code> access. Of course, this machine must have <code>nc</code> and port 873 open for outgoing TCP connections.<br />
<br />
== Usage ==<br />
<br />
If you used the GUI installer and said yes to setting the evironmental variables globally, then you can run ConTeXt from anywhere. Otherwise, before running ConTeXt, you need to run <code>setuptex.bat</code> which is provided in <code>installation-dir\tex\</code>. This can be done by typing<br />
<br />
installation-dir\tex\setuptex.bat<br />
<br />
on cmd.exe before you run ConTeXt. To avoid always having to type this, you can create a shortcut to cmd.exe and edit the command line to read (assuming you installed the minimals in <code>C:\Programs</code>; otherwise replace <code>C:\Programs\</code> with your installation directory)<br />
<br />
C:\WINDOWS\System32\cmd.exe /k C:\Programs\context\tex\setuptex.bat<br />
<br />
This starts up a new command shell with the environment pre-loaded.<br />
<br />
=== Use ConTeXt with Cygwin ===<br />
After installing the ConTeXt minimals, you can run it under Cygwin. With Cygwin, you may use gmake and other Unix tools for your automated workflow.<br />
<br />
# Run <code>setuptex.bat</code> in DOS command prompt<br />
# In the same DOS prompt, enter Cygwin by running <code>cygwin.bat</code> (in your Cygwin installation directory)<br />
# Under Cygwin prompt, run <code> context.cmd test.tex </code>. Note that the <code>.cmd</code> extension is needed under Cygwin.<br />
<br />
== Updating ==<br />
<br />
If you used the command line method, just run <code>first-setup.bat</code> again to update the minimals. If you have third party modules installed, you should use<br />
first-setup.bat --keep<br />
to upgrade. See [[ConTeXt_Minimals#Installing_third_party_modules| Installing third party modules]] for details.<br />
<br />
If you used the GUI installer, just run the installer again.<br />
<br />
== Uninstallation ==<br />
<br />
If you used the command-line installer, you can just delete the installation directory to uninstall the minimals.<br />
<br />
If you used the GUI installer, you can use standard windows tools for uninstallation.<br />
<br />
<br />
== Troubleshooting ==<br />
<br />
* rsync sometimes has problems with paths with uppercase letters (like <code>c:\Temp</code> or <code>C:\Documents and Settings</code>). Installing into all-lowercase paths without spaces sometimes helps.<br />
* Directory-name length may also have an effect, due to Windows's 8.3 filename conventions. An indicator is if running "texexec --lua" on a file produces missing-file warnings containing Windows-created 8-character directory names, such as "C:\CONTEX~1\tex", where your ConTeXt directory is really "C:\context_minimals\tex". Be conservative and choose a short name like "C:\ctm\tex". Also, this may even work when an 8-character-or-less directory name like "C:\ctexmin\tex" doesn't.<br />
* If you're behind firewall and rsync times out, you need to open port 873 for outgoing TCP connections.<br />
<br />
= Installing third party modules =<br />
<br />
The ConTeXt Minimals only come with Taco's [[Bibliography|t-bib]] module. If you want to install [http://modules.contextgarden.net/ a new module], say Wolfgang's [[Letter|t-letter]] module, you can use<br />
first-setup.sh --extras="t-letter"<br />
<br />
If you want to install more than one extra module, you can separate them by commas. So, to install the t-letter and t-mathsets module, do<br />
sh ./first-setup.sh --extras="t-letter,t-mathsets"<br />
<br />
If you want to install all extra modules at once, do<br />
sh ./first-setup.sh --extras=all<br />
<br />
= Reverting to an older installation =<br />
<br />
If, for some reason, you want to revert to an older installation, you can do that by<br />
<br />
sh ./first-setup.sh --context=date<br />
<br />
where <code>date</code> is the date of one of the stable releases of ConTeXt. The complete list of old releases that are available is [http://minimals.contextgarden.net/current/context/ here].<br />
<br />
<br />
= Moving the installation tree around (linux) = <br />
<br />
According to this post, http://archive.contextgarden.net/message/20101129.144331.d721372f.en.html it's safe to move the installation tree across directory or machines (say you don't have broadband access). You just have to clean and regenerate the cache (./tex/texmf-cache/luatex-cache) with <br />
mtxrun --generate<br />
<br />
= Notes =<br />
<references/><br />
<br />
[[Category:Installation]]<br />
[[Category:Minimals]]</div>Metan0rhttps://wiki.contextgarden.net/index.php?title=Sample_bib&diff=13179Sample bib2011-07-06T17:01:09Z<p>Metan0r: removed "electronic" b/c not supported.</p>
<hr />
<div>< [[Main Page]] | [[Bibliography| Bibliographies in mkii]] | [[Bibliography_mkiv| Bibliographies in mkiv]] | [[sample_bib| sample bib file]]><br />
<br />
<br />
Here is a sample <tt>.bib</tt> file. It serves two purposes:<br />
<br />
# facilitate the creation of minimal examples if you have problems and/or want to ask questions on the list;<br />
# provide a bibliography of things related to ConTeXt.<br />
<br />
Hence, this page is meant as a community effort. Please add further entries that either<br />
<br />
* add new fields, entry types, etc. that show problems with the bibliography support in mkiv or<br />
* add further sources of information about ConTeXt.<br />
<br />
== Sample file ==<br />
<br />
<pre><br />
@STRING{hh = {Hans Hagen}}<br />
<br />
@ARTICLE{hh2010a,<br />
author = hh,<br />
title = {The Font Name Mess},<br />
journal = {MAPS},<br />
year = {2010},<br />
volume = {40},<br />
pages = {2-8},<br />
keywords = {context},<br />
}<br />
<br />
@ARTICLE{hh2010b,<br />
author = hh,<br />
title = {Grouping in Hybrid Environments},<br />
journal = {MAPS},<br />
year = {2010},<br />
volume = {40},<br />
pages = {67-71},<br />
keywords = {context},<br />
}<br />
<br />
@BOOK{Eijkhout1991,<br />
title = {\TeX\ by Topic. A \TeX nician's Reference},<br />
publisher = {Addison-Wesley},<br />
year = {1991},<br />
author = {Victor Eijkhout},<br />
address = {London},<br />
keywords = {general},<br />
}<br />
</pre><br />
<br />
== Do not use ==<br />
Here you can see privious entries that were removed, because they do not work/are not supported (yet)<br />
<pre><br />
@ELECTRONIC{hh2010,<br />
author = hh,<br />
year = {2010},<br />
title = {Metafun. \CONTEXT\ mkiv},<br />
url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf},<br />
}<br />
</pre></div>Metan0rhttps://wiki.contextgarden.net/index.php?title=Ubuntu&diff=13109Ubuntu2011-06-16T14:37:26Z<p>Metan0r: some typos</p>
<hr />
<div>Here are instructions for ConTeXt installation on Ubuntu and its derivatives [K/X/L]ubuntu.<br />
<br />
== With Ubuntu packages – should work with Ubuntu 7.10 and above ==<br />
<br />
TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply <br />
<br />
apt-get install context<br />
<br />
to install ConTeXt and its dependencies.<br />
<br />
The dependencies pull in various PDF utilities which you will probably find useful, including <code>pdfcrop</code>.<br />
<br />
If you would like to use the [http://www.tug.org/texworks/ TeXworks] GUI-based TeX editing environment usually included with TeX Live CDs, it is available via<br />
<br />
apt-get install texworks<br />
<br />
and will appear under Applications, Science & Math.<br />
<br />
See also:<br />
* [[Setting up TeXworks]] <br />
* [[Using LuaTeX in Ubuntu]]<br />
<br />
Note that Ubuntu's packaged version of ConTeXt is quite old (circa 2009), so a better option for advanced users is...<br />
<br />
== With ConTeXt Minimals – should work with all Ubuntu versions==<br />
<br />
Example of setting up [[ConTeXt Minimals]]:<br />
<br />
sudo mkdir /usr/local/context<br />
sudo chown yourusername /usr/local/context<br />
cd /usr/local/context<br />
wget http://minimals.contextgarden.net/setup/first-setup.sh<br />
sh first-setup.sh<br />
vi ~/.bashrc<br />
<br />
Add these three lines:<br />
<br />
export OSFONTDIR=~/.fonts:/usr/share/fonts <br />
export TEXROOT=/usr/local/context/tex <br />
export PATH=/usr/local/context/tex/texmf-linux/bin:/usr/local/context/bin:$PATH<br />
<br />
Note that the order of items in the PATH is significant. If you put /usr/local/context/bin in the path first, you will get an error at run time.<br />
<br />
Also, remember that you have to source ~/.bashrc after changing it, in order to have the changes take effect in your current shell. (Either that, or start a new shell.)<br />
<br />
===Installing third party modules in ConTeXt Minimals===<br />
<br />
See here: [[ConTeXt_Minimals#Installing_third_party_modules|Installing third party modules]]<br />
<br />
===Updating ConTeXt Minimals===<br />
The update procedure is similar to [[ConTeXt_Minimals#Updating|the normal procedure]]. If you installed the ConTeXt Minimals with the commands from above, you can update to a new (beta) version like this:<br />
cd /usr/local/context<br />
wget http://minimals.contextgarden.net/setup/first-setup.sh<br />
./firstsetup.sh --keep</div>Metan0rhttps://wiki.contextgarden.net/index.php?title=Ubuntu&diff=13108Ubuntu2011-06-16T12:22:57Z<p>Metan0r: Made it more universal for ubuntu versions->less update work, less confusing. Also deleted 6.10 and such (way too old). Added update and third party modul info.</p>
<hr />
<div>Here are instructions for ConTeXt installation on Ubuntu and its derivates [K/X/L]ubuntu.<br />
<br />
== With Ubuntu packages – should work with Ubuntu 7.10 and above ==<br />
<br />
TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply <br />
<br />
apt-get install context<br />
<br />
to install ConTeXt and its dependencies.<br />
<br />
The dependencies pull in various PDF utilities which you will probably find useful, including <code>pdfcrop</code>.<br />
<br />
If you would like to use the [http://www.tug.org/texworks/ TeXworks] GUI-based TeX editing environment usually included with TeX Live CDs, it is available via<br />
<br />
apt-get install texworks<br />
<br />
and will appear under Applications, Science & Math.<br />
<br />
See also:<br />
* [[Setting up TeXworks]] <br />
* [[Using LuaTeX in Ubuntu]]<br />
<br />
Note that Ubuntu's packaged version of ConTeXt is quite old (circa 2009), so a better option for advanced users is...<br />
<br />
== With ConTeXt Minimals – should work with all Ubuntu Versions==<br />
<br />
Example of setting up [[ConTeXt Minimals]]:<br />
<br />
sudo mkdir /usr/local/context<br />
sudo chown yourusername /usr/local/context<br />
cd /usr/local/context<br />
wget http://minimals.contextgarden.net/setup/first-setup.sh<br />
sh first-setup.sh<br />
vi ~/.bashrc<br />
<br />
Add these three lines:<br />
<br />
export OSFONTDIR=~/.fonts:/usr/share/fonts <br />
export TEXROOT=/usr/local/context/tex <br />
export PATH=/usr/local/context/tex/texmf-linux/bin:/usr/local/context/bin:$PATH<br />
<br />
Note that the order of items in the PATH is significant. If you put /usr/local/context/bin in the path first, you will get an error at run time.<br />
<br />
Also, remember that you have to source ~/.bashrc after changing it, in order to have the changes take effect in your current shell. (Either that, or start a new shell.)<br />
<br />
===Installing third party modules in ConTeXt Minimals===<br />
<br />
See here: [[ConTeXt_Minimals#Installing_third_party_modules|Installing third party modules]]<br />
<br />
===Updating ConTeXt Minimals===<br />
The update procedure is similar to [[ConTeXt_Minimals#Updating|the normal procedure]]. If you installed the ConTeXt Minimals with the commands from above, you can update to a new (beta) version like this:<br />
cd /usr/local/context<br />
wget http://minimals.contextgarden.net/setup/first-setup.sh<br />
./firstsetup.sh --keep</div>Metan0rhttps://wiki.contextgarden.net/index.php?title=Ubuntu&diff=13107Ubuntu2011-06-16T12:16:44Z<p>Metan0r: </p>
<hr />
<div>Here are instructions grouped according to the version of Ubuntu you are running.<br />
<br />
== With Ubuntu packages – should work with Ubuntu 7.10 and above ==<br />
<br />
TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply <br />
<br />
apt-get install context<br />
<br />
to install ConTeXt and its dependencies.<br />
<br />
The dependencies pull in various PDF utilities which you will probably find useful, including <code>pdfcrop</code>.<br />
<br />
If you would like to use the [http://www.tug.org/texworks/ TeXworks] GUI-based TeX editing environment usually included with TeX Live CDs, it is available via<br />
<br />
apt-get install texworks<br />
<br />
and will appear under Applications, Science & Math.<br />
<br />
See also:<br />
* [[Setting up TeXworks]] <br />
* [[Using LuaTeX in Ubuntu]]<br />
<br />
Note that Ubuntu's packaged version of ConTeXt is quite old (circa 2009), so a better option for advanced users is...<br />
<br />
== With ConTeXt Minimals – should work with all Ubuntu Versions==<br />
<br />
Example of setting up [[ConTeXt Minimals]]:<br />
<br />
sudo mkdir /usr/local/context<br />
sudo chown yourusername /usr/local/context<br />
cd /usr/local/context<br />
wget http://minimals.contextgarden.net/setup/first-setup.sh<br />
sh first-setup.sh<br />
vi ~/.bashrc<br />
<br />
Add these three lines:<br />
<br />
export OSFONTDIR=~/.fonts:/usr/share/fonts <br />
export TEXROOT=/usr/local/context/tex <br />
export PATH=/usr/local/context/tex/texmf-linux/bin:/usr/local/context/bin:$PATH<br />
<br />
Note that the order of items in the PATH is significant. If you put /usr/local/context/bin in the path first, you will get an error at run time.<br />
<br />
Also, remember that you have to source ~/.bashrc after changing it, in order to have the changes take effect in your current shell. (Either that, or start a new shell.)<br />
<br />
===Installing third party modules in ConTeXt Minimals===<br />
<br />
See here: [[ConTeXt_Minimals#Installing_third_party_modules|Installing third party modules]]<br />
<br />
===Updating ConTeXt Minimals===<br />
The update procedure is similar to [[ConTeXt_Minimals#Updating|the normal procedure]]. If you installed the ConTeXt Minimals with the commands from above, you can update to a new (beta) version like this:<br />
cd /usr/local/context<br />
wget http://minimals.contextgarden.net/setup/first-setup.sh<br />
./firstsetup.sh --keep</div>Metan0r