Re: [O] [PATCH] call_*() is not working inside #+DATE

2016-03-11 Thread Rafael Laboissiere
* Rafael Laboissiere [2016-03-07 02:58]: The following used to work for me in the past: #+NAME: date #+BEGIN_SRC sh :results silent :exports results :tangle no date #+END_SRC #+TITLE: Sample #+AUTHOR: Me #+DATE: call_date() and I saw the output of the

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-11 Thread Kaushal Modi
Thanks. -- Kaushal Modi

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-11 Thread Kyle Meyer
Kyle Meyer writes: > Kaushal Modi writes: > >> Patch (after rebasing to 5a735b0) attached. I hope it works. [...] > I'll have another look at the changes tonight and will push it then > unless there are more comments from me or others. Pushed in

Re: [O] org-babel C math.h issue

2016-03-11 Thread Thierry Banel
Seems good. I tested it. As a refinement, the associated documentation should be updated (but that is a separate patch). http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-C.html Thierry Le 11/03/2016 20:14, Oz Ben-Ami a

Re: [O] error on org-reload (Symbol's value as variable is void: load-uncore)

2016-03-11 Thread Giuseppe Lipari
Dear Nick, Le ven. 11 mars 2016 à 16:45, Nick Dokos a écrit : > Giuseppe Lipari writes: > > > Hello, > > > > I want to have a backtrace of an error I am encountering. So I followed > the instructions here, > > 1) I enabled "enter debugger on error" > > 2)

[O] Bug: ox-html.el does not indicate enough languages [8.2.10 (release_8.2.10 @ c:/Users/txiong/emacs-24.5/share/emacs/24.5/lisp/org/)]

2016-03-11 Thread Tianxiang Xiong
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] Bug: Exception when trying to export inlined-code [8.3.4 (8.3.4-9-gfda14f-elpa @ ~/.emacs.d/elpa/org-20160307/)]

2016-03-11 Thread Shlomi Vaknin
Hey Nicholas, Thanks for trying to help! Setting org-element-use-cache to nil did the trick, it now export just fine in both elpa version of org and on master, thanks! Without setting it to nil, here is the complete backtrace of an uncompiled org (I simply erased all elc files, that sufficient,

Re: [O] Latex code inbetween beamer frames

2016-03-11 Thread Eric S Fraga
On Friday, 11 Mar 2016 at 13:01, Giacomo M wrote: > Dear all, > I would like to set a background image for some slides. AFAIK, the way > to achieve this in beamer is by using sth like: > \usebackgroundtemplate{\tikz\node > {\includegraphics[width=\textwidth]{mybackpic}};} > before the

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-11 Thread Kyle Meyer
Kyle Meyer writes: > Since in this case the branch only consists of one commit, you could > also just make a new branch off of maint and cherry pick the commit from > the original branch. This was a misleading way for me to describe this. git cherry-pick has accepted a range

Re: [O] org-babel C math.h issue

2016-03-11 Thread Oz Ben-Ami
Thanks for the response. On my machine, I get the undefined references even with GCC 5 (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)), if I put -lm before the source file name. As far as a patch, I can try but this would be my first time really playing with org-mode code. As far as I can

Re: [O] org-babel C math.h issue

2016-03-11 Thread Thierry Banel
To summarize this thread: It seems there was an issue long ago. Version 5 of GCC magically fixed it. But it is still here for older compilers. - To debug, execute the following piece of lisp code: (defadvice org-babel-eval (before xxx (cmd body)) ""

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-11 Thread Kyle Meyer
Kaushal Modi writes: > Patch (after rebasing to 5a735b0) attached. I hope it works. Thanks. It almost works :) Applying the patch fails because there's a whitespace change in one of the context lines (the first one above the org-table-align change). You should be able

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-11 Thread Kaushal Modi
Patch (after rebasing to 5a735b0) attached. I hope it works. Git newbie question: Making the changes in the maint version of these 4 files manually was a bit of a pain. What's the right way of porting changes from one branch to another? I am curious how the changes will be ported from the maint

Re: [O] set default width for figure floats?

2016-03-11 Thread Rasmus
Rainer M Krug writes: > I think this has been asked before, but I can't find it: > > Is there a way of setting the default width for images included as > > [[file:map-All.png]] > > in org documents? It seems that the default is > >

Re: [O] error on org-reload (Symbol's value as variable is void: load-uncore)

2016-03-11 Thread Nick Dokos
Giuseppe Lipari writes: > Hello, > > I want to have a backtrace of an error I am encountering. So I followed the > instructions here, > 1) I enabled "enter debugger on error" > 2) M-x org-reload > > And I obtain the following error > > and: Symbol's value as variable is

