Dive Table printing

Linus Torvalds torvalds at linux-foundation.org
Mon Aug 20 13:10:37 PDT 2012


On Mon, Aug 20, 2012 at 12:31 PM, Lutz Vieweg <lvml at 5t9.de> wrote:
>
> Yes, the idea sounds reasonable. (I could not tell whether such variety
> is easy to achieve using just CSS on the same HTML page - my CSS experience
> is limited to a few simple "style" usages.)

I really don't think we want to do html and css. Going that way, it
sounds much better to just process the subsurface xml (or a CSV export
- I have nothing against the idea personally). At that point, you can
do some xml->html transform thing and do whatever the heck you want.

But for simple cases, let's just add a printing mode dialog. I
committed and pushed out the trivial scaffolding to add a widget to
the print dialog, but it doesn't actually contain any settings yet,
just an empty frame. But that's where we could do a "print list" vs
"print plots" etc.

The letter-vs-A4 thing is already in the print dialog, and as far as I
know, we already do all of that correctly.

              Linus


More information about the subsurface mailing list