Listing Terms and Acronyms in Text or LaTeX using bash
I often need to check for inconsistent capitalization in my tex files. So listing all the consecutive capitalized words and characters helps me to decide which one is intentional capitalization and which one is not. The following bash script has two functions can lists all terms (Capitalized Phrase) and acronyms used throughout the input file.
1 | $ terms filename.tex |
To reuse save the code shown at the end as $HOME/shortcuts.sh
then issue command source $HOME/shortcuts.sh
. use terms
and acronyms
functions as shown below. And here is the shortcuts.sh
.
1 |
|
Listing Terms and Acronyms in Text or LaTeX using bash
http://neelex.com/2020/12/26/latex-shortcuts-acronyms-terms/