Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-09-24 Thread Alan Stone
(1) For specifics about Npp's settings xml files:

Where are Notepad++ settings saved?
http://notepad-plus.wiki.sourceforge.net/FAQ

(2) Remains... Making NppLW's console talk with the context minimal
installation in /opt/context

In the meantime, you can edit your files with NppLW and compile through a
terminal window.

-- 
Best,
Alan

Ubuntu 8.04 Hardy Heron (Desktop)
* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
(ConTeXt minimals installation)
* texexec --lua foo
___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-09-23 Thread Alan Stone
From memory...

--

To install Wine and Npp on Linux, read

   - http://notepad-plus.sourceforge.net/uk/nppLinux.php

   -
http://www.winehq.org/site/docs/wineusr-guide/getting-wine#INSTALLATION-METHODS-PACKAGE

I followed the latter and everything went fine.

For your information:

- later on I discovered this page but haven't used it

   Recommended Packages (Building Wine on 32bit)
   http://wiki.winehq.org/Recommended_Packages

- additional Wine information, Wine How To

   http://www.winehq.org/site/howto

--

To install the Npp ConTeXt Support Package's (NppCSP) to Npp/LNX/Wine
(NppLW):

(1) close NppLW

(2) check the installed Wine fonts in

NppLW's \home\username\.wine\drive_c\windows\Fonts

If some fonts you used in NppXP's settings are missing in this folder, copy
the corresponding font files from XP's c:\WINDOWS\Fonts to the above one.

(3) Copy the NppCSP's

(3a) Program Files\Notepad++ contents to NppLW's

\home\username\.wine\drive_c\Program Files\Notepad++

(3b) Application Data\Notepad++ contents to NppLW's

\home\username\.wine\drive_c\windows\profiles\username\Application
Data\Notepad++

(3c) ConTeXt directory contents to NppLW's

\home\username\.wine\drive_c\context

--

If you changed NppCSP's default settings (colors, fonts, ... ) in NppXP, to
copy NppXP's

   - Settings - Preferences
   - Settings - Styler Configurator settings
   - View - User Define Dialog settings

to NppLW, copy NppXP's

(1) c:\Program Files\Notepad++\*.xml files to NppLW's

\home\username\.wine\drive_c\Program Files\Notepad++\

(2) c:\Documents and Settings\username\Application Data\Notepad++\*.xml
files ,EXCEPT session.xml, to NppLW's

\home\username\.wine\drive_c\windows\profiles\username\Application
Data\Notepad++

--

Thats it!  ;O)

Remains...

Making NppLW's console talk with the context minimal installation in
/opt/context.

Any ideas anyone ?

-- 
Best,
Alan

Ubuntu 8.04 Hardy Heron (Desktop)
* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
(ConTeXt minimals installation)
* texexec --lua foo
___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-09-23 Thread Alan Stone
On Tue, Sep 23, 2008 at 3:50 PM, Alan Stone
[EMAIL PROTECTED]wrote:

 Remains...

 Making NppLW's console talk with the context minimal installation in
 /opt/context.


In a terminal window I tried

[EMAIL PROTECTED]:/opt/context/tex$ '/home/alan/.wine/drive_c/Program
Files/Notepad++/notepad++.exe'

Npp launches but in the console window

context --version

