Changes

Jump to navigation Jump to search
no edit summary
== Creation of a first ConTeXt file ==
Open a [[Text Editors|text editor]], type the following content, and save the file as <code>hellodoc01.tex</code>:
<texcode>
Go to the command-line and type:
<pre>context hellodoc01</pre>
ConTeXt will then process your document, display some logging information on the console, and generate a <tt>hellodoc01.pdf</tt> output file.
<pre><nowiki>
resolvers | formats | executing runner 'run luametatex format': /home/myuser/context/tex/texmf-linux-64/bin/luametatex --jobname="./hellodoc01.tex" --socket --shell-escape --fmt=/home/myuser/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/myuser/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./hellodoc01.tex" --c:input="./hellodoc01.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/myuser/context/tex/texmf-linux-64/bin"
system >
system > ConTeXt ver: 2024.04.01 08:59 LMTX fmt: 2024.4.13 int: english/english
== Viewing the generated PDF file ==
Open the generated <tt>hellodoc01.pdf</tt> PDF file using a [http://en.wikipedia.org/wiki/List_of_PDF_software#Viewers PDF viewer]. It should look as follows:
<context force="yes">
* Pragma ADE also provides the '''[http://www.pragma-ade.nl/download-1.htm ConTeXt MkIV distribution]''' (version MkIV is the predecessor of LMTX) for which there are also [[ConTeXt_Standalone|detailed installation instructions]].
* Compilation with ConTeXt MkIV (old LuaTeX-based version): The new distribution has all the files to run the previous version of ConTeXt.
** <code>context --luatex hellodoc01</code>
[[Category:Basics]]
[[Category:Installation]]
237

edits

Navigation menu