On Wed, Nov 01, 2006 at 06:45:50PM +0100, David Kastrup wrote:
> Christian Stork <[EMAIL PROTECTED]> writes:
> > On Wed, Nov 01, 2006 at 05:28:12PM +0100, David Kastrup wrote:
> > ...
> >> > Just an idea: Many of my macros have an enclosing \ensuremath{..}. I
> >> > often use these macros then in my text outside of $..$. It seems like a
> >> > great feature if preview-latex could offer an option to automatically
> >> > register these macros for preview.
> >> You can try \PreviewMacro[!]\ensuremath and see where this takes you.
> > Only satisfactory for the argumentless macros. But thanks anyway.
> > Generating them automatically seems like the best solution and might
> > even be feasible...
> For macros with arguments that happen to call \ensuremath?
No, less general, for the once of the form
\newcommand{\xyz}[N]{\ensuremath{....}}
> Not really. How should \ensuremath figure out just where its caller
> chose to have an argument and where not?
"Just" compile it as $\xyz...$.
--
Chris Stork <> Support eff.org! <> http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint: B08B 602C C806 C492 D069 021E 41F3 8C8D 50F9 CA2F
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex