This change removes unnecessary dependencies and optimizes the PDF build
process, enhancing maintainability and reducing potential errors.
- Removed `python3-pypandoc` from Dockerfile to minimize dependency
footprint.
- Replaced `texlive-xetex` with `texlive` in Dockerfile for broader TeX
support.
- Introduced `subprocess` in `build_pdf.py` to replace `pypandoc`,
improving process control.
- Added `run_process_with_params` function to handle command execution,
increasing code modularity and error handling.
- Created `build_pdf.old.py` as a backup of the original script for
reference.
Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
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>