Re: [O] Bugs in org-drill

2014-01-26 Thread Lukas Fuernkranz
Hi, On Tue, Dec 3, 2013 at 6:00 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On 3.12.2013, at 17:47, Lukas Fuernkranz lukas.fuernkr...@gmail.com wrote: [...] On Mon, May 20, 2013 at 8:53 PM, Lukas Fuernkranz lukas.fuernkr...@gmail.com wrote: On Tue, May 14, 2013 at 5:19 PM, Ivan

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-26 Thread Eric S Fraga
Peter Davis p...@pfdstudio.com writes: [...] Ok, something weird is going on. This worked on my office MacBook, but when I try on the home one, also with org 8.2.3c, org-export-latex-classes is defined, but org-latex-classes is not. Any clues? this sounds like a mixed installation.

Re: [O] Electric-indent-mode and lists

2014-01-26 Thread Nicolas Goaziou
Hello, Florian Lindner mailingli...@xgm.de writes: emacs -Q M-x electric-indent-mode C-x C-f some/nonexistent/file.org Now entering * abc + a + b + c Each list entry is idented furthermore. I doesn't happen if I use M-Ret to enter a list item. Or is this behavior

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-26 Thread Peter Davis
Eric S Fraga e.fr...@ucl.ac.uk writes: Peter Davis p...@pfdstudio.com writes: [...] Ok, something weird is going on. This worked on my office MacBook, but when I try on the home one, also with org 8.2.3c, org-export-latex-classes is defined, but org-latex-classes is not. Any clues?

