[O] ox-latex: includegraphics should "quote" filenames

2015-05-25 Thread Vaidheeswaran C
In: [[./emacs-24.5.1-startup-screen-annotated.png]] Buggy Out: \includegraphics[width=.9\linewidth]{./emacs-24.5.1-startup-screen-annotated.png} Desired: Out: \includegraphics[width=.9\linewidth]{{./emacs-24.5.1-startup-screen-annotated}.png} Source: http://tex.stackexchange.com/question

[O] ox-texinfo doesn't handle inline images

2015-05-25 Thread Vaidheeswaran C
In: #+NAME: fig1 #+CAPTION: Screen capture [[./emacs-24.5.1-startup-screen-annotated.png]] Buggy out: @uref{./emacs-24.5.1-startup-screen-annotated.png} Desired out: @float Figure,fig1 @image{./emacs-24.5.1-startup-screen-annotated,150mm,,,png} @c @shortcaptio

[O] ox-texinfo: Provide an option to open the *.info file within Emacs

2015-05-25 Thread Vaidheeswaran C
ox-texinfo: Provide an option to open the *.info file within Emacs The following snippet (as suggested by M-x list-command-history), would do the needful. (info "~/src/emacsprimer/emacsprimer.info" nil) It would also be useful if I could compile *.info document using texi2html and texi2pdf

Re: [O] How to elegantly and effectively quote org fragments?

2015-05-25 Thread Alain . Cochard
> > I understand that the indentation is virtual; it is just that I would > > (ideally) expect for the quoted example to visually look the same as > > it does in an org buffer. > > That's not possible. I understand that now. I'll stay disappointed about it :-) > > OK. I had missed this

Re: [O] Treat custom environment as verbatim on export

2015-05-25 Thread Jacob Gerlach
Hello, On Sun, May 24, 2015 at 3:43 PM, Charles C. Berry wrote: > Currently, :wrap allows this: > > #+begin_src emacs-lisp :wrap "src latex :wrap my-verbatim" :exports results ... This is sufficient for my use case. Thanks for the tip. A special block ":raw" parameter, as Rasmus suggested, is

Re: [O] org-mode, tikz and beamer

2015-05-25 Thread Suvayu Ali
Hello Cédric, First, apologies for the delay. I am swamped with a lot of things for a while now, makes my responses rather irregular. On Thu, May 21, 2015 at 10:33:13PM +0200, cédric ody wrote: > Thank you for your answer. > > Here is the shell script (many comments are in english except the >

Re: [O] Fontification of org code block not printed

2015-05-25 Thread Joe Corneli
On Fri, Aug 1, 2014 at 8:31 AM, Francesco Pizzolante wrote: > I have to say that I'm surprised about the way this issue has been > fixed. Let me tell you why. > > 1) The fix 'simply' removes a useful Org functionality, which I use for >3 years now, without providing any alternative. Wouldn't

Re: [O] org-clock-persistence-insinuate not working anymore (25.0.5)

2015-05-25 Thread Tory S. Anderson
How about any suggestions on how to debug this, since it isn't actually throwing any errors (and I'm a novice emacs-debugger)? The tasks list will contain "interrupted task" and "recent task" but none of the actual task names. (this comes from passing a single arg to org-clock-in) torys.ander.

[O] Javascript syntax highlighting?

2015-05-25 Thread Peter Davis
If I edit a JavaScript file in emacs, I get beautiful syntax highlighting. However, if I put the same code in a .org file between #+BEGIN_SRC Javascript ... #+END_SRC I get nothing but plain black text. Is there any way to get the syntax highlighting in HTML output, so I can use it in a blog p

Re: [O] Javascript syntax highlighting?

2015-05-25 Thread David Engster
Peter Davis writes: > #+BEGIN_SRC Javascript Don't capitalize, use 'javascript'. -David

[O] Bugreport: htmlized.el 1.43 and Org-mode Agenda export to html with C-x C-w has broken http links

2015-05-25 Thread Judith Bush
I've recently installed emacs 24.5 on two different OS X Mavericks machines, once with Mac Ports, once from the tarball. I didn't see html as an option when using C-c C-e in org-mode, so i ran find across the machine installed with tarball and couldn't find htmlize.el. I fetched version 1.43 and pu

Re: [O] Javascript syntax highlighting?

2015-05-25 Thread Tory S. Anderson
I use somethign similar for blogs I write in orgmode. In my case, it depends on having a server-side library for syntax highlighting: I use google-code-prettify[1] on the server side and then just paste the exported code from orgmode, and it works for me. Peter Davis writes: > If I edit a Ja

Re: [O] Javascript syntax highlighting?

2015-05-25 Thread Peter Davis
On 5/25/15 10:44 AM, David Engster wrote: Peter Davis writes: #+BEGIN_SRC Javascript Don't capitalize, use 'javascript'. Thanks, David. That doesn't appear to make any difference. Neither does "js". Thanks, -pd -- Peter Davis The Tech Curmudgeon http://www.techcurmudgeon.com

Re: [O] Javascript syntax highlighting?

