Re: preview-latex, Fold Mode problem in AUCTeX 11.54
Ralf Angeli <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
* George R. Wilkens (2005-01-21) writes: > When I am using preview-latex together with Fold Mode, some of the > displayed equations are displayed twice in the buffer. No wonder. There haven't been implemented any provisions for TeX-fold and preview-latex to play together flawlessly. This may change in course of preview-latex being integrated into AUCTeX. I think the problem one can see with circ.tex is that TeX-fold places overlays into the buffer which have a higher priority than the ones inserted by preview-latex (which don't set a priority at all) but which are nested inside of preview-latex overlays. If I recall correctly I implemented the whole priority caboodle because the same would happen with nested TeX-fold overlays. You should be able to get rid of preview-latex graphics being displayed twice by ensuring that there are no overlaps of constructs treated by both packages. You can e.g. remove the label and item stuff from `TeX-fold-macro-spec-list' which will improve the situation in circ.tex a bit. -- Ralf