[O] Can't export in 7.8.11 and can't get 8.0.4 to work

2013-07-15 Thread Paul Whipp
I'm using emacs 24.2.1 in Ubuntu 13.04. In the supplied org-mode version 7.8.11, I cannot export. When I attempt to export (c-e c-a) I get: Can't find library org. If I use the package installer to upgrade org I get version 8.0.4 but it then fails to complete my initialisation with: Symbol's

Re: [O] Can't export in 7.8.11 and can't get 8.0.4 to work

2013-07-15 Thread Bastien
Hi Paul, Paul Whipp paul.wh...@gmail.com writes: If I use the package installer to upgrade org I get version 8.0.4 but it then fails to complete my initialisation with: Symbol's function definition is void: org-defvaralias If you use the package installer, you need to install Org in a fresh

[O] 2 questions on tables

2013-07-15 Thread Andreas Leha
Hi all, I have two questions concerning tables in orgmode: 1. What is the best way to handle missing values? I have the problem, that missing values () are treated as 0 when they appear in a formula. Entering (nil) instead helps a bit, but does not propagate, i.e. nil + 1 results in

Re: [O] [PATCH] bugfix: fix previewing latex fragments with imagemagick

2013-07-15 Thread Nicolas Goaziou
Hello, Feng Shu tuma...@gmail.com writes: This is version 2, Thanks for the update. It looks mostly good. I have just one question about it. \\usepackage[usenames]{color} \\usepackage{amsmath} \\usepackage[mathscr]{eucal} -\\pagestyle{empty} % do not remove \[PACKAGES]

Re: [O] Embedded Tikz Picture

2013-07-15 Thread Julien Cubizolles
Hi Myles, and thanks for your input. I've also been playing with standalone, and successfully got the pictures when exporting to latex and beamer. Myles English mylesengl...@gmail.com writes: I had been using tikz like this, (note: this may not work and my intention is not to preclude your

[O] org-tree-slide annoyance

2013-07-15 Thread henry atts
I use org-tree-slide-mode by default with (add-hook 'org-mode-hook 'org-tree-slide-mode) This works kind of acceptable minus some minor annoyances. But one thing makes it nearly unusuable. tree-slide rigidly expects at least one header. So if I open an org file without heading, or if I create

[O] Problems with LaTeX source block

2013-07-15 Thread Julien Cubizolles
I'm struggling with LaTeX source blocks and am not sure anymore if one can use the :results file header. I have a csv file to be processed by tikz to get a png picture displayed in my org buffer. Here is what I tried #+NAME: python-tikz #+header: :results file :file py2tikz_sin.png #+header:

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Sounds a bit clumsy; are you aware of subtree export[1]? However I'm not sure if you can export the same headline with different backends with subtree export. Subtree export won't do it: it's the whole org-file I need to export. It's for a

Re: [O] 2 questions on tables

2013-07-15 Thread Michael Brand
Hi Andreas On Mon, Jul 15, 2013 at 8:47 AM, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: I have two questions concerning tables in orgmode: I try to answer your first question: 1. What is the best way to handle missing values? I have the problem, that missing values () are

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 10:21:07AM +0200, Julien Cubizolles wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: Sounds a bit clumsy; are you aware of subtree export[1]? However I'm not sure if you can export the same headline with different backends with subtree export. Subtree

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles j.cubizol...@free.fr writes: I'm struggling with LaTeX source blocks and am not sure anymore if one can use the :results file header. I have a csv file to be processed by tikz to get a png picture displayed in my org buffer. Here is what I tried #+NAME:

[O] [BUG] List argument to a shell code block

2013-07-15 Thread Daniel Gerber
Hello, It seems that passing a list to a shell code-block is broken: #+CALL: echo-sh(arg-list) #+RESULTS: echo-sh(arg-list) | 97 | | 98 | | 99 | | 120 | | 121 | | 122 | #+NAME: arg-list - abc - xyz #+NAME: echo-sh #+BEGIN_SRC sh :var arg=arg-list for a in $arg; do echo $a done

Re: [O] Several questions about beamer export

2013-07-15 Thread Julien Cubizolles
Darlan Cavalcante Moreira darc...@gmail.com writes: I don't think you can change the behavior of a link type to take into account somethink similar to graphicspath, but you can easily define custom link types: For instance, put this in your org-file #+LINK: fig file:my_figure_path/%s Then

Re: [O] 2 questions on tables

2013-07-15 Thread Andreas Leha
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: Hi Andreas On Mon, Jul 15, 2013 at 8:47 AM, Andreas Leha andreas.l...@med.uni-goettingen.de wrote: I have two questions concerning tables in orgmode: I try to answer your first question: 1. What is the best way to handle

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali fatkasuvayu+li...@gmail.com writes: There is none, but you can use filters to achieve this. Take a look here: https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L258 Do note, as the comment says, I have not tested it extensively. I tried it (evaled the following)

