Originally Posted by: Alex.M Martin,
So far, so good - I actually managed to complete selection between .svg & .png in one evening
! Which means till midnight - its 11:37pm right now
. Maybe I am better at this than I though haha. Svg still does not scale if height/width is defined - need a workaround.
Alex,
great to see that you don't let you get pushed off track and seem to be robust against friendly fire ;-)
I need to re-activate my knowledge on how and where to manually install plugins.
Indeed, the plugin can only scale svgs if they don't contain size information. In gnuplot (which is used by the maxima plugin) we found settings to suppress the size information, such that Maxima svg plots can be resized.
It is also possible to manually edit the svg file and remove the size tags (don't remember which that were but remember that it was possible). If you anyways store the file in the smath document, then you might have the chance to clean up the file.
Don't know ora, thus I don't really miss it.
IPE can create pdf and has layers plus uses latex for embedded math stuff. Thus displaying pdf images might be an option. However, I don't know how many users would appreciate that. If I want to have a nice figure, I use IPE generated pdfs (currently just screenshots to transfer them to smath), quick and dirty images (free body diagrams and the like) are produced in png via image region. Annotations are made by overlaid math regions, this gives a nice consistant look and feel.
Something that was always annoying with the image region was the choice of image size. I did't find a way to tell paint in what size to create the image. It would, of course, be convenient to use the actual image region size. This would be a real leap forward in the image region usability. Currently, what I do is:
- open paint from image region
- do the drawing, rezize the canvas in paint, save the file
- context menu: set to original size
- context menu: border off
- context menu: input placeholder off
Perhaps, it is possible to initialize the region with a white image of region-controlled size and give that to paint for further editing. I understand, however, that your priority is svg support.
Another thought on choosing external applications: How about using a shell script (batch file) to do the appropriate call? You would just use the .bat file with an appropriate temporary file name and the script would then bifurcate to the appropriate program. Setting the preferences then just means changing the script. Perhaps this might reside in the plugin directory.
Martin