emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Please Comment: a potential Innovation about proviewing latex fragement with imagemagick
@ 2013-07-16 10:18 feng shu
  0 siblings, 0 replies; only message in thread
From: feng shu @ 2013-07-16 10:18 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

* Approach of previewing latex fragement  with imagemagick is like this:
**  The original:

1. (emacs buffer font height) -> (evalue a density value) --> (imagemagick
destiny option)
2. (latex fragement) --> (tmp latex file) -> (pdf) -> (png) ( convert with
above destiny option)

** Advantages
1. It works well at the moment.
** disadvantages
2. we get the formula about (font height -> density value) by test and test
and test...


** A pontential approach:
1. (emacs buffer font height) -> (latex macros;
\fontsize{font-size}{fontsize*1.2}) -> (insert tmp latex file )-> pdf ->
png( convert with fixed density, for example: 96)

** Advantages
1. More intuition
2. This approach may be used  the feature "p-with-dvipng", by using this
approach,
    Maybe we can code a common function shared with imagemagick ang dvipng.

** disadvantages
1. depend latex command \fontsize.


Any comment?


Feng Shu

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-16 10:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16 10:18 Please Comment: a potential Innovation about proviewing latex fragement with imagemagick feng shu

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