From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35412 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: PNG output Date: Thu, 12 Jul 2007 23:12:39 -0400 (EDT) Message-ID: References: <52842.62.251.0.62.1184268512.squirrel@webmail.hccnet.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184296390 5557 80.91.229.12 (13 Jul 2007 03:13:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2007 03:13:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 13 05:13:07 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1I9Bad-0000JK-1s for gctc-ntg-context-518@m.gmane.org; Fri, 13 Jul 2007 05:13:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 75620202FD; Fri, 13 Jul 2007 05:13:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28957-06; Fri, 13 Jul 2007 05:12:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 57677202E5; Fri, 13 Jul 2007 05:12:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 61F22202E5 for ; Fri, 13 Jul 2007 05:12:46 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30937-02-4 for ; Fri, 13 Jul 2007 05:12:42 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 5DDDB202D1 for ; Fri, 13 Jul 2007 05:12:42 +0200 (CEST) Original-Received: FROM aditya (Unknown [66.135.114.104]) BY skycaptain.mr.itd.umich.edu ID 4696EDA8.2231F.31104 ; 12 Jul 2007 23:12:40 -0400 In-Reply-To: <52842.62.251.0.62.1184268512.squirrel@webmail.hccnet.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35412 Archived-At: On Thu, 12 Jul 2007, w.neimeijer@hccnet.nl wrote: > I want to convert my standalone formulas to PNG to display these formulas > on my website. > > What I am doing is the following > > \starttext > \startTEXpage > \startformula > e^{i x} = \cos x + i \sin x > \stopformula > \stopTEXpage > \stoptext > > and process this via texexec --pdf to get a PDF file. > I tried to convert the resulting PDF file via gswin32c to png > but the resulting PNG output is not so good. > > Then I read dvipng could do the job, which means I have to produce dvi > output via texexec --dvi but than I get complaints from dvips that it > cannot find the file tex.pro for the specials. However a png file is > produced. Yes, tex.pro is missing from the context standalone distribution. I had just copied the corresponding file from Miktex to the correct directory in the standalone distribution. However, since you only need the dvi, you can use texexec --dvi --nobackend HTH, Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________