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

Submitted by:  Philippe Joyez <pjoyez>
Submitted on:  Sun 28 Oct 2012 10:20:22 PM UTC  
Category: NoneAction: Done
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Open/Closed: ClosedRelease: 
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>
Project AdministratorIn charge of this item.
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>
Project Member
Sun 28 Oct 2012 10:29:24 PM UTC, comment #1:
Philippe Joyez <pjoyez>
Project 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 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:

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>
Project Member


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
  • -unavailable- added by vdhoeven (Posted a comment)
  • -unavailable- added by pjoyez (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Mar 2014 08:54:22 PM UTCvdhoevenActionApply=>Done
    Sun 28 Oct 2012 10:21:55 PM UTCpjoyezAttached File-=>Added cpp_patch2, #26847
    Sun 28 Oct 2012 10:20:22 PM UTCpjoyezAttached 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.1-cleanup1