Getting Started with CONTEXT
Total Page:16
File Type:pdf, Size:1020Kb
\adaptlayout \adding \appendix \arg \at \background \blackrule \blackrules \blank \bookmark \but \button \chapter \Character \character \Characters \characters \chem \color \column \comparecolorgroup \comparepalet \completecombinedlist \completelistofblocks \completelistofsorts \completelistofsynonyms \completeregister \convertnumber \correctwhitespace \coupledregister \couplemarking \couplepage \couplepaper \coupleregister \crlf \currentdate \decouplemarking \define \defineblock \definecolor \definecolorgroup \definecombinedlist \defineconversion \definecorps \definecorpsenvironment \definedescription \defineenumeration \definefloat \defineframedtext \definehbox \definehead \defineindenting \defineinteractionmenu \definelabel \definelist \definelogo \definemakeup \definemarking \defineoverlay \definepalet \definepapersize \defineparagraphs \defineprofile \defineprogram \definereferencelist \defineregisterGetting\definesection \definesectionblock Started\definesorting \definestartstop \definesymbol \definesynonyms \definetyping \defineversion \description \disableinteractionmenu \domicile \donttest \enumeration \externalfigure \fillinline \fillinrules \fillintext \fixedspaces \followprofile \followprofileversion \followversion \footnote \fraction \framed \framedtext \from \getbuffer \getmarking \godownwith\goto \gotoboxCONT\gray \grid \hairline XT\head \headnumber \headtext \hideblocks \high \hl \in \indentation \indenting \inframed \inleft \inline \inmarginE \inothermargin \inright \installlanguage \interactionbar \interactionbuttons \item \items \its \KAP \Kap \kap \Kaps \keepblocks \label \labeling \labels \labeltext \language \leftlined \letters \loadsorts \loadsynonyms \lohi \low \mainlanguage \mar \marginrule \margintext \marking \marking@figure@ \markversion \mathematics \mediaeval \menubutton \middlelined \MONTH \month \name \nextsection \noheaderandfooterlines \noindenting \nokap \nomarking \nomoreblocks \nomorefiles \nop \nospace \note \notopandbottomlines \nowhitespace \numbers \overstrike \overstrikes \packed \page \pagereference \pagetype \paragraphs \part \periods \placeblock \placebookmarks \placecombinedlist \placefootnotes \placeformula \placelist \placelistofblocks \placelistofsorts \placelistofsynonyms \placelocalfootnotes \placelogos \placeontopofeachother \placereferencelist \placeregister \placesidebyside \placesubformula \position \processpage \program \publication \quotation \quote \redo \reference \referral \referraldate \referring@figure@ \register \remark \reserveblock \reset \resetmarking \rightlined \Romannummerals \romannummerals \rotate \screen \section \seeregister \selectblocks \selectpaper \selectversion \setupalign \setupbackground \setupbackgrounds \setupblackrules \setupblank \setupblock \setupbottom \setupbottomtexts \setupbuffer \setupbuttons \setupcaption \setupcaptions \setupcolor \setupcolors \setupcolumns \setupcombinations \setupcombinedlist \setupcorps \setupcorrespondence \setupdescriptions \setupenumerations \setupexternalfigures \setupfillinlines \setupfillinrules \setupfloat \setupfloats \setupfloatsplitting \setupfooter \setupfootertexts \setupfootnotes \setupformulas \setupframed \setupframedtexts \setuphead \setupheader \setupheadertexts \setupheadnumber \setupheads \setupheadtext \setuphyphenmark \setupindentations \setupindenting \setupinmargin \setupinteraction \setupinteractionbar \setupinteractionmenu \setupinteractionscreen \setupinterlinespace \setupitemize \setupitems \setuplabeltext \setuplanguage \setuplayout \setuplinenumbering \setuplines \setuplinewidth \setuplist \setupmakeup \setupmarginblocks \setupmarginrules \setupmarking \setupnarrower \setupnumbering \setupoppositeplacing \setuppagenumber \setuppagenumbering \setuppalet \setuppapersize \setupparagraphs \setuppositioning \setupprofiles \setupprograms \setuppublications \setupquote \setupreferencelist \setupreferencing \setupregister \setuprotate \setupscreens English \setupsection \setupsectionblock \setupsheets \setupsorting \setupspacing \setupstickers \setupsubpagenumber \setupsynchronization Version \setupsynchronizationbar \setupsynonym \setupsystem \setuptab \setuptables \setuptext \setuptextrules \setuptexttexts \setupthinrules \setuptolerance \setuptop \setuptoptexts \setuptype \setuptyping \setupunderbar \setupversions \setupwhitespace \sheet \showbuildup \showcolor \showcolorgroup \showcorps \showcorpsenvironment \showexternalfigure \showexternalfigures \showframe \showlayout \showmakeup \showpalet \showsetups \showstruts \someline \sort \space \splitfloat \startalignment \startbackground \startblocktext \startbuffer \startcolor \startcolumns \startcombinationTon Otten\startcomponent & Hans\startdescription Hagen\startdocument \startenumeration \startenvironment \startfact \startfigure \startformula \startframedtext \starthiding \startinteractionmenu \startitemize \startlegend \startline \startlinecorrection \startlinenumbering \startlinesPRAGMA\startlocal \startlocalenvironment ADE \startlocalfootnotes \startmakeup \startmarginblock \startmarginrule \startnamemakeup \startnarrowermaandjaar\startopposite \startoverlay \startoverview \startpacked \startparagraphs \startpositioning \startpostponing \startproduct \startprofile \startproject \startquotation \startsynchronization \starttable \starttextrule \starttyping \startunpacked \startversion \sub \subject \subsection \subsubject \subsubsection \subsubsubject \switchtocorps \sym \symbol \synchronizationbar \synchronize \synonym \tab \tex \textreference \textrule \thinrule \thinrules \title \translate \typ \type \typebuffer \typefile \underbar \underbars \useblocks \usecommands \useexternaldocument \useexternalfigure \useexternalfile \useexternalfiles \usemodule \usereferences \usespecials \useURL \version \vl \WEEKDAY \weekday \whitespace \WORD \Word \wordright \WORDS \Words \writebetweenlist \writetolist \writetoreferencelist \writetoregister Table Of Contents Introduction 2 23 Registers 55 24 Synonyms 56 1 How to create a document 3 25 Refering to text elements 57 2 How to proces a file / 26 Color 60 Run CONTEXT 5 27 Background of text 61 3 Special characters 6 28 Background of page areas 61 4 Defining a document 7 29 Alignment 62 5 Headers 8 30 Interactive mode in 6 Itemize 10 electronic documents 63 7 Formulas 15 31 Fonts and fontswitches 67 8 Legends 17 32 Composed characters 72 9 Units 18 33 Page layout 73 10 Figures 20 34 Paragraph spacing 77 11 Tables 25 35 Setup commands 81 12 Paragraph formatting 36 36 Defining commands / macros 82 13 Columns 39 37 Miscellaneous 84 14 Footnotes 41 38 Using modules 94 15 Definitions 42 16 Numbered definitions 43 A User specifications 96 17 Outlined text 45 B Processing steps 96 18 Outlined paragraphs 46 C Auxilliary files 96 19 Margin texts 47 D Command definitions 98 20 Page breaking and page E Command Index 123 numbering 48 F Subject Index 126 21 Page headers and footers 50 22 Table of contents (lists) 52 1 Introduction Introduction 1 CONTEXT is a document engineering system and based on TEX. TEX is a typesetting system and a program to typeset and produce documents. CONTEXT is easy to use and enables you to make complex paper and electronic documents. This manual describes the capabilities of CONTEXT and the available commands and their functionality.1 CONTEXT is developed for practical applications: the typesetting and production of doc- uments ranging from simple straight forward books upto very complex and advanced technical manuals and studybooks in a paper or electronic version. This introductory manual describes CONTEXT functionality necessary to apply standard text elements in a manual or studybook. CONTEXT however is capable of much more and for users who want more there are other CONTEXT manuals and sources available. CONTEXT has a multilingual interface to enable users to work with CONTEXT in their own language. CONTEXT and this manual is available in dutch, german and english. CONTEXT is published in the public domain with the help of the Nederlandstalige TEX Ge- bruikersgroep (NTG). All CONTEXT products and information can be obtained form the NTG-- server (WWW.NTG.NL). 1 All paper and electronic products around CONTEXT are produced with CONTEXT. All sources of these products are or will be made available electronically to give you insight in the way these products are made up. 2 How to create a document 1 How to create a document 1 Let’s assume you want to create a simple document. It has some structure and contains a title page, a few chapters, paragraphs and sub paragraphs. Off course there is a table of contents and a register. CONTEXT can create such a document automatically if you offer the right input by means of a file. So first you have to create an input file. An input file consists of a name and an extension. You can choose any name you want but the extension has to be tex. If you create a file with the name myfile.tex you will find no difficulties in running CONTEXT. An input file could look like this: \starttext \startstandardmakeup \middlelined{How to make a document.} \middlelined{by} \middlelined{The Author} \stopstandardmakeup \completecontent \chapter{Introduction} ... your text\index{indexentry} ... \chapter{One Chapter} \section[firstparagraph]{The first paragraph} ... your text ... \section{The second paragraph} \subsection{the first sub paragraph} ... your text\index{another indexentry} ... \subsection{the second sub paragraph} ... your text ... \section{The third paragraph} ... your text ... \chapter{Another Chapter} ... your text ... \chapter[lastchapter]{The Last Chapter} 3 How