ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE

pragma.ade.nl
from pragma.ade.nl More from this publisher
29.05.2014 Views

contents Introduction index commands CONT E XT is a document engineering system based on T E X. T E X is a typesetting system and a program to typeset and produce documents. CONT E XT is easy to use and enables you to make complex paper and electronic documents. definitions colofon This manual describes the capabilities of CONT E XT and the available commands and their functionality. 1 CONT E XT is developed for practical applications: the typesetting and production of documents ranging from simple straight forward books up to very complex and advanced technical manuals and studybooks in a paper or electronic version. This introductory manual describes the CONT E XT functionality necessary to apply standard text elements in a manual or studybook. CONT E XT, however, is capable of much more and for users who want more there are other CONT E XT manuals and sources available. CONT E XT has a multilingual interface to enable users to work with CONT E XT in their own language. CONT E XT and this manual are available in Dutch, German and English. exit search + go back 1 All paper and electronic products around CONT E XT are produced with CONT E XT. 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 contents 1 How to create a document index commands Let’s assume you want to create a simple document. It has some structure and contains a title page, a few chapters, sections and sub sections. Of course there is a table of contents and an index. definitions colofon CONT E XT 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 CONT E XT. An input file could look like this: \starttext \startstandardmakeup \midaligned{How to make a document.} \midaligned{by} \midaligned{The Author} \stopstandardmakeup \completecontent \chapter{Introduction} ... your text\index{indexentry} ... \chapter{One Chapter} \section[firstsection]{The first section} ... your text ... \section{The second section} \subsection{the first sub section} exit search + go back – + 1 3

How to create a document<br />

contents<br />

1 How to create a document<br />

index<br />

comm<strong>an</strong>ds<br />

Let’s assume you w<strong>an</strong>t to create a simple document. It has some structure <strong>an</strong>d contains a<br />

title page, a few chapters, sections <strong>an</strong>d sub sections. Of course there is a table of contents<br />

<strong>an</strong>d <strong>an</strong> index.<br />

definitions<br />

colofon<br />

CONT E XT c<strong>an</strong> create such a document automatically if you offer the right input by me<strong>an</strong>s<br />

of a file. So first you have to create <strong>an</strong> input file. An input file consists of a name <strong>an</strong>d <strong>an</strong><br />

extension. You c<strong>an</strong> choose <strong>an</strong>y name you w<strong>an</strong>t but the extension has to be tex. If you<br />

create a file with the name myfile.tex you will find no difficulties in running CONT E XT.<br />

An input file could look like this:<br />

\starttext<br />

\startst<strong>an</strong>dardmakeup<br />

\midaligned{How to make a document.}<br />

\midaligned{by}<br />

\midaligned{The Author}<br />

\stopst<strong>an</strong>dardmakeup<br />

\completecontent<br />

\chapter{Introduction}<br />

... your text\index{indexentry} ...<br />

\chapter{One Chapter}<br />

\section[firstsection]{The first section}<br />

... your text ...<br />

\section{The second section}<br />

\subsection{the first sub section}<br />

exit<br />

search +<br />

go back<br />

– +<br />

1 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!