Quoting Crt Gorup <[EMAIL PROTECTED]>: > Hi, > > i was playing with table of figures few days ago. My "solution" is > probably not the best one, but it works. > > \definelist[figs] > > > > \def\addFigure#1#2#3#4% > > { > > \placefigure[here][fig:#1]{#2}{\externalfigure[#3][scale=#4]} > > \writetolist[figs]{fig:#1}{#2} > > } > > > > > > \def\placeTOF% > > { > > \title{Table of figures} > > \placelist[figs][alternative=command,command=\TOFCommand] > > } > > > > \def\TOFCommand#1#2#3% > > {{\bf Fig. \in[#1] } #2 \dotfill #3\blank[.1cm] } > > For each figure you want on list you have to use \addFigure instead of > \placefigure. Is there any shorter and better solution?
What is wrong with \placelist[figure]? AFAIU, \placefigure does something equivalent to \writetolist[figure]{}{}. so you should be able to access the list of figures using \placelist[figure]. Does that not work for you? Can you post a minimal example? Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________