On Fri, Jun 14, 2013 at 9:13 PM, Jacob Peck wrote:
> On 6/14/2013 3:05 PM, Mojca Miklavec wrote:
>
> Now that Jacob mentioned it: I didn't think of the fact that one might
> not necessarily need special cygwin binaries to run ConTeXt in cygwin.
> If a simple modification in first-setup.sh and setuptex can do the
> job, feel free to suggest the change (platform detection).
>
> My changes were simple - I used the setuptex file that came with standalone,
> and tweaked it ever so slightly.
>
> https://gist.github.com/gatesphere/0afaf5c2c647430ff653

So basically all you did was replacing platform detection with
    platform="mswin"
and commented out three lines of code that notify about the change?
(Did you just find those lines annoying or did they actually fail to
work?)

Just curious: what does
    uname -s
    uname -m
return on cygwin or what is the best way to detect windows in "shell"?
(I believe that should be easy enough.)

> Save that as .setuptex in ~ (home directory) then add the line
>
> source /home/PeckJ/.setuptex /cygdrive/c/context/tex
> to .bashrc, and you should be good to go.

In that case I would use
    export PATH=/cygdrive/c/context/tex/texm-mswin/bin:$PATH
instead, but of course it's your choice.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to