Re: [O] execute sbe macro fails

2013-07-15 Thread Torsten Wagner
Dear Eric, thanks a lot. That was really insightful. I didn't use babel for several month and I always struggle to get into it again. I clearly was confused about the variable definition. Using a function like I did, one has to do it basically twice, once for babel and once for the target

Re: [O] copy entire column of one table into another

2013-07-15 Thread Torsten Wagner
Hi Suvayu, thanks for the info. Actually I was looking for a more automatized version. I used #+TBLFM: $1=remote(prf94120_orig, @@#$6) To get the data from one into another table. That works great, but it requires to create a table exactly as long as the original, otherwise all remaining rows of

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 11:15:16AM +0200, Julien Cubizolles wrote: The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. Suvayu Ali fatkasuvayu+li...@gmail.com writes: There is none, but you can use filters to achieve this. Take a

Re: [O] [bug?] Copy content from one to another table changes the content

2013-07-15 Thread Torsten Wagner
Hi Nick, very good observation. Just wonder are we the first who observe this problem?! It seems org-table-make-reference and calc-eval have some sort of an different idea of the data content. Yes calc use that notation to deal with imaginary numbers. Funny coincidence, the students in that list

[O] How to let [C-u C-c C-o] to open file link in other window by setting variable org-link-frame-setup.

2013-07-15 Thread numbch...@gmail.com
I setup variable `org-link-frame-setup' like this: I want to let [C-c C-o] to open file link in current window. (setq org-link-frame-setup '((vm . vm-visit-folder-other-frame) (vm-imap . vm-visit-imap-folder-other-frame) (gnus . org-gnus-no-new-news) (file .

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 11:40:34AM +0200, Suvayu Ali wrote: On Mon, Jul 15, 2013 at 11:15:16AM +0200, Julien Cubizolles wrote: (defun jc-ignore-headline (contents backend info) Ignore headlines with tag `ignoreheading'. (if (eq backend 'latex) (message contents) contents)) Here

[O] Am I running into a maxlevel limit for refile-targets?

2013-07-15 Thread Oliver Motz
Hi there everyone and thanks already for all the good advice I have gotten here by consulting the mailing list archives. I have always been a huge fan of org-mode's but now I have a problem google seems to have no answer to: If I set the max level number for my refile targets to high I get

[O] LaTeX figure export - no \begin{figure} \end{figure}

2013-07-15 Thread Roger Mason
Hello, This: #+CAPTION: Microstructures of contact-metamorphism related melting and crystallisation in K-feldspar-quartz domains #+NAME: fig:microstructure-montage [[./microstructure-montage.eps]] produces this on export to LaTeX (org 8.0.3): Microstructures of contact-metamorphism related

Re: [O] LaTeX figure export - no \begin{figure} \end{figure}

2013-07-15 Thread Nicolas Goaziou
Hello, Roger Mason rma...@mun.ca writes: This: #+CAPTION: Microstructures of contact-metamorphism related melting and crystallisation in K-feldspar-quartz domains #+NAME: fig:microstructure-montage [[./microstructure-montage.eps]] produces this on export to LaTeX (org 8.0.3):

Re: [O] org-tree-slide annoyance

2013-07-15 Thread Carsten Dominik
On 15.7.2013, at 10:33, henry atts s...@online.de wrote: I use org-tree-slide-mode by default with (add-hook 'org-mode-hook 'org-tree-slide-mode) This works kind of acceptable minus some minor annoyances. But one thing makes it nearly unusuable. tree-slide rigidly expects at least one

Re: [O] LaTeX figure export - no \begin{figure} \end{figure}

2013-07-15 Thread Roger Mason
Hello Nicolas, On 07/15/2013 07:52 AM, Nicolas Goaziou wrote: Hello, You need to put your caption on the same line as the #+CAPTION keyword. You may also use multiple CAPTION keywords for better readability: #+CAPTION: Microstructures of contact-metamorphism related melting

Re: [O] taskjuggler_report questions

2013-07-15 Thread Christian Egli
Tom Slee slee@gmail.com writes: I'd like to include the report spec in my org file as a heading tagged taskjuggler_report but I am having a few issues getting it to work. I hope someone can help. The possibility to create (tj3) report definitions in orgmode is a neat feature and probably

Re: [O] Several questions about beamer export

2013-07-15 Thread Nick Dokos
Julien Cubizolles j.cubizol...@free.fr writes: Darlan Cavalcante Moreira darc...@gmail.com writes: I don't think you can change the behavior of a link type to take into account somethink similar to graphicspath, but you can easily define custom link types: For instance, put this in your

Re: [O] tikz for multiple targets

