Copy link to clipboard
Copied
Copy link to clipboard
Copied
Is the base document using paragraph styles?
Copy link to clipboard
Copied
Yes, the base document – let's call it the "Template" – uses paragraph and character styles to properly format the content. Do the stylesheets impact the Articles and the merge operations in some way?
Copy link to clipboard
Copied
I've written an article about a similar issue here: https://colecandoo.com/2016/12/17/data-merge-pdf-export-vs-regular-pdf-export/
That said, I have read your note that you are merging to InDesign first, but looks like you have issues with everything after page one. If you were to merge a 1pp file to a new indesign file, and then merge the next record to another indesign file, do both records articles appear correctly? Wondering if you could use the script mentioned in the article to merge to uniquely named indesign files and then run Peter Kahrel's batch convert script to export to interactive pdfs afterwards.
Copy link to clipboard
Copied
Thank you for the information Colin! My initial research has taken me down the exact same path as what is described in the article – I'm at the point of of writing a script that can merge individual records to an InDesign file, then export that using the Export to Interactive PDF.
I don't want to reinvent the wheel again, so I'll look at the scripts you mentioned to see if they can be incorporated into our solution. What really hurts though, is that this "bug/feature" has been present in InDesign since at least 2016, and Adobe hasn't addressed the issue. It's seems like such a simple thing: when merging a document that has been articled, the generated documents should also include thier own set of Articles. That is the proper solution.
Copy link to clipboard
Copied
the paid version of my data merge to single record script will export to interactive PDF. it exports to a temporary indesign file and then exports as an interactive PDF based on the last saved interactive PDF export settings used.
Copy link to clipboard
Copied
That sounds like an easy solution to me! I've purchased a copy and will see how well it incorporates into our process, thanks for your help!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Yes, I have used Preview with on the template, and I'm aware of some of the issues that have been reported. However, if I work from a test doc that is "clean", and try running the merge (without using the preview option), the results are the same.
The issue is that InDesign does not replicate the Articles for the generated documents. It only "carries over" the Articles to the very first merged record – any subsequent records/documents do not have the Articles populated correctly (or at all). This is why the PDF from the subsequent "Export to Interactive PDF" is missing the tags on all remaining content (after the first page).
Copy link to clipboard
Copied
How your document looks like?
I've a crazy idea - as always 😉 - but would've to see your template first.
Can you post a screenshot?
Or you could share your file privately with me - please click my nickname.
Copy link to clipboard
Copied
Hate to ask a dumb question, but missing tags upon generation of data merge don't trace back to something simple like a spacebar space in the .csv file, does it?
Copy link to clipboard
Copied
Hate to ask a dumb question, but missing tags upon generation of data merge don't trace back to something simple like a spacebar space in the .csv file, does it?
By @Mike Witherell
But first page is OK.
Copy link to clipboard
Copied
No, I checked the patency of the CSV file and everything there is fine. The issue appears to circle back to the InDesign data merge engine not being able to handle Articles correctly. I'm sure that if I could get the merge to walk through the records and generate an InDesign doc for each row, and have it include the relevant Articles, then all would be good. But I haven't found a workaround for that yet.
In the meantime, I've prototyped the solution from Colin and it works as expected (thanks Colin! Great minds think alike, ...even if it is 9 years later, LOL). It's a bit of a roundabout way of exporting the tagged PDFs, but it will work in a pinch until I can code up a proper plugin to encapsulate and simplify the process.