emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: amscopub-mail@yahoo.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Change resolution of LaTeX formulas in HTML output?
Date: Sat, 7 Aug 2010 08:04:39 +0200	[thread overview]
Message-ID: <9712FA8D-4EE4-474D-A676-0EA0382EAB91@gmail.com> (raw)
In-Reply-To: <303680.8000.qm@web65516.mail.ac4.yahoo.com>


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

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 <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

- Carsten

  reply	other threads:[~2010-08-07  6:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06 15:17 Change resolution of LaTeX formulas in HTML output? amscopub-mail
2010-08-07  6:04 ` Carsten Dominik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-06 19:39 amscopub-mail
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=9712FA8D-4EE4-474D-A676-0EA0382EAB91@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=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).