From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: Texlive packages in Gnus via Org Date: Thu, 09 Jan 2014 12:18:48 +0100 Message-ID: <87lhypjtd3.fsf@gmail.com> References: <87d2k1lbdq.fsf@gmail.com> <878uupv39x.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1DdX-0007XH-7t for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 06:18:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1DdV-0004k6-QK for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 06:18:55 -0500 In-Reply-To: <878uupv39x.fsf@bzg.ath.cx> (Bastien's message of "Thu, 09 Jan 2014 11:49:14 +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: Bastien Cc: "Liste-emacs-orgmode@gnu.org " --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable #+OPTIONS: latex:t Le jeu. 09 janv. 2014 =C3=A0 11:49:14 , Bastien a envoy= =C3=A9 ce message: > Hi Joseph, > > Joseph Vidal-Rosset writes: > >> I wonder how it is possible to get png images in Gnus for everything >> that is created by latex, as it is possible already to get it for >> html >> via org export. > > One indirect way is to run M-x org-preview-latex-fragment RET in a > buffer containing the equations, then inlining[fn:1] the .png files from > the ltxpng/ directory. > > I can't think of something more direct right now. I try:=20 \begin{equation} \neg \neg A \vdash_{m} A \end{equation} It seems that it will work for the equation package, but it does not work with for example other packages: the prooftree command given by bussproofs package does not work, \begin{prooftree} \AxiomC{$A$} \AxiomC{$A \to \bot$} \RightLabel{\scriptsize{$\to E$}} \BinaryInfC{$\bot$} \end{prooftree} neither fitch proofs:=20 \begin{equation*} \begin{fitch} \fh A & H \\ \fa \fh \bot & H \\ \fa A \to \bot=20 \end{fitch} \end{equation*} > >> It could be very nice for the scientific community to get such a tool >> thanks to Gnus + Org. > > By reading Cedric Villani last book, I was under the impression > that the whole scientific community was able to read TeX equations > directly, with no need of visual feedback ;) But agreed, this > would be nice. The scientific community can live without this tool, of course, but it would be nice if Org + Gnus could be the email client par excellence of this community. I am happy to see that you agree.=20 Best wishes, Jo.=20 [fn:1] I guess that by "inlining" you mean making the command M-x org-mime-htmlize . But I am not sur that is what you meant. It is nevertheless already a great pleasure of making Org working in Gnus ! What a terrific tool !=20 --=-=-= Content-Type: multipart/related; boundary="==-=-=" --==-=-= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Le jeu. 09 janv. 2014 =C3=A0 11:49:14 , Bastien <bzg@gnu.org> a e= nvoy=C3=A9 ce
message:
> Hi Joseph,
>
> Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
>
>> I wonder how it is possible to get png images in Gnus for everythi= ng
>> that is created by latex, as it is possible already to get it for<= br /> >> html
>> via org export.
>
> One indirect way is to run M-x org-preview-latex-fragment RET in a
> buffer containing the equations, then inlining1 the .png files fro= m
> the ltxpng/ directory.
>
> I can't think of something more direct right now.

I try:

3D"\begin{equation}

It seems that it will work for the equation package, but it does not work with for example other packages: the prooftree command given by bussproofs package does not work,

3D"\begin{prooftree}

neither fitch proofs:

3D"\begin{equation*}

>
>> It could be very nice for the scientific community to get such a t= ool
>> thanks to Gnus + Org.
>
> By reading Cedric Villani last book, I was under the impression
> that the whole scientific community was able to read TeX equations
> directly, with no need of visual feedback ;) But agreed, this
> would be nice.

The scientific community can live without this tool, of course, but it would be nice if Org + Gnus could be the email client par excellence of this community. I am happy to see that you agree.

Best wishes,

Jo.

Footnotes:

1

I guess that by "inlining" you mean making the command M-x
org-mime-htmlize . But I am not sur that is what you meant. It is nevertheless already a great pleasure of making Org working in Gnus ! What a terrific tool !

--==-=-= Content-Type: image/png Content-ID: <_tmp_ltxpng_latex6879-dX_b3a8f89e4d9ae735182bfa943e20e2e087009aa9.png> Content-Disposition: inline; filename=latex6879-dX_b3a8f89e4d9ae735182bfa943e20e2e087009aa9.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAfYAAAASBAMAAABbZ+GvAAAAMFBMVEX///8AAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAq7t2zZkQMiJmRFTv id1OgFCxAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABo0lEQVRYCeWXP0jDQBTGv/RPmmiL3VwPdyGT 4JZJRBC76FRoce1gcHKRhu6iIA7d4tqpkyAumZyzCTrY1a04OojvLmm55DSL06Mf5PK9373C+5pr aYGV00Aldlcutwx8olI7nhm+JlHb4AoblCNoBcB5CLyYw/f6xITBFTYoR3AKXL6HAN0LavQIm9lT XOjlWe7S2NchYNHzz8sdRgREHgIpLlKW9T5NLbO7SXH8h7MbQuJ3XKQs65imltkbPhlddrThUf0x Ho/1I5FhvZOrd2Y0ucxux7C2SF66AutodmjvYDKZ0PZSGV7WjI163DI75mmKtrrRen/cFeTlpSvD OuLq/84+RcWnVIIuXRnWEVevn3mVYfHc6YdePSYiJK1u3r7eRdItsPTsFVMCeeYdnwzJy9ZHoDUn L2R9sY2vNfWuLLCk7LVHCYYhfbUluSij7wDdzwjoKPzcmFU9ckuca+ZavAFXR4ch6lFJAsd3k1pQ 0sBza5SNXfoPxe1Y02aVZ8CSqethuvlU0oNWVOlbO2UdLPfs9ANtJyyn/+fQA/V6OtA/0jdRpWX5 9f0AAAAASUVORK5CYII= --==-=-=-- --=-=-=--