Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2962

Re: problems with strings mixed into notebook cells

From John Fultz <jfultz@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: problems with strings mixed into notebook cells
Date 2011-06-05 11:05 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <isfnu9$bvl$1@smc.vnet.net> (permalink)

Show all headers | View raw


Do you apply any styles to your inputs (colored text, bold, italics, etc.)?
There are some issues like what you describe that can happen when doing a lot of
editing with styled text.

You can easily clean out the styles in a cell by selecting its cell bracket and
using Format->Clear Formatting.

If you think this doesn't have anything to do with what you're seeing, then I
invite you to send a notebook with the non-functional input to tech support for
analysis.  That would be helpful to us in fixing it for future versions.

Incidentally, I'm quite certain that Print[] commands by themselves weren't
causing problems.  My guess, based upon the rest of your email, is that the
problem was caused by editing the strings you were probably putting inside of
the Print[] commands.  So, what you were seeing with the Print commands was
likely to be a variation of the string/comment issue which you later found.

Sincerely,

John Fultz
jfultz@wolfram.com
User Interface Group
Wolfram Research, Inc.

On Sat, 4 Jun 2011 06:20:25 -0400 (EDT), Alan wrote:
> Since I cannot find any other reports,
> and I cannot offer a simple replication,
> I anticipate widespread disbelief of the following claim.
> Oh well ....
>
> I have a notebook.
> Some cells contain a dozen expressions.
> I started inserting some Print commands to help me identify the output.
> Mathematica occasionally (but pretty often) would then tell me that
> I'm missing
> parenthesis in a subsequent expression.  (I think but am not certain
> that this
> usually happened with more than one Print command in a cell.)
> Removing the Print command (and its argument) removed the problem.
>
> So I stopped using such Print commands.
> But today I wanted some clues again, so I just inserted
> some strings (without Print commands).
> The same problem happened again: Mathematica stopped
> evaluating the subsequent statement, claiming it was missing
> a parenthesis.  I changed the string to a comment
> (making no other changes) and the problem went away.
>
> Has anyone else seen this?
>
> Alan
> (Using version 8 on 64 bit Vista. )

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: problems with strings mixed into notebook cells John Fultz <jfultz@wolfram.com> - 2011-06-05 11:05 +0000

csiph-web