<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><b style="mso-bidi-font-weight: normal"><span style="FONT-SIZE: 15pt"><font face="Times New Roman">How do I run a ConTEXt file in TEXnicCenter (installed with the protext-cd)? 
</font></span></b></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">After the installation of MiKTEX, TEXnicCenter, Ghostscript and GSview with the Protext-cd I succeeded in running a LaTex-file.</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">How to run a ConTEXt –file? I found Steve Peter's article: </font><a href="http://www.tug.org/pracjourn/2005-2/peter/peter.pdf"><span style="COLOR: windowtext">
<font face="Times New Roman">http://www.tug.org/pracjourn/2005-2/peter/peter.pdf</font></span></a><font face="Times New Roman"> <br>and followed his instructions:<br style="mso-special-character: line-break"><br style="mso-special-character: line-break">
</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><font face="Times New Roman">• <span style="FONT-SIZE: 10pt">Go to the BUILD menu and select DEFINE OUTPUT PROFILES</span></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">• On the left, click the Add button, and give the newprofile a name, such as "ConTeXt
</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">=&gt; PDF"</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">• Check the box that says "Run (La)TeX in this profile", and give the path, not to</font>
</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">LATEX, but to texexec or texmfstart. (This will depend on your distribution. For</font>
</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">MikTEX, look in C:\texmf\miktex\bin\.)</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">• For the command-line arguments, you can add any switches you use for texexec</font>
</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">or texmfstart, such as --pdf. Use the arrow button to the right of the text box to</font>
</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">select a placeholder for the file (for example %pm will pass the entire path of the file,
</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">along with the extension).</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><font face="Times New Roman"><b><span style="FONT-SIZE: 10pt">Figure 1 </span></b><span style="FONT-SIZE: 10pt">TeXnicCenter doing ConTEXt!</span>
</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">Now, you can select your new profile from the popup menu to the left of the build</font>
</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt"><font face="Times New Roman">button. Click the button (or hit Ctrl+F7) and away you go!</font></span><br style="mso-special-character: line-break">
<br style="mso-special-character: line-break"><font face="Times New Roman"></font></p>
<ol style="MARGIN-TOP: 0cm" type="1">
<li class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"><font face="Times New Roman">First of all, do I use ..\<b style="mso-bidi-font-weight: normal">bin\texmfstart.exe </b>or
<b style="mso-bidi-font-weight: normal"> ..bin\texexec.exe </b>in my new Output Profile?<br><br>I tried both.<br style="mso-special-character: line-break"><b style="mso-bidi-font-weight: normal"></b></font></li>
<li class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"><font face="Times New Roman">command-line arguments</font></li></ol>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 35.4pt"><span style="FONT-SIZE: 11pt; FONT-FAMILY: &#39;Courier New&#39;">I tried: <br><span style="mso-spacerun: yes">&nbsp; </span>--nonstop<span style="mso-spacerun: yes">&nbsp; </span>
--interface=nl --pdf<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>&quot;%nm&quot;</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 35.4pt"><span style="FONT-SIZE: 11pt; FONT-FAMILY: &#39;Courier New&#39;"><span style="mso-spacerun: yes">&nbsp;</span><br><span style="mso-spacerun: yes">&nbsp; </span>--nonstop<span style="mso-spacerun: yes">
&nbsp; </span>--interface=nl --pdf<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>&quot;%bm&quot;</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 35.4pt"><span style="FONT-SIZE: 11pt; FONT-FAMILY: &#39;Courier New&#39;">&nbsp;</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 35.4pt"><span style="FONT-SIZE: 11pt; FONT-FAMILY: &#39;Courier New&#39;"><span style="mso-spacerun: yes">&nbsp; </span>--nonstop<span style="mso-spacerun: yes">&nbsp; </span>--interface=nl --pdf
<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>&quot;%pm&quot;<br style="mso-special-character: line-break"><br style="mso-special-character: line-break"></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 35.4pt"><span style="FONT-SIZE: 11pt; FONT-FAMILY: &#39;Courier New&#39;"><span style="mso-spacerun: yes">&nbsp; </span>and more..<br style="mso-special-character: line-break"><br style="mso-special-character: line-break">
<b style="mso-bidi-font-weight: normal"></b></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font face="Times New Roman">Nothing works. No pdf or other file is produced and the Output Profile contains the following single line:</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 12pt; FONT-FAMILY: &#39;Times New Roman&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: NL; mso-fareast-language: NL; mso-bidi-language: AR-SA">
<br></span><b style="mso-bidi-font-weight: normal"><span style="FONT-SIZE: 11pt; FONT-FAMILY: &#39;Courier New&#39;; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: NL; mso-fareast-language: NL; mso-bidi-language: AR-SA">
Latex result:<br><span style="mso-spacerun: yes">&nbsp;</span>0 Error(s), 0 Waring(s), 0 Bad Box(es), 0 Page(s)<br style="mso-special-character: line-break"><br style="mso-special-character: line-break"></span></b><br>-- <br><a href="mailto:liesbethvanderplas@gmail.com">
liesbethvanderplas@gmail.com</a><br><a href="http://www.wiskunde-interactief.nl">www.wiskunde-interactief.nl</a> </p>