[NTG-context] Entries in \completelistoffigures - HOWTO?

Johannes Graumann johannes_graumann at web.de
Tue Apr 25 18:07:06 CEST 2006


Hans Hagen wrote:

> \expanded{%
>>     \placefigure
>>       [\XMLpar{figure}{location}{}]
>>       [\XMLpar{figure}{label}{unknown}]
>>       {{\bf\XMLflush{floattitle}} \XMLflush{caption}}
>>   
> }

Thank you so much once again. Works now. I fail, however to grasp where to
apply the '\expanded' with the full-page-figure/other-page-caption you
helped me set up ...

Can you enlighten me concerning that?

Joh

\definefloat[caption]
\setupfloat[caption][location=right]
\defineframedtext
  [captiontext]
 
[width=\textwidth,style={{\smallbodyfont}\setupinterlinespace[line=2.8ex]},frame=off,topframe=on]
\defineXMLenvironment 
  [fpfigure]
  {
    \bgroup
    \defineXMLsave[floattitle]
    \defineXMLsave[caption]
    \defineXMLsave[graphic]
  }
  {
    \placefigure
      [page,none]
      [\XMLpar{figure}{label}{}]
      {}
      {\externalfigure[\XMLflush{graphic}
[width=\textwidth,height=\textheight,factor=max]}
    \placecaption
      [bottom,none]
      {}
      {\startcaptiontext
        \placefloatcaption
          [figure]
          {{\bf\XMLflush{floattitle}} \XMLflush{caption}}
      \stopcaptiontext}
    \egroup
  }




More information about the ntg-context mailing list