[O] language comparison framework

2014-11-14 Thread Michael Bach
Hi all, I found a nice comparison of python, R and matlab[1]. This type of comparison is available for other domains as well[2]. Now the sources for these are on github[3]. The markup looks, erhm, unpleasant, i.e. hard to edit, unless you use wikidot[4] - which is what the author uses. Now I

[O] Table columns verbatim export

2014-10-31 Thread Michael Bach
Hi, I am looking for a way to format table columns to be verbatim for the (latex) export. The reason is that in the following table, the numpy `A[0]` will be interpreted as a footnote without a matching description and export will fail. || matlab| r | numpy | |

Re: [O] helm and org-refile

2014-06-23 Thread Michael Bach
On 6/17/14 12:20 PM, Eric Abrahamsen wrote: Hi there, I just started using helm, with some ambivalence. Turning on helm mode stompled all over my emacs, but for just that reason I suppose it might be worth trading my ido muscle memory for helm muscle memory. Anyhoo... The only thing it

[O] ob-clojure :session echo settings

2014-04-16 Thread Michael Bach
Hi, Emacs 24.4. org-mode latest master clojure-mode latest MELPA cider latest MELPA Following the instructions in [1], I set up session evaluation for clojure in the snippet: #+BEGIN_SRC org #+PROPERTY: header-args:clojure :session :cache no #+begin_src clojure (+ 1 2 3) #+end_src #+RESULTS:

Re: [O] LaTeX export: Handle hash symbol in footnote url links

2014-04-10 Thread Michael Bach
On 2/26/14 3:11 PM, Nicolas Goaziou wrote: Hello, Michael Bach pha...@gmail.com writes: Thanks for your answer. `\url` can handle hash symbols in its argument without escaping alright - as can be expected. AFAICS, the problem lies in the `\footnote` command. And yes, I was thinking of `ox

[O] LaTeX export: Handle hash symbol in footnote url links

2014-02-21 Thread Michael Bach
Dear org-mode Devs and Users, I am trying to export the following snippet #+BEGIN_ORG * LaTeX export of url with hash symbol The Org mode export facilities can be used to export Org documents or parts of Org documents to a variety of other formats.[fn:1] * Footnotes [fn:1]

Re: [O] LaTeX export: Handle hash symbol in footnote url links

2014-02-21 Thread Michael Bach
Hello Vladimir, On 21/02/2014 12:14, Vladimir Lomov wrote: Hello, ** Michael Bach [2014-02-21 11:52:14 +0100]: Dear org-mode Devs and Users, I am trying to export the following snippet #+BEGIN_ORG * LaTeX export of url with hash symbol The Org mode export facilities can be used

Re: [O] org-edit-src-code window setup

2014-02-09 Thread Michael Bach
On 2/7/14 6:01 PM, John Hendy wrote: On Fri, Feb 7, 2014 at 5:29 AM, Michael Bach pha...@gmail.com wrote: Dear org-mode Developers and Users, (Org-mode version 8.2.5g from git) I want to change the behaviour of C-c ' when inside a source block. What I am after is best described

[O] org-edit-src-code window setup

2014-02-07 Thread Michael Bach
effect? How would you handle this situation? Best Regards, Michael Bach

[O] Deactivate babel source block

2013-10-06 Thread Michael Bach
Dear org-mode Users and Developers, I am looking for a nice way to deactivate a babel source block with point being anywhere on it. Imagine e.g. C-c C-v C-w to say I want to toggle execution/tangling for this block. Background: I have the .emacs setup in a literate org-mode file where I am

Re: [O] Deactivate babel source block

2013-10-06 Thread Michael Bach
On 10/6/13 5:09 PM, Eric Schulte wrote: You want to set the :eval and :tangle header arguments, this can be done with `org-babel-insert-header-arg' bound to C-c C-v j. I've just updated this function so that it now takes two optional arguments specifying the header argument and value. So

[O] Babel code block linking issue

2013-10-06 Thread Michael Bach
Dear org-mode Users and Developers, I am running org 8.2.1 and was following the nice video [1] showing off some org-mode features. I could follow and reproduce up to the point where he goes on to edit a code block via C-c ' and puts a link there via `org-store-link'. When I try that, I get

[O] latex export subtree: org-latex-export-process

