Using mswincontext from the command line
Hello, I'm back with my old problem of using stand-alone windows context within command line. I was told that it is possible, but I still cannot figure out how. I have mswincontext extracted into drive I: " Directory of I:\context 26.08.2007 18:53 <DIR> . 26.08.2007 18:53 <DIR> .. 08.08.2007 15:03 206 cscite 08.08.2007 15:03 2 014 cscite.bat 08.08.2007 15:03 24 702 cscite.ico 08.08.2007 17:31 <DIR> demo 08.08.2007 17:32 <DIR> docroot 08.08.2007 17:31 <DIR> goodies 08.08.2007 17:31 <DIR> gs 08.08.2007 17:31 <DIR> perl 08.08.2007 17:31 <DIR> ruby 08.08.2007 17:32 <DIR> scite 12.08.2007 04:04 <DIR> tex 08.08.2007 17:31 <DIR> xmllib " When I run cscite.bat it sets some env. vars, and everything within the sci-te editor works, but nothing is accessible from external command line. For example, " C:\>texexec 'texexec' is not recognized as an internal or external command, operable program or batch file. " How to get it work, scince I want to experiment with some nice text editor. (It is Code Browser, unique and free, and the author implemented ConText support for my request, now I'm making the lang file). Best regards, Vaytcheslav Yatskovsky
Hi,
Please see the instructions for the notepad++ package, which I announced
on this list some days ago. Following that you should be able to get
whatever application you want to work as you want, including the command
line.
In the meantime try
\> setuptex c:\context\tex [or whatever your path is]
\> texexec
from the command line. Unfortunately this does not always work in MKIV (I
have not updated to the latest version so I don't know if that has
changed).
In any case, try the notepad++ package if you can. Npp is now at 4.2.2;
the only thing you need to do differently is download and install the
Integrated Explorer plugin manually (it does not come by default in 4.2.2).
Then call the command line from npp (Ctrl-6) and it will do want you want
if all is installed properly.
The ConTeXt support for npp is pretty complete, and I'll post an update to
the package in a few days.
Best wishes
Idris
On Sun, 26 Aug 2007 09:58:09 -0600, Vyatcheslav Yatskovsky
When I run cscite.bat it sets some env. vars, and everything within the sci-te editor works, but nothing is accessible from external command line. For example,
" C:\>texexec 'texexec' is not recognized as an internal or external command, operable program or batch file. "
How to get it work, scince I want to experiment with some nice text editor. (It is Code Browser, unique and free, and the author implemented ConText support for my request, now I'm making the lang file).
-- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
On Sun, 26 Aug 2007 10:23:13 -0600, Idris Samawi Hamid
Please see the instructions for the notepad++ package, which I announced on this list some days ago. Following that you should be able to get whatever application you want to work as you want, including the command line.
More simply, save npp.bat to, say, cmd.bat; and then just change the following line start notepad++ "%TEMP%\test.tex" to something like start cmd.exe Then open the command line using the batch file. That should work. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Vyatcheslav Yatskovsky wrote:
Hello,
I'm back with my old problem of using stand-alone windows context within command line.
I was told that it is possible, but I still cannot figure out how. I have mswincontext extracted into drive I:
" Directory of I:\context 26.08.2007 18:53 <DIR> . 26.08.2007 18:53 <DIR> .. 08.08.2007 15:03 206 cscite 08.08.2007 15:03 2 014 cscite.bat
copy that file, remover the scite startup and run it (in a dos box) (here I have associated such initialization scripts with the cmd shortcut) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Idris Samawi Hamid
-
Vyatcheslav Yatskovsky