[OS X TeX] tex'ing newcommands

William F. Adams wadams at atlis.com
Wed May 26 19:38:48 CEST 2004


On Wednesday, May 26, 2004, at 01:29  PM, Donal Day wrote:

> Does there exist a tool that will read this file of definitions, strip 
> out the definitions, put each on a line and render them into a  latex 
> document? I would then compile it and keep the output as a handy 
> reference. If so, I could usefully share this file and the list of 
> commands with my collaborators so we can all benefit.

One can replace \def with your own command (say \mef) and then have a 
switch at the beginning of the file which determines how \mef is 
defined, whether it makes a command or typesets its argument.

William

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list