Re: [dssslist] supress empty entries in the LOF and LOT!

Subject: Re: [dssslist] supress empty entries in the LOF and LOT!
From: JtoEE JtoME <j2eeorj2me@xxxxxxxxx>
Date: Tue, 11 Apr 2006 05:52:22 -0700 (PDT)
Hi,

I got it...

(define ($lot-entry$ tocentry)
   (if (> (string-length (data tocentry)) 0)
       (make paragraph
         ....
         ....        )
        (empty-sosofo)
   )
)

Greetings....

--- JtoEE JtoME <j2eeorj2me@xxxxxxxxx> wrote:

> Hi,
> 
> I tried to do the similar thing but it seems I am
> missing something :-( 
> 
> Could anybody please provide one example how to
> suppress empty entires in the List of
> Figures/Tables?
> For example, I do not want to get some entires
> (please
> see 4-2, 4-4) as follows:
> 
> 4-2.  .......................................... 17
> 4-3.  My Second Figure with a Title............. 18
> 4-4.  .......................................... 19
> 
> Thanks in advance.
> 
> Greetings........
> 
> 
> --- Markus Hoenicka <markus.hoenicka@xxxxxxxxxxxx>
> wrote:
> 
> > Hi,
> > 
> > the titles are processed via a separate mode to
> > create the LOF. You have to
> > apply the same changes there.
> > 
> > regards,
> > Markus
> > 
> > JtoEE JtoME <j2eeorj2me@xxxxxxxxx> was heard to
> say:
> > 
> > > Hi,
> > >
> > > thanks a lot... it seems working according to
> your
> > > suggestion...
> > >
> > > but now I can see an empty entry in the "List of
> > > Figure" index... I thought it will not appear in
> > the
> > > "list of figure" if I can not see any auto
> figure
> > > caption in my book.
> > >
> > > How to influence the List of Figure so that I
> will
> > not
> > > get any empty bookmark there.
> > >
> > > Thanks again...
> > >
> > > Greetings....
> > >
> > > --- Lutz Pliske <Pliske@xxxxxxxxx> wrote:
> > >
> > > > Hi,
> > > >
> > > > You could also try something like this:
> > > >
> > > > (element (FIGURE TITLE)
> > > >    (if (node-list-emtpy? (children
> > (current-node)))
> > > >       (process-node-list(empty-node-list))
> > > >       (make element gi: "TITLE"
> > > >          (process-children)
> > > >       )
> > > >    )
> > > > )
> > > >
> > > >
> > > > -----Urspr|ngliche Nachricht-----
> > > > Von: Markus Hoenicka
> > > > [mailto:markus.hoenicka@xxxxxxxxxxxx]
> > > > Gesendet: Donnerstag, 30. Mdrz 2006 14:20
> > > > An: dssslist@xxxxxxxxxxxxxxxxxxxxxx
> > > > Betreff: Re: [dssslist] how to process title
> > with
> > > > condition? or, do not
> > > > display empty title in figure object
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I guess you have to check the length of the
> > contents
> > > > of the title element by
> > > > means of the string-length function. If it is
> > zero,
> > > > skip the processing of
> > > > the title element.
> > > >
> > > > regards,
> > > > Markus
> > > >
> > > > JtoEE JtoME <j2eeorj2me@xxxxxxxxx> was heard
> to
> > say:
> > > >
> > > >
> > > > > In my Book, all figure tags contain a title
> > tag
> > > > (as it
> > > > > is must) but I would like to bypass the
> > processing
> > > > of
> > > > > title which contains an empty string. So
> that,
> > I
> > > > will
> > > > > not get the empty caption in my rtf output
> > (For
> > > > > example, Figure 7.2:).
> > > >
> > > >
> > > >
> > > > --
> > > > Markus Hoenicka
> > > > markus.hoenicka@xxxxxxx
> > > > (Spam-protected email: replace the quadrupeds
> > with
> > > > "mhoenicka")
> > > > http://www.mhoenicka.de
> > > >
> > > >
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > >
> > 
> > 
> > -- 
> > Markus Hoenicka
> > markus.hoenicka@xxxxxxx
> > (Spam-protected email: replace the quadrupeds with
> > "mhoenicka")
> > http://www.mhoenicka.de
> > 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Current Thread