This is the historical archive of the now-inactive 'grubstreet' list.
Discussion on OpenGuides development
has now moved to OpenGuides-Dev.
Discussion on The Open Guide to
London now takes place on OpenGuides-London.
[grubstreet] Formatting wiki pages for printing
[prev] [thread] [next] [lurker] [Date index for 2002/11/22]
From: Ivor Williams
Subject: [grubstreet] Formatting wiki pages for printing
Date: 10:11 on 22 Nov 2002
Subject: [grubstreet] Formatting wiki pages for printing
Date: 10:11 on 22 Nov 2002
I thought that it would be good if we could display a page without the header and footer, making it easier for people to print. Something like: http://grault.net/cgi-bin/grubstreet.pl?id=category_pubs&displaytype=print The Everything engine has something similar, and you do get quite a lot of extraneous links and forms, which are useful when browsing, but not wanted when you print. Is this desirable for Grubstreet too? I could look at doing a patch to usemod/wiki.pl or develop this as another separate standalone script like the search. Please let me have comments/feedback. Also, I have discovered a nifty HTML/CSS trick. It is possible to add page throws inside an HTML document, which do not do anything special on display apart from a line break, but do a page break when printing. This would be really handy for large Grubstreet pages. We could add something into the Wiki markup via a patch, but I don't think this is necessary, as we can just use the raw HTML, as in <br class=page>. Here is an example HTML page: <html> <head> <title>Print Style Test</title> <style type="text/css"> br.page {page-break-after: always;} </style> </head> <body> This should print on the first page <br> This should also print on the first page <br class=page> And this on a second page ! </body> </html> -- grubstreet mailing list http://london.openguides.org/old-list-archives/
-
[grubstreet] Formatting wiki pages for printing
Ivor Williams 10:11 on 22 Nov 2002
I thought that it would be good if we could display a page without the header-
Re: [grubstreet] Formatting wiki pages for printing
Earle Martin 23:29 on 24 Nov 2002
It would also be possible to do this entirely by CSS. See- too deep to show
-
Re: [grubstreet] Formatting wiki pages for printing
Earle Martin 23:29 on 24 Nov 2002