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

* Re: context + omega + tetex 2.0 : success story
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Idris S Hamid @ 2003-02-27 16:58 UTC (permalink / raw)


It's nice to see you got this working. I don't use the latest Omega 1.23.2;
still 1.15 here and compiling Gamma works on teTeX and fpTeX without a
hitch (for some applications you may have to increase the appropriate
texmf.cnf values).

Giuseppe has ported much of the eTeX functionality to Omega1.15
(eOmega1.15). Once this is tested and debugged it will make Gamma much
easier to run maintain, at least until the Omega people release a stable,
fast Omega (one day, perhaps this century;->). As Giuseppe notes, 1.23.2
passes the TRIP test but not 1.15; yet 1.15 works better for most practical
purposes and large projects (speed, etc.).

Right now, eOmega is only available for MiKTeX; I'm still anxiously
awaiting fpTeX (or even teTeX) binaries so I can test it. I am also
pursuing some funding avenues for this work.

Best wishes
Idris

zamri wrote:

> 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;

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

* Re: context + omega + tetex 2.0 : success story
  2003-02-27 16:58 ` Idris S Hamid
@ 2003-03-06 13:08   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2003-03-06 13:08 UTC (permalink / raw)


At 09:58 AM 2/27/2003 -0700, you wrote:

>Right now, eOmega is only available for MiKTeX; I'm still anxiously
>awaiting fpTeX (or even teTeX) binaries so I can test it. I am also
>pursuing some funding avenues for this work.

there are fptex binaries now

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ 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).