Re: [NTG-context] SciTE in ConTeXt setup

2008-08-23 Thread Alan Stone
Hi Idris,

I open a terminal window and type

scite

as follows (incl. terminal window output messages):

Setting /opt/context/tex as TEXROOT.
[EMAIL PROTECTED]:/opt/context/tex$ scite

then SciTE launches but not in the way I expected.

did you use the cscite script to launch scite or the setuptex script?

Uh ? What are these scripts ?

Best,
Alan

On Sat, Aug 23, 2008 at 3:53 AM, Idris Samawi Hamid
[EMAIL PROTECTED]wrote:

 Hi Alan,

 On Fri, 22 Aug 2008 14:16:26 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  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 ?

 Not presently on linux etc. but did you use the cscite script to launch
 scite or the setuptex script?

 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] SciTE in ConTeXt setup

2008-08-23 Thread Alan Stone
Found it.

TeX was not selected in the language menu.
( SciTE doesn't check mark the selected language so I didn't spot it at
first )

However now, when compiling I get ...   :O)

texmfstart texexec --lua mini01.tex
TeXExec | processing document 'mini01.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file mini01.top
TeXExec | using randomseed 1346
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en.fmt
LuaTools | no luc/lua with name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en
LuaTools |
LuaTools | runtime: 0.014 seconds

TeXUtil | unable to locate mini01.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file mini01.top
TeXExec | using randomseed 1346
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en.fmt
LuaTools | no luc/lua with name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en
LuaTools |
LuaTools | runtime: 0.014 seconds

TeXUtil | unable to locate mini01.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.141179
Exit code: 0

SciTE doesn't locate its own generated files.

Fascinating !

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
___


[NTG-context] SciTE in ConTeXt setup

2008-08-22 Thread Alan Stone
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. §2: 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: §3: The TeX lexer

Put context.properties in the same path as SciTEUser.properties
- and to add import context.properties ( instead of  import context - see pg
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.
[EMAIL PROTECTED]:/opt/context/tex$ export
declare -x COLORTERM=gnome-terminal
declare -x CTXMINIMAL=yes
declare -x
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GagB6b6HXV,guid=66e95a0ba305ba645af20dad48aeff98
declare -x DESKTOP_SESSION=default
declare -x DESKTOP_STARTUP_ID=
declare -x DISPLAY=:0.0
declare -x GDMSESSION=default
declare -x GDM_LANG=en_US.UTF-8
declare -x GDM_XSERVER_LOCATION=local
declare -x GNOME_DESKTOP_SESSION_ID=Default
declare -x GNOME_KEYRING_PID=6056
declare -x GNOME_KEYRING_SOCKET=/tmp/keyring-uBnsHP/socket
declare -x GPG_AGENT_INFO=/tmp/seahorse-OHgHbT/S.gpg-agent:6110:1
declare -x GTK_RC_FILES=/etc/gtk/gtkrc:/home/alan/.gtkrc-1.2-gnome2
declare -x HISTCONTROL=ignoreboth
declare -x HOME=/home/alan
declare -x HOMETEXMF=/nonexist
declare -x LANG=en_US.UTF-8
declare -x LESSCLOSE=/usr/bin/lesspipe %s %s
declare -x LESSOPEN=| /usr/bin/lesspipe %s
declare -x LOGNAME=alan
declare -x
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
declare -x MPMEMS=\$TEXMFOS/web2c{/\$engine,}
declare -x OLDPWD=/opt/context/tex
declare -x
PATH=/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=/opt/context/tex
declare -x
RUBYLIB=/opt/context/tex/texmf-context/scripts/context/ruby:/opt/context/tex/texmf-context/scripts/context/ruby:
declare -x SESSION_MANAGER=local/home:/tmp/.ICE-unix/6057
declare -x SHELL=/bin/bash
declare -x SHLVL=2
declare -x SSH_AUTH_SOCK=/tmp/keyring-uBnsHP/ssh
declare -x TERM=xterm
declare -x TEXFORMATS=\$TEXMFOS/web2c{/\$engine,}
declare -x
TEXMF={\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN}
declare -x TEXMFCACHE=/opt/context/tex/texmf-cache
declare -x TEXMFCNF=\$TEXROOT/texmf{-local,-context,}/web2c
declare -x TEXMFCONTEXT=/opt/context/tex/texmf-context
declare -x
TEXMFDBS={\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN}
declare -x TEXMFEXTRA=/opt/context/tex/texmf-extra
declare -x TEXMFFONTS=/opt/context/tex/texmf-fonts
declare -x TEXMFLOCAL=/opt/context/tex/texmf-local
declare -x TEXMFMAIN=/opt/context/tex/texmf
declare -x TEXMFOS=/opt/context/tex/texmf-linux
declare -x TEXMFPROJECT=/opt/context/tex/texmf-project
declare -x TEXMFVAR=/texmf-var
declare -x TEXROOT=/opt/context/tex
declare -x USER=alan
declare -x USERNAME=alan
declare -x VARTEXMF=/texmf-var
declare -x WINDOWID=52437808
declare -x WINDOWPATH=7
declare -x XAUTHORITY=/home/alan/.Xauthority
declare -x XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
declare -x
XDG_SESSION_COOKIE=9ecb3383cfbad7bac2c96be048adcf2a-1219428246.634999-1846302211

[EMAIL PROTECTED]:/opt/context/tex$ texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: unknown
TeXExec | format path: /opt/context/tex/texmf-linux/web2c

Re: [NTG-context] SciTE in ConTeXt setup

2008-08-22 Thread trebestie
2008/8/22, Alan Stone [EMAIL PROTECTED]:
 I've switched from Linux (Ubuntu 8.04 LTS Desktop Edition) running from
 within Windows XP + VirtualBox to a stand-alone Ubuntu installation.
 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 ?
Try launching Scite from a console.

Regards

-- 
Diego Depaoli
___
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] SciTE in ConTeXt setup

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

On Fri, 22 Aug 2008 14:16:26 -0600, Alan Stone  
[EMAIL PROTECTED] wrote:

 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 ?

Not presently on linux etc. but did you use the cscite script to launch  
scite or the setuptex script?

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
___