Re: Re: Using a text editor like interface for Mathematica?
- To: mathgroup at smc.vnet.net
- Subject: [mg64514] Re: [mg64493] Re: Using a text editor like interface for Mathematica?
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Mon, 20 Feb 2006 06:29:52 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200602140631.BAA05275@smc.vnet.net> <email@example.com> <200602191036.FAA16675@smc.vnet.net>
- Reply-to: murray at math.umass.edu
- Sender: owner-wri-mathgroup at wolfram.com
I don't understand what the problems are here, really!
First, one should probably NOT be editing an .m package file, only the
source .nb notebook file from which the package should have been
created. With such a notebook you can keep together the documentation,
source code, test cases, etc.
Second, just marking some cells in a notebook as Initialization Cells
and then saving the notebook will cause Mathematica, by default, to ask
whether do do automatic creations/saves of a corresponding .m package
file. If you let it do so, then each time you edit and re-save the
notebook, that package will automatically get re-saved with the
correspondingly changed initialization cells.
> Yasvir A. Tesiram ha scritto:
>> I have never used the notebook interface for writing packages,
>> because such things as escape characters, "->" etc get automagically
>> translated and it makes editing the package file a chore.
> I don't understand why Mathematica doesn't offer the possibility to
> export a notebook code into a standard .m file (it should be quite
> simple, since it should be enought to substitute the right expressions
> to the patterns \[expr], and change the tabbing \[IndentingNewLine], \(
> , \! into a "stadard" indentation )
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
Prev by Date:
Re: text bounding box size
Next by Date:
Re: SetOptions with Column
Previous by thread:
Re: Using a text editor like interface for Mathematica?
Next by thread:
Re: Re: Re: Using a text editor like interface for Mathematica?