Data Exchange plugin - share data between SMath Studio and CSV/ODF/ODS/ODT/XeLaTeX files - Сообщения
WroteI love SMath, I really do.
But nothing can beat LaTeX if it is the print quality.
Used MiKTeX, altered tex file a little bit and compiled with XeLaTeX.
Just for fun.
Regards
tex.zip (97 КиБ) скачан 69 раз(а).
This SMath/Latex conversion was mentioned long time ago - there is even Tex File Type plugin for SMath - see these posts.
Regards,
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
WroteThanks 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
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

Thank you Martin for reminding me.
Regards,
Radovan
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
Wrotea 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.
WroteOnline (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.
WroteDavide, I detected problems importing simple data files in CSV format (decimal separator "." Element Separator ",")
[albumimg]1588[/albumimg]
Doc1.sm (6 КиБ) скачан 47 раз(а).
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.
sergio
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:
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.
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

Wrote2. 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.
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.
WroteInvolving 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.
Wrote2. 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.
Wrote2. 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.
WroteWrote2. 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.
WroteWrote2. 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?
WroteIs the source code of that accessible for everyone?
yes. https://smath.info:8443/!/#public/view/head/plugins/DataExchange
WroteTBO 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.
-
Новые сообщения
-
Нет новых сообщений