Copy link to clipboard
Copied
I've just upgraded to 2019 from 2012. I work in an environment where
We're dealing with fiction manuscripts holding close to 300,000 words each. These are non-XML documents.
In Microsoft Word, each chapter lives in its own section. We've upgraded to 2019 to leverage the import function that would allow us to bring a document from Word into Framemaker. From the preliminary exploration, the expanded import feature maps Word paragraph and character styles to FrameMaker's which is great. However, I do not believe that this import function can map each chapter in Word to a document included in the book.
The alternatives would be to import the word document into FrameMaker and
FM 19 has gone a long way to simplify the interaction between FM and Microsoft Word, especially since it is able to publish HMTL which Word can import. Turning a document into a book would be a great addition.
Thanks for any help or feedback you might have on this.
Copy link to clipboard
Copied
I don't know of a way to detect section breaks when importing a Word document programmatically. But, you could use Visual Basic to search the Word doc for section breaks and break it up into chapters:
https://stackoverflow.com/questions/1497050/word-vba-section-break-character-in
Then, write an Extendscript to build a book from those files.
Copy link to clipboard
Copied
Hi Les,
Thanks for your kind reply. I agree with you that it is very possible to break a work document into multiples using VBA. I happen to also be in IT so I'm very comfortable with VBA. It is definitely a solution worth exploring. I was hoping that there would be a script already on the FM side that would take care of it.
I might end-up writing that script and posting it back here 🙂