Files
scwrypts/zsh/office/latex/open-pdf
T

19 lines
321 B
Bash
Raw Normal View History

2022-08-09 17:42:31 -06:00
#!/bin/zsh
2023-02-21 18:44:27 -07:00
DEPENDENCIES+=()
REQUIRED_ENV+=()
use office/latex
CHECK_ENVIRONMENT
2022-08-09 17:42:31 -06:00
#####################################################################
OPEN_PDF() {
2023-02-21 18:44:27 -07:00
local PDF=$(LATEX__GET_PDF $@)
2022-08-09 17:42:31 -06:00
[ ! $PDF ] && return 1
2023-02-21 18:44:27 -07:00
OPEN "$PDF"
2022-08-09 17:42:31 -06:00
}
#####################################################################
OPEN_PDF $@