On Tue, Mar 10, 2015 at 1:20 AM, Long, Martin <[email protected]> wrote:
> I've only really scanned this thread, so please excuse me if I'm > raising something that's already been covered. > > It seems we're talking about rendering using HTML along with a few > other things. Have we considered pagination? I know this is something > that HTML isn't great at. You can, of course, print html, and it will > paginate it, but is controlling how this happens easy? I understand > there is support for pagination in CSS - is this enough for us to do > reasonable looking 1 dive per page, 2 dives per page, etc? > > CSS supports 'page-break-inside' property which define whether a page break is allowed inside a specified element or not, also max/min height can be used for pagination, but taking into consideration that the overflow of long notes will either be trimmed or will expand the dive to more printing area and in this case we can't ensure to have N dives per page (this can be something like flow layout). So as I expect yes we can control this easily. -- regards, Gehad
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
