emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: best ways to generate simple diagrams?
Date: Tue, 7 May 2019 16:36:33 -0400	[thread overview]
Message-ID: <CAN_Dec_HNMB8RPAYTuSQBt-+usMAidCm9GfbfQP4BWUwzdMZDw@mail.gmail.com> (raw)
In-Reply-To: <87woj2xicp.fsf@ucl.ac.uk>


[-- Attachment #1.1: Type: text/plain, Size: 1074 bytes --]

hmm, I still get just the attached image (approx).  Presumably osmehting
wrong w/ my latex setup (I use latex only very rarely).

On Tue, May 7, 2019 at 1:52 PM Fraga, Eric <e.fraga@ucl.ac.uk> wrote:

> On Tuesday,  7 May 2019 at 13:22, Matt Price wrote:
> > I thought that a latex src block with :exports results would work, but
> > rather than a rendered graph I end up with a .png of the latex
> > instructions themselves. Here's what I am trying:
>
> It should work.  Try with the following header settings:
>
> #+header: :exports results
> #+header: :results file raw
> #+header: :file image.png
> #+header: :fit yes
> #+begin_src latex
>   \begin{tikzpicture}[node distance=4cm,minimum size=2cm]
>     \node[draw,fill=blue!20!white] (humanities) {Humanities};
>     \node[draw,fill=blue!20!white] (tools) [right of=humanities]
> {\parbox{3cm}{Computing \\ Tools and \\ Methodologies}};
>     \draw[very thick,red] (tools) edge [out=270,in=270,->] (humanities);
>   \end{tikzpicture}
> #+end_src
>
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0
>

[-- Attachment #1.2: Type: text/html, Size: 1448 bytes --]

[-- Attachment #2: latex-headers.png --]
[-- Type: image/png, Size: 22904 bytes --]

  reply	other threads:[~2019-05-07 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-06 18:17 best ways to generate simple diagrams? Matt Price
2019-05-06 19:12 ` ckelty ckelty
2019-05-06 20:08 ` Heinz Tuechler
2019-05-07 11:25 ` Fraga, Eric
2019-05-07 17:22   ` Matt Price
2019-05-07 17:52     ` Fraga, Eric
2019-05-07 20:36       ` Matt Price [this message]
2019-05-07 20:51         ` Martin Schöön
2019-05-08  5:47           ` Fraga, Eric
2019-05-08  4:06 ` Marcin Borkowski

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=CAN_Dec_HNMB8RPAYTuSQBt-+usMAidCm9GfbfQP4BWUwzdMZDw@mail.gmail.com \
    --to=moptop99@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).