Sorting of an index

Subject: Sorting of an index
From: SOPHIE.BOULAS@xxxxxxxxxxxxx
Date: Fri, 18 Aug 2000 11:22:56 +0200
Hello,

I have a problem with the sorting of words in the OpenJade. I actually use
the OPne Jade version 1.3. 
I think source of my problem is, that I do not know exactly, what I have to
declare in the style-sheet, so that I can sort the words in the alphabetical
order.
I tried it by the following steps:
1. I declared the entity builtins.dsl with a system identifier in the
style-sheet and in the catalog
2. I defined a language:
	(define-language english 
	   (toupper 
	   (#\a #\A)(#\b #\B)(#\c #\C)(#\d #\D)(#\e #\E)(#\f #\F)(#\g
#\G)(#\h #\H)
	   (#\i #\I)(#\j #\J)(#\k #\K)(#\l #\L)(#\m #\M)(#\n #\N)(#\o
#\O)(#\p #\P)
	   (#\q #\Q)(#\r #\R)(#\s #\S)(#\t #\T)(#\u #\U)(#\v #\V)(#\w
#\W)(#\x #\X)
	   (#\y #\Y)(#\z #\Z))
	  (tolower 
	   (#\A #\a)(#\B #\b)(#\C #\c)(#\D #\d)(#\E #\e)(#\F #\f)(#\G
#\g)(#\H #\h)
	   (#\I #\i)(#\J #\j)(#\K #\k)(#\L #\l)(#\M #\m)(#\N #\n)(#\O
#\o)(#\P #\p)
	   (#\Q #\q)(#\R #\r)(#\S #\s)(#\T #\t)(#\U #\u)(#\V #\v)(#\W
#\w)(#\X #\x)
	   (#\Y #\y)(#\Z #\z)))
3. I  declared it as a default language
	(declare-default-language english) 

4. After doing this, I wanted to use the function string>? and string<? but
I get no correct answer.

5. I used the function (language? english) and get the answer #t

6. If I use the function (current-language), I get an error message "unknown
object 10440600"

I suspect, that I did not embed the language correctly, sothat the function
string<? can work. 
Do you know how I should do it?
Thank you in advance!



Sophie Boulas
Product Development
Technical Documentation Systems

Lufthansa Systems GmbH
Systems Engineering 
HAM AD/PPS
Sportallee 54a
D-22335 Hamburg
Germany

Tel  +49 40 5070 1919
Fax +49 40 5070 1999
mailto:sophie.boulas@xxxxxxxxxxxxx
http://www.lhsystems.com


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread