auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Re: [AUCTeX] feature request (preview-latex): previewing


From: Lukasz Stafiniak
Subject: [AUCTeX-devel] Re: [AUCTeX] feature request (preview-latex): previewing without master file, with a default preamble
Date: Sat, 3 Feb 2007 23:18:40 +0100

Could someone knowledgeable of dependecies make it possible to have
the default preamble file in a customizable location? (See my note
cited at the end of this message. Moreover, the behavior described
there could be specific to my local settings.) Then previewing no
file's buffers would become a feature.

On 1/31/07, Lukasz Stafiniak <address@hidden> wrote:
(I've switched to auctex-devel.)

On 1/31/07, David Kastrup <address@hidden> wrote:
>
> Hey, I never got this to run properly (but I didn't try very hard).
> So if you get all the details you remember together, maybe we can make
> it easier for the next person to try something like that.
>
> In particular, it would be interesting to know all the dead ends you
> explored.  While it is fine if there is a way that makes it work, it
> might even be nicer if some "obvious" ways (those that you tried
> first) can be made to work, too.
>
It is simple in the end, as you said. After the buffer is created, set
`TeX-master' to a file in home directory, set `TeX-header-end' and
`TeX-trailer-start' to their default values.

With a `TeX-master' out of place, `preview-parse-messages' doesn't
recognise that some file is "<none>", because it is like
"../../<none>", that is, it's path is home relative to the path of the
preamble, and `preview-parse-messages' has hard-coded check against
"<none>".





reply via email to

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