From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Sneller Subject: org-preview-latex-fragment on Retina display? Date: Fri, 29 May 2015 21:45:27 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_7D384329-E308-4975-AE1E-8424063FE4DA" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyQDx-0006xy-04 for emacs-orgmode@gnu.org; Fri, 29 May 2015 15:45:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyQDt-0006Pz-Q9 for emacs-orgmode@gnu.org; Fri, 29 May 2015 15:45:44 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:34474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyQDt-0006Pt-KP for emacs-orgmode@gnu.org; Fri, 29 May 2015 15:45:41 -0400 Received: by wgv5 with SMTP id 5so71056853wgv.1 for ; Fri, 29 May 2015 12:45:40 -0700 (PDT) Received: from [192.168.1.5] ([90.174.4.48]) by mx.google.com with ESMTPSA id 16sm9700623wjs.41.2015.05.29.12.45.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 May 2015 12:45:40 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --Apple-Mail=_7D384329-E308-4975-AE1E-8424063FE4DA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Recently, I upgraded to a macbook pro with retina display, and now all = my latex previews in org-mode are... fuzzy. These are generated with = org-preview-latex-fragment command, using dvipng. Is there a setting I can change to up-res these? Maybe something in = org.el? Thanks, -Adam= --Apple-Mail=_7D384329-E308-4975-AE1E-8424063FE4DA Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Recently, I upgraded to a macbook pro with retina display, and now all my latex previews in org-mode are... fuzzy. These are generated with org-preview-latex-fragment command, using dvipng.

Is there a setting I can change to up-res these? Maybe something in org.el?

Thanks,

-Adam
--Apple-Mail=_7D384329-E308-4975-AE1E-8424063FE4DA-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-preview-latex-fragment on Retina display? Date: Fri, 29 May 2015 17:07:53 -0400 Message-ID: <87iobb5byu.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyRVh-00012t-5i for emacs-orgmode@gnu.org; Fri, 29 May 2015 17:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyRVe-0000yn-1p for emacs-orgmode@gnu.org; Fri, 29 May 2015 17:08:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:56836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyRVd-0000yd-RO for emacs-orgmode@gnu.org; Fri, 29 May 2015 17:08:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YyRVc-0006CP-D0 for emacs-orgmode@gnu.org; Fri, 29 May 2015 23:08:04 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 May 2015 23:08:04 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 May 2015 23:08:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Adam Sneller writes: > Recently, I upgraded to a macbook pro with retina display, and now all > my latex previews in org-mode are... fuzzy. These are generated with > org-preview-latex-fragment command, using dvipng. > What happens if you produce a PDF document from LaTeX? Is it fuzzy? What happens if you use ImageMagick instead of dvipng? > Is there a setting I can change to up-res these? Maybe something in org.el? > Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: org-preview-latex-fragment on Retina display? Date: Tue, 2 Jun 2015 08:41:25 +0100 Message-ID: <87zj4i36ca.fsf@delle7240.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzgww-0004o4-Dj for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 03:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzgwt-0003Bz-7j for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 03:49:26 -0400 Received: from mail-am1on0110.outbound.protection.outlook.com ([157.56.112.110]:35024 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzgws-0003BB-Vk for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 03:49:23 -0400 In-Reply-To: (Adam Sneller's message of "Fri, 29 May 2015 21:45:27 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Adam Sneller Cc: emacs-orgmode@gnu.org On Friday, 29 May 2015 at 21:45, Adam Sneller wrote: > Recently, I upgraded to a macbook pro with retina display, and now all > my latex previews in org-mode are... fuzzy. These are generated with > org-preview-latex-fragment command, using dvipng. > > Is there a setting I can change to up-res these? Maybe something in org.el? Maybe have a look at ,----[ C-h v org-format-latex-options RET ] | org-format-latex-options is a variable defined in `org.el'. | Its value is (:foreground default :background default :scale 1.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers | ("begin" "$1" "$" "$$" "\\(" "\\[")) | | | Documentation: | Options for creating images from LaTeX fragments. | This is a property list with the following properties: | :foreground the foreground color for images embedded in Emacs, e.g. "Black". | `default' means use the foreground of the default face. | `auto' means use the foreground from the text face. | :background the background color, or "Transparent". | `default' means use the background of the default face. | `auto' means use the background from the text face. | :scale a scaling factor for the size of the images, to get more pixels | :html-foreground, :html-background, :html-scale | the same numbers for HTML export. | :matchers a list indicating which matchers should be used to | find LaTeX fragments. Valid members of this list are: | "begin" find environments | "$1" find single characters surrounded by $.$ | "$" find math expressions surrounded by $...$ | "$$" find math expressions surrounded by $$....$$ | "\(" find math expressions surrounded by \(...\) | "\[" find math expressions surrounded by \[...\] | | You can customize this variable. | | [back] `---- The :scale option may be what you want. I have used this in the past with a value of 3 for creating org based slides for presentations with LaTeX fragments. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1195-g1a7364