master
Marc Hiatt 2 years ago
parent caf75bc4ba
commit acd223b6ed
  1. 2
      worddiv
  2. 4
      worddiv.fish

@ -17,7 +17,7 @@ secondary_filename=latex-target-scd.tex
# welcome message
tex_version=`tex -version | head -n 1`
latex_version=`latex -version | head -n 1`
printf "Let’s query \n %s and\n %s !\n" "$tex_version" "$latex_version"
printf "\nLet’s query \n %s and\n %s !\n" "$tex_version" "$latex_version"
printf "\nEnter an expression to see its hyphenation, or ‘q’ to quit.\n\n"
# set languages

@ -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

Loading…
Cancel
Save