Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Fraga, Eric
On Tuesday, 7 May 2019 at 22:51, Martin Schöön wrote: > Maybe missing a "\usepackage{tikz}"? > (That caught me out) Ah, that is a very likely reason! I have the following in my emacs initialization for org: (add-to-list 'org-latex-packages-alist '("" "tikz")) (add-to-list

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Marcin Borkowski
On 2019-05-06, at 20:17, Matt Price wrote: > So, I'm finding more and more that I want to include simple diagrams in my > course materials. At present I am generating them as svg's using Inkscape, > but that feels really tiresome to me. I would much rather make them > programmatically,

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Martin Schöön
Maybe missing a "\usepackage{tikz}"? (That caught me out) -- Martin Schöön

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Matt Price
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 wrote: > On Tuesday, 7 May 2019 at 13:22, Matt Price wrote: > > I thought that a latex src block with :exports results

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Fraga, Eric
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

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Matt Price
These are all great. I am struggling to some extent through the docs for all these tools. Eric, for the most part I'm very happy with graphviz & plantufml but I would be interested in trying latex as well. Since I'm mostly exporting to html and its derivatives (markdown mostly), I don't think

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Fraga, Eric
On Monday, 6 May 2019 at 14:17, Matt Price wrote: > So, I'm finding more and more that I want to include simple diagrams in my > course materials. At present I am generating them as svg's using Inkscape, > but that feels really tiresome to me. I would much rather make them > programmatically,

Re: [O] best ways to generate simple diagrams?

2019-05-06 Thread ckelty ckelty
Matt, Did you already decide against graphviz? Admittedly it is only graphs and not "diagrams"... but it's very powerful and there is art in using a simple tool to make your life complex :) #+BEGIN_SRC dot :file test-dot.png :exports results digraph D { Humanities -> {"Computing Tools

Re: [O] best ways to generate simple diagrams?

2019-05-06 Thread Heinz Tuechler
Matt Price wrote/hat geschrieben on/am 06.05.2019 19:17: So, I'm finding more and more that I want to include simple diagrams in my course materials. At present I am generating them as svg's using Inkscape, but that feels really tiresome to me. I would much rather make them programmatically,

[O] best ways to generate simple diagrams?

2019-05-06 Thread Matt Price
So, I'm finding more and more that I want to include simple diagrams in my course materials. At present I am generating them as svg's using Inkscape, but that feels really tiresome to me. I would much rather make them programmatically, preferably including the source code as an org-mode block. I