Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

3 Pages123>
Options
Go to last post Go to first unread
Offline Davide Carpi  
#1 Posted : 27 July 2013 14:08:26(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Hi all,

Here there is a plugin to add hyperlinks in SMath Studio worksheets and SMath Viewer applications.

Plugin UI languages: English Deutsch Italiano Русский Español

PLEASE REPORT IN THIS TOPIC ANY ISSUE.


  • requirements: SMath Studio 0.96.5146 Nigthly build or later, .Net Framework 2.0;
  • installation: download the plugin from the gallery;
  • documentation: download and unzip the attached archive;
  • sources: if you want to see the plugin sources look in the SVN repository;
  • languages: if you want to have a new UI language look into the documentation's Language folder

Edited by user 14 April 2016 12:59:07(UTC)  | Reason: flags' links

File Attachment(s):
HyperlinkRegion_docs.7z (46kb) downloaded 93 time(s).
Davide Carpi attached the following image(s):
2013-08-24 03_16_52-SMath Studio Desktop - [HyperlinkRegion.sm].png
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
thanks 6 users thanked Davide Carpi for this useful post.
on 27/07/2013(UTC),  on 27/07/2013(UTC),  on 30/07/2013(UTC),  on 01/08/2013(UTC),  on 01/08/2013(UTC),  on 01/08/2013(UTC)
Offline mkraska  
#2 Posted : 27 July 2013 17:38:45(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
That would be highly welcome. In the help system, there is a lot of links which now need to be copied to the adress line in the browser.
Are the links to sm-files supposed to open like the current text regions with href attributes (internal links) or are you going to launch new instances of SMath each time such an internal link is clicked?

Edited by user 27 July 2013 17:41:30(UTC)  | Reason: Not specified

Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline Davide Carpi  
#3 Posted : 27 July 2013 18:43:37(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Hi Martin Good

Originally Posted by: mkraska Go to Quoted Post
That would be highly welcome. In the help system, there is a lot of links which now need to be copied to the adress line in the browser.
Are the links to sm-files supposed to open like the current text regions with href attributes (internal links) or are you going to launch new instances of SMath each time such an internal link is clicked?

Each click open a new istance of the required program.
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline Davide Carpi  
#4 Posted : 01 August 2013 01:06:14(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
First Beta available through plugin's Gallery.

Documentation and translation sheet in the first post.


Best regards,

Davide
Davide Carpi attached the following image(s):
Extensions Manager.png
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
thanks 2 users thanked Davide Carpi for this useful post.
on 01/08/2013(UTC),  on 01/08/2013(UTC)
Offline Andrey Ivashov  
#5 Posted : 01 August 2013 02:41:32(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,107
Man
Russian Federation

Was thanked: 1000 time(s) in 383 post(s)
Absolutely great! Thank you for such a wonderful plug-in!

P.S.: I love these icons and common approach you use.
P.P.S.: If you found any limitations in SS interfaces, just let me know.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 01/08/2013(UTC)
Offline Davide Carpi  
#6 Posted : 01 August 2013 13:20:12(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Originally Posted by: smath Go to Quoted Post
Absolutely great! Thank you for such a wonderful plug-in!
P.S.: I love these icons and common approach you use.

Thank you for your program Andrey Good

Originally Posted by: smath Go to Quoted Post
P.P.S.: If you found any limitations in SS interfaces, just let me know.

Don't worry, I'll do it Biggrin
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline mkraska  
#7 Posted : 01 August 2013 14:52:20(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
SMath crashes if a hyperlink region is copied by Ctrl-drag.
Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline Davide Carpi  
#8 Posted : 01 August 2013 16:33:13(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Fixed, test the update...


Best regards,

Davide
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
thanks 1 user thanked Davide Carpi for this useful post.
on 02/08/2013(UTC)
Offline mkraska  
#9 Posted : 02 August 2013 08:24:24(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
Fixed, test the update...


Works fine, thanks a lot.

Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline mkraska  
#10 Posted : 02 August 2013 09:34:35(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
I am trying to build links to the plugin installation directories in the documentation.

Under windows, the %APPDATA% and the SettingsDirectory() approach work, but how is that under linux? Could the linuxers in the community please test the attached sheet? It contains links to the install directory of the 3D Plot plugin by uni.

