#9144: Make printing automatically load a print stylesheet
---------------------------+------------------------------------------------
Reporter: jason | Owner: jason, was
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.4.4
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Description changed by jason:
Old description:
> If we did this, then we could maybe just eliminate the "Print" button? I
> don't know; maybe.
>
> See http://groups.google.com/group/sage-
> devel/browse_frm/thread/98969b6b9035bf6d/3c5d4c2647e974b7 for a
> discussion of how to do this.
New description:
If we did this, then we could maybe just eliminate the "Print" button? I
don't know; maybe.
See the following excerpt from http://groups.google.com/group/sage-
devel/browse_frm/thread/98969b6b9035bf6d/3c5d4c2647e974b7 for a discussion
of how to do this:
It's pretty easy to specify a print css sheet using CSS "media"
constructs. The browser then automatically uses this CSS when printing,
but uses your normal CSS when displaying. A user shouldn't have to hit
a special Sage print button to print.
Yeah, I know, "Implement it and send a patch" :). Well, if someone gets
to it before me, here are a few references:
See http://www.yourhtmlsource.com/stylesheets/cssmediatypes.html or for
the spec, see http://www.w3.org/TR/CSS2/media.html. See also
http://www.javascriptkit.com/dhtmltutors/cssmedia.shtml or
http://webdesign.about.com/cs/css/a/aa042103a.htm for further
suggestions/tips.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9144#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.