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

Notification

Icon
Error

7 Pages<12345>»
Options
Go to last post Go to first unread
Offline Davide Carpi  
#41 Posted : 16 April 2016 18:46:35(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: cyrusfox Go to Quoted Post
Davide, as always, your add-in is awesome and really an integral part of my use of smath studio. Thanks for creating it and the recent updates you have performed.

You're welcome Good

Originally Posted by: cyrusfox Go to Quoted Post
I had two ideas for features I would like to suggest you think about incorporating some day:
  • Rotated text(like rotating the whole writer region box, 90° intervals works for me)
  • Emojis!!! Biggrin basic static ones would be great!

Thanks for the suggestions, I'll see what I can do (the first would be easier than the second, because something was already done in the code).


P.S. Anyone who is testing the latest Nightly Build may notice an exception while trying to run this plugin; Andrey is informed, I'll work to fix it. there's a Nightly build update

Edited by user 17 April 2016 12:21:48(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline ElSid  
#42 Posted : 18 April 2016 17:52:08(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 317
Man
United States
Location: USA

Was thanked: 11 time(s) in 10 post(s)
Originally Posted by: ElSid Go to Quoted Post
Thanks for this plugin.
Questions:
  1. Is there a way to have the "toolbar" pop-up automatically? maybe override the standard smath tools?
  2. In order to open, I need to type CTRL+SHFT+W; however, for the toolbar to open, I need to press CTRL+SHIFT+S {or right click settings} for the tool bar to pop-up. Is this normal?
  3. With the included formatting, would a bullet point or list object be something that can be implemented?
No longer 3 clicks, so I think the recompile helped Good

Can you allow for a "minimize" of the toolbar window? Maybe interlocked with the SMath main window?

On my laptop, no other screen, the toolbar remains open and there is no way to minimize it out of the way. Many times, I am reading or looking at a PDF or other document and the toolbar stays on top. Maybe there is a switch to remain on top that can be turned off if SMath is not the focal window?

Offline Davide Carpi  
#43 Posted : 18 April 2016 19:24:50(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: ElSid Go to Quoted Post
No longer 3 clicks, so I think the recompile helped Good

I've made some changes in that function, there's still a minor issue but nothing serious Good

Originally Posted by: ElSid Go to Quoted Post
Can you allow for a "minimize" of the toolbar window?

It is possible. Via context menu only or also with a button (in this case the toolbar may result slighty bigger);

Originally Posted by: ElSid Go to Quoted Post
Maybe interlocked with the SMath main window?

Not sure, I'll try to implement something...
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Davide Carpi  
#44 Posted : 19 April 2016 19:07:00(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: ElSid Go to Quoted Post
Can you allow for a "minimize" of the toolbar window? Maybe interlocked with the SMath main window?


Please check the new beta update using the latest Nightly Build (5953).
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 19/04/2016(UTC)
Offline Ernesto  
#45 Posted : 19 April 2016 21:50:58(UTC)
Ernesto


Rank: Advanced Member

Groups: Registered
Joined: 03/02/2014(UTC)
Posts: 67
Nicaragua

Was thanked: 13 time(s) in 11 post(s)
Great plugin! Makes my sheets look much sleeker.

Is there any way to make the writer region line up horizontally with a math region? I can only get it slightly higher or slightly lower, I can't get them to match.
Offline Davide Carpi  
#46 Posted : 20 April 2016 01:44:19(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: Ernesto Go to Quoted Post
Is there any way to make the writer region line up horizontally with a math region? I can only get it slightly higher or slightly lower, I can't get them to match.

I'm a little bit confused here (horizontally vs higher/lower)... You mean vertically?

The problem is... align to what? Just about math regions, different regions with the same vertical positions may have different baseline just changing the content or the font-size.

2016-04-20 00_45_47-SMath Studio Desktop - [Page1_].png

A very dirty solution is to place the WriterRegion with the top margin above the one of the MathRegion you want to align and add a first empty line with the height that better fit your needs (not the best approach).

I've planned to customize paragraphs to let the user choose line-height/top margin/bottom-margin of each one, but this feature involves several things, must be planned and deployed carefully.

Edited by user 20 April 2016 01:56:51(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Mark R  
#47 Posted : 22 April 2016 22:25:28(UTC)
Mark R

Rank: Newbie

Groups: Registered
Joined: 22/04/2016(UTC)
Posts: 2
United Kingdom

Hi Davide

Since the demise of Comppad within LibreOffice I’ve re-discovered SMath Studio.
Thanks to your work the simplistic text region can be substituted by Writer, resulting in a very readable and informative document.

However, when trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.

I’m probably missing something and would appreciate your advice

In anticipation many thanks

Mark
Offline Davide Carpi  
#48 Posted : 23 April 2016 01:28:13(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: Mark R Go to Quoted Post
Hi Davide

Since the demise of Comppad within LibreOffice I’ve re-discovered SMath Studio.
Thanks to your work the simplistic text region can be substituted by Writer, resulting in a very readable and informative document.

However, when trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.

I’m probably missing something and would appreciate your advice

In anticipation many thanks

Mark

Thank you for reporting this issue Mark.
I have to check if the problem may be solved just by working from WriterRegion side or if there are things to do also in the XMCD plugin.

Edited by user 23 April 2016 01:39:46(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Davide Carpi  
#49 Posted : 23 April 2016 20:02:47(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: Ernesto Go to Quoted Post
Is there any way to make the writer region line up horizontally with a math region? I can only get it slightly higher or slightly lower, I can't get them to match.


Please try the new beta update; if you select a single math region and at least one WriterRegion the context menu will show you a "Vertical alignment" item and you can move the WriterRegion(s); if a single WriterRegion is selected and one or more MathRegions are selected, you can move the MathRegion(s). It's a little bit dirty solution but should works.

Edited by user 24 April 2016 03:21:59(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Davide Carpi  
#50 Posted : 02 May 2016 20:09:41(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: Mark R Go to Quoted Post
when trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.

I’m probably missing something and would appreciate your advice


I've uploaded a 0.7 beta version in the Extensions Manager that supports the export to XMCD files. To test it you have to compile a modified XMCDFileType.dll (code available in SVN revision 1941; before replacing, backup the original library for an easy rollback). This works using SMath Studio >= 0.98.5973.

Edited by user 19 May 2016 00:54:12(UTC)  | Reason: updated XmcdFileType plugin available in the latest NB

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 18/05/2016(UTC)
Online Jean Giraud  
#51 Posted : 03 May 2016 00:34:19(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,852
Canada

Was thanked: 801 time(s) in 635 post(s)
Originally Posted by: Ernesto Go to Quoted Post
Is there any way to make the writer region line up horizontally with a math region?


What is a "writer region" ???

Forum Align Horizontally.gif

Online Jean Giraud  
#52 Posted : 03 May 2016 00:47:08(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,852
Canada

Was thanked: 801 time(s) in 635 post(s)
... you may have noticed in "Courrier" [Smath default font]
capitals have same height than numbers, thus text align horizontally.
Offline Davide Carpi  
#53 Posted : 03 May 2016 02:32:34(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
What is a "writer region" ???

A region to have rich text in the worksheet Good



Originally Posted by: Jean Giraud Go to Quoted Post
... you may have noticed in "Courrier" [Smath default font]
capitals have same height than numbers, thus text align horizontally.

Yes I know. Unfortunately .NET doesn't help at all in precise text measuring, and math regions are based on the parameter "middle line" (that is wonderful in math regions, close to magic, but doesn't helps here). As for now, I've solved with the dumb way... I've measured the distances with Paint.NET, tabulated the results, provided the scaling for different DPI settings (this affects only the mutual vertical alignment between the two regions, if requested from the user, or the math alignment inside the region itself, if math regions are used inside the writer region).

Edited by user 03 May 2016 02:45:24(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Online Jean Giraud  
#54 Posted : 03 May 2016 04:54:01(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,852
Canada

Was thanked: 801 time(s) in 635 post(s)
Thanks Davide for the "Region writer spoiler". About like Mathcad, about same as OriginLab [Hypertext].
I wish one day the default Greek will be "Times New Roman 10", the most comfortable characters.

Jean
thanks 1 user thanked Jean Giraud for this useful post.
on 03/05/2016(UTC)
Offline Mark R  
#55 Posted : 18 May 2016 21:20:05(UTC)
Mark R

Rank: Newbie

Groups: Registered
Joined: 22/04/2016(UTC)
Posts: 2
United Kingdom

Originally Posted by: Davide Carpi Go to Quoted Post
Originally Posted by: Mark R Go to Quoted Post
when trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.

I’m probably missing something and would appreciate your advice


I've uploaded a 0.7 beta version in the Extensions Manager that supports the export to XMCD files. To test it you have to compile a modified XMCDFileType.dll (code available in SVN revision 1941; before replacing, backup the original library for an easy rollback).



Davide,

Apologies for delayed response. Many thanks for the fix.

Mark
Offline Davide Carpi  
#56 Posted : 19 May 2016 01:10:04(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
PLUGIN UPDATED SMath Studio 0.98.5935 and latest Nightly Build

  • [LINUX] horizontal arrangement of characters improved;
  • [LINUX] disabled SpellCheck on non-Windows environments to avoid exceptions from NHunspell/Hunspell libraries;
  • [LINUX] patched symbols & colors dropdown menus (buttons with predefined options are not available, however now it is possible to access the dialogs for the generic options);
  • [LINUX] some forms were displayed incorrectly;


tested in previous beta relases:

  • added option to popup toolbar on creation, on focus or just on request;
  • toolbar minimize;
  • Vertical alignment relatively to canvas' math regions;
  • XMCD export (requires latest nightly build);

Edited by user 19 May 2016 01:48:09(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 19/05/2016(UTC),  on 19/05/2016(UTC)
Offline Davide Carpi  
#57 Posted : 19 August 2016 17:54:57(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
PLUGIN UPDATED SMath Studio 0.98.6073 and later

  • Added option to choose when to delete empty regions (always or only when you leave the region) (Hamburger icon > Options... > Environment)

Edited by user 19 August 2016 18:08:08(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 19/08/2016(UTC),  on 21/08/2016(UTC)
Offline Davide Carpi  
#58 Posted : 07 September 2016 18:24:10(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
PLUGIN UPDATES cumulative changelog - RC2: SMath Studio 0.98.6089

  • [SS-2391] was impossible to use Writer Regions in Viewer without crashes on executable opening;
  • [SS-2380] File selection button in hyperlink dialog was permanently disabled;
  • Fixed wrong referencing of relative links while opening different worksheets in the same SS instance;
  • Fixed behavior of empty regions when working with multiple languages and "delete on leave" option is enabled;
  • Highlight color was applied to font color while removing hyperlink target via dialog;

Edited by user 07 September 2016 18:26:17(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 07/09/2016(UTC)
Offline Davide Carpi  
#59 Posted : 28 September 2016 11:13:58(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
PLUGIN UPDATED RC4: SMath Studio 0.98.6103 and later Beta

  • added converters to/from decimal/hexadecimal character's codes (CTRL+ALT+D, CTRL+ALT+X);
    charcode.gif
  • fixed refresh logic vs caret size when no selection is possible;
  • fixed Fields selection's background vs italic style;
  • SpellCheck waves no more deleted by Clean Format;
  • SpellCheck waves no more propagated by Copy Format;
  • refactoring;
  • documentation updated;

Edited by user 28 September 2016 13:13:48(UTC)  | Reason: Not specified

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 4 users thanked Davide Carpi for this useful post.
on 28/09/2016(UTC),  on 28/09/2016(UTC),  on 28/09/2016(UTC),  on 28/09/2016(UTC)
Offline Davide Carpi  
#60 Posted : 13 October 2016 19:49:21(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1166 time(s) in 767 post(s)
PLUGIN UPDATED SMath Studio 0.98.6128

  • fixed exceptions when closing Fields' dialog in certain cases;
  • print: underline/strikeout dashed lines issues fixed;
  • anti-aliasing enabled for font-sizes > 20pt;
  • minor fixes;
  • refactoring;

Edited by user 02 November 2016 20:56:48(UTC)  | Reason: accidental edit

If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Users browsing this topic
7 Pages<12345>»
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.