Y Yin

Research Flyer

Research Flyer

Journal-style research flyer (modelled on a Science “Research Article” layout) in the RTS blue theme, generated from YAML:

Layout

Research-Flyer/
  build.py                 # python build.py [project ...] [--no-pdf]
  templates/flyer.html.j2  # structure (shared by all projects)
  templates/flyer.css      # look: colours, fonts, spacing
  fonts/                   # Source Serif Pro (embedded into the HTML)
  mid_report/              # example project
    flyer.yaml             #   ← all wording lives here
    figures/*.svg          #   figures referenced from the YAML
    build/*.html, *.pdf    #   generated

Edit

Everything is in <project>/flyer.yaml; the cheatsheet at the top of mid_report/flyer.yaml lists every block type. Quick reference:

New flyer

Copy mid_report/ to a new folder (e.g. final_report/), edit its flyer.yaml, then build.

Build

pip install -r requirements.txt
python build.py              # every folder with a flyer.yaml
python build.py mid_report   # just one
python build.py --no-pdf     # HTML only

Needs Google Chrome ≥ 131 (CSS page-margin boxes); set CHROME_BIN to use another binary. The build warns if the summary text no longer fits on page 1.