Improves the PDF generation process by adding verbosity and updating font configurations, ensuring better compatibility and output quality. - Add "--verbose" to pandoc command for detailed output during PDF generation - Change monofont from "SauceCodePro Nerd Font" to "Noto Sans Mono" for improved font rendering - Switch PDF engine from "pdflatex" to "xelatex" for better Unicode support - Uncomment fontspec package in LaTeX to enable custom font settings - Add inputenc package and Unicode character declaration for extended character support Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
32 lines
883 B
TeX
32 lines
883 B
TeX
% main.tex
|
|
|
|
% Set the document language to English
|
|
\usepackage[english]{babel}
|
|
% \usepackage[utf8]{inputenc}
|
|
% \DeclareUnicodeCharacter{21D2}{$\Rightarrow$}
|
|
|
|
% Adjust page geometry
|
|
\usepackage[
|
|
a4paper, inner=1.5cm, outer=1.5cm, top=2cm, bottom=2cm,
|
|
% bindingoffset=0.5cm
|
|
]{geometry}
|
|
|
|
% Configure headers and footers using scrlayer-scrpage
|
|
\usepackage[automark,headsepline,footsepline]{scrlayer-scrpage}
|
|
\clearpairofpagestyles
|
|
\ohead{\headmark}
|
|
\ofoot{\pagemark}
|
|
\pagestyle{scrheadings}
|
|
|
|
|
|
% Include additional settings from external files
|
|
% \input{inline_code.tex}
|
|
% \input{bullet_styling.tex}
|
|
\input{utils/docs/chapter_breaks.tex}
|
|
\input{utils/docs/blockquote.tex}
|
|
\input{utils/docs/hyperref_setup.tex}
|
|
|
|
% Font settings using fontspec
|
|
\usepackage{fontspec}
|
|
% \setmainfont{DejaVu Serif} % Set your main font
|
|
% \setmonofont{SauceCodePro Nerd Font} % Set your monospace (code) font
|