[NTG-context] Newbie needs help getting started

Hans Hagen pragma at wxs.nl
Fri May 8 19:23:42 CEST 2015


On 5/8/2015 7:00 PM, Johan Råde wrote:
> On 2015-05-04 14:49, Johan Råde wrote:
>> Hi,
>>
>> I'm trying to get ConTeXt to run on my Windows machine (Windows 7 SP1).
>> I already had MiKTeX installed on the machine.
>
> To be more specific, I want to able to run both LaTeX and ConText from
> TexWorks. The following works. (I followed Andres Conrado's advise to
> use a bat file.)
>
> 1. Install MiKTeX (using the Windows installer)
>
> 2. Downloaded context-setup-mswin.zip.
>     Unzip.
>     Copy to C:\context
>     Run the command
>         C:\context\first-setup.bat --modules=all
>
> 3. Create a bat file C:\context1.bat with the following content:
>
> call C:\context\tex\setuptex
> context %*
>
> 4. Start TexWorks
>     Go to File -> Preferences -> Typesetting.
>     In the "Processing tools" list, select ConTeXt(LuaTeX).
>     Press Edit.
>     In the program field, replace context.tex by C:\context1.bat

if mtxrun.exe is in your path, then you can just run:

mtxrun --autogenerate --script context %*

and don't need to setup anything

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list