Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, The very firs moment when the point was introduced as a literal index *using dot, point*, the same time it was clear that there would be situations like these. I had many times similar situations in Mathcad as well. You see the same thing but you will get the different result. The unvisible point might get some confusion. Now, the only way is to click into the region and pay attention to the editing lines, like you presented in the pictures (the last regions) or to see the green, blue background regions, they are different in size vertically As you could see, there is actually a point present - not visible though. A=700@'mm^2 A.=900@'mm^2 Actually, I do not have any idea what could be done about it. Regards, Radovan Edited by user 02 August 2013 14:31:59(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
1 user thanked omorr for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
Originally Posted by: omorr Actually, I do not have any idea what could be done about it I think that would be enough throwing an error if the variable name ends with the subscript character (in the end I can't imagine a real situation in which someone need a variable A.) Edited by user 02 August 2013 14:54:54(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
Originally Posted by: ioan92 The situation could be identifiable if a marker is introduced as that for matrix and vectors indexes (?) Maybe, but only if the user may easily distinguish between subscripts and indices (f.e. using italics for subscripts or using colors - and probably the placeholder too should be colored differently) Edited by user 02 August 2013 15:49:31(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
Originally Posted by: ioan92 ... or an empty circle, for instance. that's a good idea |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
This is a problem, until some of your suggestions can be implemented, I'd suggest not to use subscripts (A0 is fine to me in this case and doesn't lead to such error) or check the xml structure by means of your eyesight .sm is an xml file so one could parse it with some javascript or just try this by hand : - drag the sm and drop it onto Opera (this browser highlights any search term found on a page in yellow) - search the string <e type="operand"> - Take a peek in search of these bugged variables followed by a single dot. Edited by user 02 August 2013 16:14:36(UTC)
| Reason: Not specified
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
Yo may want to try this javascript, it is just an html renamed to hta, after pressing the button, search a dot with ctrl+f
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,990 Was thanked: 1128 time(s) in 724 post(s)
|
I think that a minimalistic yet unambiguous solution could be just to keep the dot (or comma, as it appears under certain regional settings) visible unless there is actual text in the subscript. The advantages would be: - the confusion by different names with same appearance is avoided - no additional markup or placeholder needs to be invented - no annoying error messages if you just delete the subscript in order to change it to something else. One could go as far as regarding the disappearance of a single dot without subsequent subscript text a GUI bug. I agree that text subscripts are an important asset of SMath, thus to discourage their use would be in line with discouraging symbolic evaluation (which we unfortunately have to). Edited by user 03 August 2013 11:58:43(UTC)
| Reason: Not specified |
|
2 users thanked mkraska for this useful post.
|
on 03/08/2013(UTC), on 03/08/2013(UTC)
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.