From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43296 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: SciTE in ConTeXt setup Date: Fri, 22 Aug 2008 22:16:26 +0200 Message-ID: <326847810808221316l37e95e8ax1ba0ea293c0eb790@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0241190361==" X-Trace: ger.gmane.org 1219436339 4682 80.91.229.12 (22 Aug 2008 20:18:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 20:18:59 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 22 22:19:50 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KWd65-0004Vw-Cs for gctc-ntg-context-518@m.gmane.org; Fri, 22 Aug 2008 22:19:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 76DB11FD2A; Fri, 22 Aug 2008 22:18:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01919-05-12; Fri, 22 Aug 2008 22:17:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 709961FCD9; Fri, 22 Aug 2008 22:17:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F0AF21FCD0 for ; Fri, 22 Aug 2008 22:17:07 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02814-02-11 for ; Fri, 22 Aug 2008 22:16:30 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by ronja.ntg.nl (Postfix) with ESMTP id 5A0C01FC45 for ; Fri, 22 Aug 2008 22:16:27 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id c10so265738nfd.44 for ; Fri, 22 Aug 2008 13:16:27 -0700 (PDT) Original-Received: by 10.210.63.5 with SMTP id l5mr1994177eba.154.1219436187034; Fri, 22 Aug 2008 13:16:27 -0700 (PDT) Original-Received: by 10.210.16.2 with HTTP; Fri, 22 Aug 2008 13:16:26 -0700 (PDT) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43296 Archived-At: --===============0241190361== Content-Type: multipart/alternative; boundary="----=_Part_49168_10721226.1219436187016" ------=_Part_49168_10721226.1219436187016 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I've switched from Linux (Ubuntu 8.04 LTS Desktop Edition) running from within Windows XP + VirtualBox to a stand-alone Ubuntu installation. Installed - ConTeXt minimals in /opt/context - SciTE through the Synaptic Package Manager, and followed the "SciTE in ConTeXt" manual instructions : * Re. =A72: Installing SciTE Copied - /opt/context/tex/texmf-context/context/data/*.properties files and - /opt/context/tex/texmf-context/scripts/context/lua/scite-ctx.lua to /usr/share/scite Then - included the line 'import context.properties' at the end of /home/(username)/.SciTEUser.properties * Re: =A73: The TeX lexer Put context.properties in the same path as SciTEUser.properties - and to add import context.properties ( instead of import context - see p= g 4 ): done already in the previous step FYI, doing so, context.properties is then in /usr/share/scite *and* /home/(username) !? Launching SciTE from a terminal window... Setting "/opt/context/tex" as TEXROOT. (username)@home:/opt/context/tex$ scite launches SciTE however syntax highlighting doesn't work Setting "/opt/context/tex" as TEXROOT. alan@home:/opt/context/tex$ export declare -x COLORTERM=3D"gnome-terminal" declare -x CTXMINIMAL=3D"yes" declare -x DBUS_SESSION_BUS_ADDRESS=3D"unix:abstract=3D/tmp/dbus-GagB6b6HXV,guid=3D66e= 95a0ba305ba645af20dad48aeff98" declare -x DESKTOP_SESSION=3D"default" declare -x DESKTOP_STARTUP_ID=3D"" declare -x DISPLAY=3D":0.0" declare -x GDMSESSION=3D"default" declare -x GDM_LANG=3D"en_US.UTF-8" declare -x GDM_XSERVER_LOCATION=3D"local" declare -x GNOME_DESKTOP_SESSION_ID=3D"Default" declare -x GNOME_KEYRING_PID=3D"6056" declare -x GNOME_KEYRING_SOCKET=3D"/tmp/keyring-uBnsHP/socket" declare -x GPG_AGENT_INFO=3D"/tmp/seahorse-OHgHbT/S.gpg-agent:6110:1" declare -x GTK_RC_FILES=3D"/etc/gtk/gtkrc:/home/alan/.gtkrc-1.2-gnome2" declare -x HISTCONTROL=3D"ignoreboth" declare -x HOME=3D"/home/alan" declare -x HOMETEXMF=3D"/nonexist" declare -x LANG=3D"en_US.UTF-8" declare -x LESSCLOSE=3D"/usr/bin/lesspipe %s %s" declare -x LESSOPEN=3D"| /usr/bin/lesspipe %s" declare -x LOGNAME=3D"alan" declare -x LS_COLORS=3D"no=3D00:fi=3D00:di=3D01;34:ln=3D01;36:pi=3D40;33:so=3D01;35:do= =3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:su=3D37;41:sg=3D30;43:tw= =3D30;42:ow=3D34;42:st=3D37;44:ex=3D01;32:*.tar=3D01;31:*.tgz=3D01;31:*.svg= z=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31:*.lzma=3D01;31:*.zip=3D= 01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D01;31:*.bz2=3D01;31:*.bz= =3D01;31:*.tbz2=3D01;31:*.tz=3D01;31:*.deb=3D01;31:*.rpm=3D01;31:*.jar=3D01= ;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*.cpio=3D01;31:*.7z=3D01;31:*= .rz=3D01;31:*.jpg=3D01;35:*.jpeg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm= =3D01;35:*.pgm=3D01;35:*.ppm=3D01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01= ;35:*.tif=3D01;35:*.tiff=3D01;35:*.png=3D01;35:*.svg=3D01;35:*.mng=3D01;35:= *.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35:*.mpeg=3D01;35:*.m2v=3D01;35:*.mk= v=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*.m4v=3D01;35:*.mp4v=3D01;35:*.vob=3D= 01;35:*.qt=3D01;35:*.nuv=3D01;35:*.wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*= .rmvb=3D01;35:*.flc=3D01;35:*.avi=3D01;35:*.fli=3D01;35:*.gl=3D01;35:*.dl= =3D01;35:*.xcf=3D01;35:*.xwd=3D01;35:*.yuv=3D01;35:*.aac=3D00;36:*.au=3D00;= 36:*.flac=3D00;36:*.mid=3D00;36:*.midi=3D00;36:*.mka=3D00;36:*.mp3=3D00;36:= *.mpc=3D00;36:*.ogg=3D00;36:*.ra=3D00;36:*.wav=3D00;36:" declare -x MPMEMS=3D"\$TEXMFOS/web2c{/\$engine,}" declare -x OLDPWD=3D"/opt/context/tex" declare -x PATH=3D"/opt/context/tex/texmf-linux/bin:/opt/context/tex/texmf-linux/bin:/= usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" declare -x PWD=3D"/opt/context/tex" declare -x RUBYLIB=3D"/opt/context/tex/texmf-context/scripts/context/ruby:/opt/context= /tex/texmf-context/scripts/context/ruby:" declare -x SESSION_MANAGER=3D"local/home:/tmp/.ICE-unix/6057" declare -x SHELL=3D"/bin/bash" declare -x SHLVL=3D"2" declare -x SSH_AUTH_SOCK=3D"/tmp/keyring-uBnsHP/ssh" declare -x TERM=3D"xterm" declare -x TEXFORMATS=3D"\$TEXMFOS/web2c{/\$engine,}" declare -x TEXMF=3D"{\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONTEXT= ,\$TEXMFEXTRA,!!\$TEXMFMAIN}" declare -x TEXMFCACHE=3D"/opt/context/tex/texmf-cache" declare -x TEXMFCNF=3D"\$TEXROOT/texmf{-local,-context,}/web2c" declare -x TEXMFCONTEXT=3D"/opt/context/tex/texmf-context" declare -x TEXMFDBS=3D"{\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONT= EXT,\$TEXMFEXTRA,!!\$TEXMFMAIN}" declare -x TEXMFEXTRA=3D"/opt/context/tex/texmf-extra" declare -x TEXMFFONTS=3D"/opt/context/tex/texmf-fonts" declare -x TEXMFLOCAL=3D"/opt/context/tex/texmf-local" declare -x TEXMFMAIN=3D"/opt/context/tex/texmf" declare -x TEXMFOS=3D"/opt/context/tex/texmf-linux" declare -x TEXMFPROJECT=3D"/opt/context/tex/texmf-project" declare -x TEXMFVAR=3D"/texmf-var" declare -x TEXROOT=3D"/opt/context/tex" declare -x USER=3D"alan" declare -x USERNAME=3D"alan" declare -x VARTEXMF=3D"/texmf-var" declare -x WINDOWID=3D"52437808" declare -x WINDOWPATH=3D"7" declare -x XAUTHORITY=3D"/home/alan/.Xauthority" declare -x XDG_DATA_DIRS=3D"/usr/local/share/:/usr/share/:/usr/share/gdm/" declare -x XDG_SESSION_COOKIE=3D"9ecb3383cfbad7bac2c96be048adcf2a-1219428246.634999-18= 46302211" alan@home:/opt/context/tex$ texexec --check TeXExec | current distribution: web2c TeXExec | context source date: unknown TeXExec | format path: /opt/context/tex/texmf-linux/web2c /opt/context/tex/texmf-linux/web2c TeXExec | start of analysis TeXExec | end of analysis TeXExec | TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD TeXExec | TeXUtil | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD TeXExec | CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE alan@home:/opt/context/tex$ ---> TeXExec | context source date: unknown !? Launching >texexec --check from the SciTE output window gives sh: texexec: not found >Exit code: 127 ruby, tidy, xsltproc, gv and rxvt are installed texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby What's missing ? Thanks, Alan ------=_Part_49168_10721226.1219436187016 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi,
 
