md2pdf

pandoc wrapper to convert markdown to pdf
Index Commits Files Refs README
commit bc87f9bfddf4539e8e018cc802fecd5d1f3c58e2
parent cb3e1e3f383d9c453200e6ad66232d6553c3ddd3
Author: mjkloeckner <martinjkloeckner@gmail.com>
Date:   Sat, 29 Apr 2023 20:38:41 -0300

fix missing input file

Diffstat:
Mmd2pdf | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/md2pdf b/md2pdf
@@ -24,7 +24,8 @@ pandoc --pdf-engine=xelatex \
     -H $style_path \
     -f markdown+startnum+tex_math_dollars+implicit_figures+grid_tables \
     --shift-heading-level-by=-1 \
-    -o $output
+    -o $output \
+    "$filename".md
 
 [ $? -ne 0 ] && exit 3