1. can I force to print a figure in a document when publishing? I have a for-loop, first there should be some output, then a figure and then the next iteration. But when publishing, I first have all the outputs and at the end of the document all the figures. snapnow does not work!
2. Is there a way to include a variable in the headline of a section ( cell with %%) ?