Re: [O] [RFC] Change visibility for bracket links

2016-10-06 Thread Eric S Fraga
On Thursday, 6 Oct 2016 at 00:27, Clément Pit--Claudel wrote: > What about having our cake and eating it too? :) We could do just the > same as what prettify-symbols-mode does with its > prettify-symbols-unprettify-at-point variable. This would be nice. In any case, Nicolas, I am fully in favour

[O] [BUG] TRAMP error in PDF export

2016-10-06 Thread Philip Hudson
Not 100% sure this is a bug rather than misconfiguration, but it looks like it at first sight: Open an Org file via ssh: C-x C-f /ssh:me@host:/org/anOrgFile.org Export it to PDF: C-c C-e l p I get: (lots of pdfTex error text about not being able to find the file /ssh:me@host:/org/anOrgF

[O] Problem with python session

2016-10-06 Thread Florian Lindner
Hello, I have an org file: * Overview of available basis functions #+BEGIN_SRC python :session generateBFpics :exports results :results file import matplotlib.pyplot as plt import numpy as np def set_plotoptions(): plt.xlabel("x") plt.ylabel("$\phi(x)$") plt.grid() np

Re: [O] [RFC] Change visibility for bracket links

2016-10-06 Thread William Denton
On 6 October 2016, Eric S Fraga wrote: In any case, Nicolas, I am fully in favour of your proposed change. Editing links has always been very frustrating for me and your suggestion would make it much easier. +1 from me too. Bil -- William Denton :: Toronto, Canada :: https://www.miskatonic.o

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] Problem with python session

2016-10-06 Thread William Henney
Hi Florian I can reproduce your problem. This is (arguably) a bug in ob-python when using the vanilla python interpreter together with the :session argument. You can work around it by putting a blank line after the for-loop in your second code block. I say that it is arguable that this is a bug

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 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 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 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 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: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 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 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 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 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
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

[O] Bug: org-mode interprets * as a headline in text between #+BEGIN_.. and #+END_...

2016-10-06 Thread David Talmage
I often paste verbatim text into the lab notebook I keep with org-mode. Org-mode always interprets any line that begins with an asterisk as a headline, even when the line is surrounded by #+BEGIN_... and #+END_... patterns. This breaks org-special-edit, making it complain, "No special environment t

Re: [O] Bug: org-mode interprets * as a headline in text between #+BEGIN_.. and #+END_...

2016-10-06 Thread John Hendy
On Thu, Oct 6, 2016 at 3:28 PM, David Talmage wrote: > I often paste verbatim text into the lab notebook I keep with org-mode. > Org-mode always interprets any line that begins with an asterisk as a > headline, even when the line is surrounded by #+BEGIN_... and #+END_... > patterns. This breaks o

Re: [O] Bug: org-mode interprets * as a headline in text between #+BEGIN_.. and #+END_...

2016-10-06 Thread Nick Dokos
John Hendy writes: > On Thu, Oct 6, 2016 at 3:28 PM, David Talmage > wrote: >> I often paste verbatim text into the lab notebook I keep with org-mode. >> Org-mode always interprets any line that begins with an asterisk as a >> headline, even when the line is surrounded by #+BEGIN_... and #+END_.

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

[O] MySQL params as global properties?

2016-10-06 Thread Gary Oberbrunner
I guess I've been out of the loop for a while. I used to have this at the end of my org-mode SQL files: #+PROPERTY: engine mysql #+PROPERTY: dbhost xx.xx.xx.xx #+PROPERTY: dbuser xx #+PROPERTY: dbpassword x #+PROPERTY: database x But since I recently updated org-mode, thes

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

[O] mass conversion?

2016-10-06 Thread Sharon Kimble
In an org-mode document which is then converted I'm using the latex glossary package, which shows my glossary items as '\gls{foo}'. I'm now getting to the stage of having a paper copy of the latexed PDF but am finding that the glossary items in the main text do not show at all when using just blac

Re: [O] Bug: org-mode interprets * as a headline in text between #+BEGIN_.. and #+END_...

2016-10-06 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Is the "* on column 0 is a headline" convention a consequence of the > dependence on outline.el? Or is it just historical baggage? I cannot > remember the grammar rules, but I'm wondering if the parser could be > made to say "not a headline" in this situation, and if

Re: [O] [RFC] Change visibility for bracket links

2016-10-06 Thread Nicolas Goaziou
Hello, Clément Pit--Claudel writes: > What about having our cake and eating it too? :) We could do just the > same as what prettify-symbols-mode does with its > prettify-symbols-unprettify-at-point variable. Namely, we could show > the brackets when point is at the edge of a link, and hide them

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