Is there a way -- prince magic, or CSS to address the following?
* PressBooks generates HTML containing arbitrary images (with known markup)...
* in web & epub reflowing means we don't care about pagination & whitespace ... so if we put an image between 2 paras, we can expect it to stay there & don't need to make any adjustment.
* however in print, there is an expectation that images will be placed in such a way to minimize whitespace ... either by:
a) adjusting the image placement on the page
b) adjusting image size
c) adjusting what text is "before" and "after" an image
in the below examples, you can see that images are put "where we told them to be put" relative to the text ... but the result is whitespace before page breaks.
screencaps:
![](https://dl.dropbox.com/u/983428/image-problem-2-1-1.png)
and
![](https://dl.dropbox.com/u/983428/image-problem1-1.png)
Any ideas of how to solve?
* PressBooks generates HTML containing arbitrary images (with known markup)...
* in web & epub reflowing means we don't care about pagination & whitespace ... so if we put an image between 2 paras, we can expect it to stay there & don't need to make any adjustment.
* however in print, there is an expectation that images will be placed in such a way to minimize whitespace ... either by:
a) adjusting the image placement on the page
b) adjusting image size
c) adjusting what text is "before" and "after" an image
in the below examples, you can see that images are put "where we told them to be put" relative to the text ... but the result is whitespace before page breaks.
screencaps:
![](https://dl.dropbox.com/u/983428/image-problem-2-1-1.png)
and
![](https://dl.dropbox.com/u/983428/image-problem1-1.png)
Any ideas of how to solve?