[texhax] Creating a source with macros embedded

Mike B. mb78aa at yahoo.com
Fri Jul 30 06:32:05 CEST 2010

Hi All,

I use several files where I define abbreviations with \newcommand. I load these files at the preamble with
\input filea
\input fileb

Is it possible to transform a latex source file to have  all these macros embedded so I do not need to supply the abbreviations files?.

For example, assume I define in filea

and my source code has
blah blah \myabbr blah blah

I would then obtain a new source code (with the macros replaced by their corresponding text)
blah blah sometext blah blah

so there is no need for to input the abbreviations files.


More information about the texhax mailing list