Jump to content
You must now use your email address to sign in [click for more info] ×

Extracting Merge Data From Imported Manuscript Text File


Recommended Posts

I'd like to import a plain text (.txt) file of the book writing software I am using (currently Scrivener, but could just as easily be Word or text edit) into Affinity Publisher and use the data merge function to look for and correctly isolate annotated text where I have indicated sequences of text that indicate things like quotations, author notes, images, illustrations, graphs, bibliographic entries, foot notes, citations, and associated formatting data like pinned location (character, line, paragraph, chapter, section, part chunk count). I'd like to use Affinity Publisher's merge function to cause the automatic build of pinned objects of appropriate kind and for these objects to be pinned as floated or inline objects automatically placed and sized and formatted as per user defined presets.

Anyone know how to go about doing so? Remember that the data that will be merged will be within the text that is floated into flowed text fields. The merged segments of in-line text will then be removed from the text presented.

All of this meta data has been carefully placed into the text during the writing process, is well formatted, regular, and should be identifiable by any merge algorithm that can detect and extract in-line delimiters.

Does Affinity Publisher's merge functionality allow for such a workflow? Could it be tweaked or hacked to do so? Scrivener offers some flexibility for its output the text and metadata. What are the delimiter requirements on the Affinity Publisher merge side of things?

 

Thanks, Randall

Link to comment
Share on other sites

18 hours ago, Randall Lee Reetz said:

indicate things like quotations, author notes, images, illustrations, graphs, bibliographic entries, foot notes, citations, and associated formatting data like pinned location (character, line, paragraph, chapter, section, part chunk count).

That is quite a list of things. I am going to say that your desire to include foot notes means no. Currently Publisher does not support footnotes. I would use the formatting of text and use the find replace (using regular expressions) to format the text. Pinned images.... I guess maybe you could use the Data Merge but this requires an *.xlsx file or a CSV or TSV file so then you have the problem of exporting into some thing like that from the Scrivener application. I have no experience of that application but I doubt it can do what you want.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.