Tassilo Horn <[email protected]> writes:

> Hongyi Zhao <[email protected]> writes:
>
>> With the point inside the math environment, I run the `Preview for
>> environment' with `C-c C-p C-e', I will meet the following error:
>> preview-environment: No enclosing outer environment found. I attached
>> the screenshot here, just FYI.
>>
>> Any hints for this problem?
>
> Yes, that's because the array environment is an "inner" environment
> (`preview-inner-environments') meaning it cannot be previewed on its own
> but only as part of the surrounding math environment.  But you don't
> have a surrounding math environment, just $...$.  So use a math or
> displaymath environment instead.

You can preview $...$ just fine, you just don't get to call it an
environment.  C-c C-p C-p inside of an already existing (but edited)
preview would just use the already established boundaries I think.
Assuming that I remember this detail correctly.

-- 
David Kastrup

Reply via email to