[NTG-context] \setupfooter[color=red]: red color spills with float over next page

Benjamin Buchmuller benjamin.buchmuller at gmail.com
Sun Dec 4 04:05:49 CET 2016


When I have

\setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red])

and a

tex text text

% <<<< page breaks here after typesetting >>>>

\startplacefigure[
	%location=force, % no matter what I do here
	title={Caption.}
]
… something …
\stopplacefigure

other text

that is moved to the following page as first object, the entire page including the figure’s rulers, caption, and the regular text prints in red (but not bold!?) when I incorporate the file via \component … into my project, but not when I typeset from within \startcomponent … \stopcomponent.

Since “bold” does not seem to float the same way, I guess it is related to color handling at page breaks somehow.

I already tried to \setupfloats[before=\strut] to “force” black bodyfont right before the figure (at least this is what I intended to do), but did not work.

I’m sorry not to be able to provide a more elaborate minimal example asserting the exact conditionals of this behaviour at the moment as I need to hand in a report next week. Probably the footers have to go black this time.

Any suggestions?

Thank you for your help.


Benjamin


More information about the ntg-context mailing list