Re: [O] latex environment inside math mode problem

2015-01-19 Thread John Kitchin
#+BEGIN_LaTeX f = \begin{cases} t 1\\ f 2\\ \end{cases} #+END_LaTeX seems to work. Marko Schütz Schmuck writes: Dear All, the new exporter does not seem to handle \begin/\end inside \( ... \). If the org file contains \(f = \begin{cases} t

[O] How to extract header arguments of a special block?

2015-01-19 Thread Marcin Borkowski
Hello Orgers, assume that I have this in my Org file: #+BEGIN_FOO :bar baz qux whatever #+END_FOO and I want to extract the value of the header argument bar (i.e., the string baz qux in this case). How do I do it? (I'm writing – still – the custom exporter, and would like to be able to set

[O] latex environment inside math mode problem

2015-01-19 Thread Marko Schütz Schmuck
Dear All, the new exporter does not seem to handle \begin/\end inside \( ... \). If the org file contains \(f = \begin{cases} t 1\\ f 2\\ \end{cases} \) the resulting tex file contains $\backslash$(f = \begin{cases} t 1\\ f 2\\ \end{cases} $\backslash$) Is

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Chao Lu
Thanks, it works. Best, Chao On Mon, Jan 19, 2015 at 5:03 PM, Dan Griswold dgris...@rochester.rr.com wrote: Probably this instead: (org-agenda nil 1 nil) Dan On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu loochao.l...@gmail.com wrote: Hi all, I defined a few org-agenda custom set, where I

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Chao Lu
Actually I'm trying to write a function, which simply split the window into two, inside one (org-agenda nil 1) is called, while inside the other call (org-agenda nil 2), however, (org-agenda) will always split the window using its own way. Is there anyway to get around this? Thanks. (defun

Re: [O] latex environment inside math mode problem

2015-01-19 Thread Nick Dokos
Marko Schütz Schmuck markoschu...@web.de writes: Dear All, the new exporter does not seem to handle \begin/\end inside \( ... \). If the org file contains \(f = \begin{cases} t 1\\ f 2\\ \end{cases} \) the resulting tex file contains

Re: [O] How to extract header arguments of a special block?

2015-01-19 Thread Rasmus
Hi, Marcin Borkowski mb...@wmi.amu.edu.pl writes: #+BEGIN_FOO :bar baz qux whatever #+END_FOO and I want to extract the value of the header argument bar (i.e., the string baz qux in this case). How do I do it? Here's something to get you started. #+BEGIN_FOO :bar baz qux whatever

Re: [O] latex environment inside math mode problem

2015-01-19 Thread Marko Schütz Schmuck
At Mon, 19 Jan 2015 20:33:50 -0500, John Kitchin wrote: #+BEGIN_LaTeX f = \begin{cases} t 1\\ f 2\\ \end{cases} #+END_LaTeX seems to work. almost: whether I use your suggestion or #+BEGIN_LaTeX \(f = \begin{cases} t 1\\ f 2\\

Re: [O] latex environment inside math mode problem

