jerbertz

40 Reputation

4 Badges

13 years, 283 days

MaplePrimes Activity


These are replies submitted by jerbertz

The file may be irrecoverably corrupted. When I open it in my text editor it appears to consist entirely of "NULL" characters, as opposed to the XML code of an intact file.

@acer Wow that's great, thanks for taking the time to write a fix. I'm always astonished by the complexity under the hood that's hinted at by procedures like these. The behaviour and formatting is just like it used to be for practical purposes. The only shortcoming is that occasionally, copying and pasting an evaluated expression results in 1D text (for lack of a better decription) such as 5*Units:-Unit(kg) instead of 5 [kg], and I can't seem to figure out what triggers the switch (see attached unt_print2.mw ). But really, this gets 99 percent of the way there.

@Carl Love That's an interesting workaround; thanks for suggesting it.

However, when I try it, the result is that the entirety of evaluated expressions become enclosed in double brackets; number and letter, instead of just the symbol denoting the unit (for example, [[5 kg]] rather than 5 [[kg]].) The letter also becomes italicized, increasing the ambiguity, and the ability preserve the hidden underlying 1D expression "5*Units:-Unit(kg)" through a copy and paste operation appears to be impacted (though it does seem to exist in the original reformatted the output itself, which is interesting).

To be explicit, is anyone aware of a way to restore the full functionality of previous Maple releases, perhaps through the Typesetting Rule Assistant?

@Carl Love Thanks for taking a stab at this!

I am running Maple 16; however, please only modify the procedure if you feel compelled to do so. It's a bit over my head; the other methods are adequate for my application.

Thanks again!

@Carl Love Thanks for pointing that out! However even with the correction I still get the same behaviour, in Maple 16.

print_sequence_as_co.mw

Rlopez's solution seems to work differently than expected on my end -- I still get the final list (see attached).

PatrickT's solution is simple and good enough, and Kitonum's solution gets it spot on.

Thanks everybody!

print_sequence_as_co.mw

@Carl Love 

Thank you, that's exactly what I'm looking for. Naturally it's right there under "see also" in the help; don't know how I missed that the first time.

Thanks, that worked! What does :- do?

Thanks, that worked! What does :- do?

Page 1 of 1