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

Notification

Icon
Error

10 Pages«<78910>
Options
Go to last post Go to first unread
Offline omorr  
#161 Posted : 09 February 2018 14:22:39(UTC)
omorr


Rank: Administration

Groups: Registered, Administrators, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Originally Posted by: overlord Go to Quoted Post
Thanks Radovan,

I had to mention I did the conversion with SMath.
Equation conversion is very well actually.
The overall result is very good but the page layout was not as it is should be.
I did alteration only to page layout.

Regards

Sorry, I should have guesses you did it that way. Moreover, as Andrey made this plugin long time ago, I also think he did not have to much time to devote to it - this plugin have some basic functionality like the equation conversion. I think that quite a lot of time is needed to make this plugin converting a more complicated SMath page into a Latex one as much as possible.

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline mkraska  
#162 Posted : 09 February 2018 14:52:03(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 968 time(s) in 616 post(s)
The current XeLaTeX export feature is provided by the DataExchange plugin (written by Davide Carpi), which also offers export to ODF formats (open office).

This plugin actually can handle complex equations very well (even programs with line blocks), there have been quite some iterations, see the forum under extensions.
What you never will get in LateX is the freedom of region layout. If your SMath document has text, math and images/plots side by side then you get a bloody mess in LateX.

See the 2014 Handbuch version for an export example.

https://en.smath.info/view/handbuch/history
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://en.smath.info/wi...th%20with%20Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 09/02/2018(UTC)
Offline omorr  
#163 Posted : 09 February 2018 15:15:38(UTC)
omorr


Rank: Administration

Groups: Registered, Administrators, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
I forgot about that, sorry Confusion

Thank you Martin for reminding me.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline BertSL  
#164 Posted : 15 October 2018 15:00:54(UTC)
BertSL

Rank: Newbie

Groups: Registered
Joined: 15/10/2018(UTC)
Posts: 1

Hi all,

a few versions ago, the function "Export Data ODS(variable; spreadsheet; pad) worked great!

But now, this isn't working no more.

I've updated SMath to 0.99.6839, and added the Data Exchange plugin (tools, plugins, online storage, DataExchange, install). This is version 1.1.6824.33288.

