add README PDF conversion

This commit is contained in:
Florian Förster 2025-12-18 11:43:49 +01:00
parent 062b0c93d8
commit 1c5b9935a9
3 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@ openssl/**/*.h
openssl/**/*.c
*.dll
*.db
*.pdf
# Byte-compiled / optimized / DLL files
__pycache__/

16
header.tex Normal file
View File

@ -0,0 +1,16 @@
13 lines
351 B
TeX
\usepackage{listings}
\usepackage[scaled=0.9]{DejaVuSansMono} % or another monospaced font
\renewcommand{\ttdefault}{pcr} % 'pcr' = Courier
\lstset{
basicstyle=\ttfamily\small,
columns=fullflexible,
keepspaces=true,
breaklines=true,
breakatwhitespace=true,
showstringspaces=false,
frame=none,
backgroundcolor=\color{white}
}

2
scripts/cvt_readme.ps1 Normal file
View File

@ -0,0 +1,2 @@
# covert the manual Markdown file to PDF
pandoc .\README.md -o .\README.pdf -V geometry:"a4paper, margin=2.5cm" -V header-includes="\usepackage[none]{hyphenat}"