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 13:30:59 +0200 Message-ID: <877e5z6yh8.fsf@gmail.com> References: <87zhiw7bla.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42339) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCMYd-0006iJ-6l for emacs-orgmode@gnu.org; Mon, 23 Sep 2019 07:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCMYa-0000EB-32 for emacs-orgmode@gnu.org; Mon, 23 Sep 2019 07:31:06 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:36049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCMYZ-0000Dt-RI for emacs-orgmode@gnu.org; Mon, 23 Sep 2019 07:31:04 -0400 Received: by mail-wr1-x431.google.com with SMTP id y19so13533206wrd.3 for ; Mon, 23 Sep 2019 04:31:02 -0700 (PDT) In-Reply-To: <87zhiw7bla.fsf@ucl.ac.uk> (Eric Fraga's message of "Sun, 22 Sep 2019 12:35:30 +0000") 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" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le dim. 22 sept. 2019 =C3=A0 12:35:30 , "Fraga, Eric" = a envoy=C3=A9 ce message: > On Thursday, 19 Sep 2019 at 15:58, Joseph Vidal-Rosset wrote: >> I have a source org file that uses tikz (and venndiagram.sty based on >> tikz). No problem to export into .tex, but the export into odt and >> html fails. >> >> OpenDocument export failed: Wrong type argument: listp, 71 > > Could you give a minimal example that fails? Yes, of course, and sorry for the delay of my reply, I just saw your reply few hours ago.=20 Here is the code of minimal-example.org and I attach the file. The export into latex work, but it fails both to export into odt as well as html. Best wishes, Jo. --------- #+OPTIONS: ':t=20 #+OPTIONS: tex:t #+LaTeX_HEADER: \usepackage{venndiagram2} #+OPTIONS: tex:imagemagick # #+HTML_MATHJAX: align:"center" mathml:t # path:"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=3DTeX-AMS-= MML_HTMLorMM" #+HTML_HEAD: #+TITLE:A minimal example #+AUTHOR: Joseph Vidal-Rosset #+OPTIONS: toc:2 #+OPTIONS: author:t date:t email:t #+CSL_STYLE: ieee.csl< #+BEGIN_src latex=20=20 \begin{venndiagram2sets} [tikzoptions=3D{scale=3D1.6,thick},labelA=3D{$JTB$},labelB=3D{$K$},labelOnl= yA=3D{$q$},labelOnlyAB=3D{$p$},showframe=3D{false}]=20 \fillOnlyB \end{venndiagram2sets} #+END_src =20 #+BEGIN_src latex=20=20 \begin{table}[htbp]=20 \caption{L=C3=A9gende} \label{tableone} \begin{venndiagram3sets}[tikzoptions=3D{scale=3D2.8,thick},labelOnlyA=3D{\A= xiomC{$Gj$}\noLine\UnaryInfC{$\vdots$}\DisplayProof},labelOnlyB=3D{},labelO= nlyC=3D{\AxiomC{}\noLine\UnaryInfC{}\noLine\UnaryInfC{$\lnot Gj, Gs, Ps$}\D= isplayProof}, labelOnlyAC=3D{$\infer*{\scriptsize{\exists x(Gx\land Px)}}{}$},labelOnlyAB= =3D{\AxiomC{$Pj$}\noLine\UnaryInfC{$\vdots$}\noLine\UnaryInfC{}\DisplayProo= f},labelOnlyBC=3D{},labelABC=3D{}, labelNotABC=3D{},overlap=3D{1.1cm},showframe=3D{false}, labelA=3D{$J$},labe= lB=3D{$K$},labelC=3D{$N$}] \setpostvennhook { \draw[<-] (labelA) -- ++(135:0.5cm) node[above] {$J$ =3D S \dots}; \draw[<-] (labelB) -- ++(45:0.3cm) node[above] {$K$ =3D S' \dots}; \draw[<-] (labelC) -- ++(-90:0.5cm) node[below] {$N$ =3D S'' \dots}; } \fillOnlyB ; \fillBCapC \end{venndiagram3sets} \end{table} #+END_src=20 --=-=-= Content-Type: text/x-org; charset=utf-8 Content-Disposition: inline; filename=minimal-example.org Content-Transfer-Encoding: quoted-printable #+OPTIONS: ':t=20 #+OPTIONS: tex:t #+LaTeX_HEADER: \usepackage{venndiagram2} #+OPTIONS: tex:imagemagick # #+HTML_MATHJAX: align:"center" mathml:t # path:"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=3DTeX-AMS-= MML_HTMLorMM" #+HTML_HEAD: #+TITLE:A minimal example #+AUTHOR: Joseph Vidal-Rosset #+OPTIONS: toc:2 #+OPTIONS: author:t date:t email:t #+CSL_STYLE: ieee.csl< #+BEGIN_src latex=20=20 \begin{venndiagram2sets} [tikzoptions=3D{scale=3D1.6,thick},labelA=3D{$JTB$},labelB=3D{$K$},labelOnl= yA=3D{$q$},labelOnlyAB=3D{$p$},showframe=3D{false}]=20 \fillOnlyB \end{venndiagram2sets} #+END_src =20 #+BEGIN_src latex=20=20 \begin{table}[htbp]=20 \caption{L=C3=A9gende} \label{tableone} \begin{venndiagram3sets}[tikzoptions=3D{scale=3D2.8,thick},labelOnlyA=3D{\A= xiomC{$Gj$}\noLine\UnaryInfC{$\vdots$}\DisplayProof},labelOnlyB=3D{},labelO= nlyC=3D{\AxiomC{}\noLine\UnaryInfC{}\noLine\UnaryInfC{$\lnot Gj, Gs, Ps$}\D= isplayProof}, labelOnlyAC=3D{$\infer*{\scriptsize{\exists x(Gx\land Px)}}{}$},labelOnlyAB= =3D{\AxiomC{$Pj$}\noLine\UnaryInfC{$\vdots$}\noLine\UnaryInfC{}\DisplayProo= f},labelOnlyBC=3D{},labelABC=3D{}, labelNotABC=3D{},overlap=3D{1.1cm},showframe=3D{false}, labelA=3D{$J$},labe= lB=3D{$K$},labelC=3D{$N$}] \setpostvennhook { \draw[<-] (labelA) -- ++(135:0.5cm) node[above] {$J$ =3D S \dots}; \draw[<-] (labelB) -- ++(45:0.3cm) node[above] {$K$ =3D S' \dots}; \draw[<-] (labelC) -- ++(-90:0.5cm) node[below] {$N$ =3D S'' \dots}; } \fillOnlyB ; \fillBCapC \end{venndiagram3sets} \end{table} #+END_src=20 --=-=-= Content-Type: text/plain -- Joseph --=-=-=--