RE: Re: Embedded Style Sheets
- To: mathgroup at smc.vnet.net
- Subject: [mg79218] RE: [mg79166] Re: Embedded Style Sheets
- From: "David Park" <djmpark at comcast.net>
- Date: Sat, 21 Jul 2007 04:28:49 -0400 (EDT)
- References: <f7n55c$2dr$1@smc.vnet.net> <200707200723.DAA23653@smc.vnet.net> <28955864.1184941674967.JavaMail.root@m41>
Thanks for that Selwyn. I did something like that before and for some reason I complicated it up and thought it was difficult. Now I realize that it is not difficult at all. When you use 'Edit Style Sheet' the notebook style sheet that appears will have a cell that refers to the private style sheet the notebook is based on. One can just click on the link in that cell to bring up the private style sheet. Then delete the cell. The styles in the notebook will now lose the private styling. But, if you have new cell types they will NOT lose those cell style names. Then it is easy to select all the cells in the private style sheet and paste them into the notebook style sheet. Everything is restored properly. Then just close both style sheets. One can test that the notebook has the styles simply by using 'Edit Style Sheet' again and all the embedded styles will appear. This assumes that the private style sheet is based on one of the standard distributed style sheets. This will almost always be the case. What happens if the private style sheet is based on another private style sheet? I don't think that is easily done. The moral is don't go wild with cascading style sheets. David Park djmpark at comcast.net http://home.comcast.net/~djmpark From: Selwyn Hollis [mailto:sh2.7183 at earthlink.net] I didn't reply to this before, because I thought it was rather obvious and not the kind of answer you were looking for, but just in case... Choose Edit StyleSheet... from the Format menu, delete the one cell that's there (or not), and then copy & paste the contents of your style sheet there. -- Selwyn On Jul 20, 2007, at 3:23 AM, David Park wrote: > I asked the same question several weeks ago and never received a > reply. > > This is certainly something that is important to know how to do. > > -- > David Park > djmpark at comcast.net > http://home.comcast.net/~djmpark/ > > > "John Browne" <john.browne at alum.unimelb.edu.au> wrote in message > news:f7n55c$2dr$1 at smc.vnet.net... >> I have followed the style sheet threads for 6 on the group, and >> appreciate David Park's and John Fultz's input. I have now created a >> (fairly complex) style sheet which does just what I want. >> >> My problem is: How do I embed this new style sheet in a notebook for >> other people's use? Using the Edit Stylesheet ... menu item doesn't >> seem to provide a way. >> >> I would like to be able to send someone a notebook, and have them be >> able to open it, and see it as I intended, without my having to send >> them a separate style sheet that they have to install. >> >> Can this be done? >> >> John >> > >
- References:
- Re: Embedded Style Sheets
- From: "David Park" <djmpark@comcast.net>
- Re: Embedded Style Sheets