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

Getting css name collision when all class names are different

Explorer ,
May 21, 2025 May 21, 2025

Hello, I am exporting a book to EPUB. Before I did so I opened the style source document and ensured that all paragraph styles had a unique class name under "export tagging". Then I synchronized the book and tried to export it to EPUB. I keep getting this error:

 

CSS name collision : 88 detected.

Paragraph Style "Chapter Subtitle" and "Chapter Title" generate conflict css name "ch"

Paragraph Style "Chapter Title" and "Chapter Subtitle" generate conflict css name "ch"

Paragraph Style "Paragraph - Beginning" and "Paragraph - First" generate conflict css name "p"

Paragraph Style "Paragraph - First" and "Paragraph - Beginning" generate conflict css name "p"

Paragraph Style "Paragraph - Last" and "Paragraph - Beginning" generate conflict css name "p"

Paragraph Style "Paragraph - Next" and "Paragraph - Beginning" generate conflict css name "p"

Paragraph Style "Paragraph - Only" and "Paragraph - Beginning" generate conflict css name "p"

Paragraph Style "Title Page - Author" and "Title Page - Title" generate conflict css name "title-p"

 

I went through every single individual document and verified that there are no duplicate or blank class names. I can't for the life of me figure out why I keep getting this error.

 

Any help would be appreciated.

 

EDIT 1: more information below.

 

I looked at the exported EPUB in Calibre and all of my styles beginning with "paragraph" (e.g. "Paragraph - Beginning", "Paragraph - First", "Paragraph - Last"etc.) have the appearance in the EPUB reader of "Paragraph - Beginning". Something very strange is going on here, InDesign is not respecting my style definitions at export.

 

EDIT 2: I discovered a workaround.

 

If I do the following, I can get this EPUB exported without error:

1) Open the first document in the book.

2) Export the single document as an EPUB — it will generate the error.

3) Export it again with no change — it will export with no error.

4) Repeat the process for each individual document in the book.

5) Export the whole book at the end.

 

Clearly something is going wrong here, this is not really a fix but a workaround to some sort of bug or corruption.

TOPICS
EPUB , Import and export
305
Translate
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 ,
May 21, 2025 May 21, 2025

If you are using version 20.3.1 roll it back to 20.3. There are bugs with EPUB export that were introduced with the latest release. Adobe is aware of it and they should be fixed in the next release.

Translate
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 ,
May 21, 2025 May 21, 2025

Good to know, thanks.

Translate
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 ,
May 21, 2025 May 21, 2025

Quick note: I just went through this with a client updating a file we originally created in December using 20.0.1 so we just rolled back to that. So, if 20.3 doesn't work, just keep going back.

Translate
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 ,
May 21, 2025 May 21, 2025

I am using 20.3 as it turns out.

Translate
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 ,
May 21, 2025 May 21, 2025
LATEST

Then I would go all the way back to 20.0.1. I know that worked for us but we were using Fixed Layout EPUB specifically to be viewed on iPads. It's entirely possible you're seeing a different issue.

Translate
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