emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Change resolution of LaTeX formulas in HTML output?


From: Carsten Dominik
Subject: Re: [Orgmode] Change resolution of LaTeX formulas in HTML output?
Date: Sat, 7 Aug 2010 08:04:39 +0200


On Aug 6, 2010, at 5:17 PM, address@hidden 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.)

Ah, I see now.  Obviously I read only part of the discussion.  Sorry.

The problem is that both html-resolution and html-scale get translated into a pixel size. what we really would need is to make the picture big and the to scale it down in the browser by an html attribute. Maybe :html-scale is an unfortunate naming because it it sounds like
it would be an html attribute for the included image.

Did you follow the recent discussion about MathJax? I think this might be a better way
to get good resolution math into an HTML page.

If you want to print the result, why don't you go through LaTeX?

- Carsten


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 <address@hidden> wrote:


On Aug 5, 2010, at 12:32 AM, Bastien wrote:

address@hidden 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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]