Everybody thanks for the advice. I've got it working. I did have to use the vertical line syntax, which I believe was implemented for inline data because of CR/LF problems sometime in the past. In the process, I've also managed to store the state data in a hidden <div> rather than a variable, which is important for me as, I believe, I can easily have that archived by a SAGEmath notebook server so that the page will open in the user adjusted state later.
Thanks again, Jonathan On Dec 19, 2009, at 7:57 AM, [email protected] wrote: > Date: Fri, 18 Dec 2009 13:25:10 -0600 > From: Robert Hanson <[email protected]> > Subject: Re: [Jmol-users] Jmol-users Digest, Vol 43, Issue 29 > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > There's just something simple you are missing. Could be a Mac issue > with > line endings. You might try to replace all \r characters with \n > characters. > > > All my tests with similar state scripts work just fine. > > On Fri, Dec 18, 2009 at 12:50 PM, Jonathan Gutow <[email protected]> > wrote: > >> Sorry I mistyped that the actual text from the returned state is >> >> data "model inline" >> 10 >> empty >> Xx -6.0 -7.0 -3.0 >> Xx 0.0 -7.0 -3.0 >> Xx 6.0 -7.0 -3.0 >> Xx 7.0 -6.0 -3.0 >> Xx 7.0 0.0 -3.0 >> Xx 7.0 6.0 -3.0 >> Xx -7.0 -6.0 -3.0 >> Xx -7.0 -6.0 0.0 >> Xx -7.0 -6.0 3.0 >> Xx 5.5 5.5 5.5 >> end "model inline";; >> >> Which looks right to me, but doesn't work when passed. I'm going to >> try parsing it to convert to the vertical line syntax for inline >> data. >> >> Jonathan Dr. Jonathan H. Gutow Chemistry Department [email protected] UW-Oshkosh Office:920-424-1326 800 Algoma Boulevard FAX:920-424-2042 Oshkosh, WI 54901 http://www.uwosh.edu/facstaff/gutow ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

