View Single Post
Old 07-10-2018, 09:56 AM   #42
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 883
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
I understand everything perfectly.

But ... If I have completed the template field ("Word") AND selected numbered only for "Yes", the plugin should ignore the template.
Because now it requires both – deleting the template and enabling the "numbered heading only" option.

And my suggestion:
Code:
if options.NUM_HEADINGS_CHOICE  == 'Yes':
    options.SUFFIX_CHOICE = ''
solved it (temporary ignore template for enabled "numbered heading only").
Another gain is that preferences for "add_chapter_template" is not changed.
BeckyEbook is offline   Reply With Quote