From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: preview embedded latex fragments error with my settings Date: Mon, 26 Mar 2018 21:48:28 -0700 Message-ID: References: <878taevmfj.fsf@nicolasgoaziou.fr> <875fd2c0-5fed-9639-3f00-b40eedd0f5be@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="883d24f2b04406ee9f05685d9afe" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0gXA-0002s2-46 for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 00:48:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0gX8-0007Go-RK for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 00:48:32 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:41206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0gX8-0007Gf-FG for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 00:48:30 -0400 Received: by mail-wr0-x234.google.com with SMTP id f14so20938492wre.8 for ; Mon, 26 Mar 2018 21:48:30 -0700 (PDT) In-Reply-To: <875fd2c0-5fed-9639-3f00-b40eedd0f5be@gmail.com> 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" To: stardiviner Cc: org-mode , Nicolas Goaziou --883d24f2b04406ee9f05685d9afe Content-Type: text/plain; charset="UTF-8" it sounds like you should run something like this at the commandline: latex /tmp/orgtexhClnu9.tex and see if any errors come up. Maybe some package is missing. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Mon, Mar 26, 2018 at 5:57 PM, stardiviner wrote: > I have divsvgm program on my arch linux system. And "/tmp/orgtexhClnu9.dvi" > does not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex" and "/tmp > /orgtexhClnu9.log" two file. > > On 03/27/2018 12:20 AM, Nicolas Goaziou wrote: > > Hello, > > stardiviner writes: > > > I have following settings to make org-mode export to PDF works better, > like export with src block syntax highlighting with "minted", and > support Chinese export with latex package "ctex" and specify default > font etc all stuffs. > > I used to disabled org-mode startup preview latex fragments. Today > I use [C-c C-x C-l] to preview latex fragments, it raised error (I > shorten the error stack manuallyfor easy to read): > > Do you have dvisvgm program on your system? Does the file > "/tmp/orgtexhCLnu9.dvi" exist? > > Regards, > > > > --883d24f2b04406ee9f05685d9afe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
it sounds like you should run something like this at the c= ommandline:

latex=C2=A0/tmp/orgt= exhClnu9.tex

<= /font>
and see if any err= ors come up. Maybe some package is missing.

John

-----------------------------------
Professor J= ohn Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical Engineeri= ng
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Mon, Mar 26, 2018 at 5:57 PM, stardiviner= <numbchild@gmail.com> wrote:
=20 =20 =20

I have divsvgm program on my arch linux system. And "/= tmp/orgtexhClnu9.dvi" does not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex&quo= t; and "/tmp/= <= font face=3D"DejaVu Sans Mono">orgtexhClnu9.lo= g" two file.


On 03/27/2018 12:2= 0 AM, Nicolas Goaziou wrote:
Hello,

stardiviner <numbchild@gmail.com&g=
t; writes:

I have following settings to make org-mode export to PDF works=
 better,
like export with src block syntax highlighting with "minted", and
support Chinese export with latex package "ctex" and specify defa=
ult
font etc all stuffs.

I used to disabled org-mode startup preview latex fragments. Today
I use [C-c C-x C-l] to preview latex fragments, it raised error (I
shorten the error stack manuallyfor easy to read):
Do you have dvisvgm program on your system? Does the file
"/tmp/orgtexhCLnu9.dvi" exist?

Regards,



--883d24f2b04406ee9f05685d9afe--