> On Sep 14, 2024, at 11:43 AM, 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. > > [...]
If you already know how to use Pandoc, and you have a CSL file that you want to use, you can also use Pandoc to generate the references. There are various ways to do this. The easiest way to explain quickly is: select some publications in BibDesk, copy them as BibTeX using BibDesk's "Copy BibTeX Record" command, and run a Terminal command to make Pandoc format the references using the CSL file: pbpaste | pandoc -f bibtex -t rtf --citeproc --csl=apa.csl --standalone | pbcopy (pbpaste gets the text from the clipboard, which is piped to pandoc, then piped back to the clipboard with pbcopy.) Here's the AppleScript version of that line (the only difference is that you have to specify the text encoding using LANG= and full path to Pandoc): do shell script "LANG=en_US.UTF-8 pbpaste | /usr/local/bin/pandoc -f bibtex -t rtf --citeproc --csl=apa.csl --standalone | LANG=en_US.UTF-8 pbcopy" Then paste it. This does not solve the problem of making the font match in all possible cases; I do not know of an easy solution to that problem. Nathan _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
