Dear gang, I have uploaded the latest version of the ConTeXt support package for Notepad++. http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip It has been updated to 5.0.3, the latest stable version. The main difference in the package is the new autocompletion file format. See context.xml. I have also included the Explorer plugin and the latest NppExec plugin (2.4) -- the NppExec that comes with 5.0.3 is just slightly out of date (2.4 RC1). Npp now supports calltips. I was thinking of adding them to context.xml but it would be very time-consuming. Basically, when typing a context command you would get a little window giving you some info about that command if you want it. I may make some suggestions to the Npp team to make this feature more useful. Anyway, Npp keeps getting better and better. It recently won the SourceForge's Community Choice Awards for Best Tool or Utility for Developers: http://ostatic.com/169634-blog/sourceforges-community-choice-awards-winners-... There are just a few more things Npp could use to make this a near-perfect ConTeXt editor, I'll bug the developers soon... Npp can now use external lexers. Eventually I would like to translate the ConTeXt syntax setup to a lexer so we can add a bit more flexibility. Lexer development is way beyond my skills at the moment but if anyone is interested in contributing to this I'd be happy for the help. F7 will repeat the last script executed by F6. So it behaves differently than F7 in Hans' Scite setup (Build). I use NppExec instead of Run anyway. In the next version, I may deprecate the Run menu commands and attach the shortcuts to the NppExec scripts; I think there is even a way to then may a menu of these NppExec shortcuts. This will allow for easier tweaking and experimenting by users, and also updating when Hans changes things ;-) The startstop module is still included, though Hans has just added support for footnote etc environments so that part of the module can be commented out. For mkiv a new sectioning mechanism is on the way, and mkii users can still use Wolfgang's module. See startstop.tex. The original instructions are here: http://archive.contextgarden.net/message/20070813.050137.7a5796f0.en.html Enjoy! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
Idris Samawi Hamid ادريس سماوي حامد
Dear gang,
I have uploaded the latest version of the ConTeXt support package for Notepad++.
http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip
It has been updated to 5.0.3, the latest stable version. The main difference in the package is the new autocompletion file format. See context.xml. I have also included the Explorer plugin and the latest NppExec plugin (2.4) -- the NppExec that comes with 5.0.3 is just slightly out of date (2.4 RC1).
Enjoy!
Best wishes Idris
Idris, thanks alot! Also what OS do you happen to be using? On my Vista 64bit box I had trouble running the default "Process ConTeXt file (pdf)" command, the document compiles fine but fails on opening adobe reader; TeXExec | runtime: 3.646 <<< Process finished. acrobat.bat && pdfopen --file "C:\context\test.pdf" CreateProcess() failed ================ READY ================ Change; acrobat.bat pdfopen --file "$(CURRENT_DIRECTORY)\$(NAME_PART).pdf" pdfclose --file "$(CURRENT_DIRECTORY)\$(NAME_PART).pdf" texmfstart texexec "$(NAME_PART).tex" acrobat.bat && pdfopen --file "$(CURRENT_DIRECTORY)\$(NAME_PART).pdf" To; cd "$(CURRENT_DIRECTORY)" acrobat.bat pdfopen --file "$(CURRENT_DIRECTORY)\$(NAME_PART).pdf" pdfclose --file "$(CURRENT_DIRECTORY)\$(NAME_PART).pdf" texmfstart texexec "$(NAME_PART).tex" acrobat.bat pdfopen --file "$(CURRENT_DIRECTORY)\$(NAME_PART).pdf" Now Adobe should open, depsite the error message; acrobat.bat CreateProcess() failed pdfopen --file "C:\context\test.pdf" Process started >>> <<< Process finished. ================ READY ================ If anyone knows how to assign to shortcuts to the NppExec scripts, please, do post them.
Mohamad, سلام,
On Thu, 21 Aug 2008 16:35:33 -0600, Mohamed Bana
Idris, thanks alot! Also what OS do you happen to be using?
XP
On my Vista 64bit box I had trouble running the default "Process ConTeXt file (pdf)" command, the document compiles fine but fails on opening adobe reader;
TeXExec | runtime: 3.646 <<< Process finished. acrobat.bat && pdfopen --file "C:\context\test.pdf" CreateProcess() failed ================ READY ================
Hmm, try making .LNK files executable in Control Panel, System, Advanced, Environment Variables. The reason I use acrobat.lnk is because it does not rezize my acrobat window the way texexec's autopdf option does. I want my Acrobat window to be positioned in the same place and size whenever I open it. Or maybe Vista64 has a different way of handling symlinks.
If anyone knows how to assign to shortcuts to the NppExec scripts, please, do post them.
Go to Plugins>NppExec>Advanced Options, left side. Then you can add the scripts to the menu. I discovered this myself just now ;-) I guess you then use the shortcut mapper to give shortcuts to the new menu items. I'll try to find some time to do this and post an updated package sometime soon... Then the Run menu items for ConTeXt will be deprecated or removed. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
Hi Idris, Thanks a lot. One question though... I installed Npp, downloaded the context support package for Npp and extracted the zip file. What/where are the setup instructions please ? Best, Alan On Thu, Aug 21, 2008 at 11:33 PM, Idris Samawi Hamid ادريس سماوي حامد < ishamid@colostate.edu> wrote:
Dear gang,
I have uploaded the latest version of the ConTeXt support package for Notepad++.
http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip
It has been updated to 5.0.3, the latest stable version. The main difference in the package is the new autocompletion file format. See context.xml. I have also included the Explorer plugin and the latest NppExec plugin (2.4) -- the NppExec that comes with 5.0.3 is just slightly out of date (2.4 RC1).
Npp now supports calltips. I was thinking of adding them to context.xml but it would be very time-consuming. Basically, when typing a context command you would get a little window giving you some info about that command if you want it. I may make some suggestions to the Npp team to make this feature more useful.
Anyway, Npp keeps getting better and better. It recently won the SourceForge's Community Choice Awards for Best Tool or Utility for Developers:
http://ostatic.com/169634-blog/sourceforges-community-choice-awards-winners-...
There are just a few more things Npp could use to make this a near-perfect ConTeXt editor, I'll bug the developers soon...
Npp can now use external lexers. Eventually I would like to translate the ConTeXt syntax setup to a lexer so we can add a bit more flexibility. Lexer development is way beyond my skills at the moment but if anyone is interested in contributing to this I'd be happy for the help.
F7 will repeat the last script executed by F6. So it behaves differently than F7 in Hans' Scite setup (Build). I use NppExec instead of Run anyway. In the next version, I may deprecate the Run menu commands and attach the shortcuts to the NppExec scripts; I think there is even a way to then may a menu of these NppExec shortcuts. This will allow for easier tweaking and experimenting by users, and also updating when Hans changes things ;-)
The startstop module is still included, though Hans has just added support for footnote etc environments so that part of the module can be commented out. For mkiv a new sectioning mechanism is on the way, and mkii users can still use Wolfgang's module. See startstop.tex.
The original instructions are here:
http://archive.contextgarden.net/message/20070813.050137.7a5796f0.en.html
Enjoy!
Best wishes Idris
-- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
participants (3)
-
Alan Stone
-
Idris Samawi Hamid ادريس سماوي ح امد
-
Mohamed Bana