2013-07-15 Thread Eric S Fraga
Eric Schulte schulte.e...@gmail.com writes: [...] My patch introduced a new variable `org-babel-latex-htlatex-packages' which controls the packages added to these latex to SVG code block snippets. The following should work. (push {your-package} org-babel-latex-htlatex-packages) Yes,

Re: [O] [bug?] Copy content from one to another table changes the content

2013-07-15 Thread Torsten Wagner
Hi again, I can confirm that behaviour for org-mode 8.0 (tested on 7.9.3f) if that matter. Furtermore, I tested a lot of alternatives. lastname, firstname lastname, firstname lastname; firstname etc. It seems, they all get somehow evaluated by calc, which ends up in funny different results. I do

Re: [O] org-tree-slide annoyance

2013-07-15 Thread henry atts
Carsten Dominik carsten.domi...@gmail.com writes: On 15.7.2013, at 10:33, henry atts s...@online.de wrote: I use org-tree-slide-mode by default with (add-hook 'org-mode-hook 'org-tree-slide-mode) This works kind of acceptable minus some minor annoyances. But one thing makes it nearly

Re: [O] [bug?] Copy content from one to another table changes the content

2013-07-15 Thread Nick Dokos
Torsten Wagner torsten.wag...@gmail.com writes: I can confirm that behaviour for org-mode 8.0 (tested on 7.9.3f) if that matter. Furtermore, I tested a lot of alternatives. lastname, firstname lastname, firstname lastname; firstname etc. It seems, they all get somehow evaluated by

Re: [O] org-tree-slide annoyance

2013-07-15 Thread Nick Dokos
henry atts s...@online.de writes: Carsten Dominik carsten.domi...@gmail.com writes: On 15.7.2013, at 10:33, henry atts s...@online.de wrote: I use org-tree-slide-mode by default with (add-hook 'org-mode-hook 'org-tree-slide-mode) This works kind of acceptable minus some minor

[O] tab-completion of org-babel code blocks

2013-07-15 Thread zenlines
Hi There, the tab-completion (M-tab or, in my case, C-M-i) of to start code blocks is: #+begin_s is #+begin_src: Code blocks ending with a : don't work (C-c C-c) with: #+begin_src: emacs-lisp (setq org-export-babel-evaluate nil) (setq org-confirm-babel-evaluate nil) #+end_src: But code blocks

Re: [O] taskjuggler_report questions

2013-07-15 Thread Tom Slee
Thanks Christian, I have done the same as you - using a reports.tji file to hold the report definitions. It limits you to one project per directory of course. Defining macros in org-taskjuggler-default-global-header does work, but I think it doesn't provide any real benefit over including them

Re: [O] tab-completion of org-babel code blocks

2013-07-15 Thread Nicolas Goaziou
Helo, zenli...@gmail.com writes: the tab-completion (M-tab or, in my case, C-M-i) of to start code blocks is: #+begin_s is #+begin_src: This should be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou

[O] #+BEGIN_HTML in beamer export

2013-07-15 Thread Nick Dokos
I have a dot source block in a presentation that produces SVG. I use the svg.sty package to get the image processed to pdf and included in the presentation (I only export to latex and use a Makefile to go the rest of the way to PDF, because I have some more stuff to do in between):

[O] what are speedy keys?

2013-07-15 Thread Thomas Koch
Hi, I'm reading speedy keys in emacs release notes. What are they? Regards, Thomas Koch, http://www.koch.ro

[O] Should comments break paragraphs?

2013-07-15 Thread Kodi Arfer
If you export some text # a comment more text then you get two paragraphs, not one. Is this intentional? The old export engine gave you one paragraph. I liked that behavior better, since it allowed me to insert notes in the middle of paragraphs. The manual still says Paragraphs are separated

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Julien Cubizolles
Hi Andreas Andreas Leha andreas.l...@med.uni-goettingen.de writes: try that instead #+NAME: python-tikz #+header: :results raw :file py2tikz_sin.png #+header: :imagemagick yes :fit yes :headers '(\\usepackage{tikz,pgfplots}) #+BEGIN_SRC latex :exports results \begin{tikzpicture}

Re: [O] Should comments break paragraphs?

2013-07-15 Thread Nicolas Goaziou
Hello, Kodi Arfer k...@arfer.net writes: If you export some text # a comment more text then you get two paragraphs, not one. Is this intentional? Yes. Comments are elements. Elements cannot be found in paragraphs. Regards, -- Nicolas Goaziou

Re: [O] #+BEGIN_HTML in beamer export

2013-07-15 Thread Nicolas Goaziou
Hello, Nick Dokos ndo...@gmail.com writes: I have a dot source block in a presentation that produces SVG. I use the svg.sty package to get the image processed to pdf and included in the presentation (I only export to latex and use a Makefile to go the rest of the way to PDF, because I have

Re: [O] Several questions about beamer export

2013-07-15 Thread Julien Cubizolles
Nick Dokos ndo...@gmail.com writes: It works fine here. The relevant function is org-link-expand-abbrev and it depends on the variables org-link-abbrev-alist and org-link-abbrev-alist-local. The latter gets initialized from the former and any #+LINK lines in the buffer are added on to it.

Re: [O] #+BEGIN_HTML in beamer export

2013-07-15 Thread Nick Dokos
Nicolas Goaziou n.goaz...@gmail.com writes: Bug or confusion on my part? It's an over-zealous `org-babel-remove-result' function, which removes both newline character before and after the block. Try calling `org-export-execute-babel-code' from your buffer. It will give you

