Book logo xindy

A Flexible Indexing System

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: markup rules question

Vladimir Volovich writes:
 > Hi,
 > First, a minor bug: xindy refuses to accept filenames starting
 > with a dot, as filenames with raw index. E.g.:
 > $ xindy -o .qq2 somefile.xdy .qq1
 > This is `xindy' version 2.0 (i386-linux-glibc2 binary version 2.0).
 > Reading indexstyle...
 > Loading module "somefile.xdy"...
 > ...
 > Finished reading indexstyle.
 > Finalizing indexstyle... (done)
 > Reading raw-index ".qq1"...
 > ERROR: no file name given: #P"/tmp/0/.qq1"

Indeed there are some problems with the file I/O. In addition it seems 
that xindy cannot handle AFS directories that contain something like

I have not yet figured out what might be the reason for that. I
suppose that the whole approach for loading files and xindy modules
need some revisit...

 > Second, could you please help with the following question.
 > Is it possible to set up markup rules in such a way that
 > the markup of an index entry of depth n will depend on
 > whether there are entries of depth n+1?

Unfortunately, the implemented markup model does not support this,
although it seems to be something that could be easily integrated but
it might well be the case that there are some non-obvious

Needed is some additional keyword that can be used in the appropriate
markup commands that distinguishes rules for this special case from
ordinary rules. Almost everything related to markup can be found in
the "markup.nw" source. It might need some time to get used to this
code since it makes heavily use of LISP-macros and on-the-fly
generation of CLOS-methods.

Cheers, Roger

Roger Kehr                   email:
Department of Computer Science                pho: +49 6151 16-6233
Darmstadt University of Technology            fax: +49 6151 16-6229