[texhax] To not expanding macros, is there anything else besides \string?
Barhorst, Alan
ALAN.BARHORST at ttu.edu
Wed Jan 5 00:29:14 CET 2011
Hello, I am sorry for the naivety of this question, but here it goes. I am trying to use \immediate\write on file 14 and 15 for information that is generated/input in my main LaTeX session. They are solutions to problems that I want to assemble in an appendix. The problem is that any macro I pass to the write command gets immediately expanded, and all I have found in the literature is that I need to put \string in front of every macro. What I am hoping is that there is one big wrapper macro I can place around anything I want to write to a file for later expansion. If there is such a creature I would appreciate someone who could point it out to me. There seems to be hints of this in styles such as inlinedef, but it seems to not work or I don't understand how it works.
Thanks!
AB
________________________________________________________
Alan A. Barhorst, PhD, PE | alan.barhorst at ttu.edu
Professor | http://www.me.ttu.edu/
Mechanical Engineering | Phone: 806-742-3563, ext 241
Texas Tech University
Lubbock, TX 79409-1021
When leaders disregard the law and human dignity, kooks
are emboldened; innocence lost.
Human potential cannot be developed or measured from a
floating moral reference frame.
________________________________________________________
More information about the texhax
mailing list