diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-28 23:33:23 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-28 23:33:23 +0200 |
| commit | 46e482552c35456ddc836720df0a44ba25f60544 (patch) | |
| tree | 241d18be89022e7e0951b80752f7b2c3815de0e1 /README.md | |
| parent | 4a0ab3d2f390a68b18c40b04269c46a6373c08f9 (diff) | |
| download | clectio-46e482552c35456ddc836720df0a44ba25f60544.tar.gz clectio-46e482552c35456ddc836720df0a44ba25f60544.zip | |
feat: config.h GOSPEL_ONLY -- print all readings (default) or just the Gospel
Add a compile-time toggle in config.h: GOSPEL_ONLY=0 (default) prints every
reading; GOSPEL_ONLY=1 prints only the Gospel. The Gospel is matched by its
part label, so it works for both forms. Help and the compiled-settings line
report the mode. Also tidy print_day's header underline to match the width of
the "<form> for <date>" line instead of the reading count. No data change;
strict -Wsign-conversion clean in both modes.
Claude-Session: https://claude.ai/code/session_01S1CD1u3tgSS4xNu6WHfp5a
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ Edit `config.h` (copied from `config.def.h` on first build), then `make`: * `FORM_OF` / `FORM_EF` — Ordinary Form (1969) or Extraordinary Form (1962) * `SIGLA_ENGLISH` / `SIGLA_LATIN` — citation dialect (`Jer 14` vs `Ier 14`) * `COLOR` — colour the day name with its liturgical colour + * `GOSPEL_ONLY` — print every reading (0, default) or just the Gospel (1) One form per binary; for both, build twice. The interface is English only. |
