From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: Re: LaTeX preview Date: Thu, 14 Feb 2013 17:56:52 +0100 Message-ID: <87sj4y7s17.fsf@tanger.home> References: <87a9sg9fd6.fsf@casa.home> <87sj67hpxm.fsf@bzg.ath.cx> <87obgvvnlj.fsf@casa.home> <87pq0uloez.fsf@casa.home> <87a9r7i741.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U626z-0006eG-Ta for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 11:56:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U626u-0005N5-DB for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 11:56:41 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:44774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U626u-0005Ml-7E for emacs-orgmode@gnu.org; Thu, 14 Feb 2013 11:56:36 -0500 Received: by mail-wg0-f51.google.com with SMTP id 8so2033638wgl.6 for ; Thu, 14 Feb 2013 08:56:35 -0800 (PST) In-Reply-To: (Evan Misshula's message of "Thu, 14 Feb 2013 08:03:48 -0500") 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: Evan Misshula Cc: Bastien , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Evan Misshula writes: > +1 This is great, I wanted to do something but did not know how. I > am going to look at the patch. I'm glad to know other people like it too :) > If you have an interest in explaining to an interested Noob what you > did. I would be grateful. Sure, I knew I wanted something like the inlineimages STARTUP keywords. So, I've searched in the source all references to inlineimages. M-x moccur-grep RET inlineimages RET I've found: a custom variable: `org-startup-with-line-images' an entry in `org-startup-options' Then I've searched for `org-startup-with-inline-images' and found: > (when org-startup-with-inline-images > (org-display-inline-images)) Then, I've searched the name of the function which toggled the latex preview. C-h a latex RET then C-s preview in the *Apropos* buffer. At this point I had everything and I just needed to copy what was done for inlineimages and adapt it for latexpreview. > Best, > Evan =2D-=20 Daimrod/Greg --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRHRdVAAoJEBNzVHcrZRiU+7gQAJooJVtbFfW0m76yog3cM1Jn zdUHHPLt7xGO2PQfd3lKSEFJ4qMm3GzOCB6zvb7KfzHqHzYy4UpAVWXbdAcIrs2i yg9Z0TLQ/K/Oa774ooFj/7M0KN2QXiizbqZJLVOCME6ReYZGk0138JG5FQy8MLuG UnUrSWmm5NyVne/O6CfPMNWmxpC7EkXRJUzNe2spaRSawlVQfWBLKBZkAZGjxPr0 NkFQgJV1/CKDKZybSpqyhoD+LYUtYt1iUKYzTVUAbomMhMs8olU1KBavQPsF3GQA 1lC4C2bzD5zUfNn+RWVZrFvQtBxKL0IBDOko5rSbcYV+E2h8X3h8Ve/p/Oxbm8Dk 1Zta/FA9z+5T9SN4UnUM9fCiadSaYrcHIcocRU7lx6VTVvmq55zn1qS/iPRK78A7 9eH77cFRBKZnsZm4GZAxgBXecO7cuR7GqjXILQEOxIk/wzUQw7E2b/KIS3HJCRX2 qkICsok2GxN3Qx9bjyW2GWVAC5zO66a3PqVv6FzDPF1xBhWPz9l4tJVxtr2mjkY3 2cElwdBdUFSYHCceFrEUF5OCyigaR+ydgO5l/hrmMYO5JmDa5+VlyvYQb8S7Nli1 LBvYxIAmlk5aoa+Se4YgHDrXLHLEljXZ/cfn/tkzu+ToZ27rTP8gph8pVXlPKwYE Q6dK0uMD/5y1s9ZTj8dJ =FLuy -----END PGP SIGNATURE----- --=-=-=--