![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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