From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: tikz and org-mode to export into html and odt Date: Mon, 23 Sep 2019 19:03:59 +0200 Message-ID: References: <87zhiw7bla.fsf@ucl.ac.uk> <877e5z6yh8.fsf@gmail.com> <87k19zw08v.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38698) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCRl0-0000V4-97 for emacs-orgmode@gnu.org; Mon, 23 Sep 2019 13:04:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCRkz-0001A1-44 for emacs-orgmode@gnu.org; Mon, 23 Sep 2019 13:04:14 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:43041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCRky-00018j-TL for emacs-orgmode@gnu.org; Mon, 23 Sep 2019 13:04:13 -0400 Received: by mail-lj1-x22d.google.com with SMTP id n14so9411867ljj.10 for ; Mon, 23 Sep 2019 10:04:12 -0700 (PDT) In-Reply-To: <87k19zw08v.fsf@ucl.ac.uk> 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: "Fraga, Eric" Cc: "Liste-emacs-orgmode@gnu.org" Again, you helped me a lot Eric. I am very thankful to you. The solution is to delete the lines : #+BEGIN_src latex ... #+END_src and to adde \begin{table} ... \end{table} for each tikz-picture and it works for html and also for odt ! Many thanks ! Best wishes Jo. Le lun. 23 sept. 2019 =C3=A0 16:33, Fraga, Eric a =C3= =A9crit : > > On Monday, 23 Sep 2019 at 13:30, Joseph Vidal-Rosset wrote: > > Here is the code of minimal-example.org and I attach the file. Th= e > > export into latex work, but it fails both to export into odt as well a= s > > html. > > Can you create a smaller example, i.e. one with just a single tikz > diagram and specifically one that does have other dependencies? I don't > have venndiagram2 as a LaTeX package... > > Or, maybe the problem is that you need to tell org to use the > venndiagram2 package when creating images from the LaTeX? Maybe > customizing org-latex-packages-alist or related variables will > help. For instance, as I use the mhchem package for chemical formulas, > I have > > (add-to-list 'org-latex-packages-alist '("version=3D3" "mhchem")) > > in my Emacs org mode customization. > > -- > : Professor Eric S Fraga, http://www.homepages.ucl.ac.uk/~ucecesf > : PGP/GPG key: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > : Use plain text email when possible: https://useplaintext.email/