mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Fixed failed compiling of .mom documents
1. Groff and pdfmom commands to create pdf files were being halted by a trivial error, a known bug when converting .mom to .pdf so I had the script ignore this error. 2. I replaced the groff command with the more simple `pdfmom`
This commit is contained in:
parent
af6f380c31
commit
c6bec9fa33
@ -24,7 +24,7 @@ textype() { \
|
||||
|
||||
case "$file" in
|
||||
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;;
|
||||
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;;
|
||||
*\.mom) refer -PS -e "$file" | pdfmom > "$base".pdf 2>/dev/null ;;
|
||||
*\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;;
|
||||
*\.[rR]md) Rscript -e "require(rmarkdown); rmarkdown::render('$file', quiet=TRUE)" ;;
|
||||
*\.tex) textype "$file" ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user