Re: [O] Should comments break paragraphs?

2013-07-15 Thread Nicolas Goaziou
Hello, Christian Wittern writes: > 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 would seem necessary to > treat comments as special, different from other

Re: [O] Should comments break paragraphs?

2013-07-15 Thread Rainer M Krug
Christian Wittern writes: > 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 co

Re: [O] Export of property key:value

2013-07-15 Thread Nicolas Goaziou
Hello, Edward DeMeulle writes: > This is my simple example. Is there a simpler way to export the amount > property without duplicating "amount: {{{property(amount)}}}" in every > subheading? > > #+OPTIONS: toc:nil d:t > > * Buy stuff > :PROPERTIES: > :COLUMNS: %25ITEM %TODO %15amount(Amount){$}

[O] Export of property key:value

2013-07-15 Thread Edward DeMeulle
I've been trying to get a handle on this the past couple of days since I wanted to use column mode for revising properties and then export (print) the subtree out showing those properties under the heading. I understand that the exporter changed and now doesn't export the properties drawer in total

Re: [O] org-tree-slide annoyance

2013-07-15 Thread Ishikawa Takaaki
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 (point

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 (po

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 wi

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 wr

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] Tutorial Typos

2013-07-15 Thread Josiah Schwab
Hi Patrick, > While looking through the tutorial, > I 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

[O] Tutorial Typos

2013-07-15 Thread Patrick Daly
To whom it may concern: While looking through the tutorial, I 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 b

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 wrote: > Hi Paul, > > Paul Whipp writes: > > > If I use the package installer to upgrade org I get version 8.0.4 but > > it then fails to comple

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] How to make org-src-mode stop recognizing tables in box diagrams?

2013-07-15 Thread Brad Collins
Jisang Yoo writes: > On Mon, Jul 15, 2013 at 8:23 AM, Brad Collins wrote: >> Jisang Yoo writes: >> >> >> Try an ascii block instead. >> ... > > That also recognizes rectangles as tables. > You can: (setq org-enable-table-editor nil) Which turns off the table editor, then this turns off th

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles writes: > Hi Andreas > > Andreas Leha 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 >>

Re: [O] what are speedy keys?

2013-07-15 Thread Nick Dokos
Thomas Koch 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] #+BEGIN_HTML in beamer export

2013-07-15 Thread Nick Dokos
Nicolas Goaziou 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 > > #+BEGIN_HTML#+END_H

Re: [O] Several questions about beamer export

2013-07-15 Thread Julien Cubizolles
Nick Dokos 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. In my > case,

Re: [O] #+BEGIN_HTML in beamer export

2013-07-15 Thread Nicolas Goaziou
Hello, Nick Dokos 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 some more stuf

Re: [O] Should comments break paragraphs?

2013-07-15 Thread Nicolas Goaziou
Hello, Kodi Arfer 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] Problems with LaTeX source block

2013-07-15 Thread Julien Cubizolles
Hi Andreas Andreas Leha 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} > \node[red!50!black] (a) {A}

[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

[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] #+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): --8<---

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

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 in

[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 block

Re: [O] org-tree-slide annoyance

2013-07-15 Thread Nick Dokos
henry atts writes: > Carsten Dominik writes: > >> On 15.7.2013, at 10:33, henry atts 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 n

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

2013-07-15 Thread Nick Dokos
Torsten Wagner 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 calc, which ends

Re: [O] org-tree-slide annoyance

2013-07-15 Thread henry atts
Carsten Dominik writes: > On 15.7.2013, at 10:33, henry atts 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 rigi

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

Re: [O] tikz for multiple targets

2013-07-15 Thread Eric S Fraga
Eric Schulte 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, thanks, I found thi

Re: [O] Several questions about beamer export

2013-07-15 Thread Nick Dokos
Julien Cubizolles writes: > Darlan Cavalcante Moreira 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_fi

Re: [O] taskjuggler_report questions

2013-07-15 Thread Christian Egli
Tom Slee 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 works in very si

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 #+CAPTIO

Re: [O] org-tree-slide annoyance

2013-07-15 Thread Carsten Dominik
On 15.7.2013, at 10:33, henry atts 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 > header.

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

2013-07-15 Thread Nicolas Goaziou
Hello, Roger Mason 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): > > Microstruct

[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 mel

[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 the

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

[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 . fin

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 j

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 writes: > > > > There is none, but you can use filters to achieve this. Take a look > > here: > >

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 t

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 language

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali writes: > There is none, but you can use filters to achieve this. Take a look > here: > > Do note, as the comment says, I have not tested it extensively. I tried it (evaled the following) (defun jc-ignore-head

Re: [O] 2 questions on tables

2013-07-15 Thread Andreas Leha
Hi Michael, Michael Brand writes: > Hi Andreas > > On Mon, Jul 15, 2013 at 8:47 AM, Andreas Leha > 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

Re: [O] Several questions about beamer export

2013-07-15 Thread Julien Cubizolles
Darlan Cavalcante Moreira 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 you will be a

[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 #+END_

Re: [O] Problems with LaTeX source block

2013-07-15 Thread Andreas Leha
Hi Julien, Julien Cubizolles 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: python-tikz >

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 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:

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 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 treated as "0" when they >appea

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali 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 course I'm giving: I need the

[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: :

[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

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 writes: > I had been using tikz like this, (note: this may not work and my > intention is not to preclude your ECM): > > #+LATEX_HEADE

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

2013-07-15 Thread Nicolas Goaziou
Hello, Feng Shu 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] > \[DEFAULT-P