mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 12:19:54 +02:00
reading order: fix @index
This commit is contained in:
parent
02aa31cc66
commit
6c60d9e90a
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ def xml_reading_order(page, order_of_texts, id_of_texts, id_of_marginalia):
|
|||
name = ET.SubElement(region_order_sub, 'RegionRefIndexed')
|
||||
name.set('index', str(region_counter.get('region')))
|
||||
name.set('regionRef', region_counter.region_id(order_of_texts[idx_textregion]))
|
||||
region_counter.inc('region')
|
||||
for id_marginal in id_of_marginalia:
|
||||
name = ET.SubElement(region_order_sub, 'RegionRefIndexed')
|
||||
name.set('index', str(region_counter.get('region')))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue