|
|
|
|
@ -24,9 +24,9 @@ function worddiv --description "Interact with TeX and babel (LaTeX) to show word |
|
|
|
|
# welcome message |
|
|
|
|
set -f tex_version (tex -version | head -n 1) |
|
|
|
|
set -f latex_version (latex -version | head -n 1) |
|
|
|
|
echo "Let’s query " ; set_color yellow ; echo -n " $tex_version" ; set_color normal |
|
|
|
|
printf "\nLet’s query " ; set_color yellow ; echo -n " $tex_version" ; set_color normal |
|
|
|
|
echo " and " ; set_color yellow ; echo -n "$latex_version" ; set_color normal ; echo " !" |
|
|
|
|
echo -e '\nEnter an expression to see its hyphenation, or ‘q’ to quit.\n' |
|
|
|
|
printf '\nEnter an expression to see its hyphenation, or ‘q’ to quit.\n\n' |
|
|
|
|
|
|
|
|
|
# set languages |
|
|
|
|
set -f language american |
|
|
|
|
|