To retain original style naming and enter your own tags instead. So solution number 2 (and definitely the easier one) would be: In running a quick test this morning (10-May), it seems that setting the Tag to tag also resolves the issue. Turning “Bullet-1” into “Bullet1” and “Bullet-1-last” into “Bullet1-Last” etc.Īs soon as I reran the EPUB export using the new style naming convention, the problem corrected itself, and InDesign correctly ignored the Style Group name when generating HTML and CSS.īob Levine (see comments below, thanks Bob!), points out you can also enter your own Tag as part of export settings. After trying a number of things:Ĭhanging the paragraph style naming convention to not include the first hyphen seems to fix the issue.
Adobe indesign cs5 5 tutorial how to#
It puzzled me… and I couldn’t let it go until I finally figured out how to fix this (I’m not one to give up easily □ ). However, for this particular paragraph style (and “Bullet-2-Last”) it adds the Style Group name as a prefix. What InDesign’s doing here is recognising for the “Bullet-1-last” paragraph style that it needs to set the Class name to “bullet-1”. You can imagine I was quite surpised to see InDesign generate the following in my HTML and template.css: Then exported the Lists sample file I had ensuring Bullets are Mapped to Unordered Lists (which will generate and tags in the resulting HTML: This ensures that InDesign automatically generates and tags in the resulting html correctly, based on the selected EPUB export options.Īnd I assigned the same class-names to Bullet-1 and Bullet-1-last (bullet-1, sticking to the recommendation for xhtml to use lowercase characters). The styles were part of a style group named “Lists”.įor each of the paragraph styles I left the Tag option set to. I’ve been working on demo materials for the upcoming Print and ePublishing conference and was using the following style names: For instance the first or last bullet point in a list might have slightly different space before and after settings applied to it.
Publishers quite often generate multiple paragraph styles for bulleted and numbered lists behaviour. Updated 1 (added alternate option, thanks to Bob’s comment)