From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David A. Gershman" Subject: Re: Best diagram, image software? Date: Tue, 4 Oct 2016 08:12:33 -0700 Message-ID: <3d70d58b-5316-0a58-ec91-82fb88cdd064@dagertech.net> References: <1475589260.3167848.745450945.2F264316@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------EC5FFC38705C2F54A9D00460" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brROW-0006t9-UE for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 11:12:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brROR-0000aS-8W for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 11:12:35 -0400 Received: from dagertech.net ([64.183.98.170]:55896 helo=mail.dagertech.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brROQ-0000Y7-Sc for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 11:12:31 -0400 Received: from [192.168.133.105] (unknown [192.168.176.200]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.dagertech.net (Postfix) with ESMTPSA id D41F4A073C for ; Tue, 4 Oct 2016 08:12:27 -0700 (PDT) In-Reply-To: <1475589260.3167848.745450945.2F264316@webmail.messagingengine.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------EC5FFC38705C2F54A9D00460 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Honestly, the sky is the limit. I agree with what everyone else is saying, it depends on the diagram, your skill level, comfort level, etc. Personally, I export to HTML, not LaTeX, plus I'm more old-school. I just use Perl w/GD to make many of my images. The PNG export is easily viewed/inserted into my .org files and I can include the code in my .org files as well if I choose. Point is, any programming language can also be used to generate images as well. Ditaa, PlantUML, GnuPlot, etc, help do the job faster for specific types of data/drawings. Anything outside the box (no pun intended), you need something more "arbitrary" like LibreDraw, GD, etc. On 10/04/2016 06:54 AM, Peter Davis wrote: > > On Tue, Oct 4, 2016, at 09:11 AM, Lawrence Bottorff wrote: >> I know lots of you use Emacs and org mode to prepare scholarly books >> and papers, either doing the HTML or, more probably, the Latex >> export. Question: Let's say I want to produce a math text with >> Emacs/org-mode/Latex. What is the best way to make diagrams and >> images? I've seen things like Inkscape and LibreOffice Draw. But then >> there is Gnuplot and Tikz. Yes, what Tikz does seems optimal, but the >> learning curve is a year's sabbatical. Just wondering what you people >> are using to do your images. > > I think it really depends on what kinds of diagrams and images you're > trying to use. I've been using embedded dot (GraphViz) diagrams with > org for a number of years, and I find it fantastically helpful for > things like graphs (nodes connected by arrows, optionally all > labelled), data structure diagrams, etc. ... the basic boxes and lines > kind of drawing. > > I also just discovered ditaa, which seems also good for boxes and > lines, but with more freedom (and more work to edit the input). > > I've also used PlantUML for modelling diagrams. > > I know others are using embedded R code to get data visualization > graphics automatically. > > This page gives some examples: > http://ehneilsen.net/notebook/orgExamples/org-examples.html. There > should be an authoritative page on graphics formats, but I'm not aware > of one. > > Most of these use separate packages to create the graphics, but there > are hooks in org to call the external programs and include the results > in the document. > > -pd > > -- > Peter Davis > www.techcurmudgeon.com > --------------EC5FFC38705C2F54A9D00460 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Honestly, the sky is the limit.=A0 I agree with what everyone else is saying, it depends on the diagram, your skill level, comfort level, etc.=A0 Personally, I export to HTML, not LaTeX, plus I'm more old-school.=A0 I just use Perl w/GD to make many of my images.=A0 The PNG export is easily viewed/inserted into my .org files and I can include the code in my .org files as well if I choose.

Point is, any programming language can also be used to generate images as well.=A0 Ditaa, PlantUML, GnuPlot, etc, help do the job faster for specific types of data/drawings.=A0 Anything outside the box (no pun intended), you need something more "arbitrary" like LibreDraw, GD, etc.


On 10/04/2016 06:54 AM, Peter Davis wrote:

On Tue, Oct 4, 2016, at 09:11 AM, Lawrence Bottorff wrote:
I know lots of you use Emacs and org mode to prepare scholarly books and papers, either doing the HTML or, more probably, the Latex export. Question: Let's say I want to produce a math text with Emacs/org-mode/Latex. What is the best way to make diagrams and images? I've seen things like Inkscape and LibreOffice Draw. But then there is Gnuplot and Tikz. Yes, what Tikz does seems optimal, but the learning curve is a year's sabbatical. Just wondering what you people are using to do your images.

I think it really depends on what kinds of diagrams and images you're trying to use. I've been using embedded dot (GraphViz) diagrams with org for a number of years, and I find it fantastically helpful for things like graphs (nodes connected by arrows, optionally all labelled), data structure diagrams, etc. ... the basic boxes and lines kind of drawing.

I also just discovered ditaa, which seems also good for boxes and lines, but with more freedom (and more work to edit the input).

I've also used PlantUML for modelling diagrams.

I know others are using embedde= d R code to get data visualization graphics automatically.

This page gives some examples: = http://ehneilsen.net/notebook/orgExamples/org-examples.html. There should be an authoritative page on graphics formats, but I'm not aware of one.

Most of these use separate packages to create the graphics, but there are hooks in org to call the external programs and include the results in the document.

-pd

--
=A0 Peter Davis


--------------EC5FFC38705C2F54A9D00460--