Re: [O] no beamer export?

2017-05-17 Thread Luca Ferrari
On Wed, May 17, 2017 at 3:41 PM, Jérémie Juste wrote: > Hello, > > M-x beamer-mode. Thanks, it worked! Luca

Re: [O] Python src blocks indent

2017-05-17 Thread Fabrice Popineau
Thanks Nicolas. I should have looked closer at ox-ipynb since the problem is in there. It should make use of `org-export-unravel-code' and it doesn't. Instead it trims leading white spaces from the src code. I'll report it to the scimax github repository. Best regards, 2017-05-17 15:08 GMT+02:0

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread John Hendy
On Wed, May 17, 2017 at 7:06 AM, Sharon Kimble wrote: > > How can I have an org-mode table in an org-mode document that is > exported to latex, but the table is *NOT* exported, please? > > This is the table that I'm using - [snip] This works for me. Duplicates what others have said, so I think s

Re: [O] [Patch] Fix handling of variable capture location

2017-05-17 Thread Yuri Lensky
The second call is indeed needed. This is the case fixed by the patch: (setq org-default-notes-file (expand-file-name "~/docs/notes.org")) (setq org-capture-templates '(("t" "Todo" entry (file+olp org-default-notes-file "Inbox") "* TODO %?\n%i"))) This breaks without the second symbol-value. The

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread Thomas S. Dye
Aloha Sharon, Sharon Kimble writes: > Kaushal Modi writes: > >> On Wed, May 17, 2017, 8:07 AM Sharon Kimble >> wrote: >> >> --8<---cut here---start->8--- >> #+BEGIN_SRC :exports no >> | >> >> I think that you are just missing out the language spe

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread Sharon Kimble
Eric S Fraga writes: > On Wednesday, 17 May 2017 at 12:06, Sharon Kimble wrote: >> How can I have an org-mode table in an org-mode document that is >> exported to latex, but the table is *NOT* exported, please? > > I tend to "hide" things like this (data tables, source codes) that I do > not want

[O] [PATCH] Add tests for org-refile-get-targets

2017-05-17 Thread Sebastian Reuße
* testing/lisp/test-org.el: Add test. --- testing/examples/refile/a.org | 6 testing/examples/refile/b.org | 6 testing/lisp/test-org.el | 71 +++ 3 files changed, 83 insertions(+) create mode 100644 testing/examples/refile/a.org create mo

Re: [O] [PATCH 1/2] Add tests for org-refile-get-targets

2017-05-17 Thread Sebastian Reuße
Hello Nicolas, Nicolas Goaziou writes: > Nitpick: Sections in test-org.el are sorted alphabetically. So the new > "Refile" section could go between "Radio Targets" and "Sparse trees". Thank you, I hadn’t noticed. > Would it be possible to split this big test into smaller ones, with > a descrip

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread Sharon Kimble
Jérémie Juste writes: > Hello, > > maybe something like > > #+BEGIN_SRC org :exports none > | date   | change   | version | > |+--+-| > | 2016/11/18 | initial draft    | 1.0 | > | 2017/05/04 | put in models of grief   |  

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread Sharon Kimble
Kaushal Modi writes: > On Wed, May 17, 2017, 8:07 AM Sharon Kimble > wrote: > > --8<---cut here---start->8--- > #+BEGIN_SRC :exports no > | > > I think that you are just missing out the language specifier there. Try: > > #+BEGIN_SRC org :exports n

Re: [O] no beamer export?

2017-05-17 Thread Sebastian Christ
> "LF" == Luca Ferrari writes: LF> Hi all, LF> I'm running emacs 25.1.2 and I've no beamer export in the C-c C-e. LF> I've tried to include the directives: LF> #+LaTeX_CLASS: beamer LF> #+LaTeX_CLASS_OPTIONS: [presentation,smaller] LF> #+BEAMER_THEME: default LF>

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread Eric S Fraga
On Wednesday, 17 May 2017 at 12:06, Sharon Kimble wrote: > How can I have an org-mode table in an org-mode document that is > exported to latex, but the table is *NOT* exported, please? I tend to "hide" things like this (data tables, source codes) that I do not want exported within an inline task

Re: [O] no beamer export?

2017-05-17 Thread Eric S Fraga
On Wednesday, 17 May 2017 at 13:45, Jérémie Juste wrote: > Hello > I apologise for the wrong info. it seams that I should reread the manual > myself. > > M-x org-beamer-mode, > > Then C-c C-e l P The first bit I think is not necessary but simply helps with respect to key bindings for special tags

Re: [O] no beamer export?

2017-05-17 Thread Jérémie Juste
Hello I apologise for the wrong info. it seams that I should reread the manual myself. M-x org-beamer-mode, Then C-c C-e l P Best regards, Jeremie On Wed, May 17, 2017 at 3:41 PM, Jérémie Juste wrote: > Hello, > > M-x beamer-mode. > > Then export to beamer. C-c C-e L P > > Read the manual.

Re: [O] no beamer export?

2017-05-17 Thread Jérémie Juste
Hello, M-x beamer-mode. Then export to beamer. C-c C-e L P Read the manual. :-) Best regards Jeremie On Wed, May 17, 2017 at 3:31 PM, Luca Ferrari wrote: > Hi all, > I'm running emacs 25.1.2 and I've no beamer export in the C-c C-e. > I've tried to include the directives: > > #+LaTeX_CLASS

[O] no beamer export?

2017-05-17 Thread Luca Ferrari
Hi all, I'm running emacs 25.1.2 and I've no beamer export in the C-c C-e. I've tried to include the directives: #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation,smaller] #+BEAMER_THEME: default and then do a latex ordinary export (C-c C-e l p) but I got 'Unknow latex beamer class'. Am

Re: [O] Python src blocks indent

2017-05-17 Thread Nicolas Goaziou
Fabrice Popineau writes: > I mean that in the Org buffer I have for example : > > #+BEGIN_SRC ipython :session > def fact(n): > if n == 1: > return 1 > else: > return n * fact(n-1) > #+END_SRC > > That is, there is a 2 spaces indentation of the whole code block,

Re: [O] [PATCH 2/2] org-refile: Fix inconsistency when listing refile targets

2017-05-17 Thread Nicolas Goaziou
Hello, Sebastian Reuße writes: > * org.el (org-refile-get-targets): Setting org-refile-use-outline-path > to `file' or `buffer-name' causes an additional target for the file’s > root node to be inserted. This functionality was absent when using > `full-file-path'. We now add this since it is con

Re: [O] Python src blocks indent

2017-05-17 Thread Fabrice Popineau
Hi, I mean that in the Org buffer I have for example : #+BEGIN_SRC ipython :session def fact(n): if n == 1: return 1 else: return n * fact(n-1) #+END_SRC That is, there is a 2 spaces indentation of the whole code block, and the code block is properly indented. W

Re: [O] [PATCH v2] org-sort: Read compare-func in interactive calls

2017-05-17 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > I'm confused why called-interactively-p's docstring suggests that > form. I'm also confused. The more I read the docstring, the less I understand it. Ah well. > At any rate, it won't do here: > > (funcall (lambda () >(interactive) >

Re: [O] Python src blocks indent

2017-05-17 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > I have a problem with Python src blocks indentation. > At the moment, I export IPython notebooks with ox-ipynb > (https://github.com/jkitchin/scimax/blob/master/ox-ipynb.el > from scimax by John Kitchin) > > All the lines but the first one in src code blocks hav

Re: [O] [Patch] Fix handling of variable capture location

2017-05-17 Thread Nicolas Goaziou
Hello, Yuri Lensky writes: > Capture locations in variable not working before this patch. Thank you. Could you show an example demonstrating the issue? The only difference I can see with your patch is that you're referring to the global value of file, not the local one. > From c0de1c390b370b

Re: [O] clock-table property column empty

2017-05-17 Thread Nicolas Goaziou
Hello, Roland Everaert writes: > In a clocktable I have a column that must show the content of a property I > fill in each of my tasks. Since version 9.0.6, at least, this column is > empty. > > Any idea where this comes from? It was reported a few days ago. The bug doesn't appear in developmen

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread Kaushal Modi
On Wed, May 17, 2017, 8:07 AM Sharon Kimble wrote: > > --8<---cut here---start->8--- > #+BEGIN_SRC :exports no > | > I think that you are just missing out the language specifier there. Try: #+BEGIN_SRC org :exports no > -- Kaushal Modi

Re: [O] Table in org-mode not to be exported to latex

2017-05-17 Thread Jérémie Juste
Hello, maybe something like #+BEGIN_SRC org :exports none | date | change | version | |+--+-| | 2016/11/18 | initial draft| 1.0 | | 2017/05/04 | put in models of grief | 1.5 | | 2017/05/16 | removed creative

[O] Table in org-mode not to be exported to latex

2017-05-17 Thread Sharon Kimble
How can I have an org-mode table in an org-mode document that is exported to latex, but the table is *NOT* exported, please? This is the table that I'm using - --8<---cut here---start->8--- | date | change | version | |+

[O] org-icalendar timezone property?

2017-05-17 Thread Eric Abrahamsen
I'm trying to figure out if I can set an org-icalendar event's timezone using some sort of property on the headline. Looking at the code, it doesn't seem to be possible -- is that true? I know about org-icalendar-timezone, which appears to be a global value. Has anyone successfully specified a per-

[O] clock-table property column empty

2017-05-17 Thread Roland Everaert
Hi, In a clocktable I have a column that must show the content of a property I fill in each of my tasks. Since version 9.0.6, at least, this column is empty. Any idea where this comes from? Emacs and Org-mode versions: GNU Emacs 25.2.1 (x86_64-unknown-cygwin) of 2017-04-21 Org mode version 9.0.7