LayoutEnumerator.page_index property. Gets the 1-based index of a page which contains the current entity....indent ): tabs = ' \t ' * indent print ( f ' { tabs } -> Entity...layout_enumerator . kind == '' else f ' { tabs } -> Entity type & kind: { layout_enumerator...