From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maarten Bergvelt Newsgroups: gmane.emacs.help Subject: Re: Emacs 'destroys' latex files Date: Tue, 16 Jan 2007 18:55:31 +0000 (UTC) Organization: Department of Mathematics, UIUC. Message-ID: References: <1168965020.972207.75690@51g2000cwl.googlegroups.com> <1168972738.843874.79670@l53g2000cwa.googlegroups.com> Reply-To: bergv@uiuc.edu NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1168976449 4192 80.91.229.12 (16 Jan 2007 19:40:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Jan 2007 19:40:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 16 20:40:43 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H6uAY-0004JU-DQ for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jan 2007 20:40:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6uAY-0003Yu-0j for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jan 2007 14:40:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!news.ks.uiuc.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: bolmikolke.math.uiuc.edu Original-X-Trace: news.ks.uiuc.edu 1168973731 8610 130.126.108.244 (16 Jan 2007 18:55:31 GMT) Original-X-Complaints-To: news+abuse@ks.uiuc.edu Original-NNTP-Posting-Date: Tue, 16 Jan 2007 18:55:31 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:144769 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40374 Archived-At: In article <1168972738.843874.79670@l53g2000cwa.googlegroups.com>, Pseudo wrote: > Dear Maarten, > > Thank you for your reply. In fact, my emacs does not seem to know > latex-preview. I used the testfile you suggest > >> \documentclass{amsart} >> \renewcommand{\AA}{\mathbb A} >> \begin{document} >> \[ >> \AA >> \] >> \end{document} > > it produces the following behaviour: the \AA inside the document > environment is visible as \AA, the first one in the header is displayed > in this strange form A with an o on its head. What do mean: "is visible as \AA", which definition of \AA? What do you mean "first one in the header"? What header? I have no clue what you are talking about here.... > Is there a 'logging' system in emacs that tells me what modules, parts, > whatsoever are run when opening a document? That would be a hint where > to search for my problem ... look in the *Messages* buffer. Look also what modes are active: M-x help[ret]m > Here is my .emacs file. Its mainly a collection of things I found > somewhere. And: on a much older version of debian / emacs it worked > quite well. Hope posting all these lines helps in understanding what I > messed up. > At least I don't see any strange parts in it. The thing to do is first start emacs without customization: emacs -q latextest.tex Do you see the strange behaviour? If yes, then there is some systemwide customization, but I doubt that. If no, then copy .emacs to .emacsold and start hacking on .emacs. -- Maarten Bergvelt Mathematics Department, University of Illinois Urbana-Champaign, IL 61801 Ph: 217-333-6326 email: bergv@math.uiuc.edu