URL:
<http://savannah.gnu.org/patch/?7880>
Summary: improved texmacs-inkscape cooperation
Project: GNU TeXmacs
Submitted by: pjoyez
Submitted on: dim. 28 oct. 2012 23:20:22 CET
Category: None
Action: Apply
Privacy: Public
Assigned to: vdhoeven
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Fixed Release:
Stable:
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: dim. 28 oct. 2012 23:20:22 CET Name: scm_patch Size: 11 ko By:
pjoyez
remaining files in next post
<http://savannah.gnu.org/patch/download.php?file_id=26843>
-------------------------------------------------------
Date: dim. 28 oct. 2012 23:20:22 CET Name: documentation_patch Size: 11 ko
By: pjoyez
remaining files in next post
<http://savannah.gnu.org/patch/download.php?file_id=26844>
-------------------------------------------------------
Date: dim. 28 oct. 2012 23:20:22 CET Name: inkscape_extension_patch Size: 31
ko By: pjoyez
remaining files in next post
<http://savannah.gnu.org/patch/download.php?file_id=26845>
-------------------------------------------------------
Date: dim. 28 oct. 2012 23:20:22 CET Name: cpp_patch1 Size: 4 ko By:
pjoyez
remaining files in next post
<http://savannah.gnu.org/patch/download.php?file_id=26846>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?7880>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Texmacs-patch mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-patch