2015-05-25 Thread David Engster
Peter Davis writes: > On 5/25/15 10:44 AM, David Engster wrote: >> Peter Davis writes: >>> #+BEGIN_SRC Javascript >> Don't capitalize, use 'javascript'. > Thanks, David. > > That doesn't appear to make any difference. Neither does "js". Do you mean you don't see any highlighting in Emacs, or only

Re: [O] Javascript syntax highlighting?

2015-05-25 Thread Peter Davis
David Engster writes: > Peter Davis writes: >> On 5/25/15 10:44 AM, David Engster wrote: >>> Peter Davis writes: #+BEGIN_SRC Javascript >>> Don't capitalize, use 'javascript'. >> Thanks, David. >> >> That doesn't appear to make any difference. Neither does "js". > > Do you mean you don't see

Re: [O] [Orgmode] Unable to capture the file name generated using matplotlib

2015-05-25 Thread Dror Atariah
I am sorry for reposting, but I'm still in the dark. Am I the only one who experience this kind of issue? Did someone managed to reproduce the problem? Does anyone see this message? :) On Sat, May 23, 2015 at 8:49 PM, Dror Atariah wrote: > I am still helpless here. Any idea how to debug the prob

Re: [O] [Orgmode] Unable to capture the file name generated using matplotlib

2015-05-25 Thread Ken Mankoff
On 2015-05-25 at 13:25, Dror Atariah wrote: > I am sorry for reposting, but I'm still in the dark. Am I the only one who > experience this kind of issue? Don't know. > Did someone managed to reproduce the problem? I could not reproduce it. > Does anyone see this message? :) Yes. I'm on Mac

Re: [O] [Orgmode] Unable to capture the file name generated using matplotlib

2015-05-25 Thread Dror Atariah
On Mon, May 25, 2015 at 7:29 PM, Ken Mankoff wrote: > > On 2015-05-25 at 13:25, Dror Atariah wrote: > > I am sorry for reposting, but I'm still in the dark. Am I the only one > who > > experience this kind of issue? > > Don't know. > > > Did someone managed to reproduce the problem? > > I could

Re: [O] [Orgmode] Unable to capture the file name generated using matplotlib

2015-05-25 Thread John Kitchin
With emacs -Q, and this org file: #+BEGIN_SRC emacs-lisp (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (python . t))) #+END_SRC #+RESULTS: #+BEGIN_SRC python :session with_matplotlib :results file :exports both import matplotlib matplotlib.use('Agg') import matpl

Re: [O] org-clock-persistence-insinuate not working anymore (25.0.5)

2015-05-25 Thread Kyle Meyer
torys.ander...@gmail.com (Tory S. Anderson) wrote: > I've been using the following code for several months to make it easy > to clock back in to my frequent tasks as I track my time usage: > > (org-clock-persistence-insinuate) > (setq org-clock-persist t) > > A few days ago I updated emacs to the d

Re: [O] ox-texinfo: Provide an option to open the *.info file within Emacs

2015-05-25 Thread Nicolas Goaziou
Hello, Vaidheeswaran C writes: > ox-texinfo: Provide an option to open the *.info file within Emacs > > The following snippet (as suggested by M-x list-command-history), > would do the needful. > > (info "~/src/emacsprimer/emacsprimer.info" nil) Done. However, file is opened with `org-open

[O] Remaining org-src.el free variable warnings

2015-05-25 Thread Kyle Meyer
Compiling org-src.el since 71641bc3a0882b has given free variable warnings. One of these was fixed in e50472d926f92c, but some still remain: In org-src--contents-area: org-src.el:303:49:Warning: reference to free variable `beg' org-src.el:303:53:Warning: reference to free variable `en

Re: [O] ox-texinfo doesn't handle inline images

2015-05-25 Thread Nicolas Goaziou
Hello, Vaidheeswaran C writes: > In: > > #+NAME: fig1 > #+CAPTION: Screen capture > [[./emacs-24.5.1-startup-screen-annotated.png]] > > > Buggy out: > > @uref{./emacs-24.5.1-startup-screen-annotated.png} > > > Desired out: > > @float Figure,fig1 > @image{./emacs-24.5.1-

Re: [O] Remaining org-src.el free variable warnings

2015-05-25 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > Compiling org-src.el since 71641bc3a0882b has given free variable > warnings. One of these was fixed in e50472d926f92c, but some still > remain: > > In org-src--contents-area: > org-src.el:303:49:Warning: reference to free variable `beg' > org-src.el:303:

Re: [O] [Orgmode] Unable to capture the file name generated using matplotlib

2015-05-25 Thread Ken Mankoff
Nick Dokos removed from Cc. On 2015-05-25 at 14:22, Dror Atariah wrote: > I tried to evaluate the problematic file using =emacs -Q= and the problem > is the same. Sorry I can't help much. It works on my system. The only difference I see is my python version: #+BEGIN_SRC python :session backgr

Re: [O] Remaining org-src.el free variable warnings

2015-05-25 Thread Kyle Meyer
Nicolas Goaziou wrote: > Hello, > > Kyle Meyer writes: > >> Compiling org-src.el since 71641bc3a0882b has given free variable >> warnings. One of these was fixed in e50472d926f92c, but some still >> remain: >> >> In org-src--contents-area: >> org-src.el:303:49:Warning: reference to free