From 570eb12e24a7f9e528344f4df6340268e68c864e Mon Sep 17 00:00:00 2001 From: diaco Date: Sat, 25 Jul 2026 14:40:42 +0330 Subject: [PATCH] Align PDF sidebar chip and chrome with Typst layout. Co-authored-by: Cursor --- filters/print-chrome.lua | 6 ++-- styles/print.css | 65 ++++++++++++++++++++++++---------------- 2 files changed, 44 insertions(+), 27 deletions(-) diff --git a/filters/print-chrome.lua b/filters/print-chrome.lua index bce38e0..321fe6f 100644 --- a/filters/print-chrome.lua +++ b/filters/print-chrome.lua @@ -174,13 +174,15 @@ function Meta(meta) ]], logo_html, company, subtitle_html, title) - -- Rotated sidebar labels; page chip comes from print.css @page @bottom-left. + -- Rotated sidebar labels (title then destinations, matching typst grid columns). + -- .chip-gap extends the rule to the @bottom-left page chip (persian ۱/N). local sidebar = string.format([[ -]], destinations, title) +]], title, destinations) local running = string.format([[