[O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Nicolas Goaziou
Hello, Quote sections are special sections triggered when their headline container has the QUOTE keyword in it: * QUOTE Headline This is a quote section. They are inherited (as many other things) from the previous export framework. The behaviour of this keyword in undocumented in Org

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: At the moment, they are parsed specially by Org Elements, but I think it is a mistake. Like COMMENT keyword in headlines, QUOTE is more an instruction for the export framework. Therefore, they should be parsed as regular sections,

[O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread James Harkins
Just ran into something that I'm really not sure how to handle. I thought I could handle it with export filters, but actually it involves babel, and that makes it more involved than I initially suspected. I'm working on a large project involving five beamer presentations (one per day), and

[O] #+include doesn't export anything?

2014-01-26 Thread James Harkins
I had just asked a question about src-blocks in exports, but things just got a little weirder. Below is my export file, referring to the master source for day 1. It exports *nothing* from 01-contents.org. I get all the stuff from the header, but 01-contents.org may as well not be there. Is

Re: [O] #+include doesn't export anything?

2014-01-26 Thread Nicolas Goaziou
Hello, James Harkins jamshar...@gmail.com writes: I had just asked a question about src-blocks in exports, but things just got a little weirder. Below is my export file, referring to the master source for day 1. It exports *nothing* from 01-contents.org. I get all the stuff from the

Re: [O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread Marcin Borkowski
Dnia 2014-01-26, o godz. 23:44:48 James Harkins jamshar...@gmail.com napisaƂ(a): Just ran into something that I'm really not sure how to handle. I thought I could handle it with export filters, but actually it involves babel, and that makes it more involved than I initially suspected. I'm

Re: [O] #+include doesn't export anything?

2014-01-26 Thread James Harkins
On Monday, January 27, 2014 12:36:22 AM HKT, Nicolas Goaziou wrote: What happens if you call (org-export-expand-include-keyword) in that buffer? Are the resulting changes valid? (Aside: This was challenging at first, b/c org-export-expand-include-keyword is not interactive.) Ah... now I see

Re: [O] #+include doesn't export anything?

2014-01-26 Thread Nicolas Goaziou
James Harkins jamshar...@gmail.com writes: I suppose it's actually debatable. But, I would have assumed that the last heading level in an included file would be unwound before including the next file. That is: ~~ #+include something.org * Heading #+include something-else.org ~~ ...

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com writes: Alternatives: - Treat their contents as `quote-blocks' instead of `example-block' - Remove them altogether, since they don't bring anything new. As a side note, if they are here to stay, it would be good to document them. WDYT? I'd be happy

Re: [O] Naming a table produced by a CALL

2014-01-26 Thread Eric Schulte
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Loris, Loris Bennett loris.benn...@fu-berlin.de writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: Loris Bennett loris.benn...@fu-berlin.de writes: Hi, I have a CALL which produces a table, which just gets the

Re: [O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread Eric Schulte
Hi James, Maybe you could do something like the following... #+name: export-hdr-arg-backend-dep #+begin_src emacs-lisp (message do stuff) #+end_src #+call: export-hdr-arg-backend-dep() :exports (if (eq org-export-current-backend 'beamer) none results) Best, James Harkins jamshar...@gmail.com

Re: [O] How to use ox-bibtex

2014-01-26 Thread Eric Schulte
o.castillo.felis...@gmail.com o.castillo.felis...@gmail.com writes: Dear community, I'm using org-mode to draft most of my activities, and day after day I get closer to managing my paper writing. Nonetheless, there is a point still drives me crazy. All over the web I find post about using

Re: [O] [babel] Using :prologue and :epilogue with unbalanced brackets

2014-01-26 Thread Eric Schulte
Rainer M Krug rai...@krugs.de writes: On 01/20/14, 16:34 , Eric Schulte wrote: Rainer M Krug rai...@krugs.de writes: Hi I would like to use :prologue and :epilogue to enclose the code block in a local({}) block, i.e. * test #+begin_src R :prologue local({ :epilogue }) qwerty - test

Re: [O] [babel] suggestion: wrap creation of graphics into try() block

2014-01-26 Thread Eric Schulte
I'll send you the patch then. Sounds great, thanks. OK - here it is attached (my first patch to org :-) ) - let me know if it is OK. Looks good to me, I've just applied it. Thanks! -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D

[O] Which `odt-content' variable should I use? Why are there two?

2014-01-26 Thread Brady Trainor
I was browsing the customize group org-export-odt. I found two variables that seem to do the same thing. In org-odt.el, we have org-export-odt-content-template-file while in ox-odt.el, we have org-odt-content-template-file Do I need to worry about this. Will org-export check both

[O] Exporting text

2014-01-26 Thread Peter Davis
Well, I don't know how messed up my org-mode installation is, but in addition to my problems with LaTeX, even text exporting fails. When I try C-c C-e t A, I get: Symbol's value as variable is void: org-drawers Any clues what the problem might be? Thanks! -pd -- Peter Davis The Tech

Re: [O] How to use ox-bibtex

2014-01-26 Thread o.castillo.felis...@gmail.com
Thank you Eric, I'll try it asap! Cheers! On Jan 26, 2014 4:20 PM, Eric Schulte schulte.e...@gmail.com wrote: o.castillo.felis...@gmail.com o.castillo.felis...@gmail.com writes: Dear community, I'm using org-mode to draft most of my activities, and day after day I get closer to

Re: [O] LaTeX export: Unknown LaTeX class `org-article'

2014-01-26 Thread Nick Dokos
Peter Davis p...@pfdstudio.com writes: Eric S Fraga e.fr...@ucl.ac.uk writes: Peter Davis p...@pfdstudio.com writes: [...] Ok, something weird is going on. This worked on my office MacBook, but when I try on the home one, also with org 8.2.3c, org-export-latex-classes is defined, but

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Nick Dokos
Rasmus ras...@gmx.us writes: Nicolas Goaziou n.goaz...@gmail.com writes: Alternatives: - Treat their contents as `quote-blocks' instead of `example-block' - Remove them altogether, since they don't bring anything new. As a side note, if they are here to stay, it would be good to

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Samuel Wales
My guess is that quote should go. Does anybody use it? I'd strongly want to keep comment, however, if that were questioned. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen

[O] export to ODT fails strangely

2014-01-26 Thread Eric S Fraga
Hello, I hope somebody can point me in the right direction. I am trying to export a large document to ODT to share with my collaborators. Exporting to LaTeX works like a charm. However, with ODT, the exporter fails with: , | OpenDocument export failed: FIXME: Resolve (paragraph (:begin

Re: [O] export to ODT fails strangely

2014-01-26 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I hope somebody can point me in the right direction. I am trying to export a large document to ODT to share with my collaborators. Exporting to LaTeX works like a charm. However, with ODT, the exporter fails with: , | OpenDocument

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Bastien
Hi Nicolas, I think removing QUOTE won't hurt that much. PS: Removing COMMENT would be more problematic, as it is very handy to temporarily prevent a section from being exported or tangled. -- Bastien

Re: [O] bug: Please save the buffer to a file before refiling when the buffer is already saved

2014-01-26 Thread Bastien
Samuel Wales samolog...@gmail.com writes: When I run refile goto in the same buffer, it goes to the correct location and then does that. When I run refile goto in a different buffer, it does not go anywhere and it does that. Because for now you need to add the file name when refiling to a

Re: [O] Bugs in org-drill

2014-01-26 Thread Bastien
Hi Lukas, Lukas Fuernkranz lukas.fuernkr...@gmail.com writes: when I install org-plus-contrib from ELPA I get org-drill version 2.3.7 (which suffers from the bug mentioned above), but according to

Re: [O] Exporting text

2014-01-26 Thread Bastien
Hi Peter, Peter Davis p...@pfdstudio.com writes: Well, I don't know how messed up my org-mode installation is, but in addition to my problems with LaTeX, even text exporting fails. When I try C-c C-e t A, I get: Symbol's value as variable is void: org-drawers Any clues what the problem

Re: [O] emacs calc and src block editing

2014-01-26 Thread Florian Beck
On 25.01.2014 13:49, Eric S Fraga wrote: There is a niggling aspect of editing source code blocks. If, while in the src block buffer (reached by C-c '), if you start up calc and request calc-copy-to-buffer to place a result in the source code being edited, the copy is actually placed in the

[O] How to replace \( by $$ and such when exporting to markdown

2014-01-26 Thread Rafael
Hi all, I'm trying to publish some beamer presentations with mathematical content as pages in octopress. I think I'm on my way to get a working setup, but I would like some help to achieve the following: With an up-to-date org (from git), define some functions that, when exporting to markdown

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Nick Dokos
Bastien b...@gnu.org writes: PS: Removing COMMENT would be more problematic, as it is very handy to temporarily prevent a section from being exported or tangled. Doesn't a :noexport: tag do exactly that? (not sure about tangling actually, but that should be not be a big problem.) Why are two

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-26 Thread Nick Daly
Nick Daly wrote: Hi folks, I have a situation where I have many named code snippets currently available in external files, and would like to tangle them into an Org mode file. Eric Schulte schulte.e...@gmail.com writes: The following function works for me on a simple example file... Thank

Re: [O] Feature Request: Allow Tangling Named INCLUDEs

2014-01-26 Thread Nick Daly
Hi Bastien, Nick Daly wrote: Hi folks, I have a situation where I have many named code snippets currently available in external files, and would like to tangle them into an Org mode file. Bastien writes: I'm not the one who would undertake this, so my opinion on this should not matter

Re: [O] #+include doesn't export anything?

2014-01-26 Thread James Harkins
On Jan 27, 2014 12:52 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: See (info (org) Include files), in particular :minlevel keyword. Oh... RTFM *sheepish grin* Workflow for using org: 1. Ask/complain about something on the mailing list. 2. Get a reference to the manual. 3. Find out that org

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Rasmus
Nick Dokos ndo...@gmail.com writes: Bastien b...@gnu.org writes: PS: Removing COMMENT would be more problematic, as it is very handy to temporarily prevent a section from being exported or tangled. Doesn't a :noexport: tag do exactly that? (not sure about tangling actually, but that should

Re: [O] How to replace \( by $$ and such when exporting to markdown

2014-01-26 Thread Rasmus
Rafael rvf0...@gmail.com writes: Hi all, I'm trying to publish some beamer presentations with mathematical content as pages in octopress. I think I'm on my way to get a working setup, but I would like some help to achieve the following: With an up-to-date org (from git), define some

Re: [O] bug: Please save the buffer to a file before refiling when the buffer is already saved

2014-01-26 Thread Samuel Wales
Hi Bastien, Thank you for commenting and providing a clue. If I understand correctly, I don't see the need for any error or asking again, as it is always obvious what I, at least, want to do. It shows an olpath, so what I want is to refile or goto that olpath in every case. I also don't see the

Re: [O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread James Harkins
On Monday, January 27, 2014 1:35:13 AM HKT, Eric Schulte wrote: Hi James, Maybe you could do something like the following... #+name: export-hdr-arg-backend-dep #+begin_src emacs-lisp (message do stuff) #+end_src #+call: export-hdr-arg-backend-dep() :exports (if (eq org-export-current-backend

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-01-26 Thread Carsten Dominik
On 26 Jan 2014, at 23:03, Bastien b...@gnu.org wrote: Hi Nicolas, I think removing QUOTE won't hurt that much. I agree. I would also like to see it removed. PS: Removing COMMENT would be more problematic, as it is very handy to temporarily prevent a section from being exported or

Re: [O] No title in org-export-as-odt

2014-01-26 Thread Brady Trainor
Miguel Ruiz rbenit68 at yahoo.es writes: Any hint to get rid of the title in a org-export-as-odt session? I had the same problem. I noticed a lot of new lines, `\n', so I tried to remove more than just title. For my solution, I changed insert to ignore. ;; Preamble - Title, Author,