Hyperlink Region

Hyperlink Region - Add hyperlinks in SMath Studio worksheets/SMath Viewer - Messages

#1 Posted: 7/27/2013 7:08:26 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

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

HyperlinkRegion_docs.7z (45 KiB) downloaded 428 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
6 users liked this post
IVR 7/27/2013 9:28:00 AM, Вячеслав Мезенцев 8/1/2013 8:56:00 AM, Oscar Campo 7/29/2013 5:06:00 PM, Martin Kraska 7/27/2013 10:34:00 AM, Andrey Ivashov 7/31/2013 7:42:00 PM, ioan92 8/1/2013 2:48:00 AM
#2 Posted: 7/27/2013 10:38:45 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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?
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 7/27/2013 11:43:37 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hi Martin

Wrote

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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Posted: 7/31/2013 6:06:14 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

First Beta available through plugin's Gallery.

Documentation and translation sheet in the first post.


Best regards,

Davide
Extensions Manager.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
Martin Kraska 8/1/2013 6:19:00 AM, Andrey Ivashov 7/31/2013 7:42:00 PM
#5 Posted: 7/31/2013 7:41:32 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

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.
1 users liked this post
Davide Carpi 8/1/2013 6:20:00 AM
#6 Posted: 8/1/2013 6:20:12 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

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

Wrote

P.P.S.: If you found any limitations in SS interfaces, just let me know.


Don't worry, I'll do it :d
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 8/1/2013 7:52:20 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

SMath crashes if a hyperlink region is copied by Ctrl-drag.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Posted: 8/1/2013 9:33:13 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Fixed, test the update...


Best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 8/2/2013 1:25:00 AM
#9 Posted: 8/2/2013 1:24:24 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Fixed, test the update...



Works fine, thanks a lot.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#10 Posted: 8/2/2013 2:34:35 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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.
Hyperlink.sm (3 KiB) downloaded 160 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#11 Posted: 8/2/2013 7:05:07 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

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...

Wrote

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)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Posted: 8/2/2013 5:51:25 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

UPDATED

- Support for SMath Viewer


best regards,

Davide
SMath Viewer.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#13 Posted: 8/3/2013 5:34:13 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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.
Plugin index.sm (23 KiB) downloaded 127 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#14 Posted: 8/3/2013 6:00:43 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

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
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#15 Posted: 8/9/2013 6:35:53 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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.
link1.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#16 Posted: 8/9/2013 7:07:15 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

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


best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 8/9/2013 7:34:00 PM
#17 Posted: 8/9/2013 7:35:26 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

That was fast... Thanks a lot.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#18 Posted: 8/9/2013 8:02:03 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

That was fast... Thanks a lot.


You're welcome; I've already noticed the bug working to another plugin
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#19 Posted: 8/10/2013 5:56:30 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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 Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#20 Posted: 8/10/2013 6:11:22 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

It is a CustomRegion bug, I've reported this behavior to Andrey some day ago
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts