From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81645 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: html email, math formulas (was: apply TeX-to-char-paragraph-or-region to an article) Date: Thu, 22 Mar 2012 22:56:39 +0100 Message-ID: <87fwd0nvu0.fsf_-_@mat.ucm.es> References: <87zkbdrdt9.fsf@mat.ucm.es> <87k42cnx28.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332453422 5010 80.91.229.3 (22 Mar 2012 21:57:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2012 21:57:02 +0000 (UTC) Cc: ding@gnus.org To: Lars Magne Ingebrigtsen Original-X-From: ding-owner+M29925=ding+2Daccount=gmane.org@lists.math.uh.edu Thu Mar 22 22:57:01 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SAq0C-0008Ms-3E for ding-account@gmane.org; Thu, 22 Mar 2012 22:57:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SAq09-0008AX-8h for ding-account@gmane.org; Thu, 22 Mar 2012 16:56:57 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SAq07-0008AQ-So for ding@lists.math.uh.edu; Thu, 22 Mar 2012 16:56:55 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SAq03-0001V6-Ch for ding@lists.math.uh.edu; Thu, 22 Mar 2012 16:56:55 -0500 Original-Received: from mail-wi0-f182.google.com ([209.85.212.182]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SAq01-0001Ap-Sz; Thu, 22 Mar 2012 22:56:50 +0100 Original-Received: by wibhr14 with SMTP id hr14so1084267wib.5 for ; Thu, 22 Mar 2012 14:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:x-mailer:from:to:cc:subject:references:reply-to:x-hashcash :x-hashcash:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=otUw2q221B2GMGRE87M1lnIYDEeffGwWA2480vCxWkU=; b=AIuOEjCC6EOvh7bIiMiXHrOX1XBAMJV2WKTxkPltUoGIFUeZBQPNTApgzHdDkTlVj/ M2/BohH9Ylp0MIDBessPmkcMYE9YM2Gg9c8ngmoyym+NWLEzdSjjVPLHe8064U+lfQVg IPhW8WSwaxqH05/5hocWZycah3JRMS6/84xnicwGt/O+lI7+mzuBT1lFo2e8aqX50S+o keR3Ij6LwH6W+l8HwTo0dU4sA2JbRg8aCIpVEpygBbAOpLtElRdUK/V4yNv7jOEqEnny MVWb1vKPc2ABSj+hi+9+36S1t+WGoorkIn/VdV0RS2PVNvXNH+5Rd+IoLGZvFzy/AAX8 YVKA== Original-Received: by 10.216.137.149 with SMTP id y21mr5614457wei.110.1332453404427; Thu, 22 Mar 2012 14:56:44 -0700 (PDT) Original-Received: from Burrurr (11.pool85-54-11.dynamic.orange.es. [85.54.11.11]) by mx.google.com with ESMTPS id k6sm8478720wie.9.2012.03.22.14.56.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Mar 2012 14:56:43 -0700 (PDT) X-Mailer: 21.5 (beta31) "ginger" XEmacs Lucid (via feedmail 11-beta-1 I) X-Hashcash: 1:20:120322:ding@gnus.org::WZI1/bnQ2PuGQh6x:000002MX X-Hashcash: 1:20:120322:larsi@gnus.org::NugUe4o6SFYA5AYj:0004Ph0 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 22 Mar 2012 22:37:10 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) XEmacs/21.5-b31 (linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81645 Archived-At: >> On Thu, 22 Mar 2012 22:37:10 +0100, Lars Magne Ingebrigtsen wrote: > Uwe Brauer writes: > [...] >> (concat "ltxpng/" (file-name-sans-extension (file-name-nondirectory >> buffer-file-name))) > Org mode assumes that the buffer has a file associated with it. Which > it doesn't. But you can just bind `buffer-file-name' to something. > Probably anything will work. "", for instance. Right!!! That it was, many thanks, I recommend including that code in gnus, but maybe I am really the only one interested. Another thing which is related but concerns sending email. While I can of course use (and in fact I do very often) the TeX-to-char function for outgoing email which allows to send converted symbols such-as and then can be read by other email programs, the same is not true of org-preview-latex-fragments, since it saves the png in a subdirectory. I wrote a relative simple function which attaches all the relevant png, but the result looks ugly. The reason is that the mail is sent in principle as plain text, with embedded png. Now I learnt about 2 extensions for Thunderbird, which rely on the same idea however their result looks much nicer since they use htmlized email (which I normally dislike) so in short will gnus at some point allow and support html email.