Skip to main content
James Gifford—NitroPress
Legend
November 2, 2024
Question

EPUB export change in ID 2025: 'figure' for 'div' in CSS

  • November 2, 2024
  • 1 reply
  • 240 views

There has been a low-level technical change in the way InDesign v20 (2025) exports images in reflowable EPUB. If this change was documented, I didn't see it (and, unfortunately, it would be an exception; Adobe has not documented any of the changes to EPUB export in the last several releases).

 

The change affects only those who use CSS re/styling on reflowable EPUB. Images are no longer exported as div model (e.g. an Object Style of PICTURE has heretofore been exported with style code under div.PICTURE), but under figure (figure.PICTURE). So if you have any existing projects that use the div style reference, you'll need to review the default CSS component of the EPUB and adjust your custom styles to match.

 

AFAICT, nothing else has changed, just the technical grouping of these style definitions. The most obvious result will be that any existing code that modifies images in your EPUB project will stop working, even if you update the style elements... unless you remap it to figure.*.

 

Not sure if div is still exported, as for text boxes and such. I don't see any in my existing projects. Testing underway.

 

It would be gosh-so-nice if Adobe thought these changes were worth documenting, even if they are to bring the export code in line with standards.

This topic has been closed for replies.

1 reply

Inspiring
November 7, 2024

Some of the changes are documented but the group working with the InDesign engineers to improve the EPUB export. The Adobe team is not great at documentation, as you've pointed out. These links might be useful:


https://inclusivepublishing.org/news-and-events/news/indesign-2025-is-out/

https://laurabrady.ca/blog/indesign-epub-updates

https://www.fondazionelia.org/en/research-and-development/indesign-new-release-a-visible-and-a-hidden-new-feature-in-accessible-epub-export/