GNU TeXmacs - Bugs: bug #44696, Copy and export to image does not...
You are not allowed to post comments on this tracker with your current authentication level.
bug #44696: Copy and export to image does not work in Windows.
Submitter: | Adrian Soto <adriansoto> | ||
Submitted: | Thu 02 Apr 2015 12:18:05 AM UTC | ||
Category: | Windows port | Priority: | 5 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Originator Name: | Open/Closed: | Closed | |
Release: | None | Release: | 1.99.2.8826 |
Fixed Release: | None | Fixed Release: | |
Keywords: | Windows, conversion, export to image, copy to image |
Wed 30 Nov 2016 03:32:14 PM UTC, comment #2: |
Philippe Joyez <pjoyez> |
Mon 06 Apr 2015 04:42:49 PM UTC, comment #1: Hi Adrian,
|
Philippe Joyez <pjoyez> |
Thu 02 Apr 2015 12:18:05 AM UTC, original submission:
I am trying to understand what the problem is when exporting and copying to an image in windows. I tried to look in the files
|
Adrian Soto <adriansoto> |
Depends on the following items: None found
Items that depend on this one: None found
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-11-30 | pjoyez | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2015-04-06 | pjoyez | Attached File | - | Added texmacs-image-tools.zip, #33565 |
Powered by Savane 3.13-02a9.
Corresponding source code
The reported error is now fixed: win-texmacs now generates images starting from a pdf file which is generated internally; it does not need these (missing) helper files any longer.
However, for final images that are not pdf, texmacs will still call an external converter to convert from pdf to the desired format (These converters are defined in progs/convert/images/init-images.scm).
A good quality and versatile such converter is pdftocairo from the Poppler project: it can convert pdf to vector formats (eps, svg) as well as raster images (png, jpg,...). IMO it is much better than Imagemagick that only produces raster images (even if asked for eps of svg). In any case, if texmacs finds either pdftocairo or imagemagick in the PATH, it will use them.
Note that pdftocairo.exe is rather hard to find on the internet for installing on windows. To address this, I have made texmacs builds that come with pdftocairo ready-to-use. You can get them here: https://github.com/slowphil/mingw-w64-texmacs/releases/latest.