2015-01-19 Thread Marko Schütz Schmuck
At Mon, 19 Jan 2015 20:30:51 -0500, Nick Dokos wrote: Marko Schütz Schmuck markoschu...@web.de writes: Dear All, the new exporter does not seem to handle \begin/\end inside \( ... \). If the org file contains \(f = \begin{cases} t 1\\ f 2\\

Re: [O] org-download.el

2015-01-19 Thread Oleh
2. As I'm testing now, I can get a Wrong type argument: number-or-marker-p, nil error if the org-mode file in question is empty or the cursor is before the first heading. Is this the case for you? I'll fix this case soon anyway. -- Not really, I made a test.org then insert some

[O] Org-download on windows

2015-01-19 Thread Leu Zhe
Hi, Abo-abo's org-mode is super awesome in my opinion after watching the demo at https://www.youtube.com/watch?v=dAojpHR-6Uo. I can use org-download-yank to yank images from websites, but when i tried to drag and drop the files, it failed. Actually I can drag .el and .org files to emacs to open

Re: [O] OT: Cloud-dependencies, privacy, decentralization (was: Conducting end user surveys and analyze data)

2015-01-19 Thread Tom Prince
Karl Voit devn...@karl-voit.at writes: And no cloud service is ever going to get my complete set of emails. This is *way* too sensible in my opinion. What percentange of your contact list is using gmail?

Re: [O] [RFC] [PATCH] Introduce org-specific functions for (next/previous)-visible-heading

2015-01-19 Thread Andreas Leha
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Aaron Ecay aarone...@gmail.com writes: By default, org uses outline-next-visible-heading and the -previous- variant for the C-c C-n and C-c C-p keys, which means these commands stop on inline tasks (since they don’t know to skip

[O] How to call org-agenda with the parameter

2015-01-19 Thread Chao Lu
Hi all, I defined a few org-agenda custom set, where I could M-x org-agenda RET then press 1 to list all my active TODOs. And I'm trying to write a function when I could pop-up a buffer and show me all the active TODOs. I tried (org-agenda 1), and it does not work, then what should be the right

Re: [O] [RFC] [PATCH] Introduce org-specific functions for (next/previous)-visible-heading

2015-01-19 Thread Rasmus
Hi, Andreas Leha andreas.l...@med.uni-goettingen.de writes: But I'd still argue that the default behaviour should be to skip inline tasks for all navigation commands in org. I use inlinetasks in a similar way to Andreas: i.e. as TODO-notes in my ongoing work. To *me*, inlinetasks have got

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Dan Griswold
Probably this instead: (org-agenda nil 1 nil) Dan On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu loochao.l...@gmail.com wrote: Hi all, I defined a few org-agenda custom set, where I could M-x org-agenda RET then press 1 to list all my active TODOs. And I'm trying to write a function when I

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Dan Griswold
Didn't reply from the right account last time, so sending again to make sure. I think the relevant line should be: (org-agenda nil 1 nil) hth, Dan On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu loochao.l...@gmail.com wrote: Hi all, I defined a few org-agenda custom set, where I could M-x

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Rasmus
Hi Chao, Chao Lu loochao.l...@gmail.com writes: I defined a few org-agenda custom set, where I could M-x org-agenda RET then press 1 to list all my active TODOs. And I'm trying to write a function when I could pop-up a buffer and show me all the active TODOs. I tried (org-agenda 1), and it

Re: [O] Sticky agendas not redone when using org-agenda-(set|remove)-restriction-lock

2015-01-19 Thread Nikolai Weibull
On Sun, Jan 18, 2015 at 11:39 PM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Nikolai Weibull n...@disu.se writes: I realize that you have to update it manually, but wouldn’t it make sense to have it be updated automatically when you call org-agenda-(set|remove)-restriction-lock? At least

[O] Exporting org to ascii without line breaks

2015-01-19 Thread Andreas Rasholm
Is there a way to export to ascii without line breaks being inserted at the end of every line in the exportbuffer or .txt file? I have tried: | (setq org-ascii-text-width nil) But nil isn't accepted as an argument for org-ascii-text-width. I have also tried setting `org-ascii-text-width` to

Re: [O] More helm awesomeness

2015-01-19 Thread John Kitchin
You can do something like this to get just the TODO headlines in the current buffer. If you make the helm-todo-candidates map over all the files in (org-agenda-files) you can make it give all the TODO headings. You can change the match criteria in org-map-entries to be more selective. #+BEGIN_SRC

[O] [PATCH] Improved org-habits documentation

2015-01-19 Thread Andrew Francis Swann
* org.texi: Improve example in info file adding concrete indication of how to set-up logging in the format needed by org-habits TINYCHANGE Signed-off-by: Andrew Swann sw...@math.au.dk --- doc/org.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/org.texi

[O] Bad handling of IRI links

2015-01-19 Thread Vladimir Alexiev
I have a IRI link (written without any brackets) including Cyrillic like this: https://bg.wikipedia.org/wiki/Уикипедия:Сътрудничество/Държавна_агенция_„Архиви“#Mapped_to_DBpedia When I click it, it goes to this:

Re: [O] [bug] latex export extra package formatted improperly

2015-01-19 Thread Rasmus
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: I have the following customisation for LaTeX export in org: (add-to-list 'org-latex-packages-alist '(version=3, mhchem)) ^^^ Do you actually have the comma in your init.el? If so that's

[O] Difficulties using adopt-elements and interpret-data

2015-01-19 Thread Dieter Van Eessen
Hello, I've been working on what I've explained earlier (cf. below). For the expansion of a (single) item to a subheadline I currently got the headline with appropriate properties. But I'm facing problems on adding it to the ast of the headline containing the item. Would it be possible to take a

Re: [O] Setting The Output Directory for Markdown Export.

2015-01-19 Thread Dieter Van Eessen
Hello, Just something which might be usefull as a workaround. I know org-babel-tangle allows you to tangle blocks to certain location, and there is also a hook available for post-processing. Now what if you'd put your whole file in a source block, with language 'org', tangle it to the location

Re: [O] org-todo-recursive

2015-01-19 Thread Dieter Van Eessen
Hello, I don't have good elisp skills, but the following might give you an idea how to start: (defun org-todo-recursive (element-at-point) (interactive (let (element-at-point) (forward-char) ;to make sure you have item (no plain-list) (setq element-at-point

[O] Setting The Output Directory for Markdown Export.

2015-01-19 Thread Ian Barton
I want to export a single file to somewhere other than its current directory. Using publish seems to be over the top for this simple use case. I can't find a variable or in buffer option that lets me set the output directory. Searching the list turns up org-export-publishing-directory, but

Re: [O] Setting The Output Directory for Markdown Export.

2015-01-19 Thread Ian Barton
Thanks, that's a good idea. However, half an hour after posting my message I discovered #+EXPORT_FILENAME, which does exactly what want! Ian. On 19/01/15 11:06, Dieter Van Eessen wrote: Hello, Just something which might be usefull as a workaround. I know org-babel-tangle allows you to

[O] [bug] latex export extra package formatted improperly

2015-01-19 Thread Eric S Fraga
Hello, I have the following customisation for LaTeX export in org: (add-to-list 'org-latex-packages-alist '(version=3, mhchem)) I updated org yesterday (and again today) and now I cannot export to LaTeX without error. The above line results in the following LaTeX preamble line:

Re: [O] New patches WAS Re: [PATCH] inline src block results can be removed

2015-01-19 Thread Nicolas Goaziou
Charles C. Berry ccbe...@ucsd.edu writes: Thanks for the patches. Here's another round of comments. OK. Now those cases (and some others) insert `*Inline error:' and a comment as to what the error is and ignore the actual value. Based on my own experience, I thought it best to allow Babel to

Re: [O] [bug] latex export extra package formatted improperly

2015-01-19 Thread Eric S Fraga
On Monday, 19 Jan 2015 at 13:31, Rasmus wrote: Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: I have the following customisation for LaTeX export in org: (add-to-list 'org-latex-packages-alist '(version=3, mhchem)) ^^^ Do you

Re: [O] Sticky agendas not redone when using org-agenda-(set|remove)-restriction-lock

2015-01-19 Thread Nicolas Goaziou
Nikolai Weibull n...@disu.se writes: On Sun, Jan 18, 2015 at 11:39 PM, Nicolas Goaziou It could make sense, but the current behaviour is simple and consistent : always refresh manually, no exception. I don’t agree that this is consistent at all. The Agenda is refreshed when you run, for

[O] exporting latex fragments to ODT using imagemagick

2015-01-19 Thread Eric S Fraga
Hello, hopefully this request is not as embarrassing as my last one to this list earlier today... :-) regardless, I am definitely confused and things are driving me crazy. You can tell I have a deadline... :( I need to export a document to ODT, a document that has a significant amount of LaTeX

Re: [O] Exporting org to ascii without line breaks

2015-01-19 Thread Nicolas Goaziou
Hello, Andreas Rasholm andreasrash...@gmail.com writes: Is there a way to export to ascii without line breaks being inserted at the end of every line in the exportbuffer or .txt file? No there isn't. However, you may use filters to remove them in areas you're interested in (probably

Re: [O] New patches WAS Re: [PATCH] inline src block results can be removed

2015-01-19 Thread Charles C. Berry
On Mon, 19 Jan 2015, Nicolas Goaziou wrote: Charles C. Berry ccbe...@ucsd.edu writes: Thanks for the patches. Here's another round of comments. OK. Now those cases (and some others) insert `*Inline error:' and a comment as to what the error is and ignore the actual value. Based on my own

Re: [O] [RFC] [PATCH] Introduce org-specific functions for (next/previous)-visible-heading

2015-01-19 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: By default, org uses outline-next-visible-heading and the -previous- variant for the C-c C-n and C-c C-p keys, which means these commands stop on inline tasks (since they don’t know to skip them). This seems incorrect. Are you sure? This is a

Re: [O] exporting latex fragments to ODT using imagemagick

2015-01-19 Thread Eric S Fraga
Ignore previous message, in terms of finding a solution to my problem please. The behaviour is still strange but using dvipng instead of imagemagick gets me further (not all the way...). I will stop annoying this list now. Sorry for the noise. thanks, eric -- : Eric S Fraga (0xFFFCF67D),

Re: [O] Table calculations with hline references

2015-01-19 Thread Daniel Hornung
On Monday, 19. January 2015 00:07:39 Aaron Ecay wrote: Hi Daniel, What version of org are you using? Using a hline-relative reference on the lhs of a formula is not allowed in the current development version of org (i.e. the master branch). Presumably because it doesn’t work correctly, as

Re: [O] [OT] org-caldav and radicale

2015-01-19 Thread Simon Thum
On 01/19/2015 05:05 AM, Eric Abrahamsen wrote: I'm finally getting around to trying to have an Org-generated calendar available on my Android tablet. I looked at a few caldav servers, and settled on Radicale as looking like about the right level of usability/configurability. I don't think I'm

Re: [O] More helm awesomeness

2015-01-19 Thread Simon Thum
Hi John, thank you for the fast response! That's more than I had hoped for, I'm sure I'll get through now. I'll report back when something tangible is there. Cheers, Simon On 01/19/2015 04:57 PM, John Kitchin wrote: You can do something like this to get just the TODO headlines in the

Re: [O] More helm awesomeness

2015-01-19 Thread John Kitchin
Here is a more advanced function that works on your agenda files: You run the second one: M-x helm-query-agenda and enter your search query in org syntax, e.g. TODO=PREPARATION will give you a helm menu of headlines with that TODO state. I am not that sophisticated a user of org queries like