Arjen Broeze
My feedback
2 results found
-
3 votesArjen Broeze supported this idea ·
An error occurred while saving the comment Arjen Broeze shared this idea · -
12 votes
Fix for this issue is now available in the latest release of InDesign 2023 - that is, InDesign 18.1 version.
Please update to this version of InDesign to get the fix.
--
Adobe InDesign team
An error occurred while saving the comment Arjen Broeze commentedThis is the InDesign beta I've used, downloaded from CC on 11/18/2022
An error occurred while saving the comment Arjen Broeze commentedStill see all the "lang=" tags everywhere. The only needed tag is "xml:lang=" in the body. Everywhere else it is unnecessary and causing issues when uploading to online book stores.
Example from Indesign 2023 (beta):
<body id="Roborights_ebook" lang="en-US" xml:lang="en-US">
<div id="_idContainer001" class="Basic-Text-Frame">
<p class="Title" lang="en-US"><br /><br />RoboRights</p>
<p class="Title" lang="en-US"><br /><br />Django Mathijsen</p>
<p class="Title" lang="en-US"><span class="CharOverride-1" lang=""><br /><br /><br /><br /><img class="_idGenObjectAttribute-1" src="image/Zilverspoor.png" alt="" /></span></p>The same file exported as ePub in InDesign 2022:
<body id="Roborights_ebook" xml:lang="en-US">
<div id="_idContainer001" class="Basic-Text-Frame">
<p class="Title"><br /><br />RoboRights</p>
<p class="Title"><br /><br />Django Mathijsen</p>
<p class="Title"><span class="CharOverride-1"><br /><br /><br /><br /><img class="_idGenObjectAttribute-1" src="image/Zilverspoor.png" alt="" /></span></p>An error occurred while saving the comment Arjen Broeze commentedThe problem is that in the 2023 version InDesign epub v2 exports contain a "lang=" tag in each paragraph. The 2022 version of InDesign only has this in the body tag.
Arjen Broeze supported this idea ·
I made an error in my original post. The "xml-lang=" attribute should not be *present* in the "package" tag
The errors can be fixed by opening the exported ePub file in Sigil and manually correcting the following:
1. cover.xhtml - change <figure style="..."> to <div style="..."> and </figure> to </div>
2. cover.xhtml - remove the "role=..." attribute from the <img ...> tag
3. content.opf - remove the "xml-lang="..." attribute from the <package ...> tag