ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* context + omega + tetex 2.0 : success story
@ 2003-02-21 21:07 zamri
  2003-02-27 16:58 ` Idris S Hamid
  0 siblings, 1 reply; 3+ messages in thread
From: zamri @ 2003-02-21 21:07 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-06 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-21 21:07 context + omega + tetex 2.0 : success story zamri
2003-02-27 16:58 ` Idris S Hamid
2003-03-06 13:08   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).