Re: [O] Bugs in org-drill

2014-01-26 Thread Lukas Fuernkranz
Hi, On Tue, Dec 3, 2013 at 6:00 PM, Carsten Dominik wrote: > > On 3.12.2013, at 17:47, Lukas Fuernkranz wrote: > >> [...] >> On Mon, May 20, 2013 at 8:53 PM, Lukas Fuernkranz >> wrote: >>> On Tue, May 14, 2013 at 5:19 PM, Ivan Kanis wrote: I tried 1.8 two weeks ago. I got two bugs in org-

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

2014-01-26 Thread Eric S Fraga
Peter Davis 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 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 intended?

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

2014-01-26 Thread Peter Davis
Eric S Fraga writes: > Peter Davis 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? >>> >>> thi

[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 ma

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

2014-01-26 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou 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, and treated sp

[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 the

[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 t

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

2014-01-26 Thread Nicolas Goaziou
Hello, James Harkins 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 > header, but 01-con

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 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 working on a la

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 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" > ~~ > > ... would

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

2014-01-26 Thread Rasmus
Nicolas Goaziou 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 to see it g

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

2014-01-26 Thread Eric Schulte
Andreas Leha writes: > Hi Loris, > > "Loris Bennett" writes: > >> Andreas Leha writes: >> >>> "Loris Bennett" writes: >>> Hi, I have a CALL which produces a table, which just gets the keyword RESULT. I would like to plot the data in the table with R and so would like

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

Re: [O] How to use ox-bibtex

2014-01-26 Thread Eric Schulte
"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 such or what tool to

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

2014-01-26 Thread Eric Schulte
Rainer M Krug writes: > On 01/20/14, 16:34 , Eric Schulte wrote: >> Rainer M Krug 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 locati

[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 Cu

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" wrote: > "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, ther

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

2014-01-26 Thread Nick Dokos
Peter Davis writes: > Eric S Fraga writes: > >> Peter Davis 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. >>>

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

2014-01-26 Thread Nick Dokos
Rasmus writes: > Nicolas Goaziou 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. >> >> WD

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 N

[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 235

Re: [O] export to ODT fails strangely

2014-01-26 Thread Nicolas Goaziou
Hello, Eric S Fraga 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 export failed: F

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 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 different buffer. I

Re: [O] Bugs in org-drill

2014-01-26 Thread Bastien
Hi Lukas, Lukas Fuernkranz 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 > http://orgmode.org/cgit.cgi/org-mode.git/tree/contrib/lisp/org-drill.el?id=739b2649c74d01ecb515cc922d99bf26b6d403d7 > it

Re: [O] Exporting text

2014-01-26 Thread Bastien
Hi Peter, Peter Davis 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 might be? You

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

[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 wi

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

2014-01-26 Thread Nick Dokos
Bastien 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 mechanisms n

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 writes: > The following function works for me on a simple example file... Thank you, that fun

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 m

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

2014-01-26 Thread James Harkins
On Jan 27, 2014 12:52 AM, "Nicolas Goaziou" 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 already does t

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

2014-01-26 Thread Rasmus
Nick Dokos writes: > Bastien 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 pro

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

2014-01-26 Thread Rasmus
Rafael 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 functions that, w

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

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 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 tangled. W

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

2014-01-26 Thread Brady Trainor
Miguel Ruiz 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, Dat