-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxm file format - no escaping of "*/" or "/*" #1907
Comments
…not be read. Is it a permission problem, or is the file format issue? Maybe we must introduce something like version 2 of WXM in the future (issue #1907)?
The same problem exists - of course - for the comment beginning sequence:
|
Gaah! The wxm format isn't meant to be extended... |
Well, but with the current data format one can not reliably save documents - see the example above, where one can "create" cells, with just a special formatted text/title cell.
What will be the value of x after Maxima imported that wxm-file? The easiest thing would be to just save " If one already uses comment signs in title/text/... cellls and uses the wxm format, he/she already has a problem... |
I know. But I am still unsure how to introduce escaping without stopping compatibility. Theoretically it should be possible: we can drop compatibility for all files that are broken due to the lacking escapes, anyway. And perhaps we can even recover them... |
Well, how about if all text cells have That won't fix any existing wxm files but I think that's not possible anyway. |
While writing documentation about the file format (commit 7e411a0) I saw, that WxMaxima does not escape the comment end sequence (
*/
) in wxm files.So while the following wxm file (I had to zip it for the Github upload) can be read in in wxMaxima, one can not read it with
load()
orbatch()
in Maxima (that should be possible since Maxima 5.38):a.zip
A title cell (most likely all cell types) with "
abc */
" is written as:One can also 'trick' wxMaxima to create additional cells by creating a title cell with the following input (all in one title cell):
The text was updated successfully, but these errors were encountered: