From: Ihor Radchenko <yantar92@gmail.com>
To: reza <reza@housseini.me>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: svg file from tikz picture
Date: Tue, 16 Aug 2022 17:42:41 +0800 [thread overview]
Message-ID: <87o7wk34oe.fsf@localhost> (raw)
In-Reply-To: <01020182a2d7ed46-7be65254-b93a-4e52-b275-c7dde587f51b-000000@eu-west-1.amazonses.com>
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
next prev parent reply other threads:[~2022-08-16 9:44 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3bc47afb-0bac-f6e8-1097-13dcb6f2be1f@housseini.me>
2022-08-15 18:50 ` svg file from tikz picture reza
2022-08-16 9:42 ` Ihor Radchenko [this message]
[not found] ` <964a4117-ef6c-8d41-a25d-00e61c0c93d8@housseini.me>
2022-08-16 10:00 ` reza
2022-08-16 10:13 ` Ihor Radchenko
[not found] ` <0931497c-9075-c214-c7f2-6507340a6d74@housseini.me>
2022-08-16 10:19 ` reza
2022-08-16 10:31 ` Ihor Radchenko
[not found] ` <6daeb56b-163c-f862-5866-da624b43edd9@housseini.me>
2022-08-16 11:06 ` reza
2022-08-16 11:22 ` Ihor Radchenko
[not found] ` <7dcd1348-6faf-8464-38b5-8efac7c69250@housseini.me>
2022-08-16 11:25 ` reza
[not found] ` <be3e5412-37ff-c1c7-7a27-3793d72842d4@housseini.me>
2022-09-20 9:55 ` reza
2022-09-20 20:53 ` Edouard Debry
2022-09-21 9:32 ` Ihor Radchenko
2022-09-23 2:28 ` Akira Kyle
2022-09-25 7:52 ` Ihor Radchenko
2022-11-14 5:52 ` Ihor Radchenko
2023-03-24 23:22 ` Akira Kyle
2023-03-25 18:13 ` Ihor Radchenko
2023-03-25 18:14 ` Akira Kyle
2023-03-25 18:25 ` Ihor Radchenko
2023-04-19 9:57 ` Bastien Guerry
2023-08-05 9:34 ` Ihor Radchenko
2023-08-05 17:29 ` Bastien Guerry
2023-08-05 18:38 ` Akira Kyle
2023-08-06 5:37 ` Bastien Guerry
2023-08-06 5:40 ` Bastien Guerry
2023-10-19 9:51 ` Ihor Radchenko
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7wk34oe.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=reza@housseini.me \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.