Commit 618dda22 authored by Vacaliuc, Bogdan's avatar Vacaliuc, Bogdan
Browse files

work-in-progress; use BL macro instead of BL4A hard coded

parent a91dd5a4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
# pdf-tools — render investigation reports to print-quality PDF

Markdown → PDF pipeline tuned for BL4A motion-control failure-analysis
Markdown → PDF pipeline tuned for BL4A/BL4B motion-control failure-analysis
reports like `tasking/DANGLE-Motion-Failure-Analysis.md`. Built on
WeasyPrint with a print-oriented CSS stylesheet and light HTML
post-processing.
@@ -12,7 +12,7 @@ bottom line** with:
  `**Label:** value` lines immediately after the H1
- Table of contents with dotted leaders and live page numbers via CSS
  `leader(dotted)` + `target-counter(attr(href url), page)`
- Running page header (document title on left, "BL4A — Motion Control"
- Running page header (document title on left, "${BL} — Motion Control"
  on right) and `Page X of Y` footer
- Executive Summary callout box (amber)
- Bottom line callout box (green) on its own page
@@ -53,7 +53,7 @@ separator, then the body:

**Date:** 2026-04-11
**Prepared by:** Somebody
**Instrument:** BL4A
**Instrument:** ${BL}

---

+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ CSS = r"""
        padding-top: 0.3in;
    }
    @top-right {
        content: "BL4A — Motion Control";
        content: "${BL} — Motion Control";
        font-family: "DejaVu Sans", "Lato", sans-serif;
        font-size: 8pt;
        color: #666;