{%- set includeStyles = includeStyles|default(True, True) or completeFile %} {%- set showMetadata = showMetadata|default(False, True) %} {%- set showSections = showSections|default(False, True) %} {%- set showWords = showWords|default(False, True) %} {%- set showSyllables = showSyllables|default(False, True) %} {%- set showNeumes = showNeumes|default(False, True) %} {%- set showMisalignments = showMisalignments|default(True, True) %} {%- if includeStyles %} {% endif -%} {%- set chantIsMisaligned = False -%} {%- if 'misaligned' in chant.editorial and chant.editorial.misaligned -%} {%- set chantIsMisaligned = True -%} {%- endif -%}
Section{% if section.name -%}: {{ section.name }}{%- endif -%}
{%- for word in section.elements -%} {%- set wordLoop = loop -%} {%- set numWords = section.elements|length -%} {%- set wordIsMisaligned = False -%} {%- if 'misaligned' in word.editorial and word.editorial.misaligned -%} {%- set wordIsMisaligned = True -%} {%- endif -%} {%- set wordIsUnaligned = False -%} {%- if 'unaligned' in word.editorial and word.editorial.unaligned -%} {%- set wordIsUnaligned = True -%} {%- endif -%}{{ key }} | {{ value|e }} |