From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: debugging why a latex preview fails Date: Wed, 29 Jan 2020 11:20:38 +0100 Message-ID: References: <87v9oupv75.fsf@polytechnique.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000021947e059d44b26a" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43096) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwkSz-0000SU-JA for emacs-orgmode@gnu.org; Wed, 29 Jan 2020 05:21:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwkSx-0001Pk-SE for emacs-orgmode@gnu.org; Wed, 29 Jan 2020 05:21:00 -0500 Received: from smtp2.supelec.fr ([160.228.120.31]:60771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iwkSx-0001JY-IH for emacs-orgmode@gnu.org; Wed, 29 Jan 2020 05:20:59 -0500 Received: from localhost (localhost [127.0.0.1]) by smtp2.supelec.fr (Postfix) with ESMTP id 20543804D3 for ; Wed, 29 Jan 2020 11:20:57 +0100 (CET) Received: from smtp2.supelec.fr ([127.0.0.1]) by localhost (smtp2.supelec.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vr8ABx0EqqMe for ; Wed, 29 Jan 2020 11:20:56 +0100 (CET) Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) by smtp2.supelec.fr (Postfix) with ESMTPSA id 4E769804D4 for ; Wed, 29 Jan 2020 11:20:56 +0100 (CET) Received: by mail-qv1-f41.google.com with SMTP id u10so7744388qvi.2 for ; Wed, 29 Jan 2020 02:20:56 -0800 (PST) In-Reply-To: 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: Alan Schmitt , emacs-orgmode --00000000000021947e059d44b26a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mer. 29 janv. 2020 =C3=A0 10:51, Fraga, Eric a =C3= =A9crit : > On Wednesday, 29 Jan 2020 at 08:39, Alan Schmitt wrote: > > I'm trying to add some diagrams in a note, and I want to use latex > > preview for that. Unfortunately the result is not what I expect: I do > > see an image, but there seem to be errors in the latex processing. How > > can I see what latex is produced to find where the issue is? > > Your example works for me. Maybe you need other packages as well > (e.g. tikz itself)? > > I don't know the best way to debug, however First of all: look into the *Org PDF LaTeX Output* buffer to see why the compilation failed? Then look into the .tex file header to see if something is missing. Fabrice --00000000000021947e059d44b26a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Le=C2=A0mer. 29 janv. 2020 =C3=A0=C2= =A010:51, Fraga, Eric <e.fraga@ucl.= ac.uk> a =C3=A9crit=C2=A0:
On Wednesday, 29 Jan 2020 at 08:39, Alan Schmitt wrote: > I'm trying to add some diagrams in a note, and I want to use latex=
> preview for that. Unfortunately the result is not what I=C2=A0expect: = I do
> see an image, but there seem to be errors in the latex processing. How=
> can I see what latex is produced to find where the issue is?

Your example works for me.=C2=A0 Maybe you need other packages as well
(e.g. tikz itself)?

I don't know the best way to debug, however

=
First of all: look into the *Org PDF LaTeX Output* buffer to see why t= he compilation failed?
Then look into the .tex file header to see= if something is missing.

Fabrice

--00000000000021947e059d44b26a--