[Top][All Lists]

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

Counting subordinate structure elements

From: Michael Piotrowski
Subject: Counting subordinate structure elements
Date: Mon, 30 Mar 1998 01:52:32 +0200 (METDST)


it's me again.  Has anybody an idea how one could count subordinate structure 
elements?  What I mean is the following;  suppose you have a document 
like this:

Section 1             -> 2
  Subsection 1        -> 0
  Subsection 2        -> 1
    Subsubsection 1   -> 0
Section 2             -> 0

Then I'd like to get the numbers right of the arrows for each of the elements.  
I figure this should be possible using the cross-references mechanisms, but I 
can't think of a way of doing this.

Any help appreciated--thanks in advance

Michael Piotrowski                         <address@hidden>
Department of Computational Linguistics --- University of Erlangen, Germany
You know, basically, I'm no good at either linguistics or computer science.
                                                               --Larry Wall

reply via email to

[Prev in Thread] Current Thread [Next in Thread]