|
|
|
|
@ -15,7 +15,7 @@ function worddiv --description "Interact with TeX and babel (LaTeX) to show word |
|
|
|
|
# -f : scope our variable to the function |
|
|
|
|
set -f project_path ~/.config/fish/conf.d/worddiv |
|
|
|
|
set -f tmpdir $project_path/.cache/tempdir_(date -Ins) |
|
|
|
|
mkdir -p "$tmpdir" || echo "Unable to create temporary directory!" |
|
|
|
|
# mkdir -p "$tmpdir" || echo "Unable to create temporary directory!" # move this to inside the while loop |
|
|
|
|
set -f template_filename latex-hyphenation-template.tex |
|
|
|
|
set -f expression_filename latex-hyphenation-target.tex |
|
|
|
|
set -f secondary_filename latex-hyphenation-target-british.tex |
|
|
|
|
|