Re: [O] Per command org-agenda-prefix-format

2015-10-08 Thread Nick Dokos
Suvayu Ali writes: > On Wed, Oct 07, 2015 at 02:52:24PM -0400, Nick Dokos wrote: >> Suvayu Ali writes: >> >> > Hi, >> > >> > I wanted to prefix the results of a tags-todo agenda command with >> > scheduling information. But I can't seem to figure out the correct way >> > to do this. This is w

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Suvayu Ali
Hi Lawrence, On Thu, Oct 08, 2015 at 03:35:43AM +, Lawrence Bottorff wrote: > I've got a fraction done this way in an org file: > > \[ > \frac{1}{(2^3)(5)} > \] > > and I'd like to strike though or cancel the (5) part. The Latex method I've > found says do it this way: > > ... > \usepacka

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Nick Dokos
Lawrence Bottorff writes: > I've got a fraction done this way in an org file: > > \[ >  \frac{1}{(2^3)(5)} >  \] > > and I'd like to strike though or cancel the (5) part. The Latex method I've > found says do it this way: > > ... > \usepackage[makeroom]{cancel} > ... > > \[ >  \frac{1}{(2^3)\can

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Eric S Fraga
On Thursday, 8 Oct 2015 at 03:35, Lawrence Bottorff wrote: > \usepackage[makeroom]{cancel} Put this in a #+latex_header line? -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.1-239-gd01560

Re: [O] Per command org-agenda-prefix-format

2015-10-08 Thread Suvayu Ali
Hi Nick, On Thu, Oct 08, 2015 at 03:02:02AM -0400, Nick Dokos wrote: > Suvayu Ali writes: > > > On Wed, Oct 07, 2015 at 02:52:24PM -0400, Nick Dokos wrote: > >> Suvayu Ali writes: > >> > >> > Hi, > >> > > >> > I wanted to prefix the results of a tags-todo agenda command with > >> > scheduling i

Re: [O] [RFC] Draft mode

2015-10-08 Thread Rasmus
Hi, >> Can this just be a variable set by BIND or publish? > > It could. If we keep throwing errors on unknown macros, I think we can > even have an OPTIONS item. I would be happier with this, I think. >> The interest of such functionality seems to be limited to people who >> maintain broken-but

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Lawrence Bottorff
Sticking this after my initialization #+ stuff finally worked: #+begin_html MathJax.Hub.Config({ TeX: {extensions: ["cancel.js"]}, tex2jax: { inlineMath: [ ['$','$'], ['\\(','\\)'] ], processEscapes: true } }); #+end_html although I, the eternal beginner, don't quite unders

Re: [O] [BUG] R src blocks untabify literal constant TABs

2015-10-08 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > More than one bug, I am afraid. > >> Do you have any such example? > > Sure, make sure that the whitespace in the `> <' below is a TAB > character (C-q C-i). Running the src block replaces the TAB when > `org-src-preserve-indentation' is nil. > > Also, use `or

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Lawrence Bottorff
Yes, Nick, I put it in my init and it worked. Amazing to me is how an elisp concat just works, so I don't have to hack around with the org-html-mathjax-template (Too close to Halloween). Thanks, everyone. On Thu, Oct 8, 2015 at 3:12 PM, Nick Dokos wrote: > Nick Dokos writes: > > > ... > > You m

Re: [O] [RFC] Draft mode

2015-10-08 Thread Thomas S . Dye
Rasmus writes: >>> The interest of such functionality seems to be limited to people who >>> maintain broken-but-soon-to-be-fixed documents... It does not seem to >>> warrant prime real estate in the exporter IMO. Further, I don't think >>> 'draft' is the correct word for this, but that's of cour

Re: [O] [RFC] Draft mode

2015-10-08 Thread Eric Abrahamsen
Thomas S. Dye writes: > Rasmus writes: > The interest of such functionality seems to be limited to people who maintain broken-but-soon-to-be-fixed documents... It does not seem to warrant prime real estate in the exporter IMO. Further, I don't think 'draft' is the correct wor

Re: [O] [RFC] Draft mode

2015-10-08 Thread Rasmus
Thomas S. Dye writes: The interest of such functionality seems to be limited to people who maintain broken-but-soon-to-be-fixed documents... It does not seem to warrant prime real estate in the exporter IMO. Further, I don't think 'draft' is the correct word for this, but that

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Eric S Fraga
On Thursday, 8 Oct 2015 at 14:29, Lawrence Bottorff wrote: > Sticking this after my initialization #+ stuff finally worked: > > #+begin_html >

Re: [O] [BUG] R src blocks untabify literal constant TABs

2015-10-08 Thread Charles C. Berry
On Thu, 8 Oct 2015, Nicolas Goaziou wrote: "Charles C. Berry" writes: If `org-src-preserve-indentation' is nil, then embedded (not just leading/trailing) tabs in src blocks are converted to spaces when `org-edit-src-code' is called This is now fixed in master. Thank you. or when exported.

