hi
enclosing patch and print-style sheet for better visual presentation of pritning of the web docs on perl.apache.org
these are only tested on "modern" browsers (including Lynx) on modern Windows platforms . please test patch if possible or have a preview at
http://www.bullitt.suite.dk/dst_html
basically the idea is that everything should look as always on the screen but the actual print should be trimmed for unnessary stuff (the menus for example)
Nice work, Allan.
Looks good here. May be post this link to the modperl list to see if anybody has a problem with your test site above?
the only comment regarding the patch is:
Index: tmpl/custom/html/headers
===================================================================
RCS file: /home/cvspublic/modperl-docs/tmpl/custom/html/headers,v
retrieving revision 1.7
diff -u -r1.7 headers
--- tmpl/custom/html/headers 12 Jul 2002 07:54:49 -0000 1.7
+++ tmpl/custom/html/headers 12 Aug 2004 19:11:08 -0000
@@ -11,6 +11,7 @@
},
},
link => "<link href=\"${doc.dir.abs_doc_root}/style.css\" rel=\"stylesheet\" type=\"text/css\" title=\"refstyle\">",
+ link2 => "<link href=\"${doc.dir.abs_doc_root}/print.css\" rel=\"stylesheet\" type=\"text/css\" title=\"refstyle\">",
};
@@ -22,7 +23,7 @@
<base href="[% doc.headers.base | uri | html %]">
[%- END -%]
-[%- " $l\n" FOREACH l = [ doc.headers.link, default_headers.link ] -%]
+[%- " $l\n" FOREACH l = [ doc.headers.link, default_headers.link, default_headers.link2 ] -%]
<meta name="description" content="mod_perl documentation: [% abstract | html %]">
Better rename s/link2/link_print/? here and there was at least one more occurence in the rest of the patch.
Thanks.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
