Based on paragraph styles have issues when created by script
When creating styles via a script, styles that are based on other styles are not overwriting style attributes properly. i.e.:
p - font: Arial, size: 10.5, leading: 13, indent 8
p-first: based-on, p, indent 0
The indent may or may not actually be set to 0 if those two styles are created by a script. If I fix the indent manually in InDesign, any of the styles that are based off of p-first would update properly.
![](https://secure.gravatar.com/avatar/43dd9bcef99f36f13b2d988fe4765b1d?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Uwe Laubender commented
Hi,
I would post the problem in the InDesign Scripting forum:
https://forums.adobe.com/community/indesign/indesign_scripting/content?filterID=contentstatus[published]~objecttype~objecttype[thread]Provide sample code and explain what's not working.
Also provide exact version name of InDesign and OS.Regards,
Uwe