From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5115 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: the "xdesc" module Date: Wed, 18 Jul 2001 12:52:33 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010718124207.03e7b9e8@server-1> References: <19911277763.20010717221948@bigfoot.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035395727 31361 80.91.224.250 (23 Oct 2002 17:55:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:55:27 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Giuseppe Bilotta In-Reply-To: <19911277763.20010717221948@bigfoot.com> Xref: main.gmane.org gmane.comp.tex.context:5115 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5115 At 10:19 PM 7/17/2001 +0200, Giuseppe Bilotta wrote: >Hi, > >I'm going quite deep in this xdesc module, as posted in the >mailing list --maybe I'll change its name again to "objects", >since it's all about objects and properties. i will look into it later and see in what extend we can merge the ideas ; i have both a simple database handler and sorted things available [use them for adresses base and previous sorted biblio module] so there are some frameworks already. >But, to implement the object listing and sorting capabilities I >need some extended TeXUtil support. The reason for this is that I >plan to support listing of objects with multiple sorting keys. If >it was going to be a single sort key, it could have been achieved >hacking (overloading) the register feature, but that's too >limiting. there is something in texutil, but undocumented, had to to with abusing sorted lists >Since the "objects" code could be used as a base for lots of >things, among which epigraphs and bibliographies, in a >"consistent" and highly customizable way (see the template >feature), I think that core support for it can be taken in >consideration :-) sure, but then more xml based; this is something i'm working on >Now, what am I exactly thinking about? The .tui file would contain >entries of this kind: > >o d {objname} {keyname} {keyname} ... {keyname} > >[o d = object define] > >which would inform TeXUtil of the order of the keys of the object >{objname}. Then we would have entries in the form > >o e {objname} {tag} {keyval} {keyval} ... {keyval} {pagenumber} >{realpage} since we want predicatibility: {keyval,keyval,keyval} and not pagenumber/realpagenumber, but the full location stamp [including chapter and so, so that we can select! also, this may be combined with indexes -) >[o e = object entry] > >produced by the \get[objref] commands, (I still have to >think of a "nice" way to allow sanitized keyvals) and finally >entries in the form > >o s {objname} {keyname} {keyname} {keyname} ... {keyname} > >[o s = object sort] there is already sort key support >Can we discuss the implementation of this feature? sure, but keep in mind that i have to work to finish, machines to install, etc -) 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 -------------------------------------------------------------------------