> On 3 Mar 2022, at 16:47, Christiaan Hofman <[email protected]> wrote:
> 
> 
> 
>> On 3 Mar 2022, at 16:35, Matthew Heun via Bibdesk-users 
>> <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> 
>> 
>>> On Mar 3, 2022, at 10:28 AM, Christiaan Hofman <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> 
>>> 
>>>> On 3 Mar 2022, at 16:25, Matthew Heun via Bibdesk-users 
>>>> <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>>> On Mar 3, 2022, at 9:54 AM, Christiaan Hofman <[email protected] 
>>>>> <mailto:[email protected]>> wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>>> On 3 Mar 2022, at 14:29, Matthew Heun via Bibdesk-users 
>>>>>> <[email protected] 
>>>>>> <mailto:[email protected]>> wrote:
>>>>>> 
>>>>>> Andreas:
>>>>>> 
>>>>>> Thanks for the suggestion of trying to copy only one reference.  In 
>>>>>> fact, I was trying to copy only a single reference.  
>>>>>> 
>>>>>> The rest of this email is further debugging and a summary.  Spoiler: 
>>>>>> problem not fixed.
>>>>>> 
>>>>>> * I note that the problem happens on a different machine (2017 iMac Pro) 
>>>>>> running macOS 12.2.1.
>>>>>> 
>>>>>> * I wondered if the problem is with the .bib file.  So I stripped the 
>>>>>> .bib file to a single reference.  Copy Rich Text still fails with 
>>>>>> message "Generating data. Pleas wait."  Here is entirety of the simple 
>>>>>> .bib file:
>>>>>> 
>>>>>>> %% This BibTeX bibliography file was created using BibDesk.
>>>>>>> %% https://bibdesk.sourceforge.io/ <https://bibdesk.sourceforge.io/>
>>>>>>> 
>>>>>>> %% Created for Matt at 2022-03-03 08:08:11 -0500 
>>>>>>> 
>>>>>>> 
>>>>>>> %% Saved with string encoding Unicode (UTF-8) 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> @article{Semieniuk:2021aa,
>>>>>>>         author = {Gregor Semieniuk and Lance Taylor and Armon Rezai and 
>>>>>>> Duncan K. Foley},
>>>>>>>         date-added = {2021-01-29 20:57:42 -0500},
>>>>>>>         date-modified = {2021-01-29 21:01:07 -0500},
>>>>>>>         doi = {10.1038/s41558-020-00975-7},
>>>>>>>         journal = {Nature Climate Change},
>>>>>>>         month = {25 January},
>>>>>>>         pages = {1-14},
>>>>>>>         title = {Plausible energy demand patterns in a growing global 
>>>>>>> economy with climate policy},
>>>>>>>         year = {2021}}
>>>>>> 
>>>>>> * Trying all of the other contextual menu "Copy ..." commands:
>>>>>> 
>>>>>> Copy Cite Command
>>>>>> Copy BibTeX Record
>>>>>> Copy Minimal BibTeX Record
>>>>>> Copy RIS Record
>>>>>> Copy PDF
>>>>>> Copy LaTeX
>>>>>> Copy AMSrefs LaTeX
>>>>>> Copy Item URL
>>>>>> Copy Using Template
>>>>>> 
>>>>>> All work as expected.  The only Copy command that fails is "Copy Rich 
>>>>>> Text".
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> So to summarize:
>>>>>> 
>>>>>> * Copying a single reference as rich text causes beachball 
>>>>>> * For at least 10 minutes
>>>>>> * With message "Generating data. Please wait ..."
>>>>>> * On 2 different systems
>>>>>> * With a very simple .bib file (only one entry, see above)
>>>>>> * All other "Copy ..." commands in the contextual menu succeed
>>>>>> 
>>>>>> 
>>>>>> I'm wondering if anyone can reproduce this problem with the simple .bib 
>>>>>> file above?  If not, any ideas for how I can work around it?
>>>>>> 
>>>>>> Thanks to those who have already sent ideas.  And thanks in advance to 
>>>>>> those who will send ideas in the future.
>>>>>> 
>>>>>> 
>>>>>> Cheers,
>>>>>> 
>>>>>> Matt
>>>>>> 
>>>>> 
>>>>> Strange that only this one fails, as it basically does the same as Copy 
>>>>> as PDF, just in the end getting text from the PDF. Does the TeX preview 
>>>>> work? And can you copy text from the TeX preview? And have you changed 
>>>>> the bibtex style, or edit the tex preview template?
>>>>> 
>>>>> Christiaan
>>>>> 
>>>> 
>>>> Thanks for your email and suggestions.
>>>> 
>>>> (1) The TeX preview works:
>>>> 
>>>> <PastedGraphic-1.png>
>>>> 
>>>> 
>>>> (2) Yes, I can copy text out of the TeX preview.  I pasted that text into 
>>>> TextMate.  
>>>> 
>>>> (3) Here is my TeX - Typeset Preview preference pane:
>>>> 
>>>> <PastedGraphic-2.png>
>>>> 
>>>> 
>>>> So BibTeX style is abbrv.
>>>> 
>>>> I *have* updated the TeX template, which now looks like this:  
>>>> 
>>>>> \documentclass[letterpaper]{article}
>>>>> \pagestyle{empty}
>>>>> \textwidth = 6.5in
>>>>> \voffset = -105pt
>>>>> \hoffset = -120pt
>>>>> \renewcommand{\refname}{}
>>>>> 
>>>>> % I added this line so that URLs render properly in the LaTeX previews
>>>>> % -- MKH, 25 Jan 2017
>>>>> \usepackage{url}
>>>>> 
>>>>> 
>>>>> % The following command is provided for LaTeX2RTF compatibility with 
>>>>> amslatex.
>>>>> \newif\iflatextortf
>>>>> \iflatextortf
>>>>> \providecommand{\bysame}{\_\_\_\_\_}
>>>>> \fi
>>>>> 
>>>>> \begin{document}
>>>>> \nocite{<<CiteKeys>>}   
>>>>> \bibliography{<<File>>}   
>>>>> \bibliographystyle{<<Style>>}  
>>>>> \end{document}
>>>> 
>>>> 
>>>> 
>>>> Note that I have added the line 
>>>> 
>>>>> \usepackage{url}
>>>> 
>>>> 
>>>> But I don't think I modified anything else.
>>>> 
>>>> I reset the style file.  But that doesn't help.  "Copy Rich Text" still 
>>>> beachballs on the single entry in my .bib file.
>>>> 
>>>> 
>>>> 
>>>> Does that provide any additional clues?  Thanks again for the help.
>>>> 
>>>> 
>>>> Cheers,
>>>> 
>>>> Matt
>>>> 
>>> 
>>> Not really. Strange, so every part of the process seems to work, but 
>>> together it hangs. So did you try to copy *and* paste the Copy as PDF?
>>> 
>>> Christiaan
>> 
>> Thanks for continuing to think about this.  Here are the steps I took:
>> 
>> * Copy PDF (works; doesn't hang BibDesk)
>> * Open Preview
>> * File|New from Clipboard (works; I see the bib entry)
>> 
>> * Quit everything
>> * Reopen BibDesk
>> * Copy PDF
>> * Open PowerPoint
>> * Paste (works; I see the bib entry)
>> 
>> So Copy PDF seems to work just fine for both copying AND pasting.
>> 
>> Note that Copy Rich Text hangs BibDesk on the copy action.  It doesn't get 
>> past the "Generating data. Please wait" step.  
>> 
>> 
>> Any other thoughts?  I'm beginning to fear that I'm the only one with this 
>> problem, which would be a real bummer!
>> 
>> 
>> Cheers,
>> 
>> Matt
>> 
> 
> 
> There is also an open bug report on this, but you two are the only ones I 
> heard this about. And I certainly cannot reproduce it. And I also cannot 
> understand why it would happen. As, again, the Copy as RTF is exactly the 
> same as Copy as PDF, with a further generation of RTF from the resulting PDF. 
> So the problem must be in that last conversion step. Hence probably in 
> PDFKit. but I have no idea what that could be, and why specifically for you. 
> Is there anything appearing in Console.app? And what OS system are you using?
> 
> Christiaan


I wonder if it is some bug in PDFKit in 12.2, it almost must be. I myself man 
still running 11.6, so I cannot check it.But then it is strange that just 
copying the preview would not lead to the same problem, as it should top the 
exact same thing. 

Christiaan

_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to