I’m trying to print some tiddlers as single pages. They fit well on the page (at least on U.S. Letter size – 8.5"x11".) But when I print, there is always an extra page, a blank one. This wouldn’t bother me if I was doing a single print of them, but the idea is to have users print out the one or two tiddlers that concern them, and for tidiness, if nothing else, I would like to avoid that extra page. Any suggestions as to how?
An anonymized version of the page is at http://scott.sauyet.com/Tiddlywiki/Demo/Postcards/v1/.
If you choose one of the main tiddlers (“Group One” - “Group Twenty-one”), close others and then bring up the print dialog, you will see the reasonably formatted first page, followed by a blank page. It’s that blank page that’s bothering me. I’ve tested in three browsers in Ubuntu and four in Windows. They all have the same behavior.
This is part of a political campaign, getting volunteers to write postcards to others in town in support of a candidate for the state legislature. But I expect to use the template in the future for other campaigns, so I would really like to get this right.
The only custom CSS is in the small $:/_/my/styles/css, and presumably the only relevant parts are:
@media print {
.tc-subtitle, .tc-tags-wrapper {display: none;}
.tc-tagged-PostcardGroup {break-after: page;}
.tc-tagged-PostcardGroup:last-child {break-after: auto;}
}
That last line is a left-over from one of many attempts to fix this. I’ve tried avoid and auto. And I’ve skipped that line. None of this helps. Is there some other way to do this?
Is there something else I should add to the first line, some invisible-but-space-occupying bit of the story river that I should set to display: none? Any other ideas?
This may well be a plain CSS question, and not really TW-specific, but I think the folks here are more likely to understand the setup and have reasonable suggestions. However, if you think there’s a better place to post this question, please let me know.
