Hi,
\ifemptyfloatcaption should always be false when there is a text for the caption
\def\check_float_caption_content
{\ifnofloatcaption \else
\setbox\float_caption_box\hbox
{\settrialtypesetting
\notesenabledfalse
\float_make_complete_caption}%
% new, \placefigure{\xmlfirst{#1}{somecaption}}{} passes earlier empty
check
% so here we misuse the scratch box; actually this means that the previous
% test can go away (some day, when i redo this module)
\ifdim\wd\float_caption_box=\zeropoint
\global\emptyfloatcaptiontrue
\ifnofloatnumber
\global\nofloatcaptiontrue
\fi
\else
+ \global\emptyfloatcaptionfalse
\setbox\float_caption_box\hbox{\hskip\leftskip\box\float_caption_box}%
\fi
\fi}
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context