MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

How Does ImportAutoReplacement Work?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43411] How Does ImportAutoReplacement Work?
  • From: "David Park" <djmp at earthlink.net>
  • Date: Fri, 29 Aug 2003 07:16:18 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear MathGroup,

If I use the Default notebook style and type:

a -> b

then the two character arrow is immediately changed to the single character
arrow. And there are other automatic replacements. I believe these
replacements are specified by the ImportAutoReplacements option in the
Option Inspector.

But when I make my own style sheet this feature is lost and no replacement
takes place.

I would like to restore the feature but don't know how to do it.

When I look up ImportAutoReplacements in Help it says that it is a notebook
option. But when I look at the Option Inspector, it is blanked out at the
notebook level, both in a notebook in Default style and in a notebook in one
of my own styles. And the regular replacements are there at the global
level. So why doesn't it work in a private notebook style?

The private style sheet has a Notebook Options Section. I opened the
prototype for Notebook and added

InputAutoReplacements->{
    "->"->"\[Rule]", ":>"->"\[RuleDelayed]", "<="->"\[LessEqual]",
      ">="->"\[GreaterEqual]", "!="->"\[NotEqual]",
      "=="->"\[Equal]"}

but that didn't correct the problem. When I checked the options for the
notebook with Option Inspector the replacement rules were there and active.
But they still didn't work in the notebook.

Is there a way to fix this?

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/


  • Prev by Date: RE: Pick up coordinates along different contours.
  • Next by Date: Re: Define a function and its derivatives
  • Previous by thread: matlab calling mathematica
  • Next by thread: Elliptic pDE with two closed boundaries