Re: [O] org-babel C math.h issue

2016-03-11 Thread Nick Dokos
Anssi Saari writes: > Nick Dokos writes: > >> You can test that that's the case: put your program into a file, say foo.c, >> and >> execute >> >> gcc -o foo.out -lm foo.c >> >> Does that give you undefined references? > > Does for me. gcc --version says > gcc

Re: [O] using vref in latex export, and normal links in html export

2016-03-11 Thread Alan Schmitt
On 2016-03-11 16:05, Alan Schmitt writes: > On 2016-03-11 15:02, John Kitchin writes: > >> Try: >> >> (setq org-latex-prefer-user-labels t) >> >> I think this does what you want for org 8.3.4 at least. > > Thank you! This is what I was

Re: [O] using vref in latex export, and normal links in html export

2016-03-11 Thread Alan Schmitt
On 2016-03-11 15:02, John Kitchin writes: > Try: > > (setq org-latex-prefer-user-labels t) > > I think this does what you want for org 8.3.4 at least. Thank you! This is what I was missing. Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂ (2016-02,

[O] error on org-reload (Symbol's value as variable is void: load-uncore)

2016-03-11 Thread Giuseppe Lipari
Hello, I want to have a backtrace of an error I am encountering. So I followed the instructions here, 1) I enabled "enter debugger on error" 2) M-x org-reload And I obtain the following error and: Symbol's value as variable is void: load-uncore with the following backtrace: Debugger

Re: [O] set default width for figure floats?

2016-03-11 Thread John Kitchin
Rainer M Krug writes: > John Kitchin writes: > >> Maybe you want org-image-actual-width >> >> This sets teh width in org, if you have a working imagemagick. > > No - I don't want any scaling. They are graphs I have created in R and I > want to conserve the font sizes in

Re: [O] set default width for figure floats?

2016-03-11 Thread Rainer M Krug
John Kitchin writes: > Maybe you want org-image-actual-width > > This sets teh width in org, if you have a working imagemagick. No - I don't want any scaling. They are graphs I have created in R and I want to conserve the font sizes in the paper. > >

Re: [O] using vref in latex export, and normal links in html export

2016-03-11 Thread John Kitchin
Try: (setq org-latex-prefer-user-labels t) I think this does what you want for org 8.3.4 at least. Alan Schmitt writes: > Hello Eric, > > On 2016-03-11 12:03, Eric S Fraga writes: > >> On Friday, 11 Mar 2016 at 11:20, Alan Schmitt wrote: >>> Hello, >>> >>> I'm converting a

Re: [O] set default width for figure floats?

2016-03-11 Thread John Kitchin
Maybe you want org-image-actual-width This sets teh width in org, if you have a working imagemagick. org-latex-image-default-width contains the default latex scaling. Probably you can set this to nil to avoid scaling. Rainer M Krug writes: > I think this has been asked before, but I can't

Re: [O] using vref in latex export, and normal links in html export

2016-03-11 Thread Alan Schmitt
Hello Eric, On 2016-03-11 12:03, Eric S Fraga writes: > On Friday, 11 Mar 2016 at 11:20, Alan Schmitt wrote: >> Hello, >> >> I'm converting a latex document into org-mode to easily export it both >> to latex and html. I've just encountered something that I don't know how >>

[O] set default width for figure floats?

2016-03-11 Thread Rainer M Krug
I think this has been asked before, but I can't find it: Is there a way of setting the default width for images included as [[file:map-All.png]] in org documents? It seems that the default is \includegraphics[width=.9\linewidth]{map-All.png} and I don't want the images to be scaled, but to

[O] Latex code inbetween beamer frames

2016-03-11 Thread Giacomo M
Dear all, I would like to set a background image for some slides. AFAIK, the way to achieve this in beamer is by using sth like: \usebackgroundtemplate{\tikz\node {\includegraphics[width=\textwidth]{mybackpic}};} before the \begin{frame} of the slide of interest (and after the \end{frame}). I

Re: [O] using vref in latex export, and normal links in html export

2016-03-11 Thread Eric S Fraga
On Friday, 11 Mar 2016 at 11:20, Alan Schmitt wrote: > Hello, > > I'm converting a latex document into org-mode to easily export it both > to latex and html. I've just encountered something that I don't know how > to do: export a \vref reference. I would like to have something that > exports to

[O] using vref in latex export, and normal links in html export

2016-03-11 Thread Alan Schmitt
Hello, I'm converting a latex document into org-mode to easily export it both to latex and html. I've just encountered something that I don't know how to do: export a \vref reference. I would like to have something that exports to \vref in latex, and to a normal link in html. I thought I could