From mboxrd@z Thu Jan 1 00:00:00 1970 From: amscopub-mail@yahoo.com Subject: Re: Change resolution of LaTeX formulas in HTML output? Date: Fri, 6 Aug 2010 12:39:44 -0700 (PDT) Message-ID: <649656.67733.qm@web65502.mail.ac4.yahoo.com> Reply-To: amscopub-mail@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=39839 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhSmQ-0000Yc-Au for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 15:40:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhSld-0000gw-Kz for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 15:39:47 -0400 Received: from n13.bullet.mail.ac4.yahoo.com ([74.6.228.93]:34396) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OhSld-0000gp-Fr for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 15:39:45 -0400 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: emacs-orgmode@gnu.org I just tripped over myself :-) After reading this excellent discussion of dpi (http://www.danheller.com/tech-dpi.html ), I think the problem might just be dvipng. The "problem" is that while the PNGs look good on the screen, they look horrible in the printer. I tried creating some PNGs with with dpi's of 1000. The images were very pixelated. If you print such a low quality image, it will look horrible, no matter how high the dpi. I tried using the Q switch but that didn't seem to do anything. Maybe there is some type of combination of switches that produces better quality PNGs? Or an alternative program that does the same thing? On Fri, 6 Aug 2010 07:05:58 -0700 (PDT) Uri Avalos wrote: > Carsten, we are trying to increase the resolution of the images for *print* (ppi or dpi) while keeping the image the size on the web page. (As I wrote in the first email, I'm generating an HTML file with LaTeX pngs and then converting that to a PDF.) > > Unfortunately, the html-scale and scale options by themselves do *not* get the job done. > > Anyhow, this has been done before in Twiki. Check out the "rendering options" in this page: > > https://twiki.cern.ch/twiki/bin/view/TWiki/LatexModePlugin > > The way this plugin gets LaTeX pngs of 300 ppi (without an increase in screen size) is by simultaneously increasing the resolution and *decreasing* the html-scale. > > Just tried that approach with :html-scale .25 and :html-resolution 300 but with *no* noticeable increase in quality. > > On Fri, 6 Aug 2010 12:46:28 +0200 > Carsten Dominik wrote: > > > > > On Aug 5, 2010, at 12:32 AM, Bastien wrote: > > > > > amscopub-mail@yahoo.com writes: > > > > > >> Is there a way to control the resolution of PNG LaTeX formulas when > > >> you export to HTML? > > > > > > I've implemented this. > > > > I would not think that we need this change, the :scale and :html-scale > > parameters do this for in-buffer display and html formatting, > > respectively. > > > > Please revert this change. > > > > - Carsten > > > > > -- > --Thanks! > Uriel > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- --Thanks! Uriel