I'm relatively new to Latex and I'd like to know if there is the possibility to include in the .tex document instructions to the compiler to make the compiling process a bit cleaver.
For example, I'd like to italicize all instances of the word 'software'. I'm writing in portuguese and that word it foreign and should go in italic. More, italicizing all instances include italicizing 'Software', 'softwares' and 'Softwares'. Subtle variations of the same word. If there were such thing as scripting I could write a code that could search for 'oftware', the common part, and make the corresponding word italic.
Of course I could write my own scrit in some language that operates on the .tex file, but it would be neat to have it inside the .tex file to write it once and forget about it during the writing of the document and subsequente compilations.
Thank you
\markup[options]{word}and then letoptionsdecide what to do withword, for example make it italic and index it under terminology, then the formatting is controlled from the preamble. – daleif Jun 21 '16 at 10:24