def ProcessOptions(options, document): # type: ignore report.ProcessOptions(options, document) document.context['thesection'].format = '${section}' document.context['theindex'].counter = 'section' document.context['theindex'].level = Environment.SECTION_LEVEL document.context['printindex'].counter = 'section' document.context['printindex'].level = Command.SECTION_LEVEL document.context['bibliography'].counter = 'section' document.context['bibliography'].level = Command.SECTION_LEVEL
def ProcessOptions(options, document): from plasTeX.Packages import report report.ProcessOptions(options, document) document.context['thesection'].format = '${section}' document.context['theindex'].counter = 'section' document.context['theindex'].level = Environment.SECTION_LEVEL document.context['printindex'].counter = 'section' document.context['printindex'].level = Command.SECTION_LEVEL document.context['bibliography'].counter = 'section' document.context['bibliography'].level = Command.SECTION_LEVEL