after on-and-off effort, I finally get context + omega working. The result is impressive. hat off to hans and idris samawi for their effort. omega is a tex version that support utf-8 input. it can be used to typeset arabic. here are some of the things I discovers that might be useful to others;
my system: context 2003.1.31 omega 1.23.2.1 tetex 2.0
1. using the command
texexec --make --alone --tex=omega enfail. you need to recompile omega. get tetex-src-2.0.tar.gz. I am not a programmer, but know enough to hack bit and pieces. also, I cannot assure whether it safe or not. but, it works. do the usual ./configure and make stuff.
After finish, make changes to omegad.h;
#define infmaxstrings ( 800000L )
#define supmaxstrings ( 900000L )
#define infmainmemory ( 8000000L )recompile omega. this is the tricky part. the command I use;
(the proper way to make changes is in the .ch files, but I have no idea what to change)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omegaini.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omega0.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omega1.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omega2.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omegaextra.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omega.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omegabis.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c omega3.c
./../klibtool link gcc -o omega omegaini.o omega0.o omega1.o omega2.o omegaextra.o omega.o omegabis.o omega3.o lib/lib.a ../kpathsea/libkpathsea.la -lm
gcc -o omega omegaini.o omega0.o omega1.o omega2.o omegaextra.o omega.o omegabis.o omega3.o lib/lib.a ../kpathsea/STATIC/libkpathsea.a -lm
2. cp this 'omega' to 'bigomega' or whatever you like.
3. do
texexec --make --alone --tex=bigomega en
4. you will get cont-en.oft. cp 'cont-en.oft' to 'bigomega.oft'
5. move the .oft format to the usual place. run 'texhash'
6. test.
bigomega omtest.tex
(* omtest.tex is from gamma.zip from idris ) or this simple file
====== test.tex=======
\usemodule[gamma]
\starttext
\startarab
A b t
\section{\arab{A b t }} \stoparab
\stoptext
6. you get test.dvi, do this to get pdf.
odvisp -V -o test.ps test.dvi
ps2pdf test.psI am sure some of the steps can be simplified or corrected by the experts. I think you need to rename the new omega to avoid clash with the original omega.
again, thanks to hans and idris. zamri
_______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