gives CreateProcess() failed.  :O(

-- 
Best,
Alan

Ubuntu 8.04 Hardy Heron (Desktop)
* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
(ConTeXt minimals installation)
* texexec --lua foo
___
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
___


[NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-09-22 Thread Alan Stone
Hi,

Re:  http://wiki.contextgarden.net/Notepad%2B%2B

It mentions you can also use it under wine.

Regarding the ConTeXt support package for Npp,
any idea where to copy the Application Data\Notepad++
directory to ?

You can copy the Program Files\Notapad++ directory
to wine's Program Files and copy the contents of the ConTeXt
directory to the ConTeXt tree. However, under wine there's
no Application data directory.

Also, I'd like to copy my Windows Npp++
- Settings - Preferences
- Settings - Styler Configurator settings
- View - User Define Dialog settings
to Wine's Npp++ installation.

Any idea which files are involved for these ?

-- 
Best,
Alan

 Ubuntu 8.04 Hardy Heron (Desktop)
* ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english
(ConTeXt minimals installation)
* texexec --lua foo
___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-09-22 Thread Idris Samawi Hamid
Hi Alan,

On Mon, 22 Sep 2008 04:26:26 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 Re:  http://wiki.contextgarden.net/Notepad%2B%2B

 It mentions you can also use it under wine.

snip

 Ubuntu 8.04 Hardy Heron (Desktop)

http://notepad-plus.sourceforge.net/uk/nppLinux.php

I'm not on Linux so I don't know how to remap the directories if  
necessary...

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-09-22 Thread Alan Stone
On Mon, Sep 22, 2008 at 9:03 PM, Idris Samawi Hamid
[EMAIL PROTECTED]wrote:

 Hi Alan,

 On Mon, 22 Sep 2008 04:26:26 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  Re:  http://wiki.contextgarden.net/Notepad%2B%2B
 
  It mentions you can also use it under wine.

 snip

  Ubuntu 8.04 Hardy Heron (Desktop)

 http://notepad-plus.sourceforge.net/uk/nppLinux.php


I got the Npp/Wine/LNX installation ok already Idris.
Thanks anyway. It's Npp's WXP settings transfer to
Wine/LNX I'm currently trying to figure out. That's
for tomorrow. Will keep you informed if I manage to
make this stuff work.

-- 
Best,
Alan

Ubuntu 8.04 Hardy Heron (Desktop)
  * ConTeXt  ver: 2008.09.16 19:49 MKIV  fmt: 2008.9.20  int:
english/english  (ConTeXt minimals installation)
  * texexec --lua foo
___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-24 Thread Alan Stone
 Are you using TeX or ConTeXt from the language menu?

Didn't have ConTeXt in the language menu. I installed the ConTeXt package
again and now it works ok.

In order to enable people to verify whether their package installation is
correct, it might be useful to add a screenshot of Npp with its dropped down
modified Language menu.

Best,
Alan

On Sat, Aug 23, 2008 at 11:47 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 On Sat, 23 Aug 2008 14:13:09 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.
  Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired
  degree.
 
  These work ok indeed. Nevertheless, the folding marks and foldings
  themselves
  run awkwardly in some tex files.

 Are you using TeX or ConTeXt from the language menu?

 
  Back to readme.txt :
 
  ---
  2) Folding
 
  a) ... All \start-stops are foldable, and you can easily
  add your own in the User-Defined-Language dialog; just select ConTeXt
  and you can edit all entries.
  ---
 
  Strange... the User Define Dialog User Language drop down box
  has only one entry: User Define Language. There is nothing else, no
  ConTeXt entry.

 I suspect that your userDefineLang.xml is not being recognized and that
 you are using the default TeX setup. Don't know why... Are you sure the
 package is installed correctly? Lookk for where Npp installs the original
 userDefineLang.xml, then overide it with mine.

 One thing I have noticed is that the default TeX language support in Npp
 is much better than in past versions. Folding is not so good, though.

 Note that Hans wrote the original TeX lexer for scite that Npp uses by
 default (with some modifications). So probably there has been some
 development of this lexer on the scite side of things.

 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

 ___

___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-24 Thread Alan Stone
Hi Idris,

In the readme.txt you wrote...

13. A note: In Preferences, always leave the option Remember the last
operation directory unchecked.

What's the reason for this recommendation ?

Thanks,
Alan
___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-24 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sun, 24 Aug 2008 08:26:20 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 In the readme.txt you wrote...
 13. A note: In Preferences, always leave the option Remember the last
 operation directory unchecked.
 What's the reason for this recommendation ?

It used to be the case that Npp would always open in the  
%Appdata%/Notepad++ directory. Maybe that's been fixed. Just play with it  
and see what happens. Unchecked, it will open in the dir of the current  
file.

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
Hi Idris,

(1) FYI, Application Data.zip also contains a 'Program Files' folder which
has the same contents as 'Program Files.zip'

From readme.txt :

(2) 9. Copy the directory Program Files\Notepad++ to Program Files

Shouldn't it be copy the *contents* of these (sub)directories to their
corresponding
C:\Program Files\Notepad++ (sub)directories ?

(3) 10. Copy the directory Application Data\Notepad++ to Application Data.

To Windows XP's C:\Documents and Settings\(username)\Application Data or
C:\Documents and Settings\All Users\Application Data ?

Best,
Alan
On Fri, Aug 22, 2008 at 6:04 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 On Fri, 22 Aug 2008 09:00:00 -0600, [EMAIL PROTECTED] wrote:

  Seems like Idris forgot to include the readme

 thnx, i uploaded a new version with the updated readme. I'll polish it
 later.

 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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Idris Samawi Hamid ادريس سماوي ح امد
Hi,

On Sat, 23 Aug 2008 03:29:56 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 (1) FYI, Application Data.zip also contains a 'Program Files' folder  
 which has the same contents as 'Program Files.zip'

Strange; I'll correct it.

 From readme.txt :
 (2) 9. Copy the directory Program Files\Notepad++ to Program Files
 Shouldn't it be copy the *contents* of these (sub)directories to their  
 corresponding
 C:\Program Files\Notepad++ (sub)directories ?

Put another way: Drop Program Files\Notepad++ onto C:\Program Files

 (3) 10. Copy the directory Application Data\Notepad++ to Application  
 Data.
 To Windows XP's C:\Documents and Settings\(username)\Application Data or
 C:\Documents and Settings\All Users\Application Data ?

See earlier in the readme: in what follows I assume that all  
configuration files are saved
in \username\Application Data\Notepad++

Thanks for the comments and

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Mohamed Bana
Alan Stone software.list.1es9s at gmail.com writes:

 
 
 Hi Idris,
  
 (1) FYI, Application Data.zip also contains a 'Program Files' folder which has
the same contents as 'Program Files.zip'
  
 From readme.txt :
  
 (2) 9. Copy the directory Program Files\Notepad++ to Program Files
  
 Shouldn't it be copy the *contents* of these (sub)directories to their
corresponding
 C:\Program Files\Notepad++ (sub)directories ?
  
 (3) 10. Copy the directory Application Data\Notepad++ to Application Data.
  
 To Windows XP's C:\Documents and Settings\(username)\Application Data or
 C:\Documents and Settings\All Users\Application Data ?
  
 Best,
 Alan
 

2) drag Notepad++ to Program Files, it'll prompt you to merge/override the
files, select yes.  The same applies for the rest of the top level folders.

3) typing %APPDATA% into the explorer or run command takes you to the folder
you're looking for.


Maybe someone should make a screencast :)


___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
Correction...

* Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

What must be selected for ConTeXt-MK IV ?

Alan
___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sat, 23 Aug 2008 10:58:44 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 Correction...

 * Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

 What must be selected for ConTeXt-MK IV ?

Either will work fine, since luatex always assumes utf-8 input. My own Npp  
setup defaults to utf-8 (with BOM) for new docs.

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
On Sat, Aug 23, 2008 at 5:23 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 Hi,

 On Sat, 23 Aug 2008 03:29:56 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  (1) FYI, Application Data.zip also contains a 'Program Files' folder
  which has the same contents as 'Program Files.zip'

 Strange; I'll correct it.

  From readme.txt :
  (2) 9. Copy the directory Program Files\Notepad++ to Program Files
  Shouldn't it be copy the *contents* of these (sub)directories to their
  corresponding
  C:\Program Files\Notepad++ (sub)directories ?

 Put another way: Drop Program Files\Notepad++ onto C:\Program Files


I somehow thought this operation would replace C:\Program\Notepad++ ...
which isn't.
Hey, I learned something new about how Windows works.  :O)


  (3) 10. Copy the directory Application Data\Notepad++ to Application
  Data.
  To Windows XP's C:\Documents and Settings\(username)\Application Data or
  C:\Documents and Settings\All Users\Application Data ?

 See earlier in the readme: in what follows I assume that all
 configuration files are saved
 in \username\Application Data\Notepad++


Missed that one. Must have been speeding (reading).


 Thanks for the comments and


You're welcome.

Two other questions, if I may...

(1) The folding feature behaves strangely.

- Instead of folding it collapses everything what's underneath.

