Bug 489804

Summary: Automatic export/save of backend script file
Product: [Applications] cantor Reporter: simon <simon>
Component: generalAssignee: Cantor Bugs <cantor-bugs>
Status: REPORTED ---    
Severity: wishlist CC: alexander.semke
Priority: NOR    
Version First Reported In: 24.02.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description simon@i2cchip.com 2024-07-05 22:50:04 UTC
SUMMARY
I use Cantor to make worksheets which are then included in Latex documents.
It would suit me well to have Cantor export/save the (octave) script every time that it saves the CWS file, so that I can run them directly from octave.
Comment 1 Alexander Semke 2024-07-07 18:06:06 UTC
(In reply to simon@i2cchip.com from comment #0)
> SUMMARY
> I use Cantor to make worksheets which are then included in Latex documents.
> It would suit me well to have Cantor export/save the (octave) script every
> time that it saves the CWS file, so that I can run them directly from octave.
Implicitly and always saving in another file is not something that most of the users will want to have. We have the option to save as Octave script. Is this not working for you?
Comment 2 simon@i2cchip.com 2024-07-07 20:49:56 UTC
Since my main objective is using them automatically, https://bugs.kde.org/show_bug.cgi?id=489805
My actual need would be met by a commandline commands to exportscript, runscript, exportpdf.

//------
I realise that Cantor can't import .m files, so what I had in mind probably isn't workable, as editing the external .m file would leave it orphaned.