RTF Files in scripts

I’ve got a really basic question.

In a script like the “Reference Bookends” one, are the directions for creating the RTF file with it’s standard copy, font size, spacing etc, in the script or is there a pre-formatted file that it’s opening?

If there is a formatted file, where is it stored.

t

Just open the Templates folder (~/Library/Application Support/DEVONthink Pro 2/Templates.noindex) in the Finder and select the file “Reference (from Bookends).templatescriptd” in the subfolder “Education”.

Afterwards choose “Show Package Contents” in the Finder’s contextual menu and navigate to Contents > Resources > en.lproj. This folder contains the used rich text file “Reference.rtf”.