[O] org-agenda-files

2015-10-08 Thread Paul Jewell
Good evening! I am starting to use a more complex setup for org-mode, having left it alone for more than a year. The setup I am using is documented here: http://doc.norang.ca/org-mode.html I am having a problem with setting up the org-agenda-files variable in the startup code: In my .emacs: ---

[O] Suggestion for automatic latex rendering

2015-10-08 Thread Knud Soerensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I love org-mode and use it a lot for latex notes. I will like to suggest a new latex setting which let org-mode show the latex code when cursor is on the code line. But when the cursor leaves the code line the latex is automatic rendered to a ima

Re: [O] [RFC] Draft mode

2015-10-08 Thread Eric S Fraga
On Thursday, 8 Oct 2015 at 19:00, Nicolas Goaziou wrote: [...] > I think I will go with the straight to the point > `org-export-barf-on-invalid-link' variable. > > However, not sure about the OPTIONS item. > > #+OPTIONS: ???:t #+options: barf:t ;-) More seriously, I'm a big fan of longer is

Re: [O] org-agenda-files

2015-10-08 Thread Eric S Fraga
On Tuesday, 6 Oct 2015 at 21:34, Paul Jewell wrote: [...] > So by setting org-user-agenda-files in my .emacs before loading > org-mode.el (which I have in my ~/.emacs.d/lisp directory), I should be > setting org-agenda-files to ("~/git/org" "~/git/org/test"). When do you load org itself? Other

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-10-08 Thread Cook, Malcolm
> On Thu, 1 Oct 2015, Cook, Malcolm wrote: > > >>> I am not sure what the best solution is, but, in my hands using > > > > Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to > > > > "cleanup extra prompts left in output" is over-aggressive and will > > > > trim session :output at l

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-10-08 Thread Charles C. Berry
On Thu, 1 Oct 2015, Cook, Malcolm wrote: I am not sure what the best solution is, but, in my hands using > > Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to "cleanup > > extra prompts left in output" is over-aggressive and will trim session > > :output at lines consisting exclusiv

Re: [O] org-agenda-files

2015-10-08 Thread Paul Jewell
On 08/10/15 20:42, Eric S Fraga wrote: > On Tuesday, 6 Oct 2015 at 21:34, Paul Jewell wrote: > > [...] > >> So by setting org-user-agenda-files in my .emacs before loading >> org-mode.el (which I have in my ~/.emacs.d/lisp directory), I should be >> setting org-agenda-files to ("~/git/org" "~/

Re: [O] SOLVED: LaTeX equation align in orgmode?

2015-10-08 Thread Enzo Chi
I tried that "\begin{align}...\end{align}" code with "C-c C-x C-l", it generate a very back quality image like this:

Re: [O] [RFC] Draft mode

2015-10-08 Thread Nick Dokos
Eric S Fraga writes: > On Thursday, 8 Oct 2015 at 19:00, Nicolas Goaziou wrote: > > [...] > >> I think I will go with the straight to the point >> `org-export-barf-on-invalid-link' variable. >> >> However, not sure about the OPTIONS item. >> >> #+OPTIONS: ???:t > > #+options: barf:t > > ;-) >

Re: [O] [BUG] R src blocks untabify literal constant TABs

2015-10-08 Thread Nicolas Goaziou
"Charles C. Berry" writes: > If `org-src-preserve-indentation' is nil, then embedded (not just > leading/trailing) tabs in src blocks are converted to spaces when > `org-edit-src-code' is called This is now fixed in master. Thank you. >or when exported. I cannot reproduce it. Do you have an EC

[O] [PATCH] Org mode manual proofreading

2015-10-08 Thread Simen Heggestøyl
Hi! I just read the Org mode manual (it was a good read, thanks!), and noted formatting- and spelling errors I found along the way. The attached patch corrects those. This is my first time contributing to Org mode. I have signed the FSF papers for Emacs earlier. -- Simen >From 497f8a29cfa213280

Re: [O] [BUG] R src blocks untabify literal constant TABs

2015-10-08 Thread Charles C. Berry
On Thu, 8 Oct 2015, Nicolas Goaziou wrote: Hello, "Charles C. Berry" writes: [...] The main culprit is `org-do-remove-indentation', which doesn't need to untabify the buffer in order to proceed. I changed that in master. It should go a long way towards fixing the issue. Is there any case

Re: [O] [RFC] Draft mode

2015-10-08 Thread Nicolas Goaziou
Thomas S. Dye writes: > Rasmus writes: > The interest of such functionality seems to be limited to people who maintain broken-but-soon-to-be-fixed documents... It does not seem to warrant prime real estate in the exporter IMO. Further, I don't think 'draft' is the correct wor

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Nick Dokos
Nick Dokos writes: > ... > You must mean HTML export - MathJax apparently does not know about > \cancel. There is an extension mechanism: > > https://docs.mathjax.org/en/latest/extension-writing.html > > but that's as far as my knowledge extends. If you make it work, please > share. > It's act