diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-12-17 21:07:45 +0100 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-12-17 21:07:45 +0100 |
| commit | 39f0708234bee4faa31cafc3edb4054c629e8a11 (patch) | |
| tree | c475ecf5c08e4d2e4f6530cafaaccfcadd9ac451 | |
| parent | 704902f6b0feba3fc33da951943afab26597a608 (diff) | |
fix unentangle latex code from Markdown header in character count
| -rw-r--r-- | report.qmd | 101 |
1 files changed, 50 insertions, 51 deletions
@@ -7,14 +7,6 @@ date: 2025-12-18 toc-depth: 2 -format: - stylish-report-pdf: - pdfversion: "2.0" - pdfstandard: [A-4f, UA-2] - tagging: on - template-partials: - - before-title.tex - metadata-files: - _actors.yml keywords: @@ -30,53 +22,60 @@ resource-path: filters: - nobreaks -include-in-header: +format: + stylish-report-pdf: + pdfversion: "2.0" + pdfstandard: [A-4f, UA-2] + tagging: on + template-partials: + - before-title.tex + include-in-header: # refine hyphenation -- text: | - \usepackage{lua-check-hyphen} - \LuaCheckHyphen{compact,whitelist={% - hyph_ok_any.txt,% - hyph_ok_american.txt,% - hyph_ok_danish.txt,% - }} - \babelhyphenation[danish]{ - copy-left % copyl-eft - der-ud-over % deru-dover - fang-er-nes % fan-gernes - for-brug-eren % forbruge-ren - for-vent-ningen % forventnin-gen - grundes % grun-des - hand-ling-er-nes % handlin-gernes - pro-pri-e-tær % prop-rietær - } + - text: | + \usepackage{lua-check-hyphen} + \LuaCheckHyphen{compact,whitelist={% + hyph_ok_any.txt,% + hyph_ok_american.txt,% + hyph_ok_danish.txt,% + }} + \babelhyphenation[danish]{ + copy-left % copyl-eft + der-ud-over % deru-dover + fang-er-nes % fan-gernes + for-brug-eren % forbruge-ren + for-vent-ningen % forventnin-gen + grundes % grun-des + hand-ling-er-nes % handlin-gernes + pro-pri-e-tær % prop-rietær + } # add alt text to embedded image, to aid non-visual rendering -- text: | - \renewcommand{\doclicenseImage}[1][]{% - \setkeys{doclicense}{#1} - \href{\doclicenseURL}{% - \includegraphics[ - alt=\doclicenseText% - width=\doclicense@imagewidth% - ]{\doclicenseImageFileName}% - } - } + - text: | + \renewcommand{\doclicenseImage}[1][]{% + \setkeys{doclicense}{#1} + \href{\doclicenseURL}{% + \includegraphics[ + alt=\doclicenseText% + width=\doclicense@imagewidth% + ]{\doclicenseImageFileName}% + } + } # define missing danish locale strings, and append link to published source # TODO: override URI suffix (curently falls back to default URI) -- text: | - \makeatletter - \@namedef{doclicense@lang@thisDoc}{Dette værk er licenseret under en} - \makeatother - \makeatletter - \@namedef{doclicense@lang@word@license}{-licens.\\ - Kilde er tilgængelig ved - \href{https://source.abcdefghijklmnopqrstuvxyzæøå.dk/copyleft}{https://source.abcdefghijklmnopqrstuvxyzæøå.dk/copyleft}} - \makeatother - \makeatletter - \@namedef{doclicense@lang@lic@CC@code}{da} - \makeatother - \makeatletter - \@namedef{doclicense@lang@lic@CC@by-sa@4.0}{Kreditering-DelPåSammeVilkår 4.0 International} - \makeatother + - text: | + \makeatletter + \@namedef{doclicense@lang@thisDoc}{Dette værk er licenseret under en} + \makeatother + \makeatletter + \@namedef{doclicense@lang@word@license}{-licens.\\ + Kilde er tilgængelig ved + \href{https://source.abcdefghijklmnopqrstuvxyzæøå.dk/copyleft}{https://source.abcdefghijklmnopqrstuvxyzæøå.dk/copyleft}} + \makeatother + \makeatletter + \@namedef{doclicense@lang@lic@CC@code}{da} + \makeatother + \makeatletter + \@namedef{doclicense@lang@lic@CC@by-sa@4.0}{Kreditering-DelPåSammeVilkår 4.0 International} + \makeatother #keep-tex: true --- |
