I’m sorry, I still don’t understand how I would add a key to the key path to 
remove the formatting?
From the list here https://bibdesk.sourceforge.io/manual/BibDeskHelp_95.html I 
couldn’t see anything that would do that.

I tried Nathan’s suggestions, but yes, as you said, it still has font 
information preserved (it pastes it as Helvetica, not exactly sure where it 
gets that from if it is not using any template).

Thanks,

Jan

> On Sep 14, 2024, at 8:51 AM, Christiaan Hofman <[email protected]> wrote:
>
>> On 14 Sep 2024, at 17:43, Jan David Hauck via Bibdesk-users 
>> <[email protected]> wrote:
>>
>> Thanks for all your feedback.
>>
>> @Nathan, yes, I’m in fact using pandoc extensively – for all those journals 
>> that don’t accept LaTeX I have a workflow that uses pandoc to create the 
>> references in a word document. My use case is for scenarios, like, if you 
>> want to quickly send a list of references to a colleague in an email, or you 
>> collaborate on a paper with someone who doesn’t use any tool to create 
>> bibliography (how dare they!) and things like that, where you need to copy 
>> paste formatted bib entries into some other program.
>>
>> @Christiaan, would you mind expanding on what you mean by adding "a 
>> component to the key path (like ’.string’) to get plain text”?
>> Let’s take the APA template as example
>>
>> <$publications>
>> <$authors.abbreviatedNormalizedName.@componentsJoinedByCommaAndAmpersand/> 
>> <$fields.Year.parenthesizedStringIfNotEmpty/>. 
>> <$fields.Title.uppercaseFirst.stringByAppendingFullStopAndSpaceIfNotEmpty/><$fields.Journal.stringByAppendingCommaAndSpaceIfNotEmpty/><$fields.Volume/><$fields.Number.parenthesizedStringIfNotEmpty/>,
>>  <$fields.Pages.stringByAppendingFullStopIfNotEmpty/></$publications>
>>
>> How would I need to modify this to get the desired result?
>
> In this case you would not need to modify anything, except the formatting.
>
> The point is that some keys in value tags return styled text rather than just 
> text, and for those the styling in the text is preserved. So for those you 
> should explicitly remove the formatting by adding a key to the key path to 
> remove that. But there aren’t that many keys that returned styled text, so 
> this probably will not be needed anyway.
>
> Christiaan
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to