"David L" <[EMAIL PROTECTED]> writes:

> Is there a way to use preview-latex to preview latex code in a C/C++
> comment?  I'm new to auctex/preview latex and my attempts to preview a
> region consisting of Latex inside a comment block in C (where the
> region didn't contain the C comments /* */) have been unsuccessful.
> It seem like preview-latex wants the entire document to be tex even if
> I'm trying to preview only a region.

Pretty much so, yes.  You could try declaring a master document with
preamble and stuff that is somewhere else, and then work with a
clones buffer in LaTeX mode, but there is really no infrastructure for
this sort of thing at the moment.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


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

Reply via email to