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 08:17:04 -0700 (PDT) Message-ID: <303680.8000.qm@web65516.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=42524 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhPp3-0006lJ-F9 for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 12:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhOfR-00062S-LE for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 11:17:10 -0400 Received: from n13.bullet.mail.ac4.yahoo.com ([74.6.228.93]:26361) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OhOfR-00062N-Hu for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 11:17:05 -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 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. I think :html-scale actually changes the size of the file. In the twiki plugin, html-scale changes the size of the file *in the HTML* only. 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