From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11104 Path: main.gmane.org!not-for-mail From: zamri Newsgroups: gmane.comp.tex.context Subject: context + omega + tetex 2.0 : success story Date: Sat, 22 Feb 2003 05:07:32 +0800 Sender: ntg-context-admin@ntg.nl Message-ID: <7E78E258-45E0-11D7-8F21-000393D94AEC@sun1.ftsm.ukm.my> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045944495 26732 80.91.224.249 (22 Feb 2003 20:08:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2003 20:08:15 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18mfwT-0006x0-00 for ; Sat, 22 Feb 2003 21:08:13 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4060510AE7; Sat, 22 Feb 2003 21:08:20 +0100 (MET) Original-Received: from sun1.ftsm.ukm.my (sun1.ftsm.ukm.my [202.185.46.197]) by ref.ntg.nl (Postfix) with ESMTP id D155110AF0 for ; Sat, 22 Feb 2003 08:20:51 +0100 (MET) Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11104 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11104 hello all, 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 en fail. 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.ps I 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