Re: [O] Trouble with autofill mode

2015-08-03 Thread Vikas Rawal
> > > On 2015-08-03 at 23:11, Vikas Rawal wrote: >> But I guess one has to have some compromise somewhere :) > > Another compromise would be to stop using autofill mode and use > visual-line-mode or something else. I recently made the switch after many > years of auto-fill. It takes a bit of

Re: [O] Trouble with autofill mode

2015-08-03 Thread Ken Mankoff
On 2015-08-03 at 23:11, Vikas Rawal wrote: > But I guess one has to have some compromise somewhere :) Another compromise would be to stop using autofill mode and use visual-line-mode or something else. I recently made the switch after many years of auto-fill. It takes a bit of getting used to,

Re: [O] Trouble with autofill mode

2015-08-03 Thread Vikas Rawal
>> >> >> I am sorry for not being clear. \index{} may have to be used inline in >> a para since the index has to pick up the right page where a term >> appears. So you want to put it as close as possible to the keywords. >> > > So put it as close as possible to the keywords: > > --8<--

Re: [O] Trouble with autofill mode

2015-08-03 Thread Nick Dokos
Vikas Rawal writes: >> >>> I am inserting LaTeX \index{} commands in an org document to create an >>> index. Almost everything works fine. But I am having trouble with >>> auto-fill-mode. It often puts a line break in the middle of an index >>> entry, and then it does not work. >>> >>> That is,

Re: [O] Trouble with autofill mode

2015-08-03 Thread Vikas Rawal
>> >> Hello, >> This StackExchange question might help you out: >> https://emacs.stackexchange.com/questions/12392/prevent-fill-paragraph-from-breaking-latex-citations-in-org-mode >> (Only if I got your question right...) > > Thanks very much. This should work. Let me try to modify it to my use c

Re: [O] controlling how htmlize fontifies code

2015-08-03 Thread Rick Frankel
On Mon, Aug 03, 2015 at 02:50:27PM +0100, Eric S Fraga wrote: > On Sunday, 2 Aug 2015 at 09:19, Rick Frankel wrote: > > Check the documentation for the variable `org-html-htmlize-output-type'. > > Since > > ox-reveal is derived from ox-html, it should work as specified. I personally > > use ox-de

Re: [O] Problem with table computations

2015-08-03 Thread Nicolas Goaziou
Helo, Sebastien Vauban writes: > Since an update done this morning (last one somewhere beginning of last > week, IIRC), the following table (for example) is not correctly computed > anymore: > > | | Date | AM Trp | AM Tme | AM Avg | PM Trp | PM Tme | PM > Avg | > > |---+-

Re: [O] orgmode and R?

2015-08-03 Thread Thomas S . Dye
Yes, certainly. #+name: eg | a | b | | c | d | #+name: table-eg #+begin_src R :var table=eg print(table[,1]) #+end_src #+results: table-eg | a | | c | hth, Tom Cook, Malcolm writes: > It is possible to send a org table to R as a data.frame, which could edit it, > add columns, and produce a

Re: [O] orgmode and R?

2015-08-03 Thread Cook, Malcolm
It is possible to send a org table to R as a data.frame, which could edit it, add columns, and produce a new data.frame which, with :results value, will be understood by org as an table. > -Original Message- > From: emacs-orgmode-bounces+mec=stowers@gnu.org [mailto:emacs- > orgmode-

Re: [O] orgmode and R?

2015-08-03 Thread John Kitchin
I think the question was about using R in table formulas, not just using R in src-block. As far as I know it is possible to use emacs-lisp pretty directly, but not other languages in the table formulas. Allen S. Rout writes: > On 08/03/2015 12:51 PM, Jude DaShiell wrote: >> Can the orgmode sprea

Re: [O] orgmode and R?

2015-08-03 Thread Allen S. Rout
On 08/03/2015 12:51 PM, Jude DaShiell wrote: > Can the orgmode spreadsheet access R either directly or indirectly through > maybe babel? If this is possible, do any tutorials exist with some worked > examples? I have R and emacs-R-mode installed so I can access R from > emacs at least. > Yes

Re: [O] orgmode and R?

2015-08-03 Thread John Kitchin
I don't know much about R, but here is a hack to do somthing like this with python. I have not tested it beyond what you see here. You can use emacs lisp in an org-mode spreadsheet as a formula. We will hack that to let us use Python. We will do that by making a lisp function that evaluates a py

[O] orgmode and R?

2015-08-03 Thread Jude DaShiell
Can the orgmode spreadsheet access R either directly or indirectly through maybe babel? If this is possible, do any tutorials exist with some worked examples? I have R and emacs-R-mode installed so I can access R from emacs at least. --

Re: [O] controlling how htmlize fontifies code

2015-08-03 Thread Eric S Fraga
On Sunday, 2 Aug 2015 at 09:19, Rick Frankel wrote: > Check the documentation for the variable `org-html-htmlize-output-type'. Since > ox-reveal is derived from ox-html, it should work as specified. I personally > use ox-deck (also derived from html), so YMMV. On Sunday, 2 Aug 2015 at 09:41, Kau

Re: [O] controlling how htmlize fontifies code

2015-08-03 Thread Eric S Fraga
On Sunday, 2 Aug 2015 at 14:17, Rasmus wrote: [...] > Check the functions disable-theme and load-theme in Emacs; maybe map > custom-enabled-themes over disable-theme. Check the hooks Thanks. Using org-html-htmlize-output-type seems to work for what I want. -- : Eric S Fraga (0xFFFCF67D), Emac

[O] Problem with table computations

2015-08-03 Thread Sebastien Vauban
Hello, Since an update done this morning (last one somewhere beginning of last week, IIRC), the following table (for example) is not correctly computed anymore: | | Date | AM Trp | AM Tme | AM Avg | PM Trp | PM Tme | PM Avg | |---+--++-+--