@Andrey: The nice feature of being able to paste target strings to the hyperlink placeholder prevents me from pasting the target expression involving SettingsDirectory() directly to the placeholder in the link region. This rises the question, why there is special treatment for string constants in math expressions at all.
File Attachment(s):
Hyperlink.sm (4kb) downloaded 29 time(s).
Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline Davide Carpi  
#11 Posted : 02 August 2013 14:05:07(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Originally Posted by: mkraska Go to Quoted Post
Under windows, the %APPDATA% and the SettingsDirectory() approach work, but how is that under linux?

I've not yet tested the plugin under linux, I don't know...

Originally Posted by: mkraska Go to Quoted Post
This rises the question, why there is special treatment for string constants in math expressions at all.

I suppose that's possible for texts that contains characters not available for the variable names (such spaces or slashes and backslashes), when you paste something in a placeholder; for the canvas someone may would paste text as text, so a "paste as" would be needed (or a "post-paste context menu item" like in MS word)

Edited by user 02 August 2013 14:10:28(UTC)  | Reason: Not specified

Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline Davide Carpi  
#12 Posted : 03 August 2013 00:51:25(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
UPDATED

- Support for SMath Viewer


best regards,

Davide
Davide Carpi attached the following image(s):
SMath Viewer.png
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline mkraska  
#13 Posted : 04 August 2013 00:34:13(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
The hyperlink region does not respond immediately to font size changes. You need to close and re-open the file in order to get the desired effect.

Normally, I try to avoid any font changes. In the given case, I tried to build a table containing links which were supposed to fit in a single grid spacing.
File Attachment(s):
Plugin index.sm (24kb) downloaded 20 time(s).
Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline Davide Carpi  
#14 Posted : 04 August 2013 01:00:43(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Originally Posted by: mkraska Go to Quoted Post
The hyperlink region does not respond immediately to font size changes. You need to close and re-open the file in order to get the desired effect.

I know, is an issue of CustomRegions (2D plot, XY Region, etc...)

I've not opened a specific topic, but is already mentioned here (1st image, "original" -> appearance font-size different from real font-size)


best regards,

Davide

Edited by user 04 August 2013 01:03:07(UTC)  | Reason: Not specified

Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline mkraska  
#15 Posted : 10 August 2013 01:35:53(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
SMath crashes when I try to edit the input expression of a hyperlink.

I write concat with three arguments, fill in the first and the last. As soon as I want to type to the second placeholder, the crash occures.
mkraska attached the following image(s):
link1.PNG
Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline Davide Carpi  
#16 Posted : 10 August 2013 02:07:15(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Originally Posted by: mkraska Go to Quoted Post
SMath crashes when I try to edit the input expression of a hyperlink.

I write concat with three arguments, fill in the first and the last. As soon as I want to type to the second placeholder, the crash occures.


Fixed, please test the update Good


best regards,

Davide
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
thanks 1 user thanked Davide Carpi for this useful post.
on 10/08/2013(UTC)
Offline mkraska  
#17 Posted : 10 August 2013 02:35:26(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
That was fast... Thanks a lot.
Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline Davide Carpi  
#18 Posted : 10 August 2013 03:02:03(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
Originally Posted by: mkraska Go to Quoted Post
That was fast... Thanks a lot.

You're welcome; I've already noticed the bug working to another plugin Wink
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline mkraska  
#19 Posted : 10 August 2013 12:56:30(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,156
Germany

Was thanked: 580 time(s) in 391 post(s)
When multiple hyperlinks are selected, the custom context menu action "Show link target" is applied only to one region. The other (system) actions can be applied to all selected regions at once.
Martin Kraska

Portable SMath with plugins and interactive handbook: http://smath.info/wiki/SMath%20with%20Plugins.ashx
Offline Davide Carpi  
#20 Posted : 10 August 2013 13:11:22(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,616
Man
Italy
Location: Italy

Was thanked: 849 time(s) in 563 post(s)
It is a CustomRegion bug, I've reported this behavior to Andrey some day ago Wink

Edited by user 10 August 2013 13:13:03(UTC)  | Reason: Not specified

Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Users browsing this topic
3 Pages123>
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.