generated from dopt-python/py311-cython
add README PDF conversion
This commit is contained in:
parent
062b0c93d8
commit
1c5b9935a9
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,6 +12,7 @@ openssl/**/*.h
|
||||
openssl/**/*.c
|
||||
*.dll
|
||||
*.db
|
||||
*.pdf
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
||||
16
header.tex
Normal file
16
header.tex
Normal 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
2
scripts/cvt_readme.ps1
Normal 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}"
|
||||
Loading…
x
Reference in New Issue
Block a user