Lines Matching defs:macro
274 * Try to find a Latex macro, in one of the following forms:
336 // Failed, so try to find macro from definition list
339 // First try getting a one-character macro, but ONLY
341 // be a longer macro)
366 // We want to check whether this is a space-consuming macro
762 // Ignore some types of input files (e.g. macro definition files)
925 CustomMacro *macro = new CustomMacro(commandName, noArgs, NULL);
927 macro->macroBody = copystring(commandValue);
930 CustomMacroList.Append(commandName, macro);
959 errBuf.Printf(_T("Could not find macro: %s at line %d, file %s"),
972 * 'environment' specifies the name of the macro IFF if we're looking for the end
1297 // If custom macro, parse the body substituting the above found args.
1353 // If custom macro, parse the body substituting the above found args.
1377 * a pair of braces on their own, so return a `dummy' macro
1461 case _T('#'): // Either treat as a special TeX character or as a macro arg
1565 * Consume as many arguments as the macro definition specifies
1619 // belong to this macro.
1643 errBuf.Printf(_T("Missing macro argument in the line:\n\t%s\n"),tmpBuffer.c_str());
1654 // Hopefully optional args don't occur at the end of a macro use
1778 int GetNoArgs(void) // Number of args for this macro
2061 CustomMacro *macro = (CustomMacro *)node->GetData();
2062 delete macro;
2582 // Called on start/end of macro examination