122 Commits
Author SHA1 Message Date
SuperminarenandClaude Sonnet 5.5 874838f525 Swedish adaptation: Instegscertifikat and HAREC
- Editions replaced by INSTEG, HAREC and UPPGRADERING (Instegscertifikat -> HAREC)
- Question pool optional; simulator, homework tool and solutions switch off without one
- All UI strings, templates, renderers and project JS localised to sv-SE
  (decimal comma, Swedish non-breaking-space rules, Å/Ä/Ö in Morse table)
- DARC branding, membership CTA and German links removed; attribution footer added
- Page names centralised in src/pages.py
- README and docs rewritten in Swedish

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-10 15:03:02 +02:00
Mathias Weyland fd771cdb71 Handle CW prosigns correctly in renderer/morse.py
Prosigns get split into individual letters with an (incorrect) gap
between them. E.g. 'SK' is rendered as '... -.-' but shoud be '...-.-'.
This also preserves `[morse:correction]` by producing a series
of nine dits.

The patch proposed by HB9ARK fixes that. Thank you!
2026-08-25 11:38:01 +02:00
Tim Grelka f6ceb4cf49 refactor: avoid parsing document twice for figure numbers 2026-06-24 16:18:39 +02:00
Tim Grelka c15b3f709b Merge branch 'main' into feat/improve-reference-counting 2026-05-06 10:23:00 +02:00
Matthias Jung f6d43fe158 feature: render invisible anchor for index 2026-04-06 22:17:14 +02:00
Matthias Jung bce6add76b fix: improved regex 2026-04-05 12:21:44 +02:00
Matthias Jung 850fbce913 feature: index in LaTeX 2026-04-01 23:36:48 +02:00
Matthias Jung 1e361787f0 feature: implement index on html side as stub 2026-04-01 23:30:43 +02:00
Tim Grelka ce19f6a88d Merge branch 'main' into feat/cli 2026-02-14 18:30:48 +01:00
Matthias Jung 2139685192 refactor: adopts rendering process to new data source 2026-02-01 20:31:46 +01:00
Tim Grelka a61bf8816a Merge branch 'main' into feat/cli 2026-01-18 18:35:51 +01:00
Tim Grelka b6a8b6686b feat: count references during parsing for pictures 2026-01-11 02:39:21 +01:00
Tim Grelka 909acd97ff Merge branch 'main' into feature-alt-texts 2026-01-09 20:54:20 +01:00
Tim Grelka f7746fe7a4 reactor: don‘t include default alt text in render function 2026-01-09 20:53:53 +01:00
Matthias Jung 75af765790 feature: add proper formula display in text and slides 2026-01-06 22:58:53 +04:00
Lars Weiler 286ca460eb fix: use PEP 604 syntax so that the old Ruff will be happy (can be changed when we switch to a newer Ruff later) 2026-01-06 14:22:22 +01:00
Lars Weiler 4eaf741397 refactor: use the same code for all three types of figures 2026-01-06 14:22:22 +01:00
Lars Weiler b2f834df44 fix: update section_url for proper reference to the same file 2026-01-06 14:22:22 +01:00
Lars Weiler 072aaf2e49 feature: Add hierarchical figure numbers for picture, photo, and table tags 2026-01-06 14:22:22 +01:00
Matthias Jung f5a5d533cd fix:table and formula clash when pipe is used
This fixes #32
2026-01-04 16:28:54 +04:00
Tim Grelka a081fcb642 feat: add simple CLI entry point for renderer module 2025-11-10 22:51:05 +01:00
Matthias Jung ee5197000e feature: alt-text for photos 2025-11-09 17:48:47 +01:00
Matthias Jung f00f0481a9 fix: tests for pictures 2025-11-09 15:42:13 +01:00
Matthias Jung f5e5c93ad3 feature: add alt-text support for pictures 2025-11-09 13:02:46 +01:00
Tim Grelka 03cbfae60c fix: only render table bodies with children 2025-11-09 11:59:48 +01:00
Tim Grelka 42ba32cc11 feat: render new tables in LaTeX 2025-11-09 11:46:46 +01:00
Tim Grelka f72879967c feat: improve table rendering 2025-11-09 10:33:56 +01:00
Tim Grelka 0e90ba7f60 fix: only match tag blocks when spanning multiple lines 2025-08-29 00:30:55 +02:00
Tim Grelka a59edbc0a4 fix: ignore None tokens in render_inner 2025-08-29 00:30:26 +02:00
Tim Grelka f0299298a6 style: reformat files with ruff 2025-07-03 17:58:29 +02:00
Tim Grelka 09331b3a54 style: include new linter rules and fix files 2025-07-03 17:23:46 +02:00
Tim Grelka ac90cd6002 feat: use standard render method for rendering slides 2025-06-24 22:09:49 +02:00
Tim Grelka c13ae4c9a2 refactor: clean up code 2025-06-24 22:09:49 +02:00
Tim Grelka 68b1abf7e8 refactor: format file with ruff 2025-06-24 22:09:49 +02:00
Tim Grelka 77435b2354 feat: remove background color attributes 2025-06-24 22:09:49 +02:00
Tim Grelka 6282fc61c0 refactor: use dictionary unpacking 2025-06-24 22:09:49 +02:00
Tim Grelka 95974aa85d refactor: use splat operator for class args 2025-06-24 22:09:49 +02:00
Prof. Dr. Matthias Jung DL9MJ 4252f96990 refactor: removed uncessessary classes from slide renderer 2025-06-24 22:09:49 +02:00
Prof. Dr. Matthias Jung DL9MJ 9ec9b03d99 refactor: fixed bugs due to merge 2025-06-24 22:09:49 +02:00
Prof. Dr. Matthias Jung DL9MJ 9eebce574e Merge branch 'main' into feature/slides 2025-06-24 22:09:48 +02:00
Prof. Dr. Matthias Jung DL9MJ c2209c5cc2 refactor: converted to block token 2025-06-24 22:04:42 +02:00
Prof. Dr. Matthias Jung DL9MJ 283b6c8456 feature: added tests for slides 2025-06-24 22:04:42 +02:00
Prof. Dr. Matthias Jung DL9MJ 77eb1f1c39 feature: tags for slides 2025-06-24 22:04:42 +02:00
Prof. Dr. Matthias Jung DL9MJ 43e544558e feature: support fragments in slides 2025-06-24 22:04:42 +02:00
Prof. Dr. Matthias Jung DL9MJ 83eeef6c7c feature: support qso in slides 2025-06-24 22:04:42 +02:00
Prof. Dr. Matthias Jung DL9MJ 44189e8816 feature: first slide rendering and acceptance test based on html renderer 2025-06-24 22:04:42 +02:00
Prof. Dr. Matthias Jung DL9MJ 2d0dc3e1fc feature: ability to detect includes 2025-06-24 22:04:14 +02:00
Prof.Dr. Matthias Jung DL9MJ 77ba4d9217 Pull request #38: feature: person tag added
Merge in FRAG/50ohm.de from feature/person to main

* commit '3cc331f4f8da9327a8f97b7c28d956fd2b4e075c':
  feature: person tag added
2025-06-24 22:04:13 +02:00
Prof.Dr. Matthias Jung DL9MJ af8d0a31e2 Pull request #37: fix: correct morse span code
Merge in FRAG/50ohm.de from fix/morse to main

* commit '7b81c11ce3b6e81a6962235c410943bfb08677a2':
  feature: new test with two morse codes in one line
  fix: correct morse span code
2025-06-24 22:04:13 +02:00
Prof.Dr. Matthias Jung DL9MJ 1a5b5ddf36 Pull request #34: fix: add wordorigin to tags
Merge in FRAG/50ohm.de from fix/wordorigin to main

* commit 'cc74190eec5c541e1394019882b5268c1bbc3548':
  fix: add test for wordorigin
  fix: add wordorigin to tags
2025-06-24 22:04:13 +02:00