emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: tikz and org-mode to export into html and odt
Date: Mon, 23 Sep 2019 13:30:59 +0200	[thread overview]
Message-ID: <877e5z6yh8.fsf@gmail.com> (raw)
In-Reply-To: <87zhiw7bla.fsf@ucl.ac.uk> (Eric Fraga's  message of "Sun, 22 Sep 2019 12:35:30 +0000")

[-- Attachment #1: Type: text/plain, Size: 2306 bytes --]

Le dim. 22  sept. 2019 à 12:35:30 , "Fraga,  Eric" <e.fraga@ucl.ac.uk> a
envoyé 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. 

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 
#+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=TeX-AMS-MML_HTMLorMM"
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="gongorg.css"/>
#+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  
\begin{venndiagram2sets}
[tikzoptions={scale=1.6,thick},labelA={$JTB$},labelB={$K$},labelOnlyA={$q$},labelOnlyAB={$p$},showframe={false}] 
\fillOnlyB
\end{venndiagram2sets}
#+END_src

 
#+BEGIN_src  latex  
\begin{table}[htbp] 
\caption{Légende} \label{tableone}
\begin{venndiagram3sets}[tikzoptions={scale=2.8,thick},labelOnlyA={\AxiomC{$Gj$}\noLine\UnaryInfC{$\vdots$}\DisplayProof},labelOnlyB={},labelOnlyC={\AxiomC{}\noLine\UnaryInfC{}\noLine\UnaryInfC{$\lnot Gj, Gs, Ps$}\DisplayProof},
labelOnlyAC={$\infer*{\scriptsize{\exists x(Gx\land Px)}}{}$},labelOnlyAB={\AxiomC{$Pj$}\noLine\UnaryInfC{$\vdots$}\noLine\UnaryInfC{}\DisplayProof},labelOnlyBC={},labelABC={},
labelNotABC={},overlap={1.1cm},showframe={false}, labelA={$J$},labelB={$K$},labelC={$N$}]
\setpostvennhook
{
\draw[<-] (labelA) -- ++(135:0.5cm) node[above] {$J$ = S \dots};
\draw[<-] (labelB) -- ++(45:0.3cm) node[above] {$K$ = S' \dots};
\draw[<-] (labelC) -- ++(-90:0.5cm) node[below] {$N$ = S''  \dots};
}
\fillOnlyB ; \fillBCapC
\end{venndiagram3sets}
\end{table}
#+END_src 


[-- Attachment #2: minimal-example.org --]
[-- Type: text/x-org, Size: 1576 bytes --]

#+OPTIONS: ':t 
#+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=TeX-AMS-MML_HTMLorMM"
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="gongorg.css"/>
#+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  
\begin{venndiagram2sets}
[tikzoptions={scale=1.6,thick},labelA={$JTB$},labelB={$K$},labelOnlyA={$q$},labelOnlyAB={$p$},showframe={false}] 
\fillOnlyB
\end{venndiagram2sets}
#+END_src

 

#+BEGIN_src  latex  
\begin{table}[htbp] 
\caption{Légende} \label{tableone}
\begin{venndiagram3sets}[tikzoptions={scale=2.8,thick},labelOnlyA={\AxiomC{$Gj$}\noLine\UnaryInfC{$\vdots$}\DisplayProof},labelOnlyB={},labelOnlyC={\AxiomC{}\noLine\UnaryInfC{}\noLine\UnaryInfC{$\lnot Gj, Gs, Ps$}\DisplayProof},
labelOnlyAC={$\infer*{\scriptsize{\exists x(Gx\land Px)}}{}$},labelOnlyAB={\AxiomC{$Pj$}\noLine\UnaryInfC{$\vdots$}\noLine\UnaryInfC{}\DisplayProof},labelOnlyBC={},labelABC={},
labelNotABC={},overlap={1.1cm},showframe={false}, labelA={$J$},labelB={$K$},labelC={$N$}]
\setpostvennhook
{
\draw[<-] (labelA) -- ++(135:0.5cm) node[above] {$J$ = S \dots};
\draw[<-] (labelB) -- ++(45:0.3cm) node[above] {$K$ = S' \dots};
\draw[<-] (labelC) -- ++(-90:0.5cm) node[below] {$N$ = S''  \dots};
}
\fillOnlyB ; \fillBCapC
\end{venndiagram3sets}
\end{table}
#+END_src 

[-- Attachment #3: Type: text/plain, Size: 13 bytes --]


-- 
Joseph 

  reply	other threads:[~2019-09-23 11:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19 13:58 tikz and org-mode to export into html and odt Joseph Vidal-Rosset
2019-09-22 12:35 ` Fraga, Eric
2019-09-23 11:30   ` Joseph Vidal-Rosset [this message]
2019-09-23 14:33     ` Fraga, Eric
2019-09-23 17:03       ` Joseph Vidal-Rosset
2019-09-23 17:13         ` Fraga, Eric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877e5z6yh8.fsf@gmail.com \
    --to=joseph.vidal.rosset@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).