Re: [O] Bug: Missing footnotes when exporting to org file [9.0.5 (9.0.5-elpa @ ~/.emacs.d/elpa/org-20170210/)]

2017-03-12 Thread Nicolas Goaziou
Hello, WY H writes: > One issue's been annoying me recently though, when exporting org files > with footnotes to org format, all the footnotes are missing in the result > org file. This may not look like a common use case but when ox-pandoc > comes to picture it is one, as

[O] Bug: Missing footnotes when exporting to org file [9.0.5 (9.0.5-elpa @ ~/.emacs.d/elpa/org-20170210/)]

2017-03-12 Thread WY H
Hi, Thanks for the cool job done with Org mode and I'm happily living with it everyday now :) One issue's been annoying me recently though, when exporting org files with footnotes to org format, all the footnotes are missing in the result org file. This may not look like a common use case but

[O] Complex conversion of text to org table

2017-03-12 Thread Xebar Saram
Hi list so im trying to use orgmode to collect food recepies. i have one issue which is to convert text based ingridents list into org tables. for example take this list 3/4 cup milk 2 tablespoons white vinegar 1 cup all-purpose flour 2 tablespoons white sugar 1 teaspoon baking powder 1/2

Re: [O] Complex conversion of text to org table

2017-03-12 Thread Vicente Vera
Hello. In this case Org splits into columns everytime it sees a space, so "baking soda" ends up in two columns. A brute force solution: replace the spaces between words that shouldn't be put into separated columns with an underscore: 1_cup all-purpose_flour Convert it to an Org table and then do

Re: [O] Complex conversion of text to org table

2017-03-12 Thread Scott Randby
On 03/12/2017 11:35 AM, Xebar Saram wrote: > Thx Vicente! > > Thats a decent idea. can this be all wrapped in a function (i have zero > coding skills :)) ? i have hundreds of these tables to convert :) > > best! > > Z OR 3/4, cup, milk 2, tablespoons, white vinegar 1, cup, all-purpose flour

Re: [O] Complex conversion of text to org table

2017-03-12 Thread Thierry Banel
Use a regex replacement. Basically you replace the 1st space with a vertical pipe: M-x query-replace-regexp ^\([^ ]+\) |\1| answer yes repeatedly, then type TAB to align the table. Le 12/03/2017 16:14, Xebar Saram a écrit : > Hi list > > so im trying to use orgmode to collect food recepies. i

Re: [O] New markup for revising manuscripts

2017-03-12 Thread Eric S Fraga
On Saturday, 11 Mar 2017 at 23:26, Doyley, Marvin M. wrote: > Hi John, > > I like the idea of special block that definitely solve the multi-line > problem. But I would need to write an latex exporter for the block, > how challenging would that be ? I am still learning lisp :) You could use the

[O] matlab-shell-run-command (was: workflow, matlab+latex in org file)

2017-03-12 Thread Uwe Brauer
>>> "John" == John Kitchin writes: > You can put them into an elisp src block to try it out. They have to go in > an init file to be permanent. I just made a symlink to the matlab > executable on my path. > The ipython functions are defined in ob-ipython,

Re: [O] Let Org-mode babel file result support relative link type by using org-link-file-path-type

2017-03-12 Thread Nicolas Goaziou
Hello, "numbch...@gmail.com" writes: > Let Org-mode babel file result support relative (adaptive) link type by > using `org-link-file-path-type`. > > This also can solve static site generator extensions (like `ob-blog.el` > etc) image link path issue. > > Also better if

Re: [O] Complex conversion of text to org table

2017-03-12 Thread Scott Randby
On 03/12/2017 11:35 AM, Xebar Saram wrote: > Thx Vicente! > > Thats a decent idea. can this be all wrapped in a function (i have zero > coding skills :)) ? i have hundreds of these tables to convert :) > > best! > > Z You can try using commas to separate items. List with commas inserted:

[O] WARNING: No org-loaddefs.el file could be found from where org.el is loaded

2017-03-12 Thread Yannick Lagrange
I'd like to update my org-mode to the latest stable version and I am running into an issue which worries me enough to want to fix it; but I can't. I'm using ubuntu 14.04 LTS, Emacs 24.3.1 which comes with org 7.9.3; for reasons unrelated to this question I'd like to update to the current

Re: [O] New markup for revising manuscripts

2017-03-12 Thread John Kitchin
probably no lisp required. See the post I referenced. It is all done in the org-file there. Doyley, Marvin M. writes: > Hi John, > > I like the idea of special block that definitely solve the multi-line > problem. But I would need to write an latex exporter for the block, how > challenging

Re: [O] New markup for revising manuscripts

2017-03-12 Thread Eric S Fraga
On Saturday, 11 Mar 2017 at 18:22, John Kitchin wrote: > This is probably not feasible with links. that is also a challenge with > Eric's markup approach. One way is to use visual wrapping so whole > paragraphs are actually one line. Yes, multiline highlighting is a challenge. I finally (a few

Re: [O] Let Org-mode babel file result support relative link type by using org-link-file-path-type

2017-03-12 Thread numbch...@gmail.com
* Does Org-mode `:output-dir` header-argument? Or is `:dir`? * An example I can make it (`:results file :file "FILENAME"`) work in `ob-python` like this: ```org #+BEGIN_SRC python :var fname="QR_I_Love_YOU.png" :dir "data/images" :results file import qrcode img = qrcode.make("I Love YOU")

Re: [O] %( in capture template

2017-03-12 Thread Samuel Wales
=== * ecm capture literally inserts. i was told this is not normal, but a bug. recent maint to reproduce, evaluate the following code, select the lines in the scratch buffer, and run m-x org-capture RET p. set the notes file to whatever works for you. *** code (require 'org-capture) (setq

Re: [O] org-bbdb-anniversaries-future

2017-03-12 Thread Nicolas Goaziou
Hello, Michael Welle writes: > thank you for the valuable comments. I think I've incorporated them all. > Furthermore I reworded some of the comments and I introduced a defvar, > so that the point in time, when to switch to the more general > descriptive text isn't hardcoded

Re: [O] Complex conversion of text to org table

2017-03-12 Thread Xebar Saram
Thx Vicente! Thats a decent idea. can this be all wrapped in a function (i have zero coding skills :)) ? i have hundreds of these tables to convert :) best! Z On Sun, Mar 12, 2017 at 5:26 PM, Vicente Vera wrote: > Hello. In this case Org splits into columns everytime it