Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Sending again: Symbolizing subscripts

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62760] Sending again: Symbolizing subscripts
  • From: Andrew Moylan <andrew.moylan at anu.edu.au>
  • Date: Mon, 5 Dec 2005 03:37:00 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Sorry if I am sending this twice, but the first one doesn't seem to have 
worked:


It looks like there aren't any ideas for solving my original problem 
(included below), so I'll widen my search a bit.

I want any expression of the form Subscript[a, b] to be interpreted as a 
symbol. I can achieve this easily using the Notation package, by the 
following:
Utilities`Notation`Symbolize[NotationBoxTag[SubscriptBox["_", "_"]]]

I also want to run my code in batch mode (without a front end). However, 
[it appears that] the Notation package cannot be used in batch mode. 
Given that I can't easily make the Notation package work in batch mode, 
I now ask: does anyone know another way (not using the Notation package) 
to make all subscripts behave as symbols?

Thanks again for any ideas.
     -Andrew

Andrew Moylan wrote:
 > I have some code that includes (and relies upon) a call to
 > Utilities`Notation`Symbolize[...]. I would like to run the code in batch
 > mode (without a front end), but the Notation package generates many error
 > messages when being loaded without a front end, and subsequent calls to
 > Symbolize[...] result in the Mathematica kernel hanging.
 >
 > Does anyone know of any way to use the notation package in batch mode, or
 > does anyone have any ideas for other ways to run my code automatically from
 > the (linux) shell?
 >
 > Thanks for any help.
 >     -Andrew
 >
 >
 >
 >


  • Prev by Date: Re: How prove an inequality?
  • Next by Date: Re: How would you evaluate this limit in Mathmatica
  • Previous by thread: Re: Convert to hypergeometric function
  • Next by thread: Re: Sending again: Symbolizing subscripts