Re: [O] Multi-layer ergonomic keyboard and org-mode

2017-10-26 Thread Grant Rettke
On Thu, Oct 26, 2017 at 6:33 AM, Roland Everaert wrote: > This organization depends on your workflow, but their is surely some standard > key arrangement to improve our typing with our favorite editor an module. A keyboard like that easily provides more keybinding

Re: [O] Ediff org files starts folded

2017-10-26 Thread edgar
Yeah, it would be nice to have something that folds the tree back to its original state after the ediff! (excitement) - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts

Re: [O] Multi-layer ergonomic keyboard and org-mode

2017-10-26 Thread Russell Adams
On Thu, Oct 26, 2017 at 01:33:20PM +0200, Roland Everaert wrote: > Hi, > > I am considering buying this quite expensive ergonomic keyboard. > > https://ergodox-ez.com/ > > This device can manage up to 32 layers and I wonder how a regular emacs and > org-mode user would organize the layers. > >

Re: [O] `fill-paragraph' on headings

2017-10-26 Thread Alan E. Davis
I don't know anything about this, but there are certain times when I have liked to use \paragraph{ } in generating a document. The first part of the paragraph is emboldened, but it's still a paragraph. I stumbled over this idea when I first encountered Org-Mode, and never was satisfied with

[O] matlab+org+write code executing in the buffer, matlab-shell

2017-10-26 Thread Uwe Brauer
Hi Actually I am using two different approaches to execute matlab code in a orgmode buffer. * Chumur Erkut suggestion: Don't change the definition of org-babel-execute:matlab but do (setq org-babel-default-header-args:matlab '((:session . "*MATLAB*") (:results . "silent")))

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Eric S Fraga
On Thursday, 26 Oct 2017 at 16:55, Uwe Brauer wrote: >> My suggestion would be to use top level headlines (level 1) as >> sections and subheadlines as questions/solutions. I.e. change the >> org-latex-classes entry. > > That is a possibility, thanks, but I think right now I will stick

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Uwe Brauer
> On Thursday, 26 Oct 2017 at 10:24, Uwe Brauer wrote: > [...] > My suggestion would be to use top level headlines (level 1) as > sections and subheadlines as questions/solutions. I.e. change the > org-latex-classes entry. That is a possibility, thanks, but I think right now

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > IIUC, you write the above directly in the document. Org has very limited > support for raw LaTeX syntax. It can only understand simple macros with > simple arguments -- i.e., no nested arguments. > If you need to write more

Re: [O] org-babel source block unevaluated into variable?

2017-10-26 Thread Martin Alsinet
Johan: Maybe this one would work for you: #+NAME: first #+BEGIN_SRC js function one() { return 1; } #+END_SRC #+NAME: second #+BEGIN_SRC js function two() { return 2; } #+END_SRC #+NAME: third #+BEGIN_SRC js function three() { return 3; } #+END_SRC #+NAME: all #+BEGIN_SRC sh

Re: [O] org-babel source block unevaluated into variable?

2017-10-26 Thread Johan W . Klüwer
Following up: A function like this one should help. (defun expand-named-babel-block (block) (save-excursion (org-babel-goto-named-src-block block) (org-babel-expand-src-block))) However ... there's something strange here with org-babel-goto-named-src-block (org 9.0.9). It just jumps

[O] Multi-layer ergonomic keyboard and org-mode

2017-10-26 Thread Roland Everaert
Hi, I am considering buying this quite expensive ergonomic keyboard. https://ergodox-ez.com/ This device can manage up to 32 layers and I wonder how a regular emacs and org-mode user would organize the layers. This organization depends on your workflow, but their is surely some standard key

Re: [O] org-babel source block unevaluated into variable?

2017-10-26 Thread Johan W . Klüwer
Thanks Martin, These are good suggestions, but it's not quite what I am after. In your second example, I would like ":var code=example" to make "code" carry the full (and expanded) text of the "example" block, i.e. to have echo ls -alh as the result -- the code itself, unevaluated. Johan

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > The problem is that my document also contains latex \section commmands. > These are exported correctly *only* if they don't contain math. > > Works > \section{Adaptive methods using hopt} > > Does not work: > \section{Adaptive methods using

Re: [O] problem exporting org to latex: sections with math

2017-10-26 Thread Eric S Fraga
On Thursday, 26 Oct 2017 at 10:24, Uwe Brauer wrote: > Hello > > I export a org file to latex using the exam class and therefore thanks > to Thomas Hunter I have defined. [...] > So what shall I do? My suggestion would be to use top level headlines (level 1) as sections and subheadlines as

Re: [O] `fill-paragraph' on headings

2017-10-26 Thread Eric S Fraga
On Wednesday, 25 Oct 2017 at 14:03, Tor wrote: > this is a feature request for having the ability to use > `fill-paragraph' on headings. An example from Emacs news: Semantically, this makes no sense? How would org know that the line that follows a headline is part of the headline or not part of

[O] problem exporting org to latex: sections with math

2017-10-26 Thread Uwe Brauer
Hello I export a org file to latex using the exam class and therefore thanks to Thomas Hunter I have defined. (org-latex-classes (quote ( ("exam" "\\documentclass[12pt, addpoints, answers]{exam}" ("\\begin{questions}%%%s" "\\end{questions}" "\\begin{questions}%%%s" "\\end{questions}")