emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "briangpowell ." <briangpowellms@gmail.com>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Mathjax vs. problems with imagemagick
Date: Sun, 6 Jul 2014 04:39:28 -0400	[thread overview]
Message-ID: <CAFm0skHu6ZF7W_5uTstJ1o0cKLpTQ=QXhhxXSboSSxFTYTUMTA@mail.gmail.com> (raw)
In-Reply-To: <CAD-VTcHumycKQMdfT3X3T0Mb7oMcodgmsMosQrD9F1qzG4qivw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]

* PNG is "lossless" format--if you can, make it the first file you create
rather than last.

** If you create a JPG a "lossy" format then you could lose some of the
beauty (like your example).

* ImageMagick has many switches you can throw--suggest you look deeper into
it in the freely available manual--though its very thick.

* Often there are blah2blah programs (and many methods in ImageMagick for
example) available which may help that you may be able to string together.
 General example:

dvips -o blah.dvi

ps2pdf blah.ps

pdf2png blah.pdf

** Maybe you can convert your file to an intermediary format and then
convert it to .png

*** But again, if possible, create a PNG (.png) type file firstly since it
is a "lossless" file type.





On Sun, Jul 6, 2014 at 4:03 AM, Joseph Vidal-Rosset <
joseph.vidal.rosset@gmail.com> wrote:

> Hello everybody,
>
> To convert equations from *.org  into *.html, Mathjax is certainly the
> best solution but unfortunately, this solution does not work as soons as
> one need to use some texlive package convenient to produce easily proofs in
> specific format
> (for example if one uses bussproofs.sty of fitch.sty ).
>
> That is why imagemagick is useful. Unfortunately, the produced png images
> in my ltxpng/ have a very bad quality and if the browser load them, the
> result is terrible.
> I met already this problem and I do not remind what was the solution...
>
> I you have suggestions...
>
> Best wishes,
>
> Jo.
>
> PS: in attachment, an example of this terrible png images.
>

[-- Attachment #2: Type: text/html, Size: 2289 bytes --]

  reply	other threads:[~2014-07-06  8:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-06  8:03 Mathjax vs. problems with imagemagick Joseph Vidal-Rosset
2014-07-06  8:39 ` briangpowell . [this message]
2014-07-06  8:59   ` Joseph Vidal-Rosset
2014-07-06 21:25 ` Nick Dokos
2014-07-08 13:01   ` Joseph Vidal-Rosset
2014-07-08 13:04     ` Joseph Vidal-Rosset
2014-07-08 13:44       ` Joseph Vidal-Rosset
2014-07-11  0:59     ` Nick Dokos
2014-07-11  7:38       ` Joseph Vidal-Rosset
2014-07-11 15:59         ` Nick Dokos
2014-07-11 16:06           ` Joseph Vidal-Rosset
2014-07-11 18:05             ` Nick Dokos
2014-07-11 18:24               ` Joseph Vidal-Rosset
2014-07-28 14:36               ` Sebastien Vauban

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='CAFm0skHu6ZF7W_5uTstJ1o0cKLpTQ=QXhhxXSboSSxFTYTUMTA@mail.gmail.com' \
    --to=briangpowellms@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    /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).