Re: [O] what are speedy keys?

2013-07-15 Thread Nick Dokos
Thomas Koch tho...@koch.ro writes: I'm reading speedy keys in emacs release notes. What are they? Maybe this (section 15.3 of the Org manual): (info (org) Speed keys) ? Eval the form above with C-x C-e after the closing paren to get to that section. -- Nick

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles j.cubizol...@free.fr writes: Hi Andreas Andreas Leha andreas.l...@med.uni-goettingen.de writes: try that instead #+NAME: python-tikz #+header: :results raw :file py2tikz_sin.png #+header: :imagemagick yes :fit yes :headers '(\\usepackage{tikz,pgfplots})

Re: [O] How to make org-src-mode stop recognizing tables in box diagrams?

2013-07-15 Thread Brad Collins
Jisang Yoo jisang.yoo.ac+...@gmail.com writes: On Mon, Jul 15, 2013 at 8:23 AM, Brad Collins b...@chenla.la wrote: Jisang Yoo jisang.yoo.ac+...@gmail.com writes: Try an ascii block instead. ... That also recognizes rectangles as tables. You can: (setq org-enable-table-editor nil)

Re: [O] Should comments break paragraphs?

2013-07-15 Thread Christian Wittern
On 2013-07-16 03:54, Nicolas Goaziou wrote: Yes. Comments are elements. Elements cannot be found in paragraphs. Hmm. In my book, the concept of comments implies that they should be able to appear on any line in the text, without altering the meaning of the context it appears in. So to me, it

Re: [O] Can't export in 7.8.11 and can't get 8.0.4 to work

2013-07-15 Thread Paul Whipp
I followed the instructions and I did that. Then I started a new session with it installed which is when I got the bug. On 15 July 2013 16:43, Bastien b...@gnu.org wrote: Hi Paul, Paul Whipp paul.wh...@gmail.com writes: If I use the package installer to upgrade org I get version 8.0.4 but

[O] Tutorial Typos

2013-07-15 Thread Patrick Daly
To whom it may concern: While looking through the tutorial, http://orgmode.org/worg/org-tutorials/org4beginners.htmlI found a few typos which were confusing to me at first. In the 'Keep track of lists and notes' section, the following source code line: Start a new document (*C-x b), seems to be

Re: [O] Tutorial Typos

2013-07-15 Thread Josiah Schwab
Hi Patrick, While looking through the tutorial, http://orgmode.org/worg/org-tutorials/org4beginners.htmlI found a few typos which were confusing to me at first. Thank you for the report. I will push a fix to worg shortly. Best, Josiah

Re: [O] [Patch] ob-ditaa.el for Cygwin

2013-07-15 Thread Yujie Wen
Hi, I re-created the patch file by the instruction on How to contribute to Org. Could someone please take a look and, if it is satisfactory, please help to apply it? I am used to Orgmode under Cygwin and sometimes uses ditaa for drawing diagrams. But without this patch, I have to switch

Re: [O] [Patch] ob-ditaa.el for Cygwin

2013-07-15 Thread Achim Gratz
Yujie Wen writes: Could someone please take a look and, if it is satisfactory, please help to apply it? You're missing a Changelog and emacs-p might better be called cygwin-p. More to the point: I don't think Org should care about such system idiosyncrasies at all. Instead you might use a

Re: [O] what are speedy keys?

2013-07-15 Thread Brad Collins
This is very cool! I especially like `s' for narrow to subtree. I always forget C-x n s, and C-x n w. So I set `S' to widen a subtree (w is used by something else). ;; Use Org Speed Commands (setq org-use-speed-commands t) ;; Default has `s' for narrow subtree, ;; so add `S' to

Re: [O] org-tree-slide annoyance

2013-07-15 Thread Takaaki ISHIKAWA
Hi Henry, Thank you for using org-tree-slide and reporting the issue. Please use the following patch to avoid the error. PATCH: Replace the original code with (defun ots-display-tree-with-narrow () Show a tree with narrowing and also set a header at the head of slide. (goto-char