The bug is that I need to burn trees for small pieces of the docs and it is not possible with firefox to print the useful text with that left side menu stuff. Please put it on the right side and all will be well. Thank you. http://docs.python.org/library/xml.dom.minidom.html
This is usually resolved with alternative CSS stylesheet for printing [1] specified in html <head> section with: <link rel="stylesheet" type="text/css" media="screen" href="../_static/print.css" /> Currently d.p.o doesn't have any - http://docs.python.org/_static/ [1] http://www.w3.org/TR/CSS2/media.html -- anatoly t. On Thu, Jul 1, 2010 at 6:12 PM, Bruce Korb <bkorb@vmem.com> wrote:
The bug is that I need to burn trees for small pieces of the docs and it is not possible with firefox to print the useful text with that left side menu stuff. Please put it on the right side and all will be well. Thank you.
http://docs.python.org/library/xml.dom.minidom.html _______________________________________________ docs mailing list docs@python.org http://mail.python.org/mailman/listinfo/docs
On Thu, Jul 1, 2010 at 9:59 PM, Éric Araujo <merwok@netwok.org> wrote:
<link rel="stylesheet" type="text/css" media="screen" href="../_static/print.css" /> s/screen/print/
Exactly. <link rel="stylesheet" type="text/css" media="print" href="../_static/print.css" /> Thanks. -- anatoly t.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 01.07.2010 20:35, schrieb anatoly techtonik:
This is usually resolved with alternative CSS stylesheet for printing [1] specified in html <head> section with:
<link rel="stylesheet" type="text/css" media="screen" href="../_static/print.css" />
Currently d.p.o doesn't have any - http://docs.python.org/_static/
On the contrary, if you check basic.css, it does have a @media print section. Bruce, I don't know why your Firefox doesn't respect that style info, it works fine for me. regards, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkwwwo4ACgkQN9GcIYhpnLD52QCdFogPn9belpqWLwhAGmBdgQIV wNgAn01pviOLNiLhYgv9ObsG5cEljJw3 =AC2v -----END PGP SIGNATURE-----
Hi Georg, I suspect my firefox *would* respect that style info, were I to know how to specify that style info. I carefully read over the page and did not find any links to a printable version (alternate style sheet). It is possible that I may have missed it, but I did go back over it several times before writing. I still may have missed it. It is not an obvious "printer friendly" icon. On Sun, Jul 4, 2010 at 10:19 AM, Georg Brandl <georg@python.org> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 01.07.2010 20:35, schrieb anatoly techtonik:
This is usually resolved with alternative CSS stylesheet for printing [1] specified in html <head> section with:
<link rel="stylesheet" type="text/css" media="screen" href="../_static/print.css" />
Currently d.p.o doesn't have any - http://docs.python.org/_static/
On the contrary, if you check basic.css, it does have a @media print section.
The word, "basic" does not appear on the page. Not with my browser, anyway. It isn't in the html source, either.
Bruce, I don't know why your Firefox doesn't respect that style info, it works fine for me.
Where's the link? :) Thank you! Regards, Bruce
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Bruce, you shouldn't need to do anything special; there is no link to a separate printer-friendly version. The print-media styles are in http://docs.python.org/_static/basic.css, which is in turn included by http://docs.python.org/_static/default.css, and they should get used automatically whenever the browser determines it renders the page for printing, and not for the screen. For me, when I call up the print preview, I can see that the sidebar is not rendered. Georg Am 06.07.2010 16:56, schrieb Bruce Korb:
Hi Georg,
I suspect my firefox *would* respect that style info, were I to know how to specify that style info. I carefully read over the page and did not find any links to a printable version (alternate style sheet). It is possible that I may have missed it, but I did go back over it several times before writing. I still may have missed it. It is not an obvious "printer friendly" icon.
On Sun, Jul 4, 2010 at 10:19 AM, Georg Brandl <georg@python.org> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 01.07.2010 20:35, schrieb anatoly techtonik:
This is usually resolved with alternative CSS stylesheet for printing [1] specified in html <head> section with:
<link rel="stylesheet" type="text/css" media="screen" href="../_static/print.css" />
Currently d.p.o doesn't have any - http://docs.python.org/_static/
On the contrary, if you check basic.css, it does have a @media print section.
The word, "basic" does not appear on the page. Not with my browser, anyway. It isn't in the html source, either.
Bruce, I don't know why your Firefox doesn't respect that style info, it works fine for me.
Where's the link? :) Thank you! Regards, Bruce
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkwztTwACgkQN9GcIYhpnLDtwACdH4IruhNbpYPUJtpBRMKIeWQg ZlsAn2Fm0o4JaPbeINun7Oebfz/krGmg =xU+z -----END PGP SIGNATURE-----
participants (4)
-
anatoly techtonik -
Bruce Korb -
Georg Brandl -
Éric Araujo