2013-09-25 Thread Michael Bach
Dear org-mode Users and Developers, (org-mode v8.1) I use the following function for customizable latex export processes #+begin_src emacs-lisp (defun my-auto-tex-cmd (backend) When exporting from .org with latex, automatically run latex, pdflatex, or xelatex as appropriate, using latexmk.

Re: [O] Import files to babel blocks

2013-07-24 Thread Michael Bach
Hi Myles, On 7/21/13 12:31 PM, Myles English wrote: From the documentation (C-h f insert-file-contents), it says that it returns list of absolute file name and number of characters but doesn't move the marker forwards, unlike insert does. So, I guess you would have to then move the marker

[O] Import files to babel blocks

2013-07-21 Thread Michael Bach
Dear org-mode Users and Developers, I am trying to write a simple function for importing files to org-mode babel code blocks. My naive approach was --8---cut here---start-8--- (defun import-to-org-from-files (path pattern progmode) (mapcar #'(lambda

[O] ox-freemind exporter

2013-07-19 Thread Michael Bach
Dear org-mode Users and Developers, I checked out org-mode from today and tried the ox-freemind exporter. It fails with the error: `cond: Keyword argument :translations not one of (:name :parent :transcoders :options :filters :blocks :menu)'. I searched around and found a post[1] by Nicolas

[O] org-list-allow-alphabetical LaTeX export

2013-06-06 Thread Michael Bach
The LaTeX exporter does not honor the setting of org-list-allow-alphabetical. It exports ordered alphabetical list as standard enumerate environment with numbered items. org-mode 8.0.3 I placed the setq before loading ox-latex. I read in the docstring that org-list-allow-alphabetical should be

Re: [O] [New Exporter] org-export-latex-after-initial-vars-hook

2013-06-06 Thread Michael Bach
Nicolas Goaziou address@hidden writes: Søren Mikkelsen address@hidden writes: * But I have a problem with the exporter:* ** * I have modified by org-exporter to export latex-files with the xelatex* * compiler. The implementation uses the* * org-export-latex-after-initial-vars-hook-hook to

Re: [O] [New Exporter] org-export-latex-after-initial-vars-hook

2013-06-06 Thread Michael Bach
To minimize risk of eye cancer (previous version was sent from gmail web interface at work without plain text setting) here it goes again: Nicolas Goaziou address@hidden writes: Søren Mikkelsen address@hidden writes: But I have a problem with the exporter: I have modified by org-exporter to

Re: [O] org-list-allow-alphabetical LaTeX export

2013-06-06 Thread Michael Bach
Carsten Dominik carsten.dominik at gmail.com writes: On 6 jun. 2013, at 10:20, Michael Bach phaebz at gmail.com wrote: The LaTeX exporter does not honor the setting of org-list-allow- alphabetical.   I think it never did.  Such a list is just an ordered list for export, the bullet type

Re: [O] org-list-allow-alphabetical LaTeX export

2013-06-06 Thread Michael Bach
Carsten Dominik carsten.dominik at gmail.com writes: Oh, I never saw it handled by the exporter, just a wrong assumption. Just out of curiosity, do you think this could be implemented 'easily'? I guess it could be - but I am not sure if it should. Conventions about the type of bullet

Re: [O] [New Exporter] org-export-latex-after-initial-vars-hook

2013-06-06 Thread Michael Bach
Is there a hook that is run before actual LaTeX export of a given org-mode buffer in the new exporter engine? For reference: I got it to work by adapting the snippet from Bruno Tavernier[1]: #+begin_src emacs-lisp (defun my-auto-tex-cmd (backend) When exporting from .org with latex,

Re: [O] Auto-unfold subtrees with matches in query-replace (et al.?)

2013-06-06 Thread Michael Bach
Hi Bastien, On Tue, May 14, 2013 at 10:34 AM, Bastien b...@gnu.org wrote: Would be a nice feature to have -- don't hesitate to report it with M-x report-emacs-bug RET Done. Thanks for explanation. Michael

[O] ox-beamer worg site: broken download

2013-05-23 Thread Michael Bach
' button's onclick function show_org_source() is not defined. Is this file accessible otherwise? Best Regards, Michael Bach [1] http://orgmode.org/worg/exporters/beamer/presentation.html

[O] Auto-unfold subtrees with matches in query-replace (et al.?)

2013-05-07 Thread Michael Bach
Dear org-mode Users and Developers, When I do a M-% (query-replace) in an org-mode buffer where the relevant trees are folded, subtrees with matches are not unfolded. I am looking for a similar behavior as is observed when doing a simple C-s (search-forward). While I am at it: the same

Re: [O] LaTeX export: Keep point position in TeX file

2012-01-23 Thread Michael Bach
Eric S Fraga e.fr...@ucl.ac.uk writes: If so, I suggest you could achieve what you want by using the org-export-* hooks to, for instance, save current position before export and then jump to that position after export? Maybe org-export-first-hook and org-export-latex-final-hook could be

Re: [O] inline src_R also in latex src block

2012-01-12 Thread Michael Bach
Andreas Leha andreas.l...@med.uni-goettingen.de writes: yes, that should work. Try to export the following several times. The first number should not change. (note: maybe you'd have to execute the inner_test_cached once on your system) #+name: inner_test_cached #+begin_src R :cache yes

[O] LaTeX export: Keep point position in TeX file

2012-01-12 Thread Michael Bach
Hello everyone, The way I am now doing LaTeX export is that I have the exported tex buffer below the org buffer. When I do an export via `C-c C-e l' the .tex buffer gets updated, but point jumps to beginning of buffer instead of staying where it was. (How) Can I changed that so point stays near

[O] Synctex -- Syncorg?

2012-01-12 Thread Michael Bach
Hello Everyone, I am interested whether something like synctex search and inverse search can be cooked up to work with org-mode. The codename `syncorg' was used in this conversation [1]. Would this be hard to implement? Just curious. Kind Regards, Michael Footnotes: [1]

Re: [O] inline src_R also in latex src block

2012-01-12 Thread Michael Bach
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: That's perfectly correct: as long as your input code block does not change (options on the meta line and/or contents), your results will be taken as is, instead of being recomputed every time. Very nice, Thanks

Re: [O] inline src_R also in latex src block

2012-01-10 Thread Michael Bach
Eric Schulte eric.schu...@gmx.com writes: I don't know of a way to evaluate inline code blocks which are already inside of regular code blocks. Thanks for your thoughts on this, Eric. This would be *really* convenient for me. Too bad the christmas wishlist was processed already. You

[O] org-preview-latex-fragment does not include #+LaTeX_CLASS definition

2012-01-10 Thread Michael Bach
Hello everyone, org-mode version 7.8.02 When doing `org-preview-latex-fragment' on a buffer with custom set #+LaTeX_CLASS and some #+LATEX_HEADER lines, the pdflatex process to create the ltxpng/*.png images fails e.g. with: Failed to create dvi file from /tmp/orgtex1650tNa.tex Now when I

Re: [O] inline src_R also in latex src block

2012-01-10 Thread Michael Bach
Andreas Leha andreas.l...@med.uni-goettingen.de writes: would this noweb-based approach work for you: #+name: inner_test #+begin_src R 4 + 4 #+end_src #+name: test #+begin_src latex :noweb yes \begin{equation} inner_test() \end{equation} #+end_src Yes, that works. Thanks

[O] inline src_R also in latex src block

2011-12-30 Thread Michael Bach
Hello, I am using org-mode version 7.8.02 I can successfully do inline `src_R' e.g. via --8---cut here---start-8--- \begin{equation} src_R{4 + 4} \end{equation} --8---cut here---end---8--- where `8' is put into the

[O] org-edit-special behavior

2011-12-14 Thread Michael Bach
Dear org-ers, I am using babel more often. The way I do it is together with R and LaTeX. That means I have a certain window layout with .org, .r, ESS, latex output, etc. buffers. All in all that makes around 6 buffers. Now when I use C-c ' to edit a babel src block in a temporary buffer, my

Re: [O] LaTeX export keyword coloring

2011-11-27 Thread Michael Bach
Michael Bach pha...@gmail.com writes: Can someone give me a hint on where to look for a solution? Do I miss something obvious? Indeed I missed something obvious. Once again: More thinking, less typing. Sorry for the noise

[O] LaTeX export keyword coloring

2011-11-25 Thread Michael Bach
could not find it in the docs and googled around to no avail. Also, I do not think this is caused by my other org-mode configuration settings. Can someone give me a hint on where to look for a solution? Do I miss something obvious? Thanks in advance, Michael Bach

Re: [O] #+begin_src LaTeX blocks export to literal LaTeX

2011-11-07 Thread Michael Bach
Just for reference, I found that I need to load `ob-latex.el'. With that it works nicely.

[O] #+begin_src LaTeX blocks export to literal LaTeX

2011-11-06 Thread Michael Bach
Dear org-mode community, I am configuring my LaTeX export setup and found LaTeX src blocks very nice for the font lock they provide and the possibility of having AUCTeX activated for that block by =C-c '=. However, org's LaTeX exporter puts them into a \verbatim environment by default in the

Re: [O] emacs 24.1 and org compatibility

2011-10-29 Thread Michael Bach
Tassilo Horn tass...@member.fsf.org writes: Hi Tassilo! Usually, if you've adapted your `load-path' to include the org lisp direcory before requiring/loading anything from org, then all the bundled org files from emacs should be shadowed. Yeah, I thought so as well. I manage org-mode (git)

[O] emacs 24.1 and org compatibility

2011-10-28 Thread Michael Bach

Re: [O] emacs 24.1 and org compatibility

2011-10-28 Thread Michael Bach
Tassilo Horn tass...@member.fsf.org writes: Michael Bach pha...@gmail.com writes: [nothing] I agree with all that you've said. :-) Hm. Since my subject line is the only thing I said, that was easy. :-) So for the actual issue: After pulling emacs from bzr and org mode from git today

Re: [O] orgtbl multicolumn support

2011-05-06 Thread Michael Bach
Michael Bach pha...@gmail.com writes: What kind of evil, sleep-deprived line of thoughts took me when I wrote this? Must have been too late for anything remotely meaningful. This one clearly did not deserve any answer... Sorry for the noise Michael Bach pha...@gmail.com writes: # edit

Re: [O] Row formula in orgtbl mode

2011-05-05 Thread Michael Bach
Michael Brand michael.ch.br...@gmail.com writes: Your range formula @4$2..@4$5=@-1*@-2 will work if you upgrade at least to this commitdiff http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=8237c9ae6d587a22646333e0315683675e2db538 I am now running the 7.5 development version checked out

[O] orgtbl multicolumn support

2011-05-05 Thread Michael Bach
modification. I read the doc for version 7.5 but maybe there are also new methods in the dev version which I freshly use. Kind Regards, Michael Bach

Re: [O] orgtbl multicolumn support

2011-05-05 Thread Michael Bach
Michael Bach pha...@gmail.com writes: # edit Dear org-mode Users and Developers, I just wanted to know whether there are plans to support multicolumns in default orgtbl-to-latex. Something along these lines: #+ORGTBL: SEND multicol orgtbl-to-latex :splice t :skip 0 :hline \\midrule

[O] Row formula in orgtbl mode

2011-05-04 Thread Michael Bach
wondering how I would need to format the #+TBLFM: line to multiply the respective numeric values of rows 2 and 3 in row 4. I am using org v.7.4. All my attempts, also trying to define ranges like @4$2..@4$5=@-1*@-2, fail. Thanks in advance, Michael Bach

[O] Row formula in orgtbl mode

2011-05-04 Thread Michael Bach
$5=@-1*@-2, fail. Thanks in advance, Michael Bach

[O] orgtbl export option :hlstart :hllstart

2011-03-04 Thread Michael Bach
Dear orgers, I love orgtbl minor mode in auctex. I tried to set it up today for ctable and this is the work in progress: % % BEGIN RECEIVE ORGTBL systems headline headline \\NN second row second row \\NN % END RECEIVE ORGTBL systems #+ORGTBL: SEND systems orgtbl-to-latex :splice t :skip 0

[Orgmode] Option: special beginning of headline (list) option for navigation commands

2011-02-23 Thread Michael Bach
Is there an option for org-metaup (org-metadown) and outline-next-visible-heading (outline-previous-visible-heading) to alway jump to the first non-star character in a headline instead of the beginning of a headline? I could not find this option in the manual. In my opinion, this would

[Orgmode] Re: problem with org-export-latex-todo-keyword-markup [7.4]

2011-02-16 Thread Michael Bach
{%s}) (TODO . \\todo{%s})). I will try to avoid these mails in the future. Michael Bach ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Re: [Orgmode] problem with org-export-latex-todo-keyword-markup [7.4]

2011-02-16 Thread Michael Bach
On 02/16/2011 01:32 PM, Bastien wrote: Hi Phaebz, phaebz pha...@googlemail.com writes: I defined it as an associative list, as described in the manual: org-export-latex-todo-keyword-markup evaluates to ((new . \\new{%s}) (done . \\done{%s}) (todo . \\todo{%s})) Use NEW TODO DONE instead of