Subject: Re: AW: [dssslist] how to process title with condition? or, do not di splay empty title in figure object From: JtoEE JtoME <j2eeorj2me@xxxxxxxxx> Date: Thu, 30 Mar 2006 05:40:35 -0800 (PST) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [dssslist] how to process title, Lutz Pliske | Thread | Re: AW: [dssslist] how to process t, Markus Hoenicka |
AW: [dssslist] how to process title, Lutz Pliske | Date | Re: AW: [dssslist] how to process t, Markus Hoenicka |
Month |