emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: amscopub-mail@yahoo.com
To: emacs-orgmode@gnu.org
Subject: Re: Change resolution of LaTeX formulas in HTML output?
Date: Fri, 6 Aug 2010 12:39:44 -0700 (PDT)	[thread overview]
Message-ID: <649656.67733.qm@web65502.mail.ac4.yahoo.com> (raw)

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 <uriavalos@yahoo.com> 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 <carsten.dominik@gmail.com> 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

             reply	other threads:[~2010-08-06 19:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06 19:39 amscopub-mail [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-06 15:17 Change resolution of LaTeX formulas in HTML output? amscopub-mail
2010-08-07  6:04 ` Carsten Dominik
2010-08-06 14:05 Uri Avalos
2010-08-05 16:06 amscopub-mail
2010-08-05 17:06 ` Nick Dokos
2010-08-05 18:25   ` Bastien
2010-08-04 17:00 amscopub-mail
2010-08-04 22:32 ` Bastien
2010-08-05 19:11   ` Dan Davison
2010-08-06  9:12     ` Bastien
2010-08-06 10:46   ` Carsten Dominik
2010-08-06 17:21     ` Bastien
2010-08-05 19:14 ` Dan Davison
2010-08-05 20:34   ` Sebastian Rose
2010-08-05 21:36     ` Dan Davison
2010-08-05 22:14       ` Sebastian Rose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=649656.67733.qm@web65502.mail.ac4.yahoo.com \
    --to=amscopub-mail@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).