CiteInPages is a suite of four Applescripts that allow the open source reference manager BibDesk to be used as an integrated reference manager with Apple's word processor, Pages (v. 3, from iWork '08).
Using BibDesk templates, "working citations" containing BibTeX cite keys in a defined format can be dragged or inserted by script from BibDesk into Pages documents as the documents are edited.
CiteInPages replaces these working citations with numbered or author-date in-text citations, creates a correctly-ordered bibliography based on a BibDesk template, and pastes the bibliography into the Pages document.
CiteInPages has advantages over commercial reference managers for use with Pages because it works on native Pages files through Pages itself and it does not require converting the file to RTF, which may cause some loss of information, inserted images or l
- A problem occurred in Mountain Lion (OSX 10.8) in which the duplicated Pages file was not recognized. A 1 second delay was added to the scripts just before calling Pages to process the document copy and this appears to fix the issue. This problem seems similar to the problem noted previously during file duplication (see OldCIPReleaseNotes), which was also fixed by introducing a delay. The file duplication and processing requires coordination of Pages, BibDesk, and the Finder; it may be that Apple's interapplication communication requires some time to propagate new information between programs running in different threads, and the delays allow things to catch up. If you have comments on this or notice any other problems, please feel free to let me know. Current testing targets OSX 10.8.2, Pages 4.2, and BibDesk 1.5.10.