Sun 28 Oct 2012 10:20:22 PM UTC, original submission:
The patches submitted here improve the TeXmacs-Inkscape features. In particular they now work on all platforms.
The scm patch are general improvements (error detection, simplifications of preferences, support of windows) which all should be rather harmless.
The documentation patch is just that: adding documentation. Pretty harmless too. Is it OK where I insert it?
The inkscape_extension_patch :
-I've renamed the src/TeXmacs/misc/inkscape_plugin directory to src/TeXmacs/misc/inkscape_extension because that is what Inkscape guys call it, and it avoids confusion with genuine texmacs plugins (in the sense of the maxima plugin). So essentially files are deleted and recreated, but I guess the directory still has to be removed manually.
-Note that texmacs_reedit.py is not simply moved, it received some modifications.
-Don't apply this patch without applying the corresponding renaming in cpp_patch1.
The cpp patches have two purposes:
-cpp_patch1
fixes the installation of the inkscape extension on windows. It previously failed beacause of paths not being properly initialized on windows when calling "immediate_options" right at the start of the program. I delayed that call a bit.
Now the Inkscape extension is installed only if pdf2svg exists in the path, and otherwise a message is displayed
It also make things consistent with the rename 'plugin' -> 'extension' mentionned above.
-cpp_patch2 is to implement a request by Joris to have a gui-agnostic put-image-on-clipboard, which is then implemented (or not) in the various gui plugins.
-The zip file brings required support tools for the windows version. It contains the pdf2svg.exe, source code and GPL licence, a bunch of accompanying dlls and a few custom .bat files for use with gs. Unziped the content (a total of ~ 10Mb) in TeXmacs\bin.
Note that the implementation for windows assumes that the content of the zip file is present in TeXmacs\bin as described above. The simplest way to achieve this would be that it is installed by the texmacs installer for windows, in the same way gs comes with texmacs. We could also have these available on the website and download them only upon request (but the whole installation of the inkscape extension should then probably be moved to scheme). The details of how this is arranged needs to be discussed.
Once all this is included in the TeXmacs release, we can advertise it to Inkscape users.
|