auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] preview-latex for C/C++ comments?


From: David Kastrup
Subject: Re: [AUCTeX] preview-latex for C/C++ comments?
Date: Sun, 19 Jun 2005 00:40:45 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"David L" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]