mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-29 02:38:37 -05:00
c09b86e0da
Also get rid of the colorscripts
21 lines
389 B
Bash
Executable File
21 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" = "-h" ]; then
|
|
echo "Usage: pancomp [input_format] [input_file] [output_format] [output_file]"
|
|
exit 0
|
|
fi
|
|
|
|
if [ $# -ne 4 ]; then
|
|
echo "Bruh, I need 4 arguments."
|
|
exit 1
|
|
fi
|
|
|
|
pandoc \
|
|
--pdf-engine=xelatex \
|
|
-V 'mainfont:Iosevka Etoile' \
|
|
-V 'sansfont:Iosevka Aile' \
|
|
-V 'monofont:Iosevka' \
|
|
-V 'geometry:margin=1in' \
|
|
-f "$1" -t "$3" \
|
|
-o "$4" "$2"
|