Re: Version 1.99.14

Massimiliano Gubinelli <[email protected]>
Newsgroups gmane.editors.texmacs.devel
Message-ID <[email protected]>
Ok, I understood the problem. Qt clipboard cannot manage the mime type "application/pdf" correctly, so it converts it to "application/x-qt-image" and apparently does a lousy job with the resolution. There is nothing one can then do on the TeXmacs side...

Best
Max


> On 23. Oct 2020, at 12:36, TeXmacs <[email protected]> wrote:
> 
> I don't know what Preview does when copying selections to the Clipboard.
> I suspect that this is a problem on the Preview side.
> 
> Best wishes, --Joris
> 
> 
> On Fri, Oct 23, 2020 at 09:38:54AM +0200, Massimiliano Gubinelli wrote:
>>   I was coping selected parts of a PDF (copied via the rectangular selection
>>   tool). I was not aiming to copy content, but only pictures. The
>>   observation is that the paste give an image with not the same "crispness"
>>   (resolution?) of the original. If I create a new document with the
>>   selected are (in Preview) and then Instert the new document, the
>>   resolution is correct. So there are workaround but I wonder why the
>>   resolution is lowered in the copy, somewhere there should be some hard
>>   coded value which is not appropriate.
>>   Best
>>   Max
>> 
>>     On 22. Oct 2020, at 18:52, TeXmacs <[1][email protected]>
>>     wrote:
>>     On Fri, Oct 23, 2020 at 12:40:57AM +0800, Darcy Shen via Texmacs-dev
>>     wrote:
>> 
>>         Let us fix it before the release of TeXmacs 1.99.14.
>> 
>>     I don't consider it to be very urgent that images can be copied from Pdf
>>     files,
>>     although this would be nice of course.  Copying from Pdf files does not
>>     yield
>>     very nice results anyway; formulas are a mess, for instance.
>> 
>>     Copying and pasting from Html pages is another matter; this should work
>>     better,
>>     because the format is already structured.  In this case, the main
>>     trouble
>>     comes from modern Html that may heavily rely on Css.
>> 
>>     Best wishes, --Joris
>> 
>>         ---- On Thu, 2020-10-22 23:38:50
>>       TeXmacs<[2][email protected]>
>>         wrote ----
>> 
>>           On Thu, Oct 22, 2020 at 10:57:04AM +0200, Massimiliano Gubinelli
>>       wrote:
>> 
>>         I just noted that cut and paste of parts of PDF documents (e.g. from
>> 
>>           the
>> 
>>         Preview app) to TeXmacs produce inserted images with a lower (and
>> 
>>           quite
>> 
>>         bad) resolution. Is this a known bug?
>> 
>>           I don't manage to copy and paste images at all.
>>           But ordinary text does copy and paste well.
>> 
>>           Best wishes, --Joris
>> 
>>           _______________________________________________
>>           Texmacs-dev mailing list
>>           [1][3][email protected]
>>           [2][4]https://lists.gnu.org/mailman/listinfo/texmacs-dev
>> 
>>       References
>> 
>>         Visible links
>>         1. [5]mailto:[email protected]
>>         2. [6]https://lists.gnu.org/mailman/listinfo/texmacs-dev
>>       /usr/bin/xdg-open: line 402: htmlview: command not found
>>       /usr/bin/xdg-open: line 402: firefox: command not found
>>       /usr/bin/xdg-open: line 402: mozilla: command not found
>>       /usr/bin/xdg-open: line 402: netscape: command not found
>> 
>>       _______________________________________________
>>       Texmacs-dev mailing list
>>       [7][email protected]
>>       [8]https://lists.gnu.org/mailman/listinfo/texmacs-dev
>> 
>>     _______________________________________________
>>     Texmacs-dev mailing list
>>     [9][email protected]
>>     [10]https://lists.gnu.org/mailman/listinfo/texmacs-dev
>> 
>> References
>> 
>>   Visible links
>>   1. mailto:[email protected]
>>   2. mailto:[email protected]
>>   3. mailto:[email protected]
>>   4. https://lists.gnu.org/mailman/listinfo/texmacs-dev
>>   5. mailto:[email protected]
>>   6. https://lists.gnu.org/mailman/listinfo/texmacs-dev
>>   7. mailto:[email protected]
>>   8. https://lists.gnu.org/mailman/listinfo/texmacs-dev
>>   9. mailto:[email protected]
>>  10. https://lists.gnu.org/mailman/listinfo/texmacs-dev
>> /usr/bin/xdg-open: line 402: htmlview: command not found
>> /usr/bin/xdg-open: line 402: firefox: command not found
>> /usr/bin/xdg-open: line 402: mozilla: command not found
>> /usr/bin/xdg-open: line 402: netscape: command not found
> 
>> _______________________________________________
>> Texmacs-dev mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/texmacs-dev
> 
> 
> _______________________________________________
> Texmacs-dev mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/texmacs-dev


_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.