Re: [O] Best diagram, image software?

2016-10-11 Thread Eduardo Mercovich
Hi everyone. >> [...] What is the best way to make diagrams and >> images? [...] > Depends, what kind of images you are talking about. [...] Agreed 200%. Detail: if your result is vector like (not like a photo, but more like a graph), you can export to pdf and include the pdf as it is. It work

Re: [O] Best diagram, image software?

2016-10-06 Thread Robert Klein
Hi, I'm using the following header, which lets me export to PDF and HTML, both (basically from here: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html). #+header: :exports results :file fsa.png #+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 1200

Re: [O] Best diagram, image software?

2016-10-06 Thread John Kitchin
That is probably because with minted you have to modify how the pdf is built to use pdflatex -shell-escape. The variable org-latex-pdf-process controls this. Peter Davis writes: > Ok, my problem was that the minted package was causing errors. Taking > that out lets me generate pdf. > > Now to f

Re: [O] Best diagram, image software?

2016-10-06 Thread John Kitchin
That implies you have not configured org-mode to include the tikz package. If you execute this block in a buffer does it work? #+BEGIN_SRC emacs-lisp (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (python . t) (ditaa . t) (dot . t) (plantuml . t) (gnupl

Re: [O] Best diagram, image software?

2016-10-06 Thread Peter Davis
Ok, my problem was that the minted package was causing errors. Taking that out lets me generate pdf. Now to figure out how to generate other formats, to work with HTML and LaTeX/PDF output. Thanks, all!! -pd -- Peter Davis www.techcurmudgeon.com

Re: [O] Best diagram, image software?

2016-10-06 Thread John Hendy
On Thu, Oct 6, 2016 at 2:49 PM, Peter Davis wrote: > > On Thu, Oct 6, 2016, at 03:25 PM, Clément Pit--Claudel wrote: >> On 2016-10-06 15:10, Peter Davis wrote: >> >> > (add-to-list 'org-latex-packages-alist >> >> > '(("AUTO" "inputenc" t) >> >> >("" "color" t) >> >> >

Re: [O] Best diagram, image software?

2016-10-06 Thread Peter Davis
On Thu, Oct 6, 2016, at 03:25 PM, Clément Pit--Claudel wrote: > On 2016-10-06 15:10, Peter Davis wrote: > >> > (add-to-list 'org-latex-packages-alist > >> > '(("AUTO" "inputenc" t) > >> >("" "color" t) > >> >("" "minted" t) > >> >("" "pa

Re: [O] Best diagram, image software?

2016-10-06 Thread Martin Schöön
Maybe a distraction from the discussion on graphing alternatives that can be embedded into the org/LaTeX code but I am pretty happy with the results I get from using Veusz. http://home.gna.org/veusz/ Adding to the confusion by adding a recommendation for a program I use to create numerical data f

Re: [O] Best diagram, image software?

2016-10-06 Thread Clément Pit--Claudel
On 2016-10-06 15:10, Peter Davis wrote: >> > (add-to-list 'org-latex-packages-alist >> > '(("AUTO" "inputenc" t) >> >("" "color" t) >> >("" "minted" t) >> >("" "parskip" t) >> >("" "tikz" t))) This looks wrong. You're ad

Re: [O] Best diagram, image software?

2016-10-06 Thread Peter Davis
On Thu, Oct 6, 2016, at 02:59 PM, Nick Dokos wrote: > Peter Davis writes: > > > On Thu, Oct 6, 2016, at 02:15 PM, Nick Dokos wrote: > >> Peter Davis writes: > >> > >> > Since several people recommended TikZ, I decided to take a look at it. > >> > It seems very powerful, but I'm unable to get

Re: [O] Best diagram, image software?

2016-10-06 Thread Nick Dokos
Peter Davis writes: > On Thu, Oct 6, 2016, at 02:15 PM, Nick Dokos wrote: >> Peter Davis writes: >> >> > Since several people recommended TikZ, I decided to take a look at it. >> > It seems very powerful, but I'm unable to get any example to work. For >> > example, using the example here: >> >

Re: [O] Best diagram, image software?

2016-10-06 Thread Peter Davis
On Thu, Oct 6, 2016, at 02:15 PM, Nick Dokos wrote: > Peter Davis writes: > > > Since several people recommended TikZ, I decided to take a look at it. > > It seems very powerful, but I'm unable to get any example to work. For > > example, using the example here: > > > > http://doblogit.com/post

Re: [O] Best diagram, image software?

2016-10-06 Thread Peter Davis
On Thu, Oct 6, 2016, at 01:59 PM, John Kitchin wrote: > I tried this, and it worked for me. Check *Messages* for things like: > Failed to create dvi file from > /var/folders/5q/lllv2yf95hg_n6h6kjttbmdwgn/T/orgtex93386BIQ.tex > > if you see that try manually building the tex file to see if the

Re: [O] Best diagram, image software?

2016-10-06 Thread Nick Dokos
Peter Davis writes: > Since several people recommended TikZ, I decided to take a look at it. > It seems very powerful, but I'm unable to get any example to work. For > example, using the example here: > > http://doblogit.com/posts/2015-10-23-org-graphics.html > Did you add tikz to org-latex-pac

Re: [O] Best diagram, image software?

2016-10-06 Thread John Kitchin
I tried this, and it worked for me. Check *Messages* for things like: Failed to create dvi file from /var/folders/5q/lllv2yf95hg_n6h6kjttbmdwgn/T/orgtex93386BIQ.tex if you see that try manually building the tex file to see if there are LaTeX issues. #+BEGIN_SRC emacs-lisp (org-babel-do-load-l

Re: [O] Best diagram, image software?

2016-10-06 Thread Peter Davis
Since several people recommended TikZ, I decided to take a look at it. It seems very powerful, but I'm unable to get any example to work. For example, using the example here: http://doblogit.com/posts/2015-10-23-org-graphics.html #+begin_src latex :exports results :results output raw :file image

Re: [O] Best diagram, image software?

2016-10-05 Thread Jeremie Juste
Hello, Lawrence Bottorff writes: > 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 diagram

Re: [O] Best diagram, image software?

2016-10-04 Thread Eric S Fraga
On Tuesday, 4 Oct 2016 at 13:11, Lawrence Bottorff wrote: > 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.

Re: [O] Best diagram, image software?

2016-10-04 Thread David A. Gershman
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

Re: [O] Best diagram, image software?

2016-10-04 Thread Fabrice Popineau
2016-10-04 15:11 GMT+02:00 Lawrence Bottorff : > 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 ma

Re: [O] Best diagram, image software?

2016-10-04 Thread Peter Davis
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 b

Re: [O] Best diagram, image software?

2016-10-04 Thread Rainer M Krug
Lawrence Bottorff writes: > 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 > im

Re: [O] Best diagram, image software?

2016-10-04 Thread Russell Adams
I make topology diagrams with yEd, and export to PDF for inclusion in my Latex PDF reports. On Tue, Oct 04, 2016 at 09:11:49AM -0400, 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 exp

[O] Best diagram, image software?

2016-10-04 Thread Lawrence Bottorff
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 a