Christian Stork <[EMAIL PROTECTED]> writes:

> On Wed, Nov 01, 2006 at 01:02:37PM +0100, David Kastrup wrote:
>> Christian Stork <[EMAIL PROTECTED]> writes:
>
>> > There must be an easy way to say that preview should create previews for
>> > all macros \xyz{...} and not only the usual math/figures/...
>
>> > How do I do this?
>
>> (info "(preview-latex) Simple Customization")
>>                                              ^ Press C-x C-e here
>
>> Scroll down to "preview your favorite LaTeX constructs".
>
> Thank you.  Very impressive.  Don't know how I missed that...
>
> 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.

> I noticed two problems on "GNU Emacs 22.0.50.1
> (i386-apple-darwin8.8.1, Carbon Version 1.6.0)
>  of 2006-10-21 on petit.local"
>
> 1)
>
> In preamble:
>
> \newcommand{\DEF}[1]{\textbf{#1}} 
>
> In document body:
>
> \DEF{$\Gamma$-scoped}
>
>
> Then the gamma appears after the closing brace  (where \DEF is not
> previewed).

That is as expected.

(info "(preview-latex) Misplaced previews")

> 2)
>
> figure previews are missing the caption

That does not usually happen without using extra packages.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to