- Once a folding section gets initiated from within the ConTeXt setup area (
at a \startsomething command ), it runs straight down to \stoptext instead
of from every \startsomething to \stopsomething

(2) Preferences - New Document tab

* Format: Windows - Unix - Mac - are (*.tex) files between these OSs
incompatible ?

* Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

Looks like great editor nevertheless, much better than SciTE. Thanks again
for the ConTeXt package.

Best,
Alan
___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sat, 23 Aug 2008 10:56:03 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 Two other questions, if I may...

 (1) The folding feature behaves strangely.

 - Instead of folding it collapses everything what's underneath.

 - Once a folding section gets initiated from within the ConTeXt setup  
 area (
 at a \startsomething command ), it runs straight down to \stoptext  
 instead
 of from every \startsomething to \stopsomething

There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.  
Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired degree.

 (2) Preferences - New Document tab

 * Format: Windows - Unix - Mac - are (*.tex) files between these OSs
 incompatible ?

Should make absolutely no difference, since TeX looks for a blank line to  
mark paragraph breaks -- or a '\par' -- and does not care about linebreak  
conventions

OTOH: Maybe support will be added for unicode parsep at some point...

 * Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

Either will work for mkiv. If you enable the utf-8 regime in mkii that  
should also work.

 Looks like great editor nevertheless, much better than SciTE.Thanks again
 for the ConTeXt package.

You are welcome :-)

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
Thanks all.

There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.
Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired degree.

These work ok indeed. Nevertheless, the folding marks and foldings
themselves
run awkwardly in some tex files.

Back to readme.txt :

---
2) Folding

a) ... All \start-stops are foldable, and you can easily
add your own in the User-Defined-Language dialog; just select ConTeXt
and you can edit all entries.
---

Strange... the User Define Dialog User Language drop down box
has only one entry: User Define Language. There is nothing else, no
ConTeXt entry.

Has this feature changed since Npp 4.2 ?

Alan

On Sat, Aug 23, 2008 at 9:03 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 On Sat, 23 Aug 2008 10:56:03 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  Two other questions, if I may...
 
  (1) The folding feature behaves strangely.
 
  - Instead of folding it collapses everything what's underneath.
 
  - Once a folding section gets initiated from within the ConTeXt setup
  area (
  at a \startsomething command ), it runs straight down to \stoptext
  instead
  of from every \startsomething to \stopsomething

 There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.
 Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired degree.

  (2) Preferences - New Document tab
 
  * Format: Windows - Unix - Mac - are (*.tex) files between these OSs
  incompatible ?

 Should make absolutely no difference, since TeX looks for a blank line to
 mark paragraph breaks -- or a '\par' -- and does not care about linebreak
 conventions

 OTOH: Maybe support will be added for unicode parsep at some point...

  * Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

 Either will work for mkiv. If you enable the utf-8 regime in mkii that
 should also work.

  Looks like great editor nevertheless, much better than SciTE.Thanks again
  for the ConTeXt package.

 You are welcome :-)

 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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-23 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sat, 23 Aug 2008 14:13:09 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.
 Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired  
 degree.

 These work ok indeed. Nevertheless, the folding marks and foldings  
 themselves
 run awkwardly in some tex files.

Are you using TeX or ConTeXt from the language menu?


 Back to readme.txt :

 ---
 2) Folding

 a) ... All \start-stops are foldable, and you can easily
 add your own in the User-Defined-Language dialog; just select ConTeXt
 and you can edit all entries.
 ---

 Strange... the User Define Dialog User Language drop down box
 has only one entry: User Define Language. There is nothing else, no
 ConTeXt entry.

I suspect that your userDefineLang.xml is not being recognized and that  
you are using the default TeX setup. Don't know why... Are you sure the  
package is installed correctly? Lookk for where Npp installs the original  
userDefineLang.xml, then overide it with mine.

One thing I have noticed is that the default TeX language support in Npp  
is much better than in past versions. Folding is not so good, though.

Note that Hans wrote the original TeX lexer for scite that Npp uses by  
default (with some modifications). So probably there has been some  
development of this lexer on the scite side of things.

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread Alan Stone
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 ادريس سماوي حامد 
[EMAIL PROTECTED] 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-named

 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

 ___

___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread abbg770
Idris Samawi Hamid #1575;#1583;#1585;#1610;#1587; 
#1587;#1605;#1575;#1608;#1610; #1581;#1575;#1605;#1583; ishamid 
at colostate.edu writes:

 
  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.
 
 Best wishes
 Idris
 

That's strange. Have you tried edit-prefs-documents then enable restore 
last view settings when reopening documents?

___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread abbg770

Alan Stone software.list.1es9s at gmail.com writes:




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
 


Seems like Idris forgot to include the readme, incase it hasn't been 
attached check out the 1 November 2007 rev from 
http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip your sure to find it 
there.


Put everything in ConTeXt.zip in the same folder you extracted 
mswincontext.zip (182 mb) then run NPP.bat. Make sure you adjust 
acrobat.lnk appriopriately as the path is hard-coded.


And what OS are you using?

MohamedInstructions for Setting up ConTeXt with Notepad++
November 1 2007
ConTeXt Support Package for Notepad++.

This package is for Notepad 4.5, released October 25 2007. The file config.xml 
in particular may
not work with other versions, especially if you start it with the batch file. 
If you already have Npp, please update to 4.5.

Lots of small improvements. One nice feature is that from any text 
selection (such as a control sequence) you may do a ConTeXt Wiki search 
from the RUN menu or ALT-F3. In addition there is Google and Wikipedia 
search. Also, I have included the wonderful Explorer plugin.

This package is offered as is, with no promise of support.

Instructions:

1. From the installer, you MAY not want to use the default destination folder, 
'Notepad++'.
texexec and company choke on directory names with characters like '+' in them. 
So you could
change it to, eg, 'Notepadpp'. So if you plan on linking the ConTeXt utilities 
with the notepad
installation directory somehow then you may want to change its name.

However, in the following I assume that the directory name remains 'Notepad++' 

2. You may also want to check the installation option, Don't use %APPDATA%.
Then all your configuration settings will be save in the installation 
directory. This is because, even
if you rename the installation directory, the name of the local user 
application directory will still
be 'Notepad++'.

However, in what follows I assume that all configuration files
are saved in \username\Application Data\Notepad++.

3. You may want to install a few plugins. The installer will give you a list of 
plugins you can
select. Go to the following links for details:

http://notepad-plus.sourceforge.net/uk/plugins-HOWTO.php

The Explorer and NppExec plugins are among my favorites, and I have configured 
them for ConTeXt.

In the following I assume that you have also installed the Explorer and NppExec 
plugins. The Explorer plugin is not included in the installer so
I have included it in this package.

4. Notepad++ should already be in your path. If not, add C:\Program 
Files\Notepad++ to your system path
in System Properties  Advanced  Environment Variables  System Variables  
PATH.

5. In System Properties add make LNK files executable. Go to
System Properties  Advanced  Environment Variables  System Variables  
PATHEXT. Click on Edit
and add .LNK;

6. Now log out and log back in (to activate the environment variables).

7. Make sure Notepad++ is closed.

8. There are three zips within the package:

Application Data.zip
ConTeXt.zip
Program Files.zip

9. Copy the directory Program Files\Notepad++ to Program Files.

10. Copy the directory Application Data\Notepad++ to Application Data.

11. Copy the contents of the directory ConTeXt to your ConTeXt tree.

12. For processing ConTeXt files, always use the batch file npp.bat to open 
Notepad++. npp.bat is
based on cscite.bat. You can change the icon for the batch file by going to the 
file properties of
npp.bat, Change Icon, and point it to  Program Files\Notepad++\Notepad++.exe. I 
put a shortcut to
npp.exe in the taskbar for easy access.

13.  A note: In Preferences,  always leave the option Remember the last 
operation directory
unchecked. 

14. Edit batch files in the ConTeXt directory to suit your needs. Please 
forward any major
improvements!

Have fun!

===
Message to ConTeXt mailing list, 12 Aug 2007:
==
Some background:

I come from the WinEdt world originally. However WinEdt, while a fantastic TeX 
editor (perhaps the best), has a couple of problems:

a) Geared towards LaTeX;
b) No utf-8 support present or immediately planned (at least when I was using 
it);
c) No Right-to-left support present or immediately planned (at least when I was 
using it);