I've switched from Linux (Ubuntu 8.04 LTS Desktop Edition) running= from within Windows XP + VirtualBox to a stand-alone Ubuntu installation.<= /div>
 
Installed

- ConTeXt minimals in /opt/context
 
- SciTE through the Synaptic Package Manager, and followed the &q= uot;SciTE in ConTeXt" manual instructions :
 
* Re. =A72: Installing SciTE
 
Copied

- /opt/context/tex/texmf-context/context/data/*.properti= es files

and

- /opt/context/tex/texmf-context/scripts/context= /lua/scite-ctx.lua

to /usr/share/scite
 
Then
 
- included the line 'import context.properties' at the end of<= br>/home/(username)/.SciTEUser.properties
 
* Re: =A73: The TeX lexer
 
Put context.properties in the same path as SciTEUser.properties
- and to add import context.properties ( instead of  import conte= xt - see pg 4 ): done already in the previous step
 
FYI, doing so, context.properties is then in /usr/share/scite *and* /h= ome/(username) !?

Launching SciTE from a terminal window...

Setting "/op= t/context/tex" as TEXROOT.
(username)@home:/opt/context/tex$ scite<= br>
launches SciTE however syntax highlighting doesn't work

Setting "/opt/context/tex" as TEXROOT.
alan@home:/opt/cont= ext/tex$ export
declare -x COLORTERM=3D"gnome-terminal"
dec= lare -x CTXMINIMAL=3D"yes"
declare -x DBUS_SESSION_BUS_ADDRESS= =3D"unix:abstract=3D/tmp/dbus-GagB6b6HXV,guid=3D66e95a0ba305ba645af20d= ad48aeff98"
declare -x DESKTOP_SESSION=3D"default"
declare -x DESKTOP_STAR= TUP_ID=3D""
declare -x DISPLAY=3D":0.0"
declare -= x GDMSESSION=3D"default"
declare -x GDM_LANG=3D"en_US.UTF= -8"
declare -x GDM_XSERVER_LOCATION=3D"local"
declare -x GNOME_DES= KTOP_SESSION_ID=3D"Default"
declare -x GNOME_KEYRING_PID=3D&qu= ot;6056"
declare -x GNOME_KEYRING_SOCKET=3D"/tmp/keyring-uBnsH= P/socket"
declare -x GPG_AGENT_INFO=3D"/tmp/seahorse-OHgHbT/S.gpg-agent:6110:1&q= uot;
declare -x GTK_RC_FILES=3D"/etc/gtk/gtkrc:/home/alan/.gtkrc-1.= 2-gnome2"
declare -x HISTCONTROL=3D"ignoreboth"
declar= e -x HOME=3D"/home/alan"
declare -x HOMETEXMF=3D"/nonexist"
declare -x LANG=3D"en_= US.UTF-8"
declare -x LESSCLOSE=3D"/usr/bin/lesspipe %s %s"= ;
declare -x LESSOPEN=3D"| /usr/bin/lesspipe %s"
declare -x= LOGNAME=3D"alan"
declare -x LS_COLORS=3D"no=3D00:fi=3D00:di=3D01;34:ln=3D01;36:pi=3D40;= 33:so=3D01;35:do=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:su=3D37;= 41:sg=3D30;43:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01;32:*.tar=3D01;31:*.t= gz=3D01;31:*.svgz=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31:*.lzma= =3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D01;31:*.= bz2=3D01;31:*.bz=3D01;31:*.tbz2=3D01;31:*.tz=3D01;31:*.deb=3D01;31:*.rpm=3D= 01;31:*.jar=3D01;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*.cpio=3D01;3= 1:*.7z=3D01;31:*.rz=3D01;31:*.jpg=3D01;35:*.jpeg=3D01;35:*.gif=3D01;35:*.bm= p=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35:*.ppm=3D01;35:*.tga=3D01;35:*.xbm=3D0= 1;35:*.xpm=3D01;35:*.tif=3D01;35:*.tiff=3D01;35:*.png=3D01;35:*.svg=3D01;35= :*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35:*.mpeg=3D01;35:*.m= 2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*.m4v=3D01;35:*.mp4v= =3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.wmv=3D01;35:*.asf=3D01;= 35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=3D01;35:*.fli=3D01;35:*.= gl=3D01;35:*.dl=3D01;35:*.xcf=3D01;35:*.xwd=3D01;35:*.yuv=3D01;35:*.aac=3D0= 0;36:*.au=3D00;36:*.flac=3D00;36:*.mid=3D00;36:*.midi=3D00;36:*.mka=3D00;36= :*.mp3=3D00;36:*.mpc=3D00;36:*.ogg=3D00;36:*.ra=3D00;36:*.wav=3D00;36:"= ;
declare -x MPMEMS=3D"\$TEXMFOS/web2c{/\$engine,}"
declare -x O= LDPWD=3D"/opt/context/tex"
declare -x PATH=3D"/opt/contex= t/tex/texmf-linux/bin:/opt/context/tex/texmf-linux/bin:/usr/local/sbin:/usr= /local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
declare -x PWD=3D"/opt/context/tex"
declare -x RUBYLIB=3D"= ;/opt/context/tex/texmf-context/scripts/context/ruby:/opt/context/tex/texmf= -context/scripts/context/ruby:"
declare -x SESSION_MANAGER=3D"= local/home:/tmp/.ICE-unix/6057"
declare -x SHELL=3D"/bin/bash"
declare -x SHLVL=3D"2"= ;
declare -x SSH_AUTH_SOCK=3D"/tmp/keyring-uBnsHP/ssh"
decl= are -x TERM=3D"xterm"
declare -x TEXFORMATS=3D"\$TEXMFOS/= web2c{/\$engine,}"
declare -x TEXMF=3D"{\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFO= S,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN}"
declare -x TEXMFCACHE= =3D"/opt/context/tex/texmf-cache"
declare -x TEXMFCNF=3D"= \$TEXROOT/texmf{-local,-context,}/web2c"
declare -x TEXMFCONTEXT=3D"/opt/context/tex/texmf-context"
dec= lare -x TEXMFDBS=3D"{\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFO= S,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN}"
declare -x TEXMFEXTRA= =3D"/opt/context/tex/texmf-extra"
declare -x TEXMFFONTS=3D"/opt/context/tex/texmf-fonts"
declare= -x TEXMFLOCAL=3D"/opt/context/tex/texmf-local"
declare -x TEX= MFMAIN=3D"/opt/context/tex/texmf"
declare -x TEXMFOS=3D"/= opt/context/tex/texmf-linux"
declare -x TEXMFPROJECT=3D"/opt/context/tex/texmf-project"
dec= lare -x TEXMFVAR=3D"/texmf-var"
declare -x TEXROOT=3D"/op= t/context/tex"
declare -x USER=3D"alan"
declare -x USE= RNAME=3D"alan"
declare -x VARTEXMF=3D"/texmf-var"
declare -x WINDOWID=3D"= ;52437808"
declare -x WINDOWPATH=3D"7"
declare -x XAUT= HORITY=3D"/home/alan/.Xauthority"
declare -x XDG_DATA_DIRS=3D&= quot;/usr/local/share/:/usr/share/:/usr/share/gdm/"
declare -x XDG_SESSION_COOKIE=3D"9ecb3383cfbad7bac2c96be048adcf2a-1219= 428246.634999-1846302211"

alan@home:/opt/context/tex$ texexec -= -check
TeXExec | current distribution: web2c
TeXExec | context source= date: unknown
TeXExec | format path: /opt/context/tex/texmf-linux/web2c /opt/context/tex/= texmf-linux/web2c
TeXExec | start of analysis
TeXExec | end of analys= is
TeXExec |
TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA = ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD<= br>TeXExec | CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE
alan@home= :/opt/context/tex$

---> TeXExec | context source date: unknown&nb= sp; !?

Launching

>texexec --check

from the SciTE output window gi= ves

sh: texexec: not found
>Exit code: 127

ruby, tidy, = xsltproc, gv and rxvt are installed

texexec.rb is in /opt/context/te= x/texmf-context/scripts/context/ruby

What's missing ?

Thanks,
Alan
------=_Part_49168_10721226.1219436187016-- --===============0241190361== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0241190361==--