Online (https://en.smath.info/view/DataExchange/summary) there's version 1.1.6858.3747 available. When i overwrite the .dll's i become more errors.

Anyone an idea how to fix this export to ods-functionality?

Thanx in advance,

Bert
Offline Davide Carpi  
#165 Posted : 15 October 2018 18:24:38(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1267 time(s) in 833 post(s)
Originally Posted by: BertSL Go to Quoted Post
a few versions ago, the function "Export Data ODS(variable; spreadsheet; pad) worked great!

But now, this isn't working no more.


Thank you, I'll check it ASAP.

Originally Posted by: BertSL Go to Quoted Post
Online (https://en.smath.info/view/DataExchange/summary) there's version 1.1.6858.3747 available. When i overwrite the .dll's i become more errors.

That plugin version is not designed for your SMath Studio version, it is built on the API of the more recent beta and therefore can't run on your program version. Please remove manually the extension folder and download again the one from the extension manager. I'll update the plugin with the fix as soon as it will be possible.
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline PompelmoTell  
#166 Posted : 08 February 2019 14:07:57(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 307
Man
Italy
Location: italy

Was thanked: 106 time(s) in 90 post(s)
Davide, I detected problems importing simple data files in CSV format (decimal separator "." Element Separator ","Wink

Doc1.sm (7kb) downloaded 31 time(s).

sergio
Offline Davide Carpi  
#167 Posted : 08 February 2019 21:35:42(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1267 time(s) in 833 post(s)
Originally Posted by: PompelmoTell Go to Quoted Post
Davide, I detected problems importing simple data files in CSV format (decimal separator "." Element Separator ","Wink

Doc1.sm (7kb) downloaded 31 time(s).

sergio


importData is built-in and can import both numeric and symbolic data; the single argument import works as expected only if the column separator is a whitespace or a tabulation, otherwise you have to use the 9-arguments version.

2019-02-08 19_33_18-Window.png
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline PompelmoTell  
#168 Posted : 08 February 2019 21:46:01(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 307
Man
Italy
Location: italy

Was thanked: 106 time(s) in 90 post(s)
However, ExportData. CSV saves the file in this format (as shown in the example attached above)
sergio
Offline Davide Carpi  
#169 Posted : 08 February 2019 23:02:28(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1267 time(s) in 833 post(s)
it seems to me that exportData.CSV does his job (it makes a data file composed by comma separated values, the default content of CSV files), isn't designed to be the inverse of importData(1)... what it might considered odd is how the numbers are converted by importData(1); maybe it might be improved, however even in excel if you don't set the right parameters you might experience wrong imported content (a common drawback of generic format readers).

Edited by user 08 February 2019 23:10:58(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 09/02/2019(UTC)
Offline Jogi  
#170 Posted : 24 March 2019 16:42:59(UTC)
Jogi

Rank: Newbie

Groups: Registered
Joined: 24/03/2019(UTC)
Posts: 3
Sweden
Location: Stockholm

Hi!

First of all I wanna say that I am really impressed about this software and the community. I just found out about SMath yesterday and really like the opportunity for extensions which seems to make it a lot better then the software I used previously, MathCad.

What I am looking for is a way to transform formulas and expressions from a pdf to an editable SMath sheet. This would allow to skip the very time consuming step of retyping the forumlas. Unfortunately I have only found posts that deal with the workflow in the other direction: exporting from SMath to pdf (e.g. created with Latex).

An example formula looks like this:

Example formula.png

The way I thought this could work is with the following workflow:

1. Converting a pdf screenshot of a forumla with an OCR software to a latex formula code. This step seems to work quite well with the Mathpix snipping tool. The mathpix snipping tool is able to convert to several latex formula formats.


Mathpix Conversion.PNG


2. Convert the latex formula code to Smath. This is the point where I am struggling. I thought about scripting a little tool in Python that could do the conversion. As I have only really basic programming skills I was wondering whether you have heard of any script that is already available? As the described data exchange plugin seems to be able to convert from Smath to latex, do you think there is also a way to convert in the other way?


Probably there is also a completely different and more effective way to do that. I am really excited about this and looking forward to your replies Good

Edited by user 24 March 2019 16:46:14(UTC)  | Reason: Pictures were not visible

Offline Jean Giraud  
#171 Posted : 24 March 2019 17:18:28(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,263
Canada

Was thanked: 915 time(s) in 743 post(s)
Originally Posted by: Jogi Go to Quoted Post
2. Convert the latex formula code to Smath. This is the point where I am struggling. I thought about scripting a little tool in Python that could do the conversion. As I have only really basic programming skills I was wondering whether you have heard of any script that is already available? As the described data exchange plugin seems to be able to convert from Smath to latex, do you think there is also a way to convert in the other way?

IMHO, all that is for the birds.
Latex is for papers, papers aren't for Engineering works.
Code your Mathcad in Smath ... they aren't 1/1 compatible.
As you are new, the best learning is visiting Samples
Latex papers writers, they just divert themselves.
In my career, I worked for some of world most important Engineering firm.
We had no Latex papers writers.
Have you ever seen job opportunities for Latex papers writers ?

Cheers, welcome to Smath Community.
Offline Jogi  
#172 Posted : 24 March 2019 21:36:33(UTC)
Jogi

Rank: Newbie

Groups: Registered
Joined: 24/03/2019(UTC)
Posts: 3
Sweden
Location: Stockholm

Thank you for the reply.

Involving latex in the workflow was only due to the reason that there is already OCR software available that can extract the information from a pdf.

I work as an structural engineer myself and code-checks (e.g. steel detailing acording to Eurocodes) often involve a lot of formulas that are time consuming to retype as SMath code. Therefore, I would find it really handy to be able to skip the retyping and exporting formulas from an eurocode pdf to Smath code.

Do you see any way how I could achieve that? Probably, if there is a way without involving a conversion to Latex code first, my post would be better suited for a different topic of the forum.
Offline Jean Giraud  
#173 Posted : 24 March 2019 23:24:39(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,263
Canada

Was thanked: 915 time(s) in 743 post(s)
Originally Posted by: Jogi Go to Quoted Post
Involving latex in the workflow was only due to the reason that there is already OCR software available that can extract the information from a pdf.


If the PDf is close to maths maybe.
How would OCR code Dirac ket & bra his original invention.
Better stick to software recognized by Euro-Code.
Offline Davide Carpi  
#174 Posted : 25 March 2019 14:35:30(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1267 time(s) in 833 post(s)
Originally Posted by: Jogi Go to Quoted Post
2. Convert the latex formula code to Smath. This is the point where I am struggling. I thought about scripting a little tool in Python that could do the conversion. As I have only really basic programming skills I was wondering whether you have heard of any script that is already available? As the described data exchange plugin seems to be able to convert from Smath to latex, do you think there is also a way to convert in the other way?


Hello,

You might start looking at how the conversion from another language to SMath is made in MapleTools and MaximaPlugin.
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Jean Giraud  
#175 Posted : 25 March 2019 16:44:10(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,263
Canada

Was thanked: 915 time(s) in 743 post(s)
Originally Posted by: Jogi Go to Quoted Post
2. Convert the latex formula code to Smath.

I will leave it there as I have no recollection having seen a single
piece of Latex in executable maths except trivial ln(x) ...
I read from a book extract that Maple works from pattern recognition
wrt to Laplace stuff from Bible books, mostly Angot before CAS.
At the time of Mathematica 4.0, by hovering over a formula in their
publication, you could copy the code and by re-coding you could
reproduce the working formula.
My point ends here: only executable maths [Latex, PDF] .
Besides Dirac ket & bra at the time he invented something about Fourier,
another one come to mind : Pseudo-Inverse-Matrix ... click/click Latex done.
A damned distance to produce ! On that, Risteky was very close in PDF.
Finally, Viktor help me Mathcad 11, working fine Smath.
The magic/mystic Latex Pseudo-Inverse ends in a program [Mathcad/Smath].

How do you work formulas from book ? Just thinking some BIPM hard print.
You mentioned Euro-Code: in Court, the only document is the hard print.
Same ISO-5167 [Orifice Plate], the hard print. Doing QA, I have rejected
calculations from an expensive software.
The actual 737 MX 8, where is the hard print of the coding ?
Monkey don't see, monkey don't do ... Court case lost ...
No short cut to maths, 1/1 tracable from source.


Offline Jogi  
#176 Posted : 25 March 2019 23:25:07(UTC)
Jogi

Rank: Newbie

Groups: Registered
Joined: 24/03/2019(UTC)
Posts: 3
Sweden
Location: Stockholm

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Jogi Go to Quoted Post
2. Convert the latex formula code to Smath.

I will leave it there as I have no recollection having seen a single
piece of Latex in executable maths except trivial ln(x) ...
I read from a book extract that Maple works from pattern recognition
wrt to Laplace stuff from Bible books, mostly Angot before CAS.
At the time of Mathematica 4.0, by hovering over a formula in their
publication, you could copy the code and by re-coding you could
reproduce the working formula.
My point ends here: only executable maths [Latex, PDF] .
Besides Dirac ket & bra at the time he invented something about Fourier,
another one come to mind : Pseudo-Inverse-Matrix ... click/click Latex done.
A damned distance to produce ! On that, Risteky was very close in PDF.
Finally, Viktor help me Mathcad 11, working fine Smath.
The magic/mystic Latex Pseudo-Inverse ends in a program [Mathcad/Smath].

How do you work formulas from book ? Just thinking some BIPM hard print.
You mentioned Euro-Code: in Court, the only document is the hard print.
Same ISO-5167 [Orifice Plate], the hard print. Doing QA, I have rejected
calculations from an expensive software.
The actual 737 MX 8, where is the hard print of the coding ?
Monkey don't see, monkey don't do ... Court case lost ...
No short cut to maths, 1/1 tracable from source.




Thank you for your effort! TBO it's hard for me to follow your argumentation. As I said the conversion to matlab formula code is not the main goal that I want to achieve. Want I want to do is to skip rewriting formulas (not any complex ones) that are sometimes quite long and include a lot of indices. Eurocodes are available in pdf and therefore it seems possible to convert the pdf text to a SMath (or MathCad) style.

Originally Posted by: Davide Carpi Go to Quoted Post
Originally Posted by: Jogi Go to Quoted Post
2. Convert the latex formula code to Smath. This is the point where I am struggling. I thought about scripting a little tool in Python that could do the conversion. As I have only really basic programming skills I was wondering whether you have heard of any script that is already available? As the described data exchange plugin seems to be able to convert from Smath to latex, do you think there is also a way to convert in the other way?


Hello,

You might start looking at how the conversion from another language to SMath is made in MapleTools and MaximaPlugin.


Thanks a lot. That seems like a good start. As I have understood the Data exchange plugin is able to convert from smath style to latex style, is that correct? Is the source code of that accessible for everyone?
Offline alyles  
#177 Posted : 25 March 2019 23:57:40(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 248
United States

Was thanked: 82 time(s) in 52 post(s)
Originally Posted by: Jogi Go to Quoted Post
Is the source code of that accessible for everyone?


yes. https://smath.info:8443/!/#public/view/head/plugins/DataExchange
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline Jean Giraud  
#178 Posted : 26 March 2019 01:16:31(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,263
Canada

Was thanked: 915 time(s) in 743 post(s)
Originally Posted by: Jogi Go to Quoted Post
TBO it's hard for me to follow your argumentation

There is no argumentation: only hard print source pass QA [Quality Assurance]
No matter the magic bricks in the wall, even Mathcad 11 was argued about
intermediate results to pass QA. Lot of Standards were written much before
Latex and CAS.

Offline Davide Carpi  
#179 Posted : 23 May 2021 13:44:04(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1267 time(s) in 833 post(s)
PLUGIN UPDATED SMath Studio 0.99.7808 and later

  • fixed encoding/decoding issues;
  • refactoring;
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline kompre  
#180 Posted : 05 August 2021 16:04:01(UTC)
kompre


Rank: Member

Groups: Registered
Joined: 05/08/2021(UTC)
Posts: 22
Italy

Hi,

when saving as odt with the option to convert to libreoffice math object, negative quantities loose the minus sign only if the haven't any other element in front of them. For example:

Quote:
a:=4-9=-5
it get converted to
Quote:
a:=4-9=5


For context, I just discovered this app so it could be that I am simply ignoring something obvious.

2021-08-05 15_02_45-SMath Studio - [Calcolo reazione pali.sm].png->2021-08-05 15_02_20-Calcolo reazione pali.odt - LibreOffice Writer.png

Users browsing this topic
Similar Topics
[Data Exchange Plugin] Export data (more than 4 columns) (Questions)
by chandragon 29/03/2017 12:08:24(UTC)
10 Pages«<78910>
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.