diff --git a/spec/profiles/audit_report.yaml b/spec/profiles/audit_report.yaml index d3987b7..9154343 100644 --- a/spec/profiles/audit_report.yaml +++ b/spec/profiles/audit_report.yaml @@ -1,5 +1,5 @@ profile_id: "audit_report" -description: "Evidence-heavy audit reports: 12pt baseline, branded tables, and tolerant QA thresholds for long sources/citations." +description: "Evidence-heavy audit reports: screen-readable baseline type, branded tables, and tolerant QA thresholds for long sources/citations." page: size: "A4" @@ -15,8 +15,8 @@ fonts: require_primary: true body: family: ["Noto Serif", "STIX Two Text", "serif"] - size: "12pt" - line_height: 1.50 + size: "14pt" + line_height: 1.55 heading: family: ["Noto Sans", "Source Sans 3", "sans-serif"] mono: @@ -78,7 +78,7 @@ tables: shrink_limit: 0.90 layout: "auto" cell_wrap: true - keep_together: true + keep_together: false row_keep_together: true grid_style: "rules_minimal" header_align: "left" @@ -106,7 +106,7 @@ running_head: enabled: true placement: "footer" template: "{page} | {title}" - font_size: "9pt" + font_size: "10pt" font_style: "normal" color: "#6b7280" diff --git a/src/iftypeset/rendering.py b/src/iftypeset/rendering.py index fbe5e7f..6b8fd6d 100644 --- a/src/iftypeset/rendering.py +++ b/src/iftypeset/rendering.py @@ -308,7 +308,7 @@ def _render_doc( heading_html = ( f"{_render_inline(block.text, base_path, self_contained, warnings, inline_opts)}" ) - if keep_headings and level <= 3: + if keep_headings and level <= 4: keep_indices = _keep_with_next_indices(blocks, i) if keep_indices: body_lines.append("
")