Merge complete
This commit is contained in:
6
pandoc-md2pdf.sh
Executable file
6
pandoc-md2pdf.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
ORIGIN=$1
|
||||
DEST=${ORIGIN%.*}
|
||||
|
||||
pandoc -f markdown -t latex --pdf-engine=xelatex -V papersize=a4 -V documentclass=article -V margin-top=1in -V margin-left=1in -V margin-right=1in -V margin-bottom=1in -V fontfamily=times -V fontsize=12pt -V lang=pt-BR -o $DEST.pdf $ORIGIN; xdg-open $DEST.pdf
|
||||
Reference in New Issue
Block a user