From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [odt] equation labels Date: Wed, 31 Aug 2011 19:22:59 +0530 Message-ID: <81zkipzo04.fsf@gmail.com> References: <87pqjw6vpr.fsf@bill.home> <81wrdy4iot.fsf@gmail.com> <87sjoh7s6x.fsf@bill.home> <87obz57qgg.fsf@bill.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QylF7-0001jR-A2 for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 09:54:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QylF6-00062r-1j for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 09:54:13 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:48347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QylF5-00062l-Vm for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 09:54:12 -0400 Received: by qwa26 with SMTP id 26so249164qwa.0 for ; Wed, 31 Aug 2011 06:54:11 -0700 (PDT) In-Reply-To: <87obz57qgg.fsf@bill.home> (Myles English's message of "Wed, 31 Aug 2011 12:50:28 +0100") 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: Myles English Cc: emacs-orgmode Myles English writes: >>> On Wed, 31 Aug 2011 12:09:58 +0100, Myles English said: > > >> I have added support for honoring captions, label and attributes > >> for images that are dervied from latex fragments. Checkout the git > >> repo and let me know if there are any rough edges that need to be > >> ironed out. > > > Thank you! I have just got around to trying this out and it works > > great. The only issue now is that the resolution of the pngs is low > > and looks terrible. I vaguely remember changing it deep in my latex > > installation somewhere. > > Actually there is an old (2006) thread including a patch about a file > option to change the resolution: > > http://lists.gnu.org/archive/html/emacs-orgmode/2006-09/msg00010.html INCREASING the `:html-scale' scale property in `org-format-latex-options' will INCREASE the `-D' option by same factor. I believe the above setting together with a "suitable" value of #+ATTR_ODT: (:scale xxx) will achieve the required balance. If you have lots of equations then applying #+ATTR_ODT option to each of the images is a bit cumbersome. In that case you can tweak `org-export-odt-pixels-per-inch' (The default value of this variable is same as `display-pixels-per-inch' variable of Emacs session). HALVING this variable will DOUBLE the size of all images uniformly. Note for posterity: 1. ODT expects that the image size be specified in cms or inches. I believe image files have no "physical" dimensions associated with them but only pixel size. Mapping from pixels to cms or inches is again determined by display properties (ie, the same image will appear in different physical dimensions on different monitors.) 2. On my Netbook, MS Paint uses a pixels-per-inch of 96.0 while Emacs' display-pixels-per-inch reports a value of 72.0 Image sizes are a grey area to me. If there is an expert out there willing to educate me I am all ears. Jambunathan K. > But I don't think it was applied and I am not sure how it would fit in > the current scheme. Can anyone advise? > > Myles > > > --