From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott May Subject: Re: problem with latex preview Date: Thu, 18 Mar 2010 08:01:53 -0700 (PDT) Message-ID: <917602.28493.qm@web65604.mail.ac4.yahoo.com> References: <783827.81499.qm@web65608.mail.ac4.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsHEU-0002Pj-BS for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 11:01:58 -0400 Received: from [140.186.70.92] (port=44475 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsHES-0002O3-C1 for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 11:01:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsHEQ-0000zj-LZ for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 11:01:56 -0400 Received: from n6.bullet.mail.ac4.yahoo.com ([76.13.13.234]:44846) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NsHEQ-0000zf-Fu for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 11:01:54 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org I solved my problem. I had to install the type1 fonts package (type1cm) from MiKTeX. On Mar 17, 2010, at 10:05 PM, Scott May wrote: > I am having trouble viewing the latex fragments in my emacs window (via C-c C-x C-l). > > First, I was getting no output (*Messages* buffer said "Failed to create png file from ..."). I installed AUCTex and that problem went away. > > Now, the latex image overlay shows only a part of the image. If I run dvipng.exe on the temporary file, I get multiple warnings similar to the following: > > c:\Programs\MiKTeX 2.8\miktex\bin\dvipng.exe arning: font cmr7 at 400 dpi not found, characters will be left blank I am by no means an expert about this, so I don't know why MikTeX would not make the missing fonts. Does anyone else know more about this? - Carsten > > The latex portions appear correctly if I perform a pdf export. > > I am using emacs 23.0 on Windows with MiKTeX 2.8 and org version 6.34trans. Curiously, this was all working fine before I upgraded miktex from 2.5 to 2.8 a few months ago, although that may be a red herring. > > Any ideas? > > Thanks. > > Cheers, > Scott >