a) is not really a problem; one could easily configure WinEdt to be ConTeXt 
editor, but b) and c) were showstoppers.

Scite is nice, but seems to me to be a real regression when compared to 
WinEdt's features. 

Finally I came across Notepad++, hereafter called Npp (actually it was Hans who 
told me about it first). This is one amazing text editor. Like Scite, it is 
based on Scintilla. It is a programmer's editor, but for a non-programmer user 
like myself it is amazingly easy to configure. Like 

Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Fri, 22 Aug 2008 09:03:55 -0600, [EMAIL PROTECTED] wrote:

 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.

 Best wishes
 Idris

 That's strange. Have you tried edit-prefs-documents then enable  
 restore
 last view settings when reopening documents?

Yes, and to be sure I checked and tried it again just now. The --autopdf  
--pdf option resizes the acrobat window to default... very annoying.

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread Alan Stone
Thanks Mohamed.

From the attached readme.txt :

---
1. From the installer, you MAY not want to use the default destination
folder, 'Notepad++'.
texexec and company choke on directory names with characters like '+' in
them. So you could
change it to, eg, 'Notepadpp'. So if you plan on linking the ConTeXt
utilities with the notepad
installation directory somehow then you may want to change its name.
However, in the following I assume that the directory name remains
'Notepad++'
2. You may also want to check the installation option, Don't use
%APPDATA%.
Then all your configuration settings will be save in the installation
directory. This is because, even
if you rename the installation directory, the name of the local user
application directory will still
be 'Notepad++'.
However, in what follows I assume that all configuration files
are saved in \username\Application Data\Notepad++.
---

Holy bananas, that's confusing...

If texexec and company choke on directory names with characters like '+' in
them why would one nevertheless assume that the directory name remains
'Notepad++'  ?

And, even if you rename the installation directory, the name of the local
user application directory will still be 'Notepad++ why would one choose to
not to use the default destination folder, 'Notepad++'. .. and change it
to, eg, 'Notepadpp'  ?
what OS are you using?

XP SP3 Home, Ubuntu 8.04

Best,
Alan


On Fri, Aug 22, 2008 at 5:00 PM, [EMAIL PROTECTED] wrote:

 Alan Stone software.list.1es9s at gmail.com writes:



 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



 Seems like Idris forgot to include the readme, incase it hasn't been
 attached check out the 1 November 2007 rev from
 http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip your sure to find it
 there.

 Put everything in ConTeXt.zip in the same folder you extracted
 mswincontext.zip (182 mb) then run NPP.bat. Make sure you adjust acrobat.lnk
 appriopriately as the path is hard-coded.

 And what OS are you using?

 Mohamed


___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Fri, 22 Aug 2008 09:00:00 -0600, [EMAIL PROTECTED] wrote:

 Seems like Idris forgot to include the readme

thnx, i uploaded a new version with the updated readme. I'll polish it  
later.

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread Idris Samawi Hamid ادريس سماوي ح امد
Hi Alan,

On Fri, 22 Aug 2008 09:54:05 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 If texexec and company choke on directory names with characters like  
 '+' in them why would one nevertheless assume that the directory name  
 remains 'Notepad++'  ?

Because that's the default and I don't try to run tex files from the  
either Notepad++ directory. This is mainly a warning for the uninitiated,  
I learned the hard way ;-)

 And, even if you rename the installation directory, the name of the  
 local user application directory will still be 'Notepad++ why would one  
 choose to not to use the default destination folder, 'Notepad++'. ..  
 and change it to, eg, 'Notepadpp'  ?

Presumably someone good at registry trickery, recompiling the source etc  
could rename that one too. Again, just providing info for those who can  
use it. I use the default.

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
___


[NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-21 Thread 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).

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-named

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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-21 Thread Mohamed Bana
Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu writes:

 
 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.

___
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
___


Re: [NTG-context] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-21 Thread Idris Samawi Hamid ادريس سماوي ح امد
Mohamad, سلام,

On Thu, 21 Aug 2008 16:35:33 -0600, Mohamed Bana [EMAIL PROTECTED]  
wrote:

 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 PluginsNppExecAdvanced 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
___
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
___