Show shared title block on HTML and align PDF table chrome.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,7 +4,7 @@ Quarto templates for Kimia Razi Persian (RTL) business reports.
|
||||
|
||||
One `.qmd` source renders to:
|
||||
|
||||
- **HTML** — simple RTL reading layout (no print chrome on screen)
|
||||
- **HTML** — RTL reading layout with the same title block as PDF (company, logo, report title)
|
||||
- **PDF** — via WeasyPrint from the HTML, matching `typst-templates` page chrome (sidebar, header, title block, tables)
|
||||
|
||||
## Requirements
|
||||
@@ -53,5 +53,5 @@ examples/product-test.qmd
|
||||
## Notes
|
||||
|
||||
- PDF layout targets `typst-templates` (`product_test_template.typ` / `travel-report-template.typ`): A4, RTL, rotated left sidebar with page `n / N`, running header on page 2+, content-sized tables with grey header row.
|
||||
- HTML on screen stays a simple reading view; print chrome is `display: none` until print/PDF.
|
||||
- HTML on screen shows the shared title block (logo + company | subtitle + report title); running header and sidebar stay `display: none` until print/PDF.
|
||||
- Typst is not used for PDF generation.
|
||||
|
||||
Reference in New Issue
Block a user