Import .rtf file as formatted project

Posts: 6
Joined: Mon Feb 09, 2015 12:05 am
Platform: Mac

Tue Mar 06, 2018 8:08 pm Post

I have a table of contents I want to import, but not as a single text file — I'd like to have each entry import as a separate text file so that it is a properly formatted Scrivener file — an individual Scrivener entry. The TOC is from InDesign so I can import to Scrivener as an RTF, Word, XML, InCopy or InDesign Markup file.

If this isn't possible, is there a shortcut to select each paragraph and convert it to a separate text file — a separate document in Scrivener that I can move around?


User avatar
Posts: 21178
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza

Wed Mar 07, 2018 12:43 pm Post

Yes, there is a tool that will make it easy to import a document so that each line or paragraph comes in as a single document in Scrivener: the File ▸ Import ▸ Import and Split... menu command. Once you’re in there, select your RTF file and then enable the Split into sections by finding separators in the text option. In the blank box, hold down the Option key and press Return to insert a single carriage return (repeat if you double-spaced the original document). Click the Import button, and now you should have one new binder item for each line of the ToC file.

While there, you might have noticed the settings to split by outline structure. This wouldn’t apply to a ToC listing alone, but for a document that has a ToC derived from its stylesheet (“Heading 1”, “Heading 2”…), that option will split the document into a hierarchical tree based on the heading outline order.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles