patchGNU TeXmacs - Patches: patch #7880, improved texmacs-inkscape...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7880: improved texmacs-inkscape cooperation

Submitter:  Philippe Joyez <pjoyez>
Submitted:  Sun 28 Oct 2012 10:20:22 PM UTC
   
 
Category:  None Action:  Done
Privacy:  Public Assigned to:  vdhoeven
Open/Closed:  Closed Release: 
Fixed Release:  Stable: 

Sun 02 Mar 2014 08:54:22 PM UTC, comment #3: 

I imagine that this patch has been applied now that Philippe has SVN access.  So I close this patch.  --Joris

Joris van der Hoeven <vdhoeven>
Group administrator
Sun 28 Oct 2012 10:32:07 PM UTC, comment #2: 

sorry savannah doesn't seem to accept zip files. Trying to fool it with a .txt extension...

Philippe Joyez <pjoyez>
Group Member
Sun 28 Oct 2012 10:29:24 PM UTC, comment #1: 


Philippe Joyez <pjoyez>
Group Member
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.

Philippe Joyez <pjoyez>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #26847:  cpp_patch2 added by pjoyez (6KiB - application/octet-stream)
file #26843:  scm_patch added by pjoyez (11KiB - application/octet-stream - remaining files in next post)
file #26844:  documentation_patch added by pjoyez (11KiB - application/octet-stream - remaining files in next post)
file #26845:  inkscape_extension_patch added by pjoyez (31KiB - application/octet-stream - remaining files in next post)
file #26846:  cpp_patch1 added by pjoyez (4KiB - application/octet-stream - remaining files in next post)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by pjoyez (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-02 vdhoeven ActionApply Done
        Open/ClosedOpen Closed
    2012-10-28 pjoyez Attached File- Added cpp_patch2, #26847
    2012-10-28 pjoyez Attached File- Added scm_patch, #26843
        Attached File- Added documentation_patch, #26844
        Attached File- Added inkscape_extension_patch, #26845
        Attached File- Added cpp_patch1, #26846

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code