[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: svg file from tikz picture
From: |
Ihor Radchenko |
Subject: |
Re: svg file from tikz picture |
Date: |
Tue, 16 Aug 2022 17:42:41 +0800 |
reza <reza@housseini.me> writes:
> when running the following code
>
> #+header: :file "absolute-distance.pdf"
> #+header: :results file drawer :exports results :fit yes :border 0cm
> #+header: :headers '("\\usepackage{tikz}")
> #+begin_src latex
> \usetikzlibrary{positioning}
> \begin{tikzpicture}
> \node[circle,fill,label=above:$P_1$,node font=\Large] (point1) at
> (0,0) {};
> \node[circle,fill,label=above:$P_2$,node font=\Large] (point2) at
> (3,0) {};
> \draw[latex-latex] (point1) -- (point2);
> \end{tikzpicture}
> #+end_src
>
> everything runs fine and a pdf file gets produced. But when I change the
> file header to "absolute-distance.svg" an error occurs and no output
> gets produced. Find attached the tex file and the log of the compilation.
Confirmed.
svg generation takes a completely different code branch compared to pdf
in ox-latex.el. I am not sure why. Hopefully, someone more familiar with
ox-latex and LaTeX in general can chime in.
--
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92
- svg file from tikz picture, reza, 2022/08/15
- Re: svg file from tikz picture,
Ihor Radchenko <=
- Message not available
- Re: svg file from tikz picture, reza, 2022/08/16
- Re: svg file from tikz picture, Ihor Radchenko, 2022/08/16
- Message not available
- Re: svg file from tikz picture, reza, 2022/08/16
- Re: svg file from tikz picture, Ihor Radchenko, 2022/08/16
- Message not available
- Re: svg file from tikz picture, reza, 2022/08/16
- Re: svg file from tikz picture, Ihor Radchenko, 2022/08/16
- Message not available
- Re: svg file from tikz picture, reza, 2022/08/16