• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
19

InDesign to Export RTF file - Which is the best Options (Tagged Text or RTF)

Explorer ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

Hi All,

Here is my query, Can you anyone suggest which is the best options to export the InDesign to RTF file. 

I am using javascript to export the file, but I faced some issues for inline images are missing. Please refer the screenshots as below.

InDesign File input is the below screenshot:

InDesign.png

InDesign to Export RTF used has Tagged Text format is the below screenshot: Here all the inline images are missing while generating the RTF file it's replaced with the space.
 
Tagged_Text.png

InDesign to Export RTF used has RTF format is the below screenshot: The problem is some of the inline images are generated in the RTF file, some cases are not generated in the RTF file. What is the issue. All the inline figures are tif file format.

RTF.png

Your suggestion and ideas are much appreciated!


TOPICS
Experiment , How to , Import and export , InCopy workflow , Performance , Print , Publish online , Scripting , SDK , Type

Views

132

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

There are no good paths to getting completely "clean" text out of InDesign. Any control or formatting characters peculiar to ID will be exported as the sort of random characters you're seeing.

 

The only sort-of method for getting any quantity of text to an exported, editable form is to export the ID doc to PDF, then use Acrobat Pro to export that document to Word — and it won't be a lot easier to work with, but it won't have as many glitchy glyphs in it.

 

If the amount of text isn't huge, you can also cut and paste the content into a Word doc, cleaning up line breaks and so forth as you go.

 

There are also tools that export ID content to Word directly, but they're not free and may not be worth the cost for a single export job. Just export to "best" and manually clean up and reformat the content.


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

Hi @suntech, you might need to do some experimentation. I did a quick test: I exported selected story as HTML (gives lots of options, such as keeping original graphics) then from my browser I did Select All and Copy, and Pasted it into TextEdit (I'm on MacOS) and it seemed to do what you are asking. But that might be a direction you could explore—export html and convert html to rtf? Note that, on MacOS at least, .rtfd with embedded images is actually .rtfd.

- Mark

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

I guess there are endless permutations of export to one format or another, then export or capture from that format to save as a standard format. But for anything but what's already a clean text flow, there is likely to be garbage and broken formatting requiring line by line review and editing. ID to PDF to Word seems to be the most reliable method although it does require repair of the many line-breaks that PDF uses to control text flow — but a simple Search and Replace of all line breaks with spaces should do a 'mostly' job of restoring the text.

 

Export to HTML would probably work as well, depending on how many other elements are embedded inline.


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 13, 2024 Mar 13, 2024

Copy link to clipboard

Copied

@James Gifford—NitroPress I need the paragraph and characters styles as used in the InDesign, while export PDF and convert to WORD that is not workout for my request.

Anyway thanks for looking my post!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 13, 2024 Mar 13, 2024

Copy link to clipboard

Copied

LATEST

As the answers to this question always begin, there's no good way to get content back out of InDesign. It simply does not use any universal format that can be easily extracted or converted. You have to work from RTF snips, usually using scripting, or export to IDML and use tools that can work with that format (as is often done for translations, for example) or invest in the one Word/InDesign roundtrip app, which can be costly for one or a few projects.

 

But ID is almost completely a one-way application; content goes in and doesn't easily come back out.


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 13, 2024 Mar 13, 2024

Copy link to clipboard

Copied

@m1b thanks for looking into this post.

But i can't go with this options, because i'm using the word document for roun-tripping so it's not work-out to Export HTML and Convert to Word.

There are more un-wanted cleanup will have place in tool. And moreover I export the RTF file along with the styles and images caption and tables. 

The only issue is inline tiff images not come out, but i tested the JPG and PNG file format it's work and placed the inline images into the RTF file.

Thanks for sharing your ideas!


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines