BigUpdate
Python application / build (push) Has been cancelled

This commit is contained in:
Igor20264
2026-09-03 10:44:08 +03:00
parent d2da20fdb2
commit 516abe7b83
177 changed files with 40178 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# MD → LaTeX → PDF (XeLaTeX)
# Usage: scripts/md2pdf.sh report.md [out_dir]
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"
MD="${1:?markdown file}"
OUT="${2:-}"
ARGS=(-m md2latex "$MD" --pdf)
if [[ -n "$OUT" ]]; then ARGS+=(-o "$OUT"); fi
exec python "${ARGS[@]}"