MathGroup Archive 2011

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

Search the Archive

Re: ParsedBoxWrapper's in packages

  • To: mathgroup at
  • Subject: [mg115460] Re: ParsedBoxWrapper's in packages
  • From: Christopher Arthur <aarthur at>
  • Date: Tue, 11 Jan 2011 19:21:45 -0500 (EST)

As an intermediate, try using an initialization cell for the notations
in a notebook, instead of building a package.

Yaroslav Bulatov a =E9crit :
> I'm trying to turn my notebooks into stand-alone packages and I'm
> running into problems with Notation package. In particular, I'm using
> Notation package and InfixNotation, and when I save notebook as a
> package, I get "ParsedBoxWrapper"'s and definitions using infix
> notation fail to match, for example.
> InfixNotation[ParsedBoxWrapper["\[Element]"], MyElement]
> sum[a_ \[Element] list_, expr_] :== ...
> sum[a_\[Element] {1,2,3},a]
> This fails to match when in .m file, but works fine in .nb file. My
> question is -- how should I package "sum" so that it matches correctly
> both in packages and in notebooks?

  • Prev by Date: FindInstance for sum of primes
  • Next by Date: Re: Extracting graphics from notebook
  • Previous by thread: Re: ParsedBoxWrapper's in packages
  • Next by thread: Number of zeros finite or infinite?