[dev-context] strc-flt.mkvi

2015-04-13 Thread Wolfgang Schuster
Hi,

\unexpanded\def\startplacefloat
  {\flushnotes
   \page_otr_command_flush_side_floats % here !
   \strc_floats_begin_group
-  \dodoubleempty\strc_floats_start_place_float}
+  \dotripleempty\strc_floats_start_place_float}

Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


[dev-context] strc-flt.mkvi

2011-11-26 Thread Wolfgang Schuster
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